W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2016-08-20 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRSpTSjayBICLHDYDAYK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iPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  7. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  8. // @author mental
  9. // @connect *
  10. // @match http://*.nexcess.net/*
  11. // @exclude http://*.nexcess.net*
  12. // @include http://*
  13. // @include https://*
  14. // @include file:///*
  15. // @grant GM_setValue
  16. // @grant GM_getValue
  17. // @grant GM_xmlhttpRequest
  18. // @grant GM_log
  19. // @grant GM_addStyle
  20. // @grant GM_registerMenuCommand
  21. // @grant GM_getResourceText
  22. // @grant GM_info
  23. // @grant GM_setClipboard
  24. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  25. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  26. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  27. // @homepage http://usa.x10host.com/mybb
  28. // @namespace war premium
  29. // @noframes
  30. // @version 1.3.1.3
  31. // ==/UserScript==
  32.  
  33. var War_version = "1.3.1.3 August 19, 2016";
  34.  
  35. //separate alternative domains with "|" char (first name is considered being main)
  36. var allHostNames = [
  37. "1fichier.com|dl4free.com",
  38. "mystore.to",
  39. "fileshareup.com",
  40. "daofile.com",
  41. "subyshare.com",
  42. "mexashare.com",
  43. "uploadgig.com",
  44. "upload.af",
  45. "alltu.eu",
  46. "filesin.space",
  47. "imagenetz.de",
  48. "katfile.com",
  49. "bankupload.com",
  50. "kingfiles.net",
  51. "keepshare.net",
  52. "filescdn.com",
  53. "myfiles.onl",
  54. "uploadserv.com",
  55. "uploading.site",
  56. "abelhas.pt",
  57. "filedwon.info",
  58. "jeodrive.com",
  59. "ncrypt.in",
  60. "yandex.com",
  61. "down4files.com",
  62. 'filespace.com',
  63. "uplod.it",
  64. "rapidu.net",
  65. "uploads.ws|upl.me",
  66. "file.up09.com",
  67. "lunaticfiles.com",
  68. "filecad.com",
  69. "filesupload.org",
  70. "bytewhale.com",
  71. "rapidrar.com",
  72. "download.cz.hellshare.com",
  73. "pornfile.cz",
  74. "dinoshare.cz",
  75. "kb.simple-aja.info",
  76. "bitster.cz",
  77. "file-share.top",
  78. "pornoid.cz",
  79. "dailyuploads.net",
  80. "sharehost.eu",
  81. "tezfiles.com",
  82. "devilshare.net",
  83. "alfafile.net",
  84. "openload.co",
  85. "multiup.org",
  86. "uplea.com",
  87. "filenuke.com",
  88. "file.al",
  89. // "inafile.com",
  90. "lolabits.es",
  91. "vidto.me",
  92. "storefiles.co",
  93. "filehost.pw",
  94. "vidspot.net",
  95. "turbobit.ru",
  96. "sharesix.com|sharesix.net",
  97. "movpod.in",
  98. "thefile.me",
  99. "datoteke.com",
  100. "vidzi.tv",
  101. "videoweed.es",
  102. "vodlocker.com",
  103. "nowvideo.sx",
  104. "cloudtime.to",
  105. "thevideo.me",
  106. "vidbull.com",
  107. "allmyvideos.net",
  108. "novamov.com",
  109. "filehoot.com",
  110. "stagevu.com",
  111. "gorillavid.in",
  112. "streamin.to",
  113. "4upld.com|expressleech.com",
  114. "cloudshares.net",
  115. "swoopshare.com",
  116. "2shared.com",
  117. "fileupload.pw",
  118. "zxcfiles.com",
  119. "up07.net",
  120. "4shared.com",
  121. "adrive.com",
  122. "aisfile.com",
  123. "hexupload.com",
  124. "bezvadata.cz",
  125. "usersfiles.com",
  126. "pan.baidu.com",
  127. "radicalshare.com",
  128. "datei.to",
  129. "daten-hoster.de|filehosting.org|xtraupload.de",
  130. "demo.ovh.eu",
  131. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  132. "divshare.com",
  133. "easy-share.com|crocko.com",
  134. "easybytez.com",
  135. "edisk.cz",
  136. "euroshare.eu",
  137. "file-upload.net",
  138. "yadi.sk",
  139. "wizupload.com",
  140. "fastshare.cz",
  141. "filefactory.com",
  142. "share.vnn.vn",
  143. "yunpan.cn",
  144. "gulfup.com",
  145. "tropicshare.com",
  146. "cloudzilla.to",
  147. "inclouddrive.com",
  148. "fileflyer.com",
  149. "filerio.com|filekeen.com",
  150. "up.4share.vn",
  151. "upfile.vn",
  152. "datafilehost.com",
  153. "worldbytez.com",
  154. "files.mail.ru",
  155. "filesflash.com",
  156. "box.com",
  157. "uptobox.com",
  158. "box.net",
  159. "sdilej.cz",
  160. "ex-load.com",
  161. "filesmonster.com",
  162. "filestore.to",
  163. "hulkload.com",
  164. "filedropper.com",
  165. "free-uploading.com",
  166. "gamefront.com|filefront.com",
  167. "gettyfile.ru",
  168. "gigapeta.com",
  169. "gigasize.com",
  170. "hellshare.com",
  171. "hellspy.com",
  172. "hitfile.net",
  173. "hostuje.net",
  174. "freefilehosting.net",
  175. "free.fr",
  176. "hyperfileshare.com",
  177. "filecloud.io|ifile.it",
  178. "ifolder.ru",
  179. "jumbofiles.com",
  180. "uploadrocket.net",
  181. "lafiles.com",
  182. "leteckaposta.cz|sharegadget.com",
  183. "letitbit.net",
  184. "load.to",
  185. "mediafire.com",
  186. "megafileupload.com",
  187. "megashares.com",
  188. "movshare.net",
  189. "narod.ru|narod.yandex.ru",
  190. "fboom.me|fileboom.me",
  191. "openfile.ru",
  192. "partage-facile.com",
  193. "sharerapid.cz",
  194. "exclusiveloader.com",
  195. "acefile.net",
  196. "queenshare.com",
  197. "rapidgator.net",
  198. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  199. "oboom.com",
  200. "filepi.com",
  201. "neodrive.co",
  202. "rarefile.net",
  203. "rayfile.com",
  204. "rghost.net",
  205. "sendmyway.com",
  206. "clicknupload.com",
  207. "clicknupload.me",
  208. "clicknupload.link",
  209. "sharemods.com",
  210. "hostr.co",
  211. "sendspace.com",
  212. "sharecash.org",
  213. "share-links.biz",
  214. "share-online.biz|egoshare.com",
  215. "megarapid.cz",
  216. "shareflare.net",
  217. "solidfiles.com",
  218. "led.wf",
  219. "lan.wf",
  220. "adlink.wf",
  221. "click.tf",
  222. "kyc.pm",
  223. "ssh.tf",
  224. "ssh.yt",
  225. "yep.pm",
  226. "stahovanizasms.cz",
  227. "turbobit.net",
  228. "tikfile.com",
  229. "cloudsix.me",
  230. "turboupload.com",
  231. "uloz.to",
  232. "ulozto.net",
  233. "ulozisko.sk",
  234. "uloziste.com",
  235. "unibytes.com",
  236. "upload-il.net|przeslij.net",
  237. "uploaded.to|uploaded.net|ul.to",
  238. "uploading.com",
  239. "chayfile.com",
  240. "rockfile.eu",
  241. "usaupload.net",
  242. "veehd.com",
  243. "videobb.com",
  244. "vip-file.com",
  245. "webshare.cz",
  246. "xdisk.cz",
  247. "yunfile.com|filemarkets.com",
  248. "ziddu.com",
  249. "zippyshare.com",
  250. "rodfile.com",
  251. "wikiupload.com",
  252. "uploadstube.de",
  253. "faststore.org",
  254. "flyfiles.net",
  255. "nowdownload.ch",
  256. "prefiles.com",
  257. "axifile.com",
  258. "hackerbox.org",
  259. "amonshare.com",
  260. "data.hu",
  261. "brupload.net",
  262. "userscloud.com",
  263. "xfileload.com",
  264. "kumpulbagi.com|kumpulbagi.id",
  265. "uppit.com|up.ht|upx.nz",
  266. "downloadani.me",
  267. "filesabc.com",
  268. "verzend.be",
  269. "4up.me",
  270. "extmatrix.com",
  271. "sendfiles.nl",
  272. "yourfilestore.com",
  273. "filebig.net",
  274. "file4safe.com",
  275. "tusfiles.net|tusfiles.com",
  276. "filemac.com",
  277. "fileswap.com",
  278. "ozofiles.com",
  279. "nosupload.com",
  280. "gboxes.com",
  281. "myvdrive.com|fileserving.com",
  282. "filesin.com",
  283. "novafile.com",
  284. "longfiles.com",
  285. // "uploadhero.com",
  286. "uploadbaz.com",
  287. "bitupload.com",
  288. "indowebster.com",
  289. "superload.cz",
  290. "mafiastorage.com",
  291. "hellupload.com",
  292. "uploadingit.com",
  293. "stiahni.si",
  294. "sendspace.pl",
  295. "fastshare.org",
  296. "filejoker.net",
  297. "filestore.com.ua",
  298. "secureupload.eu",
  299. "rapidfileshare.net",
  300. "stiahnito.sk",
  301. "rusfolder.com",
  302. "catshare.net",
  303. "anonfiles.com",
  304. "mixturecloud.com",
  305. "filedais.com",
  306. // "imdb.com",
  307. "nitroflare.com",
  308. "akafile.com",
  309. "creafile.net",
  310. "hugefiles.net",
  311. "vidxden.com",
  312. "up.top4top.net",
  313. "upload.ee",
  314. "shareplace.org",
  315. "uploadc.com",
  316. "uploadc.ch",
  317. "remixshare.com",
  318. "exoshare.com",
  319. "borncash.org",
  320. "junocloud.me",
  321. "2downloadz.com",
  322. "mightyupload.com",
  323. "anysend.com",
  324. "datafile.com",
  325. "upstore.net",
  326. "upsto.re",
  327. "speedy.sh",
  328. // "sanshare.com",
  329. // "uploadhero.co",
  330. "ge.tt",
  331. "filesflash.net",
  332. "salefiles.com",
  333. // "megairon.net",
  334. "datoid.cz",
  335. "cloudstor.es",
  336. "streamfile.com",
  337. "eyesfile.ca",
  338. "filemoney.com",
  339. "uploadboy.com",
  340. "uploadboy.me",
  341. "speedshare.eu",
  342. "google.com",
  343. "unlimitzone.com",
  344. "rioupload.com",
  345. "rg.to",
  346. "jumbofiles.org",
  347. "fshare.vn",
  348. "spaceforfiles.com",
  349. "up.media1fire.com",
  350. "depfile.com",
  351. "go4up.com",
  352. "dropbox.com",
  353. "redbunker.net",
  354. "divxpress.com",
  355. "mega.nz|mega.co.nz",
  356. "anafile.com",
  357. "uploadable.ch",
  358. "bigfile.to",
  359. "arabloads.net",
  360. "sharerepo.com",
  361. "sfshare.se",
  362. "files.fm",
  363. "koofile.com",
  364. "vidplay.net",
  365. "doraupload.com",
  366. "openload.io",
  367. "toutbox.fr",
  368. "upnito.sk",
  369. "oload.net",
  370. ];
  371.  
  372. try
  373. {
  374. //iframes excluded
  375. if (window.top != window.self)
  376. {
  377. return;
  378. }
  379. //allHostNames sites excluded
  380. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  381. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  382. ")"))
  383. {
  384. return;
  385. }
  386. }
  387. catch (e)
  388. {
  389. return;
  390. }
  391.  
  392. //separate alternative domains with "|" char (first name is considered being main)
  393. var allContainerNames = [
  394. "adf.ly",
  395. "linkcrypt.ws",
  396. "linksafe.me",
  397. // "linksave.in",
  398. "linkto.net",
  399. "madlink.sk",
  400. "multiload.cz",
  401. "mirrorcreator.com",
  402. // "ncrypt.in",
  403. "redi.re",
  404. "relink.us",
  405. "safelinking.net",
  406. "theloo.katt.it",
  407. "bit.ly",
  408.  
  409. ];
  410.  
  411. //separate alternative domains with "|" char (first name is considered being main)
  412. var allObsoleteNames = [
  413. "warped.co",
  414. "xkeepfile.com",
  415. "uploadspace.pl",
  416. "uploads.xxx",
  417. "netkups.com",
  418. "nekaka.com",
  419. "myupload.dk",
  420. "muchshare.net",
  421. "loudupload.net",
  422. "idup.in",
  423. "hulkshare.com",
  424. "goldbytez.com",
  425. "filesmelt.com",
  426. "fileband.com",
  427. "uloz.cz",
  428. "secured.in",
  429. "rapidfilehost.com",
  430. "fileover.net",
  431. "fileinz.com",
  432. "linksave.in",
  433. "seenupload.com",
  434. "sangfile.com",
  435. "filepost.com|fp.io",
  436. "sharingmaster.com ",
  437. "24uploading.com",
  438. "storagon.com",
  439. "sanshare.com",
  440. "filestorm.to",
  441. "uploadnet.co",
  442. "180upload.com",
  443. "rapidsonic.com",
  444. "fileparadox.com",
  445. "4upfiles.com",
  446. "geupload.com",
  447. "lenfile.com",
  448. "fileparadox.in",
  449. "uploadhero.co",
  450. "uploadhero.com",
  451. "newfileland.com",
  452. "quickshare.cz",
  453. "elffiles.com",
  454. "netload.in",
  455. "netload.me",
  456. "movreel.com",
  457. "migahost.com",
  458. "krotix.net",
  459. "jumbofile.net",
  460. "edoc.com",
  461. "cramit.in|cramitin.net",
  462. "freakshare.com",
  463. "burnupload.com|burnupload.ihiphop.com",
  464. "freakshare.net",
  465. "daj.to",
  466. "bl.st",
  467. "2drive.net",
  468. "ryushare.com",
  469. "crisshare.com",
  470. "tufiles.ru",
  471. "uncapped-downloads.com",
  472. "sockshare.com",
  473. "ddlstorage.com",
  474. "dataport.cz",
  475. "dizzcloud.com",
  476. "sharebeast.com",
  477. "stahovadlo.cz",
  478. "shared.com",
  479. "storage.to",
  480. "putlocker.com",
  481. "lumfile.com",
  482. "lumfile.se",
  483. "lumfile.eu",
  484. "firedrive.com",
  485. "fileshare.in.ua",
  486. "filecore.co.nz",
  487. "filecore.co",
  488. "iskladka.cz",
  489. "file-rack.com",
  490. "fast-load.net",
  491. "subory.sk",
  492. "bigandfree.com",
  493. "fileop.com",
  494. "mujsoubor.cz",
  495. "sendfile.to",
  496. "superfastfile.com",
  497. "quickyshare.com",
  498. "duckload.com",
  499. "uploadstore.net",
  500. "meinupload.com",
  501. "dualshare.com",
  502. "2xupload.to|2xupload.de",
  503. "oxedion.com",
  504. "uploadline.com",
  505. "dll.bz",
  506. "movieshare.in",
  507. "milledrive.com",
  508. "quickupload.net",
  509. "safelink.in",
  510. "metadivx.com",
  511. "divxlink.com",
  512. "uploadrack.com",
  513. "teradepot.com",
  514. "dataup.to",
  515. "upit.to",
  516. "driveway.com",
  517. "eatlime.com",
  518. "a2zuploads.com",
  519. "friendlyfiles.net",
  520. "flyfile.us",
  521. "speedyshare.com",
  522. "uploadspace.eu",
  523. "keepfile.com",
  524. "piggyshare.com",
  525. "uplly.com",
  526. "filecrown.com",
  527. "6giga.com",
  528. "uploadjockey.com",
  529. "bluehost.to",
  530. "filegu.ru",
  531. "filebase.to",
  532. "up-file.com",
  533. "xvideos.com",
  534. "ufox.com",
  535. "filebling.com",
  536. "loaded.it",
  537. "uploadcell.com",
  538. "uploadshare.cz",
  539. "mangoshare.com",
  540. "filestab.com",
  541. "crazyupload.com",
  542. "gaiafile.com",
  543. "sharejunky.com",
  544. "fileho.com",
  545. "bigandfree.com",
  546. "bigfile.in",
  547. "bigshare.eu",
  548. "dahosting.org",
  549. "digisofts.net",
  550. "file4save.com",
  551. "filechip.com",
  552. "filescloud.com",
  553. "saveqube.com",
  554. "turboshare.de",
  555. "z-upload.com",
  556. "youshare.com",
  557. "jiffyupload.com",
  558. "gigeshare.com",
  559. "datenklo.net",
  560. "upload.dj",
  561. "loadfiles.in",
  562. "upit.to",
  563. "dsfileshare.com",
  564. "sharesimple.net",
  565. "4files.net",
  566. "wooupload.com",
  567. "odsiebie.com",
  568. "filenavi.com",
  569. "3oof.com",
  570. "meshwaar.com",
  571. "maxupload.com",
  572. "share.cx",
  573. "atserver.eu",
  574. "hotfiles.ws",
  575. "esnips.com",
  576. "tuxfile.com",
  577. "file2upload.net",
  578. "filebling.com",
  579. "turboshare.com",
  580. "rarhost.com",
  581. "isharehd.com",
  582. "i741.com",
  583. "dataup.de",
  584. "fofly.com",
  585. "shareonall.com",
  586. "sexuploader.com",
  587. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  588. "uploadhyper.com",
  589. "filespawn.com",
  590. "caizzii.com",
  591. "volnyweb.cz",
  592. "usershare.net",
  593. "filescash.net",
  594. "metahyper.com",
  595. "combozip.com",
  596. "x7.to",
  597. "uploadbox.com",
  598. "enterupload.com|flyupload.com",
  599. "filepoint.de",
  600. "mystream.to",
  601. "x-fs.com",
  602. "shareator.com",
  603. "srapid.eu",
  604. "sosame.cz",
  605. "filesdump.com",
  606. "2-klicks.de",
  607. "uploking.com",
  608. "silofiles.com",
  609. "upfile.in",
  610. "filehook.com",
  611. "uploadking.com",
  612. "uploadhere.com",
  613. "kewlshare.com",
  614. "rapidable.com",
  615. "uploadwaste.com",
  616. "filemup.com",
  617. "filesonic.com|sharingmatrix.com",
  618. "fileserve.com",
  619. "wupload.com",
  620. "skipfile.com",
  621. "smartuploader.com",
  622. "dualshare.com",
  623. "storeandserve.com",
  624. "mountfile.com",
  625. "transitfiles.com",
  626. "uploadstation.com",
  627. "filejungle.com",
  628. "shareshared.com",
  629. "quickyshare.com",
  630. "save.am",
  631. "petandrive.com",
  632. "file2box.com",
  633. "flyshare.cz",
  634. "yabadaba.ru",
  635. "cloudcache.cc",
  636. "yourfilehost.com",
  637. "jakfile.com",
  638. "kickload.com",
  639. "pyramidfiles.com",
  640. "refile.net",
  641. "zshare.net",
  642. "ddlani.me|ddlanime.com",
  643. "ftp2share.com",
  644. "fooget.com",
  645. "rapidhide.com",
  646. "gotupload.com",
  647. "mooload.com",
  648. "zupload.com",
  649. "mytempdir.com",
  650. "onionshare.com",
  651. "stahnu.to",
  652. "oron.com",
  653. "badongo.com",
  654. "filereactor.com",
  655. "filegaze.com",
  656. "4bytez.com",
  657. "1hostclick.com",
  658. "anonstream.com",
  659. "batshare.com",
  660. "bitroad.net",
  661. "brontofile.com",
  662. "cloudnxt.net",
  663. "cloudnator.com|shragle.com",
  664. "filesfrog.net",
  665. "coolshare.cz",
  666. "dotavi.com",
  667. "ezyfile.net",
  668. "file-bit.net",
  669. "filecosy.com",
  670. "fileduct.com|fileduct.net",
  671. "filefat.com",
  672. "filelaser.com",
  673. "filemashine.com",
  674. "fileserver.cc",
  675. "filetechnology.com",
  676. "fireuploads.net",
  677. "gigfiles.net",
  678. "holderfile.com",
  679. "ihostia.com",
  680. "k2files.com",
  681. "mojofile.com",
  682. "ovfile.com",
  683. "qshare.com",
  684. "shafiles.me",
  685. "sharefilehost.com",
  686. "shareupload.com",
  687. "stahuj.to",
  688. "ugotfile.com",
  689. "uploadboost.com",
  690. "fileom.com",
  691. "vidhog.com",
  692. "xfileshare.eu",
  693. "bzlink.us",
  694. "bulletupload.com",
  695. "bloggerarticles.com",
  696. "mojedata.sk",
  697. "sharpfile.com",
  698. "upgrand.com",
  699. "nasdilej.cz",
  700. "mediatack.cz",
  701. "share-it.to",
  702. "primeupload.com",
  703. "filebeer.info",
  704. "baberepublic",
  705. "xtu.me",
  706. "sharebase.de",
  707. "luckyshare.net",
  708. "filerobo.com",
  709. "filevelocity.com",
  710. "filezpro.com",
  711. "file4sharing.com",
  712. "cing.be",
  713. "ufile.eu",
  714. "pigsonic.com",
  715. "fileupped.com",
  716. "sharerun.com",
  717. "filesaur.com",
  718. "rapidslnare.com",
  719. "bestsharing.com",
  720. "savefiles.net",
  721. "file2share.biz",
  722. "filecache.de",
  723. "monsteruploads.eu",
  724. "b9bb.com",
  725. "aiotool.net",
  726. "jamber.info",
  727. "megaftp.com",
  728. "desiupload.net",
  729. "file27.com",
  730. "yastorage.com",
  731. "filehost.ws",
  732. "copyload.com",
  733. "venusfile.com",
  734. "aieshare.com",
  735. "terafile.co",
  736. "terafile.com",
  737. "fileza.net",
  738. "filerose.com",
  739. "squillion.com",
  740. "fileprohost.com",
  741. "bitbonus.com",
  742. "warserver.cz",
  743. "uload.to",
  744. "sharedbit.net",
  745. "megaload.it",
  746. "filewinds.com",
  747. "uploadcore.com",
  748. "syfiles.com",
  749. "eyesfile.com",
  750. "hotfile.com",
  751. "superupl.com",
  752. "oteupload.com",
  753. "henchfile.com",
  754. "filegag.com",
  755. "HenchFile.com",
  756. "filedefend.com",
  757. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  758. "megabitshare.com",
  759. "cloudzer.com",
  760. "asfile.com",
  761. "cloudzer.net",
  762. "clz.to",
  763. "extabit.com",
  764. "247upload.com",
  765. "2download.de",
  766. "4fastfile.com",
  767. "asixfiles.com",
  768. "berofile.com",
  769. "bigupload.com",
  770. "cepzo.com",
  771. "clouds.to",
  772. "cobrashare.sk",
  773. "coraldrive.net",
  774. "cyberlocker.ch",
  775. "czshare.com",
  776. "darkport.org",
  777. "dark-uploads.com",
  778. "davvas.com",
  779. "enigmashare.com",
  780. "erofly.cz",
  781. "fastsonic.net",
  782. "filebox.com",
  783. "filecity.net",
  784. "filedap.com",
  785. "filedino.com",
  786. "filedownloads.org",
  787. "filefolks.com",
  788. "fileking.co",
  789. "filemates.com",
  790. "files.to",
  791. "files2k.eu",
  792. "filesector.cc",
  793. "bitshare.com",
  794. "filesega.com",
  795. "filesend.net",
  796. "filestay.com",
  797. "filestrum.com",
  798. "fileuplo.de",
  799. "fileupup.com",
  800. "forunesia.com",
  801. "freeuploads.fr",
  802. "uploa.dk",
  803. "getthebit.com",
  804. "getzilla.net",
  805. "goldfile.eu",
  806. "good.com",
  807. "grupload.com",
  808. "hellfile.com",
  809. "hipfile.com",
  810. "hitfile.com",
  811. "hulkfile.eu|duckfile.net",
  812. "i-filez.com",
  813. "ifile.ws",
  814. "kupload.org",
  815. "packupload.com",
  816. "lemuploads.com",
  817. "limelinx.com",
  818. "maxshare.pl",
  819. "megarelease.org",
  820. "megashare.com",
  821. "minus.com",
  822. "mlfat4arab.com",
  823. "multishare.cz",
  824. "nirafile.com",
  825. "ok2upload.com",
  826. "peejeshare.com",
  827. "premiuns.org",
  828. "przeklej.net",
  829. "qkup.net",
  830. "rapidupload.sk",
  831. "rockdizfile.com",
  832. "rocketfile.net",
  833. "share-now.net",
  834. "share76.com",
  835. "sharebees.com",
  836. "sharefiles.co",
  837. "slingfile.com",
  838. "sms4file.com",
  839. "space4file.com",
  840. "tigershare.net",
  841. "toucansharing.com",
  842. "ubuntuone.com",
  843. "unextfiles.com",
  844. "upaj.pl",
  845. "upfile.biz",
  846. "uploadbin.net",
  847. "uploadic.com",
  848. "uploadinc.com",
  849. "uploading4u.eu",
  850. "uploadjet.net",
  851. "uploadorb.com",
  852. "upthe.net",
  853. "uptorch.com",
  854. "vidbox.yt",
  855. "videozer.com",
  856. "vreer.com",
  857. "wallobit.com",
  858. "zooupload.com",
  859. "privatefiles.com",
  860. "xerver.co",
  861. "BillionUploads.com",
  862. "rapidshare.com",
  863. "rapidshare.ru",
  864. "4savefile.com",
  865. "bayfiles.com",
  866. "bayfiles.net",
  867. "dodane.pl",
  868. "dotsemper.com",
  869. "egofiles.com",
  870. "epicshare.net",
  871. "fiberupload.net",
  872. "filemonkey.in",
  873. "filemonster.net",
  874. "filepom.com",
  875. "filesbb.com",
  876. "filevice.com",
  877. "gigaup.fr",
  878. "isavelink.com",
  879. "loombo.com",
  880. "megafiles.se",
  881. "migupload.com",
  882. "mydisc.net",
  883. "nitrobits.com",
  884. "potload.com",
  885. "redload.net",
  886. "shareprofi.com",
  887. "sharesuper.info",
  888. "sinhro.net",
  889. "speedfile.cz",
  890. "speedshare.org",
  891. "storage.novoro.net",
  892. "swankshare.com",
  893. "swatupload.com",
  894. "upafile.com",
  895. "uploadmachine.com",
  896. "uploadsat.com",
  897. "upshared.com",
  898. "usefile.com",
  899. "yourfiles.to",
  900. "zomgupload.com",
  901. "ultramegabit.com",
  902. "uploadto.us",
  903. "inafile.com",
  904. "megairon.net",
  905.  
  906. ];
  907. ///////////////////////////////////////////////////////////////////////////////////////
  908. var firstRun = GM_getValue("First_run", true);
  909.  
  910. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  911. //////////////////////////////////////////////////////////////////////////////////////
  912. try
  913. {
  914. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  915. var last_known_version = GM_getValue("last_known_version", "");
  916. if (!last_known_version)
  917. {
  918. last_known_version = thisVersion;
  919. GM_setValue("last_known_version", last_known_version);
  920. }
  921. //var newVersion = !(thisVersion == last_known_version);
  922. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  923. GM_setValue("last_known_version", thisVersion);
  924. }
  925. catch (err)
  926. {
  927. var newVersion = false;
  928. }
  929.  
  930. var now = (new Date()).getTime();
  931. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  932. if (!last_custom_rules_nag)
  933. {
  934. last_custom_rules_nag = now;
  935. GM_setValue('last_custom_rules_nag', ''+now);
  936. }
  937.  
  938.  
  939. allHostNames.sort();
  940. allContainerNames.sort();
  941. allObsoleteNames.sort();
  942.  
  943. var RAND_STRING = "8QyvpOSsRG3QWq";
  944. var DEBUG_MODE = false;
  945.  
  946. var TOOLTIP_MAXWIDTH = 600; //in pixels
  947. var TOOLTIP_THUMBWIDTH = 200;
  948. var containers_processed = false;
  949.  
  950. //settings for keyboard functions start
  951. var CHECK_ALL_LINKS_KEY = "A";
  952. var CONFIGURATION_KEY = "C";
  953. var copy_to_dead_key = "D";
  954. var copy_to_live_key = "L";
  955. var toggle_autocheck_key = "W";
  956. var toggle_Enable_Anonymizer_key = "Z";
  957. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  958. var first_key_keycodename = 'CTRL';
  959. var second_key_keycode = '18';
  960. var second_key_keycodename = 'ALT';
  961. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  962. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  963. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  964. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  965. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  966. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  967. //settings for keyboard functions end
  968.  
  969. //global settings start
  970. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  971. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  972. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  973. var Show_progress_stats, Display_tooltip_info, Icon_set;
  974. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  975. var Progress_box_refresh_rate;
  976. var Obsolete_file_hosts;
  977. var Custom_rules, Custom_rules_text;
  978.  
  979. var messageBox = document.createElement('b'); // top-left message box
  980.  
  981. var cLinksTotal = 0;
  982. var cLinksDead = 0;
  983. var cLinksAlive = 0;
  984. var cLinksUnava = 0;
  985. var cLinksprem = 0;
  986. var cLinksProcessed = 0;
  987.  
  988. var intervalId; //for updateProgress()
  989.  
  990. //icon resources
  991. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAH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/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  1002. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFKni8XHqIIgEzkR+dMhGtVsYvjJgt6L+1Rq4FN/hcA2md01a0PjhPM8n44bDLjXeBf36A+nZzeG+Cr+wEGSeL0LsDZDq5VBcDT8dhkxpuZpbN6hXIAL76Vbd1gqgC+IX/6zhqWE1h/AYSwSjYrmXJlAAAAAElFTkSuQmCC';
  1003. var NEW_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBG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uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1005.  
  1006. //global settings end
  1007. if (window.opera && !window.console)
  1008. {
  1009. window.console = {};
  1010.  
  1011. function fn()
  1012. {
  1013. opera.postError(arguments);
  1014. };
  1015. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1016. {
  1017. window.console[name] = fn;
  1018. });
  1019. }
  1020.  
  1021. //displays colored text in message box
  1022. function sendMessage(text, color)
  1023. {
  1024. var msgDiv = document.createElement('div');
  1025. msgDiv.style.color = color;
  1026. msgDiv.innerHTML = text;
  1027. messageBox.appendChild(msgDiv);
  1028. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1029. }
  1030.  
  1031. function linkify(totalourls)
  1032. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1033. var ikkeTilladteTags;
  1034. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1035. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1036. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1037. allLinksRegex = new RegExp(allLinksRegex, "g");
  1038. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1039.  
  1040. if (Do_not_linkify_DL_links)
  1041. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1042. else
  1043. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1044.  
  1045. var regex = new RegExp(regexy);
  1046. var textNode, muligtLink;
  1047.  
  1048. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1049. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1050.  
  1051. var i = textNodes.snapshotLength;
  1052. while (i--)
  1053. {
  1054. textNode = textNodes.snapshotItem(i);
  1055.  
  1056. muligtLink = textNode.nodeValue; //all links on page
  1057.  
  1058. var myArray = null;
  1059. var span = null;
  1060. var lastLastIndex = 0;
  1061. allLinksRegex.lastIndex = 0;
  1062. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1063. {
  1064. if (textNode.parentNode.className == "adead_link") continue;
  1065. var censoredLink = muligtLink;
  1066. var span = document.createElement('span');
  1067. span.className = "adead_link";
  1068. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1069. $(span).html(censoredLink);
  1070. span.addEventListener("mouseover", displayTooltipError, false);
  1071. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1072. textNode.parentNode.replaceChild(span, textNode);
  1073. continue;
  1074. alert(censoredLink);
  1075. }
  1076. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1077. {
  1078. if (!regex.test(myArray[0])) //this link is not recognized
  1079. {
  1080.  
  1081. continue;
  1082. }
  1083. if (!span)
  1084. span = document.createElement('span');
  1085.  
  1086. var link = myArray[0];
  1087. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1088.  
  1089. var $a = $("<a>" + link + "</a>")
  1090. if (!link.match(/https?:\/\//))
  1091. {
  1092. link = 'http://' + link;
  1093. }
  1094.  
  1095. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1096. .addClass("processing_link")
  1097. .appendTo(span);
  1098. lastLastIndex = allLinksRegex.lastIndex;
  1099. }
  1100. if (span)
  1101. {
  1102. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1103. textNode.parentNode.replaceChild(span, textNode);
  1104. }
  1105. }
  1106. }
  1107.  
  1108. function add_WARLC_style()
  1109. {
  1110. if (!(document.getElementsByTagName('WARLC')[0]))
  1111. {
  1112. var meta_not_to_add_more_style = document.createElement("WARLC");
  1113. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1114. meta_not_to_add_more_style.setAttribute('name', 'description');
  1115. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1116. alive_link_png = "";
  1117. adead_link_png = "";
  1118. unava_link_png = "";
  1119. prem_link_png = "";
  1120. switch(Icon_set)
  1121. {
  1122. //no icons
  1123. case 0: break;
  1124. // cat paws
  1125. case 1: alive_link_png = PAW_ICON_GREEN;
  1126. adead_link_png = PAW_ICON_RED;
  1127. unava_link_png = PAW_ICON_YELLOW;
  1128. prem_link_png = PAW_ICON_PINK;
  1129. break;
  1130. // classic RSLC look
  1131. case 2: alive_link_png = RSLC_ICON_GREEN;
  1132. adead_link_png = RSLC_ICON_RED;
  1133. unava_link_png = RSLC_ICON_YELLOW;
  1134. prem_link_png = RSLC_ICON_PINK;
  1135. break;
  1136. // New Icons
  1137. case 3: alive_link_png = NEW_ICON_GREEN;
  1138. adead_link_png = NEW_ICON_RED;
  1139. unava_link_png = NEW_ICON_YELLOW;
  1140. prem_link_png = NEW_ICON_PINK;
  1141. break;
  1142. // cat paws
  1143. default:alive_link_png = PAW_ICON_GREEN;
  1144. adead_link_png = PAW_ICON_RED;
  1145. unava_link_png = PAW_ICON_YELLOW;
  1146. prem_link_png = PAW_ICON_PINK;
  1147. break;
  1148. }
  1149. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1150. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1151.  
  1152. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1153.  
  1154. if (Color_DL_links)
  1155. {
  1156. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1157. live_color_css = 'color:' + Live_links_color + ' !important;';
  1158. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1159. container_color_css = 'color:' + Container_links_color + ' !important;';
  1160. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1161. }
  1162. else
  1163. {
  1164. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1165. }
  1166.  
  1167. if (Show_black_background_in_DL_links)
  1168. {
  1169. black_background_css = 'background-color: black !important;';
  1170. }
  1171. else
  1172. {
  1173. black_background_css = '';
  1174. }
  1175.  
  1176. if (Show_line_through_in_dead_links)
  1177. {
  1178. line_through_css = 'text-decoration: line-through !important;';
  1179. }
  1180. else
  1181. {
  1182. line_through_css = '';
  1183. }
  1184.  
  1185. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1186. GM_addStyle(".adead_link {background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + dead_color_css + black_background_css + line_through_css + "}");
  1187. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1188. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1189. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1190. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1191. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1192. }
  1193. }
  1194.  
  1195. var warlcTooltip = null;
  1196. var mouseoverLink = null; //link href with mouse cursor over it
  1197.  
  1198. var lastX = 0;
  1199. var lastY = 0;
  1200.  
  1201. $(document).ready(initTooltip);
  1202. //inits tooltip
  1203. function initTooltip()
  1204. { warlcTooltip = document.createElement("div");
  1205. warlcTooltip.setAttribute("style", "background: #EAEAEA; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);padding: 6px 6px 6px 6px; border-radius:2px; border:2px solid #6699CC; color:#000000;font-family:Verdana,sans-serif;font-size:11px;position:absolute;z-index:2000; max-width: " + TOOLTIP_MAXWIDTH + "px;");
  1206. warlcTooltip.style.visibility = "hidden";
  1207. document.body.appendChild(warlcTooltip);
  1208. }
  1209.  
  1210. //"mousemove" event handler for all links
  1211. function moveTooltip(event)
  1212. {
  1213. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1214. { //no need to reflow if the cursor moved just a little
  1215. return;
  1216. }
  1217. else
  1218. {
  1219. lastX = event.clientX;
  1220. lastY = event.clientY;
  1221. }
  1222.  
  1223. posX = event.clientX + window.pageXOffset + 10;
  1224. posY = event.clientY + window.pageYOffset;
  1225. var ttHeight = warlcTooltip.offsetHeight;
  1226. var ttFreeSpace = window.innerHeight - event.clientY;
  1227. if (ttHeight > ttFreeSpace)
  1228. { //prevents tooltip from getting out of the window
  1229. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1230. }
  1231. else
  1232. {
  1233. posY += 7;
  1234. }
  1235. warlcTooltip.style.top = posY + "px";
  1236. warlcTooltip.style.left = posX + "px";
  1237. }
  1238.  
  1239. //"mouseout" event handler for all links
  1240. function hideTooltip(){
  1241. warlcTooltip.style.visibility = "hidden";
  1242. mouseoverLink = null;
  1243. }
  1244.  
  1245.  
  1246. //"mouseover" event handler for dead links
  1247. //displays tooltip error message on dead links
  1248. function displayTooltipError()
  1249. {
  1250. mouseoverLink = this.href;
  1251. this.addEventListener("mouseout", hideTooltip);
  1252. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1253. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1254. warlcTooltip.style.minWidth = 0;
  1255. warlcTooltip.style.visibility = "visible";
  1256. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1257. {
  1258. warlcTooltip.innerHTML = this.warlc_error;
  1259. }
  1260. else
  1261. {
  1262. loadErrorInfo(this);
  1263. }
  1264. function loadErrorInfo(link)
  1265. {
  1266. var href = link.href;
  1267. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1268. GM_xmlhttpRequest({
  1269. method: 'GET',
  1270. url: href.replace(Ref_anonymize_service, ""),
  1271. headers: {
  1272. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1273. 'Accept': 'text/xml',
  1274. 'Referer': ""
  1275. },
  1276. onload: function(result) {
  1277. var res = result.responseText;
  1278. //TODO: errorRegexs -
  1279. var errorRegexs = [ //generic error messages follow
  1280. /(empty directory)/i,
  1281. /(soubor nebyl nalezen)/i,
  1282. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1283. //server specific error messages follow
  1284. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1285. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1286. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1287. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1288. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1289. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1290. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1291. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1292. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1293. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1294. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1295. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1296. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1297. /(File has been removed due to Copyright Claim)/, //filerio
  1298. ];
  1299. var errorIdx = errorRegexs.length;
  1300. var error = "Cause of error: <b>unknown</b>";
  1301. var errorCandidate = "";
  1302. while(errorIdx--)
  1303. {
  1304. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1305. if (errorCandidate != null)
  1306. {
  1307. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1308. break;
  1309. }
  1310. }
  1311. //link attributes
  1312. link.warlc_error = error;
  1313. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1314. {
  1315. warlcTooltip.innerHTML = error;
  1316. }
  1317. }
  1318. });
  1319. }
  1320. }
  1321.  
  1322. //"mouseover" event handler for alive links
  1323. //displays tooltip info (file size, file name,...) on alive links
  1324. function displayTooltipInfo()
  1325. {
  1326. mouseoverLink = this.href;
  1327. //exclude direct download filehostings
  1328. if (this.href.match(/(?:filemonster\.net|uploadbin\.net|loombo\.com|adrive\.com|myupload\.dk|storage\.novoro\.net|ubuntuone\.com|multi-debrid\.com\/directdl|mms\.multishare\.cz\/html\/mms_process\.php|zevera\.com\/getFiles|filesmelt\.com)/))
  1329. {
  1330. return;
  1331. }
  1332. this.addEventListener("mouseout", hideTooltip);
  1333. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1334. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1335. warlcTooltip.style.minWidth = 0;
  1336. warlcTooltip.style.visibility = "visible";
  1337. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1338. {
  1339. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1340. }
  1341. else
  1342. {
  1343. loadInfo(this);
  1344. }
  1345. function loadInfo(link)
  1346. {
  1347. var href = link.href;
  1348. GM_xmlhttpRequest({
  1349. method: 'GET',
  1350. url: href.replace(Ref_anonymize_service, ""),
  1351. headers: {
  1352. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1353. 'Accept': 'text/xml',
  1354. 'Referer': ""
  1355. },
  1356. onload: function(result) {
  1357. var res = result.responseText;
  1358. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1359. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1360. /fl" title="(.+?)">/, //edisk
  1361. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1362. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1363. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1364. /title="download (.+?)">/, //sendspace
  1365. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1366. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1367. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1368. /d0FileName = "(.+?)";/, //letitbit
  1369. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1370. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1371. /fname" value="(.+?)">/, //syfiles, grupload,
  1372. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1373. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1374. /Complete name : (.+?)<br \/>/, //bezvadata
  1375. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1376. ];
  1377. var nameIdx = nameRegexs.length;
  1378. // [sizeRegexs]
  1379. // / \ \?
  1380. // prefix (size) postfix
  1381. // / \
  1382. // val quant
  1383. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1384. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1385. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1386. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1387. var postSizeRegex = '(?:\\))?';
  1388. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1389. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1390. ];
  1391. var sizeIdx = sizeRegexs.length;
  1392. //
  1393. //
  1394. var tooltip = "File Name: <b>";
  1395. var fileName = "unknown";
  1396. var nameCandidate = "";
  1397. while(nameIdx--)
  1398. {
  1399. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1400. if (nameCandidate != null)
  1401. {
  1402. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1403. break;
  1404. }
  1405. }
  1406. tooltip += fileName + "</b><br>File Size: <b>";
  1407. var fileSize = "unknown";
  1408. var sizeCandidate = "";
  1409. while(sizeIdx--)
  1410. {
  1411. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1412. if (sizeCandidate != null)
  1413. {
  1414. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1415. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1416. {
  1417. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1418. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1419. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1420. }
  1421. break;
  1422. }
  1423. }
  1424. tooltip += fileSize + "</b>";
  1425. // PROTOTYPE
  1426. // video thumbnails
  1427. if (href.match('hellshare'))
  1428. {
  1429. var thumbs;
  1430. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1431. if (thumbs)
  1432. {
  1433. tooltip += '<br>';
  1434. var j = Math.min(thumbs.length, 9);
  1435. for (var i = 0; i < j; i++)
  1436. {
  1437. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1438. }
  1439. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1440. }
  1441. }
  1442. if (href.match('czshare'))
  1443. {
  1444. var thumbs;
  1445. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1446. if (thumbs)
  1447. {
  1448. var thumbsServer = thumbs[1];
  1449. var thumbsId = thumbs[2];
  1450. tooltip += '<br>';
  1451. for (var i = 1; i < 9; i++)
  1452. {
  1453. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1454. }
  1455. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1456. }
  1457. }
  1458. if (href.match('bezvadata'))
  1459. {
  1460. var thumbs;
  1461. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1462. if (thumbs)
  1463. {
  1464. tooltip += '<br>';
  1465. var j = Math.min(thumbs.length, 9);
  1466. for (var i = 0; i < j; i++)
  1467. {
  1468. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1469. }
  1470. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1471. }
  1472. }
  1473. link.warlc_tooltipcache = tooltip;
  1474. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1475. {
  1476. warlcTooltip.innerHTML = tooltip;
  1477. }
  1478. }
  1479. });
  1480. }
  1481. }
  1482.  
  1483. function setVariables()
  1484. {
  1485. if (firstRun)
  1486. {
  1487. GM_log('First run, applying default settings...');
  1488. GM_setValue("Icon_set",1);
  1489. GM_setValue("Display_tooltip_info",true);
  1490. GM_setValue("Show_black_background_in_DL_links",false);
  1491. GM_setValue("Show_line_through_in_dead_links",false);
  1492. GM_setValue("Display_full_links_in_link_containers",false);
  1493. GM_setValue("Allow_spaces_in_DL_links",false);
  1494. GM_setValue("Autocheck",true);
  1495. GM_setValue("Enable_Anonymizer",false);
  1496. GM_setValue("Do_not_linkify_DL_links",false);
  1497. GM_setValue("Show_progress_stats",true);
  1498. GM_setValue("Keyboard_functions",true);
  1499. GM_setValue("Obsolete_file_hosts",false);
  1500. GM_setValue("Color_DL_links",true);
  1501. GM_setValue("Live_links_color","Green");
  1502. GM_setValue("Dead_links_color","#FF3300");
  1503. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1504. GM_setValue("Container_links_color","DarkKhaki");
  1505. GM_setValue("Premium_links_color","DeepPink");
  1506. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1507. GM_setValue("Custom_rules",false);
  1508. GM_setValue("Custom_rules_text","");
  1509. GM_setValue("First_run", false);
  1510. }
  1511. //hidden settings
  1512. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1513. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1514. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1515. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1516. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1517. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1518. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1519. //hidden settings end
  1520.  
  1521. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1522. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1523. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1524. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1525. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1526. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1527. Autocheck = GM_getValue("Autocheck", true);
  1528. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1529. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1530. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1531. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1532. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1533. Color_DL_links = GM_getValue("Color_DL_links", true);
  1534. Live_links_color = GM_getValue("Live_links_color", "Green");
  1535. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1536. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1537. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1538. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1539. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1540. Custom_rules = GM_getValue("Custom_rules", false);
  1541. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1542. }
  1543.  
  1544.  
  1545. // Delinkifies the links
  1546. // params:
  1547. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1548. // e.g. 'uloz.to/xs68skxl8')
  1549. function delinkifySnapshot(snapshot)
  1550. {
  1551. var n = snapshot.snapshotLength;
  1552.  
  1553. while (n--)
  1554. {
  1555. thisLink = snapshot.snapshotItem(n);
  1556.  
  1557. var spanElm = document.createElement("span");
  1558. spanElm.className = thisLink.className;
  1559. spanElm.innerHTML = thisLink.innerHTML;
  1560.  
  1561. if (Display_tooltip_info)
  1562. {
  1563. spanElm.href = thisLink.href;
  1564. switch (thisLink.className){
  1565. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1566. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1567. case "unava_link": //reserved
  1568. default:
  1569. }
  1570. }
  1571. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1572. }
  1573. }
  1574.  
  1575. function processContainers()
  1576. {
  1577. var redirectorTypes = { "HTTP_302": 0,
  1578. "INNER_LINK": 1,
  1579. "THELOO_KATT_IT": 2,
  1580. "CING_BE": 3,
  1581. "ADF_LY": 4};
  1582. var cMultiloadTotal = 0;
  1583. var cMultiloadProcessed = 0;
  1584.  
  1585. var cMirrorcreatorComTotal = 0;
  1586. var cMirrorcreatorComProcessed = 0;
  1587.  
  1588. var hostRestrictionRegex = "";
  1589. var multiloadComRestriction = "";
  1590. var multiloadComRestrictionRegex;
  1591.  
  1592. //
  1593. //HANDLING REDIRECTORS START
  1594. //
  1595.  
  1596. var redirectors = new Array();
  1597. initRedirectors();
  1598.  
  1599. var redirectorsCount = redirectors.length;
  1600.  
  1601. if (redirectorsCount > 0)
  1602. {
  1603. var allRedirectorsRegex = "";
  1604.  
  1605. //linkify redirector links
  1606. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1607. {
  1608. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1609. }
  1610. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1611. linkify(allRedirectorsRegex);
  1612. //
  1613. //process redirector links
  1614. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1615. {
  1616. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1617. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1618.  
  1619. cLinksTotal += redirectors[redirIdx].cTotal;
  1620. var linkIdx = redirectors[redirIdx].cTotal;
  1621.  
  1622. while(linkIdx--)
  1623. {
  1624. switch(redirectors[redirIdx].type)
  1625. {
  1626. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1627. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1628. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1629. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1630. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1631. default:
  1632. }
  1633. }
  1634. }
  1635. //
  1636. }
  1637.  
  1638. //HTTP_302
  1639. function processRedirectorLink(link, redirectorId)
  1640. {
  1641. link.className = 'container_link';
  1642.  
  1643. GM_xmlhttpRequest({
  1644. method: 'HEAD',
  1645. url: link.href,
  1646. headers: {
  1647. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1648. 'Accept': 'text/xml',
  1649. 'Referer': ""
  1650. },
  1651. onload: function(result) {
  1652. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1653. {
  1654. processRedirectorLink(link, redirectorId);
  1655. }
  1656. else
  1657. {
  1658. redirectors[redirectorId].cProcessed++;
  1659. link.href = result.finalUrl;
  1660. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1661. checkLinks('container_link');
  1662. }
  1663. },
  1664. onerror: function(result) { //probably caused by unresponsive filehosting
  1665. redirectors[redirectorId].cProcessed++;
  1666. link.className = 'unava_link';
  1667. cLinksProcessed++;
  1668. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1669. checkLinks('container_link');
  1670. }
  1671. });
  1672. }
  1673. //INNER_LINK
  1674. function processRedirectorLinkEx(link, redirectorId)
  1675. {
  1676. link.className = 'container_link';
  1677. GM_xmlhttpRequest({
  1678. method: 'GET',
  1679. url: link.href,
  1680. headers: {
  1681. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1682. 'Accept': 'text/xml',
  1683. 'Referer': ""
  1684. },
  1685. onload: function(result) {
  1686. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1687. redirectors[redirectorId].cProcessed++;
  1688. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1689. checkLinks('container_link');
  1690. }
  1691. });
  1692. }
  1693. //theloo.katt.it (wrapped safelinking.net)
  1694. function processThelooKattItLink(link, redirectorId)
  1695. {
  1696. link.className = 'container_link';
  1697. GM_xmlhttpRequest({
  1698. method: 'GET',
  1699. url: link.href,
  1700. headers: {
  1701. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1702. 'Accept': 'text/xml',
  1703. 'Referer': ""
  1704. },
  1705. onload: function(result) {
  1706. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1707. redirectors[redirectorId].cProcessed++;
  1708. //the inner links are safelinking.net links, so lets proceed with it
  1709. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1710. {
  1711. processRedirectorLink(link, 0);
  1712. }
  1713. }
  1714. });
  1715. }
  1716. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1717. function processAdfLyLink(link, redirectorId)
  1718. {
  1719. link.className = 'container_link';
  1720. GM_xmlhttpRequest({
  1721. method: 'GET',
  1722. url: link.href,
  1723. headers: {
  1724. 'User-agent': 'Mozilla/4.0',
  1725. 'Accept': 'text/xml',
  1726. 'Referer': ""
  1727. },
  1728. onload: function(result) {
  1729. if (result.finalUrl.match('/locked/'))
  1730. {
  1731. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1732. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1733. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1734. }
  1735. else
  1736. {
  1737. // GM_log('Processing... ' + link.href);
  1738. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1739. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1740. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1741. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1742. //confirm advert
  1743. GM_xmlhttpRequest(
  1744. {
  1745. method: 'POST',
  1746. url: 'http://adf.ly/l.php',
  1747. headers: {
  1748. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1749. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1750. 'Referer': link.href
  1751. },
  1752. data: users + '&lt=' + logToken,
  1753. onload: function(result) {
  1754. //retrieve final url from .../go/... link
  1755. GM_xmlhttpRequest({
  1756. method: 'GET',
  1757. url: directLink,
  1758. headers: {
  1759. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1760. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1761. 'Referer': link.href
  1762. },
  1763. onload: function(result) {
  1764. link.href = result.finalUrl;
  1765. redirectors[redirectorId].cProcessed++;
  1766. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1767. checkLinks('container_link');
  1768. }
  1769. });
  1770. }
  1771. });
  1772. }
  1773. }
  1774. });
  1775. function proceedOK()
  1776. {
  1777. }
  1778. }
  1779. //MULTILOAD.CZ START
  1780. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1781. {
  1782. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1783. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1784.  
  1785. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1786.  
  1787. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1788. hostRestrictionRegex += 'hellshare|';
  1789. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1790. hostRestrictionRegex += 'downloadhellshare|';
  1791. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1792. hostRestrictionRegex += 'share-rapid\\.com|';
  1793. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1794. hostRestrictionRegex += 'quickshare\\.cz|';
  1795. if (GM_getValue("Check_czshare_dot_com_links", false))
  1796. hostRestrictionRegex += 'czshare\\.com|';
  1797. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1798. hostRestrictionRegex += 'hellspy|';
  1799. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1800. hostRestrictionRegex += 'multishare\\.cz|';
  1801.  
  1802. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1803.  
  1804. linkify(mlRegex);
  1805.  
  1806. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1807. var mlCount = mlSnapshot.snapshotLength;
  1808.  
  1809. if (mlCount > 0)
  1810. {
  1811. cMultiloadTotal += mlCount;
  1812.  
  1813. mlIdx = mlCount - 1;
  1814. do
  1815. {
  1816. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1817. }
  1818. while(mlIdx--)
  1819. }
  1820. }
  1821. //MULTILOAD.CZ END
  1822.  
  1823.  
  1824.  
  1825. function processMultiloadLink(mlLink)
  1826. {
  1827. GM_xmlhttpRequest({
  1828. method: 'GET',
  1829. url: mlLink.href,
  1830. headers: {
  1831. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1832. 'Accept': 'text/xml',
  1833. 'Referer': ""
  1834. },
  1835. onload: function(result) {
  1836. var res = result.responseText;
  1837.  
  1838. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1839. var innerLinksRegex = /(?:Upload se nezdařil \((?:chyba serveru|chybné přihlašovací údaje)\)\. <|>https?:\/\/(?:.|\s)+?<|Právě probíhá reupload, buďte trpěliví\.\.\.<)/g;
  1840. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1841. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1842.  
  1843. var blocks; // blocks of links
  1844. var blockIdx;
  1845.  
  1846. mlLink.className = '';
  1847.  
  1848. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1849. {
  1850. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1851. return;
  1852. }
  1853.  
  1854. blocks = res.match(innerBlockRegex);
  1855.  
  1856. if (blocks == null) //no links found, cancel further processing
  1857. {
  1858. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1859. cMultiloadProcessed++;
  1860. if (cMultiloadTotal <= cMultiloadProcessed)
  1861. {
  1862. startBulkCheck('container_link');
  1863. start('container_link');
  1864. }
  1865. return;
  1866. }
  1867.  
  1868. blockIdx = blocks.length;
  1869.  
  1870. if (Display_full_links_in_link_containers)
  1871. {
  1872. var ulElm = document.createElement('ul');
  1873. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1874.  
  1875. while(blockIdx--)
  1876. {
  1877. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1878. {
  1879. continue;
  1880. }
  1881.  
  1882. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1883.  
  1884. var linkIdx = innerLinks.length;
  1885. while (linkIdx--)
  1886. {
  1887. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1888.  
  1889. var liElm = document.createElement('li');
  1890.  
  1891. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1892. {
  1893. liElm.appendChild(document.createTextNode(innerLink));
  1894. }
  1895. else
  1896. {
  1897. var aElm = document.createElement('a');
  1898. aElm.innerHTML = innerLink;
  1899. aElm.href = innerLink;
  1900. aElm.className = 'container_link';
  1901.  
  1902. liElm.appendChild(aElm);
  1903. }
  1904.  
  1905. ulElm.appendChild(liElm);
  1906. cLinksTotal++;
  1907. }
  1908. }
  1909.  
  1910. mlLink.parentNode.appendChild(ulElm);
  1911. }
  1912. else //compact view
  1913. {
  1914. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1915.  
  1916. while(blockIdx--)
  1917. {
  1918. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1919. {
  1920. continue;
  1921. }
  1922.  
  1923. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1924.  
  1925. var linkIdx = innerLinks.length;
  1926. while (linkIdx--)
  1927. {
  1928. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1929.  
  1930. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1931. {
  1932. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1933. }
  1934. else
  1935. {
  1936. var aElm = document.createElement('a');
  1937.  
  1938. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1939.  
  1940. //abbreviate host name
  1941. switch(hostName + ""){
  1942.  
  1943. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1944. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1945. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1946. case 'multishare': aElm.innerHTML = 'MS'; break;
  1947. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1948. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1949. case 'czshare': aElm.innerHTML = 'CS'; break;
  1950. default: aElm.innerHTML = 'xx';
  1951.  
  1952. }
  1953.  
  1954. aElm.href = innerLink;
  1955. aElm.className = 'container_link';
  1956.  
  1957. mlLink.parentNode.appendChild(aElm);
  1958. cLinksTotal++;
  1959. }
  1960. }
  1961.  
  1962. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1963.  
  1964. }
  1965. }
  1966.  
  1967. cMultiloadProcessed++;
  1968. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1969. {
  1970. if (Do_not_linkify_DL_links)
  1971. {
  1972. delinkifySnapshot(mlSnapshot);
  1973. }
  1974. startBulkCheck('container_link');
  1975. start('container_link');
  1976. }
  1977. }
  1978. });
  1979. }
  1980.  
  1981.  
  1982. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1983. {
  1984. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1985. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1986. var mcShortHostNames =
  1987. '?? RS MU ES DF Zs FF ?? SS ?? Ba NL LT MF MS ZS UL 2S ZI HF ST UP GF ?? UB Fr IF fs X7 UG ?? TB FS EB LB EU ?? OR ?? ?? DL EY ?? FK FH US BS WU FP PL FJ CR JF SM Ms Ff GU';
  1988. // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
  1989. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1990. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  1991. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1992. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1993.  
  1994. linkify(mcRegex);
  1995.  
  1996. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1997. var mcCount = mcSnapshot.snapshotLength;
  1998.  
  1999. cMirrorcreatorComTotal = mcCount;
  2000.  
  2001. if (mcCount > 0)
  2002. {
  2003. mcShortHostNames = mcShortHostNames.split(' ');
  2004. mcIdx = mcCount;
  2005. while(mcIdx--)
  2006. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2007. }
  2008.  
  2009. }
  2010. //MIRRORCREATOR.CZ END
  2011.  
  2012.  
  2013. //mirrorcreator.com checking works like this:
  2014. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2015. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2016. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2017. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2018. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2019. function processMirrorcreatorLink(mcLink)
  2020. {
  2021. var mcURL = mcLink.href.match(mcRegex);
  2022. if(!mcURL || !mcURL[1]) return;
  2023. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2024. GM_xmlhttpRequest({
  2025. method: 'GET',
  2026. url: mcURL,
  2027. headers: {
  2028. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2029. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2030. 'Referer': ""
  2031. },
  2032. onload: function(mcLinkResult) {
  2033. var mcLinkRes = mcLinkResult.responseText;
  2034.  
  2035. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2036. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2037.  
  2038. var mcRedirectors;
  2039. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2040. var m = mcLinkRes.match(mcLinkBlockRegex);
  2041. if (m)
  2042. mcHostsFound = m.length;
  2043. else
  2044. { //no files inside container
  2045. processMirrorcreatorFoundHosts(mcLink, []);
  2046. return;
  2047. }
  2048.  
  2049. var mcRedirectorURL, idx, timedOut = false;
  2050.  
  2051. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2052. GM_xmlhttpRequest({
  2053. method: 'GET',
  2054. url: mcRedirectorURL,
  2055. headers: {
  2056. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2057. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2058. 'Referer': ""
  2059. },
  2060. onload: function(mcHostResult) {
  2061. if (timedOut) return; //too late, the list is already displayed
  2062. var mcHostRes = mcHostResult.responseText;
  2063. var mcHost = mcHostRes.match(mcHostRegex);
  2064. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2065. if (mcHost && idx!=-1)
  2066. {
  2067. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2068. mcHostsRetrieved++;
  2069. mcHostsToProcess++;
  2070. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2071. {
  2072. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2073. mcHostsToProcess = 0;
  2074. }
  2075. }
  2076. } //end of onload: function
  2077. }); //end of GM_xmlhttpRequest call
  2078. };//end of var gmxhrFunc
  2079.  
  2080. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2081. { //load individual redirector pages
  2082. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2083. mcHostURLs.push(mcRedirectorURL);
  2084. mcRedirectorIDs.push(mcRedirectors[2]);
  2085. gmxhrFunc(mcRedirectorURL);
  2086. } //end of while block
  2087.  
  2088. setTimeout(function(){ //in case the last page fails to load and call the function
  2089. timedOut = true;
  2090. if (mcHostsToProcess)
  2091. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2092. }, 60000);
  2093.  
  2094. } //end of onload function
  2095. }); //end of GM_xmlhttpRequest call
  2096. } //end of function processMirrorcreatorLink
  2097.  
  2098.  
  2099. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2100. {
  2101. var aEl, liEl, docFrag;
  2102. var hostName, mcRedirectorID, trimFilename = false;
  2103. var i = mcHostURLs.length;
  2104. if (i == 0)
  2105. {
  2106. trimFilename = true;
  2107. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2108. }
  2109. else
  2110. {
  2111. if (Display_full_links_in_link_containers)
  2112. { //full view
  2113. var wrapperEl = document.createElement('span');
  2114. wrapperEl.style.display = 'block';
  2115. var ulistEl = document.createElement('ul');
  2116. ulistEl.className = 'container_list';
  2117. while (i--)
  2118. {
  2119. liEl = document.createElement('li');
  2120. aEl = document.createElement('a');
  2121. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2122. aEl.href = mcHostURLs[i];
  2123. aEl.className = 'container_link';
  2124. liEl.appendChild(aEl);
  2125. ulistEl.appendChild(liEl);
  2126. }
  2127. wrapperEl.appendChild(ulistEl);
  2128. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2129. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2130. }
  2131. else
  2132. { //compact view
  2133. trimFilename = true;
  2134. docFrag = document.createDocumentFragment();
  2135. docFrag.appendChild(document.createTextNode(' |'));
  2136. while (i--)
  2137. {
  2138. mcRedirectorID = mcRedirectorIDs[i];
  2139. hostName = mcHostURLs[i];
  2140. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2141. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2142. else
  2143. hostName = mcShortHostNames[mcRedirectorID];
  2144. aEl = document.createElement('a');
  2145. aEl.href = mcHostURLs[i];
  2146. aEl.className = 'container_link';
  2147. aEl.appendChild(document.createTextNode(hostName));
  2148. docFrag.appendChild(aEl);
  2149. docFrag.appendChild(document.createTextNode('|'));
  2150. }
  2151. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2152. } //end of else block
  2153. } //end of else block
  2154. mcLink.className = '';
  2155. if (trimFilename)
  2156. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2157. cMirrorcreatorComProcessed++;
  2158. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2159. {
  2160. if (Do_not_linkify_DL_links)
  2161. delinkifySnapshot(mcSnapshot);
  2162. startBulkCheck('container_link');
  2163. start('container_link');
  2164. }
  2165. } //end of function processMirrorcreatorFoundHosts
  2166.  
  2167. containers_processed = true;
  2168.  
  2169.  
  2170. function initRedirectors()
  2171. {
  2172. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2173. {
  2174. var redirector = new Object();
  2175. redirector.linkRegex = linkRegex;
  2176. redirector.xpath = xpathEx; //xpath expression
  2177. redirector.cProcessed = 0; //processed links count
  2178. redirector.cTotal = 0; //total links count
  2179. redirector.type = redirType; //redirectorTypes enum
  2180. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2181. redirectors.push(redirector);
  2182. }
  2183. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2184. {
  2185. addRedirector(
  2186. 'safelinking\\.net\/d\/\\w+',
  2187. "//a[contains(@href,'safelinking.net/d/')]",
  2188. redirectorTypes.HTTP_302,
  2189. null);
  2190. }
  2191. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2192. {
  2193. addRedirector(
  2194. 'linksafe\\.me\/d\/\\w+',
  2195. "//a[contains(@href,'linksafe.me/d/')]",
  2196. redirectorTypes.HTTP_302,
  2197. null);
  2198. }
  2199. if (GM_getValue("Check_linkto_dot_net_links", false))
  2200. {
  2201. addRedirector(
  2202. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2203. "//a[contains(@href,'linkto.net/?')]",
  2204. redirectorTypes.INNER_LINK,
  2205. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2206. }
  2207. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2208. {
  2209. addRedirector(
  2210. '(?:the)?loo\\.katt\\.it\/\\w+',
  2211. "//a[contains(@href,'loo.katt.it/')]",
  2212. redirectorTypes.THELOO_KATT_IT,
  2213. /Proceed to URL - <a href="(.+?)">/);
  2214. }
  2215. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2216. {
  2217. addRedirector(
  2218. 'madlink\\.sk\/\\w+',
  2219. "//a[contains(@href,'madlink.sk/')]",
  2220. redirectorTypes.INNER_LINK,
  2221. /name="url" value="(.+?)\s*"\/>/);
  2222. }
  2223. if (GM_getValue("Check_adf_dot_ly_links", false))
  2224. {
  2225. addRedirector(
  2226. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2227. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2228. redirectorTypes.ADF_LY,
  2229. null);
  2230. }
  2231. if (GM_getValue("Check_redi_dot_re_links", false))
  2232. {
  2233. addRedirector(
  2234. 'redi\\.re\/\\w+',
  2235. "//a[contains(@href,'redi.re/')]",
  2236. redirectorTypes.HTTP_302,
  2237. null);
  2238. }
  2239. if (GM_getValue("Check_bit_dot_ly_links", false))
  2240. {
  2241. addRedirector(
  2242. 'bit\\.ly\/\\w+',
  2243. "//a[contains(@href,'bit.ly/')]",
  2244. redirectorTypes.HTTP_302,
  2245. null);
  2246. }
  2247. }
  2248.  
  2249. }
  2250.  
  2251. var bulkHosts = new Array();
  2252. var bulkHostNames = new Array();
  2253. function initBulkCheck()
  2254. {
  2255. /////////////////////////////
  2256. // Inits filehost object
  2257. /////////////////////////////
  2258. // params :
  2259. // hostName -- [string] host name (multiple domains separated with coma)
  2260. // linkRegex -- [string] link regex
  2261. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2262. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2263. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2264. // corrReplWhat -- [regex] link correction regex (replace)
  2265. // corrReplWith -- [string]
  2266. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2267. //
  2268. // apiUrl -- [string] web linkchecker or API URL
  2269. // postData -- [string] POSTDATA of xmlhttprequest
  2270. // resLinkRegex -- [regex]
  2271. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2272. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2273. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2274. // func -- [function] bulkcheck handler, genBulkCheck if null
  2275. //
  2276. //////////////////////////////
  2277. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2278. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2279. {
  2280. var fileHost = new Object();
  2281.  
  2282. fileHost.linkRegex = linkRegex;
  2283. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2284. fileHost.xpath = xpath;
  2285. fileHost.cFound = 0; //found links counter
  2286. fileHost.links = new Array(); //found links
  2287. if (blockSize == null)
  2288. {
  2289. fileHost.blockSize = 50;
  2290. }
  2291. else
  2292. {
  2293. fileHost.blockSize = blockSize;
  2294. }
  2295. fileHost.corrMatch = corrMatch;
  2296. fileHost.corrReplWhat = corrReplWhat;
  2297. fileHost.corrReplWith = corrReplWith;
  2298. if (splitSeparator == null)
  2299. {
  2300. fileHost.splitSeparator = "\r\n";
  2301. }
  2302. else
  2303. {
  2304. fileHost.splitSeparator = splitSeparator;
  2305. }
  2306. fileHost.apiUrl = apiUrl;
  2307. fileHost.postData = postData;
  2308. fileHost.resLinkRegex = resLinkRegex;
  2309. fileHost.resLiveRegex = resLiveRegex;
  2310. fileHost.resDeadRegex = resDeadRegex;
  2311. fileHost.resUnavaRegex = resUnavaRegex;
  2312. if (func == null)
  2313. {
  2314. fileHost.func = genBulkCheck;
  2315. }
  2316. else
  2317. {
  2318. fileHost.func = func;
  2319. }
  2320. bulkHosts.push(fileHost);
  2321. var names = hostName.split(',');
  2322. var i = names.length;
  2323. while(i--)
  2324. {
  2325. bulkHostNames[names[i]] = fileHost;
  2326. }
  2327. }
  2328. var genType1 = [
  2329. "rodfile.com", "downloadani.me", //"migahost.com",
  2330. "rarefile.net",
  2331. "filesabc.com",
  2332. "verzend.be",
  2333. // "movreel.com",
  2334. "4up.me",
  2335. "file4safe.com", "filemac.com",
  2336. "longfiles.com",
  2337. "bitupload.com",
  2338. "uploadbaz.com"
  2339. ];
  2340. var genType2 = [ "queenshare.com",
  2341. "hulkload.com",
  2342. "amonshare.com", //"edoc.com",
  2343. ];
  2344. //xfilesharing 1.0
  2345. function addGenericType1()
  2346. {
  2347. var i = genType1.length;
  2348. while(i--)
  2349. {
  2350. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2351. {
  2352. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2353. addHost(
  2354. genType1[i].match(/[\w-]+/)[0], //hostname
  2355. regexSafe + "\/\\w+", //linkregex
  2356. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2357. null, //blocksize
  2358. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2359. null, //corrreplwhat
  2360. null, //corrreplwith
  2361. null, //separator
  2362. "http://" + genType1[i] + "/checkfiles.html", //api url
  2363. "op=checkfiles&process=Check+URLs&list=", //postdata
  2364. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2365. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2366. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2367. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2368. null //function delegate
  2369. )
  2370. }
  2371. }
  2372. }
  2373. //xfilesharing 2.0
  2374. function addGenericType2()
  2375. {
  2376. var i = genType2.length;
  2377. while(i--)
  2378. {
  2379. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2380. {
  2381. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2382. addHost(
  2383. genType2[i].match(/[\w-]+/)[0], //hostname
  2384. regexSafe + "\/\\w+", //linkregex
  2385. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2386. null, //blocksize
  2387. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2388. null, //corrreplwhat
  2389. null, //corrreplwith
  2390. null, //separator
  2391. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2392. "op=checkfiles&process=Check+URLs&list=", //postdata
  2393. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2394. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2395. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2396. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2397. null //function delegate
  2398. )
  2399. }
  2400. }
  2401. }
  2402. // TEMPLATE
  2403. // if (GM_getValue("Check__dot_com_links", false))
  2404. // {
  2405. // addHost(
  2406. // "", //hostname
  2407. // "", //linkregex
  2408. // "//a[contains(@href,'.com/')]", //xpath
  2409. // null, //blocksize
  2410. // null, //corrmatch
  2411. // null, //corrreplwhat
  2412. // null, //corrreplwith
  2413. // null, //separator
  2414. // "", //api url
  2415. // "", //postdata
  2416. // /()/, //linkregex
  2417. // //liveregex
  2418. // //deadregex
  2419. // //unavaregex
  2420. // null //function delegate
  2421. // )
  2422. // }
  2423. addGenericType1();
  2424. addGenericType2();
  2425.  
  2426. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2427. {
  2428. addHost(
  2429. "myvdrive,fileserving", //hostname
  2430. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2431. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2432. null, //blocksize
  2433. null, //corrmatch
  2434. null, //corrreplwhat
  2435. null, //corrreplwith
  2436. null, //separator
  2437. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2438. "links=", //postdata
  2439. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2440. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2441. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2442. null, //unavaregex
  2443. null //function delegate
  2444. )
  2445. }
  2446. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2447. {
  2448. addHost(
  2449. "hackerbox", //hostname
  2450. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2451. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2452. null, //blocksize
  2453. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2454. null, //corrreplwhat
  2455. null, //corrreplwith
  2456. null, //separator
  2457. "http://host.hackerbox.org/checkfiles.html", //api url
  2458. "op=checkfiles&process=Check+URLs&list=", //postdata
  2459. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2460. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2461. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2462. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2463. null //function delegate
  2464. )
  2465. }
  2466. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2467. {
  2468. addHost(
  2469. "hellshare", //hostname
  2470. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2471. "//a[contains(@href,'hellshare.')]", //xpath
  2472. 48, //blocksize
  2473. null, //corrmatch
  2474. null, //corrreplwhat
  2475. null, //corrreplwith
  2476. null, //separator
  2477. null, //api url
  2478. null, //postdata
  2479. null, //linkregex
  2480. null, //liveregex
  2481. null, //deadregex
  2482. null, //unavaregex
  2483. hellshareBulkCheck //function delegate
  2484. )
  2485. }
  2486. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2487. {
  2488. addHost(
  2489. "uploadrocket", //hostname
  2490. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2491. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2492. null, //blocksize
  2493. null, //corrmatch
  2494. null, //corrreplwhat
  2495. null, //corrreplwith
  2496. "\n", //separator
  2497. 'http://uploadrocket.net/?op=checkfiles',
  2498. 'op=checkfiles&process=Check+URLs&list=',
  2499. /uploadrocket.net\/(\w+)/,
  2500. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2501. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2502. null,
  2503. null //function delegate
  2504. )
  2505. }
  2506. if (GM_getValue("Check_uploading_dot_site_links", false))
  2507. {
  2508. addHost(
  2509. "uploading", //hostname
  2510. "(?:uploading\\.site)\/\\w+", //linkregex
  2511. "//a[contains(@href,'uploading.site/')]", //xpath
  2512. null, //blocksize
  2513. null, //corrmatch
  2514. null, //corrreplwhat
  2515. null, //corrreplwith
  2516. "\n", //separator
  2517. 'http://uploading.site/?op=checkfiles',
  2518. 'op=checkfiles&process=Check+URLs&list=',
  2519. /uploading.site\/(\w+)/,
  2520. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2521. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2522. null,
  2523. null //function delegate
  2524. )
  2525. }
  2526. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2527. {
  2528. addHost(
  2529. "k2s,keep2s,keep2share",
  2530. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2531. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2532. 100000, //blocksize
  2533. null, //corrmatch
  2534. null, //corrreplwhat
  2535. null, //corrreplwith
  2536. null, //separator
  2537. null,
  2538. null,
  2539. null,
  2540. null,
  2541. null,
  2542. null,
  2543. k2sBulkCheck //function delegate
  2544. )
  2545. }
  2546. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2547. {
  2548. addHost(
  2549. "tezfiles",
  2550. "(?:tezfiles\\.com)\/\\w+",
  2551. "//a[contains(@href,'tezfiles.com')]",
  2552. 100000, //blocksize
  2553. null, //corrmatch
  2554. null, //corrreplwhat
  2555. null, //corrreplwith
  2556. null, //separator
  2557. null,
  2558. null,
  2559. null,
  2560. null,
  2561. null,
  2562. null,
  2563. k2sBulkCheck //function delegate
  2564. )
  2565. }
  2566. if (GM_getValue("Check_fboom_dot_me_links", false))
  2567. {
  2568. addHost(
  2569. "fboom,fileboom",
  2570. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2571. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2572. 100000, //blocksize
  2573. null, //corrmatch
  2574. null, //corrreplwhat
  2575. null, //corrreplwith
  2576. null, //separator
  2577. null,
  2578. null,
  2579. null,
  2580. null,
  2581. null,
  2582. null,
  2583. fboomBulkCheck //function delegate
  2584. )
  2585. }
  2586. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2587. {
  2588. addHost(
  2589. "1fichier,dl4free",
  2590. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2591. "//a[contains(@href,'.1fichier.com') or contains(@href,'1fichier.com?') or contains(@href,'1fichier.com/?') or contains(@href,'.dl4free.com') or contains(@href,'dl4free.com?')or contains(@href,'dl4free.com/?')]",
  2592. 100000, //blocksize
  2593. null, //corrmatch
  2594. null, //corrreplwhat
  2595. null, //corrreplwith
  2596. null, //separator
  2597. null,
  2598. null,
  2599. null,
  2600. null,
  2601. null,
  2602. null,
  2603. dl4free_1fichier_BulkCheck //function delegate
  2604. )
  2605. }
  2606. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2607. {
  2608. addHost(
  2609. "nitroflare",
  2610. "nitroflare\\.com\/\\w+",
  2611. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2612. 100000, //blocksize
  2613. null, //corrmatch
  2614. null, //corrreplwhat
  2615. null, //corrreplwith
  2616. null, //separator
  2617. null,
  2618. null,
  2619. null,
  2620. null,
  2621. null,
  2622. null,
  2623. nitroflareBulkCheck //function delegate
  2624. )
  2625. }
  2626. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2627. {
  2628. addHost(
  2629. "depositfiles,dfiles",
  2630. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|(?:en|es|de|ru)/files\/\\w+",
  2631. "//a[contains(@href,'depositfiles.lt/files/') or contains(@href,'depositfiles.com/files/') or contains(@href,'depositfiles.com/en/files/') or contains(@href,'depositfiles.com/es/files/') or contains(@href,'depositfiles.org/files/') or contains(@href,'dfiles.ru/files/') or contains(@href,'dfiles.eu/files/') or contains(@href,'dfiles.eu/en/files/') or contains(@href,'dfiles.eu/de/files/') or contains(@href,'dfiles.eu/es/files/') or contains(@href,'dfiles.eu/ru/files/')]",
  2632. 100000, //blocksize
  2633. null, //corrmatch
  2634. null, //corrreplwhat
  2635. null, //corrreplwith
  2636. null, //separator
  2637. null,
  2638. null,
  2639. null,
  2640. null,
  2641. null,
  2642. null,
  2643. depositfilesBulkCheck //function delegate
  2644. )
  2645. }
  2646. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2647. {
  2648. addHost(
  2649. "filesflash", //hostname
  2650. "filesflash\\.com\/\\w+", //linkregex
  2651. "//a[contains(@href,'filesflash.com')]", //xpath
  2652. null, //blocksize
  2653. null, //corrmatch
  2654. /http:\/\//, //corrreplwhat
  2655. '', //corrreplwith
  2656. null, //separator
  2657. 'http://filesflash.com/checklinks.php',
  2658. 'submit=Go&links=',
  2659. /filesflash\.com\/(\w+)/,
  2660. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2661. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2662. null,
  2663. null //function delegate
  2664. )
  2665. }
  2666. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2667. {
  2668. addHost(
  2669. "jumbofiles", //hostname
  2670. "jumbofiles\\.com\/\\w+", //linkregex
  2671. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2672. null, //blocksize
  2673. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2674. null, //corrreplwhat
  2675. null, //corrreplwith
  2676. null, //separator
  2677. "http://jumbofiles.com/checkfiles.html", //api url
  2678. "op=checkfiles&process=Check+URLs&list=", //postdata
  2679. /(jumbofiles\.com\/\w+)/, //linkregex
  2680. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2681. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2682. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2683. null //function delegate
  2684. )
  2685. }
  2686. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2687. {
  2688. addHost(
  2689. "edisk", //hostname
  2690. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2691. "//a[contains(@href,'edisk.')]", //xpath
  2692. null, //blocksize
  2693. null, //corrmatch
  2694. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2695. 'edisk.cz/stahni', //corrreplwith
  2696. null, //separator
  2697. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2698. 'submitBtn=Zkontrolovat&checkFiles=',
  2699. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2700. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2701. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2702. null,
  2703. null //function delegate
  2704. )
  2705. }
  2706. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2707. {
  2708. GM_xmlhttpRequest( //age check skip
  2709. {
  2710. method: 'POST',
  2711. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2712. headers: {
  2713. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2714. 'Content-type': 'application/x-www-form-urlencoded',
  2715. 'Referer': ""
  2716. }
  2717. });
  2718. addHost(
  2719. "bezvadata", //hostname
  2720. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2721. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2722. null, //blocksize
  2723. null, //corrmatch
  2724. null, //corrreplwhat
  2725. null, //corrreplwith
  2726. null, //separator
  2727. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2728. 'zkontrolovat=Zkontrolovat&odkazy=',
  2729. /(bezvadata\.cz\/stahnout\/\d+)/,
  2730. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2731. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2732. null,
  2733. null //function delegate
  2734. )
  2735. }
  2736. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2737. {
  2738. addHost(
  2739. "linkcrypt", //hostname
  2740. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2741. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2742. 100000, //blocksize
  2743. null, //corrmatch
  2744. null, //corrreplwhat
  2745. null, //corrreplwith
  2746. null, //separator
  2747. null,
  2748. null,
  2749. null,
  2750. null,
  2751. null,
  2752. null,
  2753. linkcryptBulkCheck //function delegate
  2754. )
  2755. }
  2756. if (GM_getValue("Check_videobb_dot_com_links", false))
  2757. {
  2758. addHost(
  2759. "videobb", //hostname
  2760. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2761. "//a[contains(@href,'videobb.com')]", //xpath
  2762. null, //blocksize
  2763. null, //corrmatch
  2764. /watch_video\.php\?v=/, //corrreplwhat
  2765. 'video/', //corrreplwith
  2766. null, //separator
  2767. 'http://www.videobb.com/link_checker.php',
  2768. 'links=',
  2769. /videobb\.com\/video\/(\w+)/,
  2770. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2771. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2772. null,
  2773. null //function delegate
  2774. )
  2775. }
  2776. if (GM_getValue("Check_filerio_dot_com_links", false))
  2777. {
  2778. addHost(
  2779. "filekeen,filerio", //hostname
  2780. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2781. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2782. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2783. null, //blocksize
  2784. null, //corrmatch
  2785. null, //corrreplwhat
  2786. null, //corrreplwith
  2787. null, //separator
  2788. 'http://filerio.in/checkfiles.html',
  2789. 'op=checkfiles&process=Check+URLs&list=',
  2790. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2791. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2792. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2793. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2794. null //function delegate
  2795. )
  2796. }
  2797. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2798. {
  2799. addHost(
  2800. "share-online,egoshare", //hostname
  2801. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2802. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2803. null, //blocksize
  2804. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2805. null, //corrreplwhat
  2806. null, //corrreplwith
  2807. "\n", //separator
  2808. 'http://api.share-online.biz/linkcheck.php',
  2809. 'links=',
  2810. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2811. /\w+;OK/g,
  2812. /\w+;(?:NOTFOUND|DELETED)/g,
  2813. null,
  2814. null //function delegate
  2815. )
  2816. }
  2817. if (GM_getValue("Check_oboom_dot_com_links", false))
  2818. {
  2819. addHost(
  2820. "oboom", //hostname
  2821. "oboom\\.com\/#?\\w{8}", //linkregex
  2822. "//a[contains(@href,'oboom.com/')]", //xpath
  2823. null, //blocksize
  2824. /oboom\.com\/#?(\w{8})/, //corrmatch
  2825. null, //corrreplwhat
  2826. null, //corrreplwith
  2827. null, //separator
  2828. null,
  2829. null,
  2830. null,
  2831. null, //liveregex
  2832. null, //deadregex
  2833. null,
  2834. oboomBulk //function delegate
  2835. )
  2836. }
  2837. if (GM_getValue("Check_mega_dot_nz_links", false))
  2838. {
  2839. addHost(
  2840. "mega",
  2841. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2842. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2843. 100000, //blocksize
  2844. null, //corrmatch
  2845. null, //corrreplwhat
  2846. null, //corrreplwith
  2847. null, //separator
  2848. null,
  2849. null,
  2850. null,
  2851. null,
  2852. null,
  2853. null,
  2854. megaBulkCheck //function delegate
  2855. )
  2856. }
  2857.  
  2858. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2859.  
  2860. if (GM_getValue("Check_extabit_dot_com_links", false))
  2861. {
  2862. addHost(
  2863. "extabit", //hostname
  2864. "extabit\\.com\/file\/\\w+", //linkregex
  2865. "//a[contains(@href,'extabit.com')]", //xpath
  2866. null, //blocksize
  2867. null, //corrmatch
  2868. null, //corrreplwhat
  2869. null, //corrreplwith
  2870. "\n", //separator
  2871. "http://extabit.com/linkchecker.jsp", //api url
  2872. "url=", //postdata
  2873. /extabit\.com\/(file\/\w+)/, //linkregex
  2874. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2875. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2876. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2877. extabitBulkCheck //function delegate
  2878. )
  2879. }
  2880. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2881. {
  2882. addHost(
  2883. "junocloud", //hostname
  2884. "junocloud\\.me\/\\w+", //linkregex
  2885. "//a[contains(@href,'junocloud.me')]", //xpath
  2886. null, //blocksize
  2887. null, //corrmatch
  2888. null, //corrreplwhat
  2889. null, //corrreplwith
  2890. "\n", //separator
  2891. "http://junocloud.me/checkfiles.html", //api url
  2892. "op=checkfiles&process=Check+URLs&list=", //postdata
  2893. /(junocloud\.me\/\w+)/, //linkregex
  2894. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2895. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2896. null, //unavaregex
  2897. null //function delegate
  2898. )
  2899. }
  2900. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2901. {
  2902. addHost(
  2903. "webshare", //hostname
  2904. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2905. "//a[contains(@href,'webshare.cz')]", //xpath
  2906. 100000, //blocksize
  2907. null, //corrmatch
  2908. null, //corrreplwhat
  2909. null, //corrreplwith
  2910. null, //separator
  2911. null, //api url
  2912. null, //postdata
  2913. null, //linkregex
  2914. null, //liveregex
  2915. null, //deadregex
  2916. null, //unavaregex
  2917. webshareBulkCheck //function delegate
  2918. )
  2919. }
  2920. /////////////////////////////
  2921. // Common function delegate to send links to get checked by host linkchecker
  2922. /////////////////////////////
  2923. // If you define a new delegate, you may use following properties
  2924. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2925. // this.apiUrl [string] API or web linkchecker URL
  2926. // this.postData [string] POSTDATA for POST request
  2927. // this.resLiveRegex [regex] matches live substrings in the request response
  2928. // this.resDeadRegex [regex] matches dead substrings in the request response
  2929. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2930. //
  2931. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2932. //
  2933. // See the code below for standard bulkcheck handling reference.
  2934. //////////////////////////////
  2935. function genBulkCheck()
  2936. {
  2937. var blockIdx = this.links.length;
  2938. while (blockIdx--)
  2939. {
  2940. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2941. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2942. }
  2943. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2944. {
  2945. GM_xmlhttpRequest(
  2946. {
  2947. method: 'POST',
  2948. url: api,
  2949. headers: {
  2950. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2951. 'Content-type': 'application/x-www-form-urlencoded',
  2952. 'Referer': api,
  2953. 'X-Requested-With': 'XMLHttpRequest'
  2954. },
  2955. data: postData + encodeURIComponent(links),
  2956. onload: function (result)
  2957. {
  2958. var res = result.responseText;
  2959. // GM_log(res);
  2960. var i;
  2961.  
  2962. var livelinks = res.match(liveRegex);
  2963. var deadlinks = res.match(deadRegex);
  2964. // GM_log(livelinks);
  2965. // GM_log(deadlinks);
  2966. if (livelinks != null)
  2967. {
  2968. i = livelinks.length - 1;
  2969. do
  2970. {
  2971. livelinks[i] = livelinks[i].match(linkRegex)[1];
  2972. }
  2973. while (i--);
  2974. DisplayTheCheckedLinks(livelinks, 'alive_link');
  2975. }
  2976.  
  2977. if (deadlinks != null)
  2978. {
  2979. i = deadlinks.length - 1;
  2980. do
  2981. {
  2982. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  2983. }
  2984. while (i--);
  2985. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  2986. }
  2987.  
  2988. if (unavaRegex != null)
  2989. {
  2990. var unavalinks = res.match(unavaRegex);
  2991. if (unavalinks)
  2992. {
  2993. i = unavalinks.length - 1;
  2994. do
  2995. {
  2996. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  2997. }
  2998. while (i--);
  2999. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3000. }
  3001. }
  3002. }
  3003. });
  3004. }
  3005. }
  3006. //specialized bulkchecking handlers follow
  3007. function webshareBulkCheck()
  3008. {
  3009. var arr = this.links[0].split("\r\n");
  3010. var i = arr.length;
  3011. while(i--)
  3012. {
  3013. postRequest(arr[i]);
  3014. }
  3015. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3016. function postRequest(wsLink)
  3017. {
  3018. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3019. GM_xmlhttpRequest(
  3020. {
  3021. method: 'POST',
  3022. url: "http://webshare.cz/api/file_info/",
  3023. headers: {
  3024. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3025. 'Content-type': 'application/x-www-form-urlencoded',
  3026. 'Referer': "",
  3027. },
  3028. data: "wst=&ident=" + id,
  3029. onload: function (result)
  3030. {
  3031. var res = result.responseText;
  3032. if (res.match(/<name>.+?<\/name>/))
  3033. {
  3034. DisplayTheCheckedLinks([id], 'alive_link');
  3035. }
  3036. else
  3037. {
  3038. DisplayTheCheckedLinks([id], 'adead_link');
  3039. }
  3040. }
  3041. });
  3042. }
  3043. }
  3044. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3045. //extabit also doesn't like requests in fast succession, so some delays are added.
  3046. function extabitBulkCheck()
  3047. {
  3048. var timeoutDelay = 0;
  3049. var blockIdx = this.links.length;
  3050. while (blockIdx--)
  3051. {
  3052. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3053. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3054. }
  3055. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3056. {
  3057. GM_xmlhttpRequest(
  3058. {
  3059. method: 'POST',
  3060. url: api,
  3061. headers: {
  3062. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3063. 'Content-type': 'application/x-www-form-urlencoded',
  3064. 'Referer': api,
  3065. 'X-Requested-With': 'XMLHttpRequest'
  3066. },
  3067. data: postData + encodeURIComponent(links),
  3068. onload: function (result)
  3069. {
  3070. var res = result.responseText;
  3071. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3072. {
  3073. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3074. {
  3075. //GM_log(tryID + ': ' + link);
  3076. GM_xmlhttpRequest(
  3077. {
  3078. method: 'GET',
  3079. url: link,
  3080. headers: {'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8','Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7','Referer': ""},
  3081. onload: function(result2)
  3082. {
  3083. var res2 = result2.responseText;
  3084. var res2Status = result.status;
  3085. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3086. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3087. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3088. {
  3089. if (tryID < 7)
  3090. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3091. else
  3092. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3093. }
  3094. }
  3095. });
  3096. }
  3097. //split the hrefs and check them one by one
  3098. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3099. links = links.split('\n');
  3100. var i = links.length;
  3101. while (i--)
  3102. {
  3103. if (links[i])
  3104. {
  3105. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3106. timeoutDelay += 500;
  3107. }
  3108. }
  3109. return;
  3110. }
  3111. var i;
  3112.  
  3113. var livelinks = res.match(liveRegex);
  3114. var deadlinks = res.match(deadRegex);
  3115. if (livelinks != null)
  3116. {
  3117. i = livelinks.length - 1;
  3118. do
  3119. {
  3120. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3121. }
  3122. while (i--);
  3123. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3124. }
  3125.  
  3126. if (deadlinks != null)
  3127. {
  3128. i = deadlinks.length - 1;
  3129. do
  3130. {
  3131. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3132. }
  3133. while (i--);
  3134. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3135. }
  3136.  
  3137. if (unavaRegex != null)
  3138. {
  3139. var unavalinks = res.match(unavaRegex);
  3140. if (unavalinks)
  3141. {
  3142. i = unavalinks.length - 1;
  3143. do
  3144. {
  3145. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3146. }
  3147. while (i--);
  3148. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3149. }
  3150. }
  3151. }
  3152. });
  3153. }
  3154. }
  3155. function k2sBulkCheck()
  3156. {
  3157. var arr = this.links[0].split("\r\n");
  3158. var i = arr.length;
  3159. c=0;
  3160. arrIDs=[];
  3161. while(i--)
  3162. {
  3163. id = arr[i].match(/\/file\/(\w+)/)[1];
  3164. if (id=='info')
  3165. {
  3166. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3167. continue;
  3168. }
  3169. k2salreadyexist=false;
  3170. for (j=0;j<arrIDs.length;j++)
  3171. {
  3172. if (arrIDs[j]==id)
  3173. {
  3174. k2salreadyexist=g
  3175. break;
  3176. }
  3177. }
  3178. if (k2salreadyexist) continue;
  3179. arrIDs.push(id);
  3180. c++;
  3181. setTimeout(k2sRequest,c*500,arr[i]);
  3182. }
  3183. }
  3184. function k2sRequest(K2SLink)
  3185. {
  3186. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3187. GM_xmlhttpRequest(
  3188. {
  3189. method: 'GET',
  3190. url: K2SLink,
  3191. headers: {
  3192. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3193. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3194. 'Referer': ''
  3195. },
  3196. onload: function (result)
  3197. {
  3198. var res = result.responseText;
  3199. K2Dom='k2s.cc';
  3200. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3201. K2SLink2='http://'+K2Dom+'/file/'+id;
  3202.  
  3203. if (res.match('div class="well2"|error 404|The system is unable to find the requested action|http://keep2share.cc/file/check.html|To avoid damaged files|This file is no longer available'))
  3204. {
  3205. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3206. return;
  3207. }
  3208. if (res.match('method="post">Displaying'))
  3209. {
  3210. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3211. return;
  3212. }
  3213. if (res.match('Premium only|only for premium members'))
  3214. {
  3215. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3216. return;
  3217. }
  3218. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3219. {
  3220. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3221. slID=slow_id.exec(res)[1];
  3222. GM_xmlhttpRequest(
  3223. {
  3224. method: 'POST',
  3225. url: K2SLink2,
  3226. headers: {
  3227. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3228. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3229. 'Content-Type': 'application/x-www-form-urlencoded',
  3230. 'Referer': K2SLink
  3231. },
  3232. data: 'slow_id='+slID+'&yt0=',
  3233. onload: function (result)
  3234. {
  3235. var newres = result.responseText;
  3236. newoversizedtest=new RegExp("Free user can't download large files.");
  3237. if (newoversizedtest.test(newres))
  3238. {
  3239. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3240. return;
  3241. }
  3242. else
  3243. {
  3244. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3245. return;
  3246. }
  3247. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3248. return;
  3249. }
  3250. });
  3251. /////////////////////end additional check for oversized links
  3252. return;
  3253. }
  3254. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3255. return;
  3256. },
  3257. onerror: function ()
  3258. {
  3259. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3260. return;
  3261. }
  3262. });
  3263. }
  3264. function fboomBulkCheck()
  3265. {
  3266. var arr = this.links[0].split("\r\n");
  3267. var i = arr.length;
  3268. c=0;
  3269. arrIDs=[];
  3270. while(i--)
  3271. {
  3272. id = arr[i].match(/\/file\/(\w+)/)[1];
  3273. if (id=='info')
  3274. {
  3275. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3276. continue;
  3277. }
  3278. fbalreadyexist=false;
  3279. for (j=0;j<arrIDs.length;j++)
  3280. {
  3281. if (arrIDs[j]==id)
  3282. {
  3283. fbalreadyexist=true;
  3284. break;
  3285. }
  3286. }
  3287. if (fbalreadyexist) continue;
  3288. arrIDs.push(id);
  3289. c++;
  3290. setTimeout(fboomRequest,c*500,arr[i]);
  3291. }
  3292. }
  3293. function fboomRequest(FBoomLink)
  3294. {
  3295. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3296. FBoomLink2='http://fboom.me/file/'+id;
  3297. GM_xmlhttpRequest(
  3298. {
  3299. method: 'GET',
  3300. url: FBoomLink,
  3301. headers: {
  3302. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3303. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3304. 'Referer': ''
  3305. },
  3306. onload: function (result)
  3307. {
  3308. var res = result.responseText;
  3309. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3310. {
  3311. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3312. return;
  3313. }
  3314. if (res.match('method="post">Displaying'))
  3315. {
  3316. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3317. return;
  3318. }
  3319. if (res.match('only for premium members'))
  3320. {
  3321. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3322. return;
  3323. }
  3324. if (res.match('id="download-free" href="#"'))
  3325. {
  3326. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3327. slID=slow_id.exec(res)[1];
  3328. GM_xmlhttpRequest(
  3329. {
  3330. method: 'POST',
  3331. url: FBoomLink2,
  3332. headers: {
  3333. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3334. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3335. 'Content-Type': 'application/x-www-form-urlencoded',
  3336. 'Referer': FBoomLink
  3337. },
  3338. data: 'slow_id='+slID,
  3339. onload: function (result)
  3340. {
  3341. var newres = result.responseText;
  3342. newoversizedtest=new RegExp("Downloading is not possible");
  3343. if (newoversizedtest.test(newres))
  3344. {
  3345. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3346. return;
  3347. }
  3348. else
  3349. {
  3350. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3351. return;
  3352. }
  3353. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3354. return;
  3355. }
  3356. });
  3357. /////////////////////end additional check for oversized links
  3358. return;
  3359. }
  3360. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3361. return;
  3362. },
  3363. onerror: function ()
  3364. {
  3365. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3366. return;
  3367. }
  3368. });
  3369. }
  3370. function dl4free_1fichier_BulkCheck()
  3371. {
  3372. var arr = this.links[0].split("\r\n");
  3373. var i = arr.length;
  3374. while(i--)
  3375. {
  3376. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3377. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3378. gethead_dl4free_1fichier(arr[i]);
  3379. }
  3380. }
  3381. function gethead_dl4free_1fichier(link)
  3382. {
  3383. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3384. GM_xmlhttpRequest(
  3385. {
  3386. method: 'HEAD',
  3387. url: link,
  3388. headers: {
  3389. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3390. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3391. 'Referer': ''
  3392. },
  3393. onload: function (result)
  3394. {
  3395. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3396. {
  3397. DisplayTheCheckedLinks([id], 'alive_link');
  3398. return;
  3399. }
  3400. else
  3401. {
  3402. getlink_dl4free_1fichier(link);
  3403. }
  3404. return;
  3405. },
  3406. onerror: function ()
  3407. {
  3408. DisplayTheCheckedLinks([id], 'unava_link');
  3409. }
  3410. });
  3411. }
  3412. function getlink_dl4free_1fichier(link)
  3413. {
  3414. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3415. GM_xmlhttpRequest(
  3416. {
  3417. method: 'GET',
  3418. url: link,
  3419. headers: {
  3420. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3421. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3422. 'Referer': ''
  3423. },
  3424. onload: function (result)
  3425. {
  3426. var res = result.responseText;
  3427. deadRegex=new RegExp('The requested file has been deleted|Select files to send|File not found|file could not be found|Select files to send|Selectionnez les fichiers a envoyer|file has been deleted|Le fichier demande a ete supprime|Le fichier demandé n');
  3428. if (deadRegex.test(res))
  3429. {
  3430. DisplayTheCheckedLinks([id], 'adead_link');
  3431. return;
  3432. }
  3433. premiumRegex=new RegExp('only for premium users');
  3434. if (premiumRegex.test(res))
  3435. {
  3436. DisplayTheCheckedLinks([id], 'prem_link');
  3437. return;
  3438. }
  3439. liveRegex=new RegExp('<title>Download</title>|<br/>You must wait|value="Access to download"|submit" value="Download|Download without SSL encryption|submit" value="Telecharger|ok btn-general btn-orange|<input type="submit" value="');
  3440. if (liveRegex.test(res))
  3441. {
  3442. DisplayTheCheckedLinks([id], 'alive_link');
  3443. return;
  3444. }
  3445. DisplayTheCheckedLinks([id], 'unava_link');
  3446. },
  3447. onerror: function ()
  3448. {
  3449. DisplayTheCheckedLinks([id], 'unava_link');
  3450. }
  3451. });
  3452. }
  3453. function nitroflareBulkCheck()
  3454. {
  3455. var arr = this.links[0].split("\r\n");
  3456. var i = arr.length;
  3457. while(i--)
  3458. {
  3459. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3460. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3461. NitroFlareRequest(arr[i]);
  3462. }
  3463. }
  3464. function NitroFlareRequest(NFLink)
  3465. {
  3466. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3467. GM_xmlhttpRequest(
  3468. {
  3469. method: "GET",
  3470. url: NFLink,
  3471. headers: {
  3472. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3473. 'Content-Type': 'application/x-www-form-urlencoded',
  3474. 'Referer': ""
  3475. },
  3476. onload: function (result)
  3477. {
  3478. var res = result.responseText;
  3479. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3480. {
  3481. DisplayTheCheckedLinks([NFID], 'adead_link');
  3482. return;
  3483. }
  3484. if (res.match('Report this file<\/a>'))
  3485. {
  3486. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3487. sizearr=measureRegex.exec(res);
  3488. if (sizearr[2]=='GB')
  3489. {
  3490. if (parseFloat(sizearr[1])>1)
  3491. {
  3492. DisplayTheCheckedLinks([NFID], 'prem_link');
  3493. }
  3494. else
  3495. {
  3496. DisplayTheCheckedLinks([NFID], 'alive_link');
  3497. }
  3498. }
  3499. else
  3500. {
  3501. DisplayTheCheckedLinks([NFID], 'alive_link');
  3502. }
  3503. return;
  3504. }
  3505. DisplayTheCheckedLinks([NFID], 'unava_link');
  3506. }
  3507. });
  3508. }
  3509. function depositfilesBulkCheck()
  3510. {
  3511. var arr = this.links[0].split("\r\n");
  3512. var i = arr.length;
  3513. var seqno = Math.floor(Math.random()*1000000000);
  3514. while(i--)
  3515. {
  3516. DFpostRequest(arr[i]);
  3517. }
  3518. }
  3519. function DFpostRequest(DFLink)
  3520. {
  3521. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3522. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3523. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3524. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3525. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3526. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3527. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3528. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3529. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3530. GM_xmlhttpRequest(
  3531. {
  3532. method: "GET",
  3533. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3534. headers: {
  3535. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3536. 'Content-Type': 'application/x-www-form-urlencoded',
  3537. 'Referer': ""
  3538. },
  3539. onload: function (result)
  3540. {
  3541. var res = result.responseText;
  3542. if (res.match('(?:no_file|file_ban)'))
  3543. {
  3544. DisplayTheCheckedLinks([id], 'adead_link');
  3545. return;
  3546. }
  3547. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3548. {
  3549. DisplayTheCheckedLinks([id], 'alive_link');
  3550. return;
  3551. }
  3552. DisplayTheCheckedLinks([id], 'unava_link');
  3553. }
  3554. });
  3555. }
  3556.  
  3557. function megaBulkCheck()
  3558. {
  3559. var arr = this.links[0].split("\r\n");
  3560. var i = arr.length;
  3561. var seqno = Math.floor(Math.random()*1000000000);
  3562. while(i--)
  3563. {
  3564. postRequest(arr[i]);
  3565. }
  3566. function postRequest(megaLink)
  3567. {
  3568. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3569. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3570. if (id=='F')
  3571. {
  3572. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3573. DisplayTheCheckedLinks([id], 'unava_link');
  3574. }
  3575. else
  3576. GM_xmlhttpRequest(
  3577. {
  3578. method: "POST",
  3579. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3580. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3581. headers: {
  3582. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3583. 'Content-Type': 'application/xml',
  3584. 'Referer': "https://mega.co.nz/"
  3585. },
  3586. onload: function (result)
  3587. {
  3588. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3589. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3590. {
  3591.  
  3592. DisplayTheCheckedLinks([id], 'adead_link');
  3593. }
  3594. if (res.at)
  3595. {
  3596. DisplayTheCheckedLinks([id], 'alive_link');
  3597. }
  3598. if (res.e == "ETEMPUNAVAIL")
  3599. {
  3600. DisplayTheCheckedLinks([id], 'unava_link');
  3601. }
  3602. }
  3603. });
  3604. }
  3605.  
  3606. }
  3607.  
  3608. function oboomBulk() {
  3609. var a = [], b = [], c = [];
  3610. var array = this.links;
  3611.  
  3612. GM_xmlhttpRequest({
  3613. method: 'GET',
  3614. url: 'https://www.oboom.com/1/guestsession',
  3615. headers: {
  3616. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3617. 'Content-type': 'application/x-www-form-urlencoded',
  3618. 'Referer': 'https://www.oboom.com',
  3619. 'X-Requested-With': 'XMLHttpRequest'
  3620. },
  3621. onload: function(result) {
  3622. var blockIdx = array.length;
  3623. var token = JSON.parse(result.responseText)[1];
  3624. while (blockIdx--) {
  3625. startCheck(array[blockIdx].split('\r\n'), token);
  3626. }
  3627. }
  3628. });
  3629.  
  3630. function startCheck(links, token) {
  3631. GM_xmlhttpRequest({
  3632. method: 'POST',
  3633. url: "https://api.oboom.com/1/info",
  3634. headers: {
  3635. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3636. 'Content-type': 'application/x-www-form-urlencoded',
  3637. 'Referer': 'https://www.oboom.com/',
  3638. 'X-Requested-With': 'XMLHttpRequest'
  3639. },
  3640. data: "token=" + token + "&items=" + links.join(","),
  3641. onload: function(result) {
  3642. var res = JSON.parse(result.responseText)[1];
  3643. var i = res.length, s;
  3644.  
  3645. while (i--) {
  3646. s = res[i].state;
  3647. if (s == 'online') a.push(res[i].id);
  3648. else if (s == 'blocked' || s == 'abused' || s == 'lost' || s == 'not_found' || s == 'not_available'|| s == 'download_error' || s == 'offline' || s == 'expired' ) b.push(res[i].id);
  3649. else c.push(res[i].id);
  3650. }
  3651.  
  3652. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3653. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3654. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3655. }
  3656. });
  3657. }
  3658. }
  3659. function linkcryptBulkCheck()
  3660. {
  3661. var arr = this.links[0].split("\r\n");
  3662. var i = arr.length;
  3663. while(i--)
  3664. {
  3665. postRequest(arr[i]);
  3666. }
  3667. function postRequest(lcLink)
  3668. {
  3669. GM_xmlhttpRequest(
  3670. {
  3671. method: "GET",
  3672. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3673. headers: {
  3674. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3675. 'Accept': 'text/xml',
  3676. 'Referer': ""
  3677. },
  3678. onload: function (result)
  3679. {
  3680. var res = result.responseText;
  3681. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3682. {
  3683. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3684. return;
  3685. }
  3686. if (res.match(/folderStatus>1/)) //Online status
  3687. {
  3688. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3689. }
  3690. else
  3691. {
  3692. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3693. }
  3694. }
  3695. });
  3696. }
  3697. }
  3698.  
  3699. function megashareBulkCheck()
  3700. {
  3701. var arr = this.links[0].split("\r\n");
  3702. var i = arr.length;
  3703. while(i--)
  3704. {
  3705. postRequest(arr[i]);
  3706. }
  3707. function postRequest(msLink)
  3708. {
  3709. GM_xmlhttpRequest(
  3710. {
  3711. method: "GET",
  3712. url: msLink,
  3713. headers: {
  3714. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3715. 'Content-Type': 'application/x-www-form-urlencoded',
  3716. 'Referer': ""
  3717. },
  3718. onload: function (result)
  3719. {
  3720. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3721. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3722. if ((prZVal == null) || (btn3Name == null))
  3723. {
  3724. return;
  3725. }
  3726. GM_xmlhttpRequest(
  3727. {
  3728. method: "POST",
  3729. url: msLink,
  3730. headers: {
  3731. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3732. 'Content-Type': 'application/x-www-form-urlencoded',
  3733. 'Referer': ""
  3734. },
  3735. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3736. onload: function (result)
  3737. {
  3738. var res = result.responseText;
  3739. if (res.match(/<div id="err">/))
  3740. {
  3741. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3742. }
  3743. else
  3744. {
  3745. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3746. }
  3747. }
  3748. });
  3749. }
  3750. });
  3751. }
  3752. }
  3753. function hellshareBulkCheck()
  3754. {
  3755. var links = this.links;
  3756. GM_xmlhttpRequest(
  3757. {
  3758. method: "GET",
  3759. url: 'http://www.hellshare.com',
  3760. headers: {
  3761. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3762. 'Accept': 'text/xml',
  3763. 'Referer': ""
  3764. },
  3765. onload: function (result)
  3766. {
  3767. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3768.  
  3769. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3770. if (domain == 'sk')
  3771. loc = 'check=Skontrolova%C5%A5&links=';
  3772. if (domain == 'com')
  3773. loc = 'check=Check+availability&links=';
  3774. if (domain == 'hu')
  3775. loc = 'check=Kontrol%C3%A1lj&links=';
  3776. if (domain == 'pl')
  3777. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3778.  
  3779. genBulkCheck.call({ links: links,
  3780. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3781. postData: loc,
  3782. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3783. resLiveRegex: /OK" style="width:21px;height:20px;margin-right:10px;" \/><a href="http:\/\/download\.hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)[\w-\.]+\/\d{5,}/g,
  3784. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3785. resUnavaRegex: null
  3786. });
  3787. }
  3788. });
  3789. }
  3790. /**
  3791. * Displays check result
  3792. * @param {Array} Array of links or link fragments.
  3793. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3794. */
  3795. function DisplayTheCheckedLinks(links, resultStatus)
  3796. {
  3797. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3798. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3799. if (Do_not_linkify_DL_links)
  3800. { //TODO into separate jQuery function
  3801. $links.replaceWith(function(){
  3802. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3803. });
  3804. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3805. }
  3806. $links.removeClass().addClass(resultStatus);
  3807. $links.each(function() {
  3808. this.href = Ref_anonymize_service + $(this).attr("href");
  3809. });
  3810. switch(resultStatus)
  3811. {
  3812. case "alive_link": cLinksAlive += $links.length;
  3813. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3814. break;
  3815. case "adead_link": cLinksDead += $links.length;
  3816. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3817. break;
  3818. case "prem_link": cLinksprem += $links.length;
  3819. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3820. break;
  3821. case "unava_link": cLinksUnava += $links.length; break;
  3822. default:
  3823. }
  3824. cLinksProcessed += $links.length;
  3825. }
  3826. }
  3827. // starts bulkchecking
  3828. //
  3829. // params
  3830. // filterId [string] restricts link detection with passed id attribute
  3831. function startBulkCheck(filterId)
  3832. {
  3833. var cHosts = bulkHosts.length;
  3834. if (cHosts == 0) //no filehostings selected
  3835. return;
  3836. // STEP 1 linkify the links
  3837. var linkifyRegex = '';
  3838. var hostIdx = cHosts;
  3839. while(hostIdx--)
  3840. {
  3841. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3842. }
  3843. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3844. linkify(linkifyRegex);
  3845. //
  3846. //STEP 2 detect link objects
  3847. var xpathAll = '';
  3848. var hostIdx = cHosts;
  3849. while(hostIdx--)
  3850. {
  3851. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3852. }
  3853. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3854. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3855. if (filterId != null) //insert id restriction in the xpath
  3856. {
  3857. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3858. }
  3859. else
  3860. {
  3861. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3862. }
  3863. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3864. if (filterId == null)
  3865. {
  3866. cLinksTotal += links.snapshotLength;
  3867. }
  3868. //
  3869. //STEP 3 bind links with hostings
  3870. var linkIdx = links.snapshotLength;
  3871. var href = null;
  3872. if (linkIdx == 0) // no links found
  3873. return;
  3874. var name;
  3875. while (linkIdx--)
  3876. {
  3877. href = links.snapshotItem(linkIdx).href;
  3878. try // DO NOT REMOVE, filters crap that went through xpath detection
  3879. {
  3880. name = gimmeHostName(href);
  3881. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3882. bulkHostNames[name].links.push(href);
  3883. }
  3884. catch(e)
  3885. {
  3886.  
  3887. }
  3888. }
  3889. //
  3890. //STEP 4 process the links for each filehosting
  3891. var hostIdx = cHosts;
  3892. var host;
  3893. var m,n;
  3894. var arr;
  3895. while (hostIdx--)
  3896. {
  3897. host = bulkHosts[hostIdx];
  3898. arr = host.links;
  3899. if (arr.length == 0) //no links for this hosting, skip
  3900. {
  3901. continue;
  3902. }
  3903. //links match corrections
  3904. if (host.corrMatch != null)
  3905. {
  3906. var idx = arr.length;
  3907. while (idx--)
  3908. {
  3909. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3910. }
  3911. }
  3912. //links replace corrections
  3913. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3914. {
  3915. var idx = arr.length;
  3916. while (idx--)
  3917. {
  3918. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3919. }
  3920. }
  3921. m = arr.length;
  3922. n = host.blockSize;
  3923. if (m > n)
  3924. {
  3925. //insert block separators (RAND_STRING) into the array
  3926. for(var i = n; i < m; i += n + 1)
  3927. {
  3928. arr.splice(i, 0, RAND_STRING);
  3929. }
  3930. }
  3931.  
  3932. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3933. apiUrl: host.apiUrl,
  3934. postData: host.postData,
  3935. resLinkRegex: host.resLinkRegex,
  3936. resLiveRegex: host.resLiveRegex,
  3937. resDeadRegex: host.resDeadRegex,
  3938. resUnavaRegex: host.resUnavaRegex
  3939. });
  3940. //clean up
  3941. arr.length = 0;
  3942. }
  3943. //
  3944.  
  3945. function gimmeHostName(link)
  3946. {
  3947. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3948. }
  3949. }
  3950. function checkLinks(filterId)
  3951. {
  3952. startBulkCheck(filterId);
  3953. start(filterId);
  3954. }
  3955.  
  3956. /**
  3957. * Initialises progress box including event binding and CSS
  3958. */
  3959. function initProgressBox()
  3960. {
  3961. if ($("#warlc-progressbox").length > 0)
  3962. return;
  3963. //progressbox css change size and color of progress box
  3964. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  3965. "; opacity:" + (Progress_box_opacity / 100) +
  3966. "; bottom:" + Progress_box_pos_bottom +
  3967. "px; right:" + Progress_box_pos_right +
  3968. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  3969. \
  3970. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  3971. \
  3972. .warlc-progressitem {}\
  3973. \
  3974. .alive {color:#00FF7F; " + Live_links_color +
  3975. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  3976. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  3977. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  3978. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  3979. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  3980. );
  3981. //
  3982. $('body').append(' <div id="warlc-progressbox">\
  3983. <div class="warlc-progressbar"></div>\
  3984. <span class="warlc-progressitem alive"></span> - \
  3985. <span class="warlc-progressitem dead"></span> - \
  3986. <span class="warlc-progressitem unava"></span> - \
  3987. <span class="warlc-progressitem prem"></span> - \
  3988. <span class="warlc-progressitem processing"></span>\
  3989. </div>');
  3990. $('#warlc-progressbox').hide().click(function(){
  3991. clearInterval(intervalId);
  3992. $(this).hide();
  3993. return false;
  3994. });
  3995. $(".warlc-progressbar").progressbar({complete: function(){
  3996. $(this).fadeOut();
  3997. clearInterval(intervalId); //stop refreshing the stats
  3998. }
  3999. })
  4000. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4001. }
  4002. /**
  4003. * Updates progress data in progress box
  4004. */
  4005. function updateProgress()
  4006. {
  4007. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4008. if (cLinksTotal) // some links were detected on page
  4009. {
  4010. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4011. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4012. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4013. if ((cLinksTotal - cLinksProcessed) == 0)
  4014. {
  4015. $progressItems.first().text(cLinksAlive)
  4016. .next().text(cLinksDead)
  4017. .next().text(cLinksUnava)
  4018. .next().text(cLinksprem)
  4019. .next().remove();
  4020. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4021. $('#warlc-progressbox div:first-child').remove();
  4022. }
  4023. else
  4024. {
  4025. $progressItems.first().text(cLinksAlive)
  4026. .next().text(cLinksDead)
  4027. .next().text(cLinksUnava)
  4028. .next().text(cLinksprem)
  4029. .next().text(cLinksTotal - cLinksProcessed);
  4030. }
  4031. }
  4032. }
  4033.  
  4034. function check_all_links()
  4035. {
  4036. add_WARLC_style();
  4037.  
  4038. if (Show_progress_stats)
  4039. {
  4040. initProgressBox();
  4041. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4042. }
  4043.  
  4044. startBulkCheck(null);
  4045. start(null);
  4046.  
  4047. if (!containers_processed)
  4048. {
  4049. processContainers();
  4050. }
  4051. }
  4052.  
  4053. //Copies all found dead links to clipboard - right now for Scriptish only
  4054. function copy_dead_to_clipboard()
  4055. {
  4056. initClipBoardTools();
  4057.  
  4058. var deadlinksxpath = "//.[@class='adead_link']";
  4059.  
  4060. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4061. var foundlinkstext = '';
  4062.  
  4063. var foundlinkIdx = foundlinks.snapshotLength;
  4064.  
  4065. while(foundlinkIdx--)
  4066. {
  4067. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4068. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4069. }
  4070.  
  4071. GM_setClipboard(foundlinkstext);
  4072. }
  4073. //Copies all found live links to clipboard
  4074. function copy_live_to_clipboard()
  4075. {
  4076. initClipBoardTools();
  4077.  
  4078. var livelinksxpath = "//.[@class='alive_link']";
  4079.  
  4080. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4081. var foundlinks2text = '';
  4082.  
  4083. var foundlink2Idx = foundlinks2.snapshotLength;
  4084.  
  4085. while(foundlink2Idx--)
  4086. {
  4087. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4088. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4089. }
  4090.  
  4091. GM_setClipboard(foundlinks2text);
  4092. }
  4093.  
  4094. function toggle_autocheck()
  4095. {
  4096. var currentState = GM_getValue("Autocheck", false);
  4097. GM_setValue("Autocheck", !currentState);
  4098.  
  4099. if (currentState == true)
  4100. {
  4101. sendMessage('Autocheck disabled', 'red');
  4102. }
  4103. else
  4104. {
  4105. sendMessage('Autocheck enabled', 'SpringGreen');
  4106. }
  4107. }
  4108. function toggle_Enable_Anonymizer()
  4109. {
  4110. var currentState = GM_getValue("Enable_Anonymizer", false);
  4111. GM_setValue("Enable_Anonymizer", !currentState);
  4112.  
  4113. if (currentState == true)
  4114. {
  4115. GM_setValue("Ref_anonymize_service", "");
  4116. sendMessage('Anonymizer Disabled', 'red');
  4117. }
  4118. else
  4119. {
  4120. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4121. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4122. }
  4123. }
  4124.  
  4125. function KeyDownHandler(event)
  4126. {
  4127. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4128. if (event.ctrlKey && event.altKey)
  4129. {
  4130. switch(kcode)
  4131. {
  4132. case 65 : check_all_links(); break;
  4133. case 67 : configuration(); break;
  4134. case 68 : copy_dead_to_clipboard(); break;
  4135. case 76 : copy_live_to_clipboard(); break;
  4136. case 87 : toggle_autocheck(); break;
  4137. case 90 : toggle_Enable_Anonymizer(); break;
  4138. }
  4139. }
  4140. }
  4141.  
  4142. //
  4143. //
  4144. // SCRIPT EXECUTION START POINT
  4145. //
  4146. //
  4147. // Safari specific GM_getResourceText override
  4148. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4149. {
  4150. GM_getResourceText = function(res) {
  4151. var $cssText = GM_getValue("jquery_css", "");
  4152. if ($cssText == "")
  4153. {
  4154. GM_xmlhttpRequest(
  4155. {
  4156. method: 'GET',
  4157. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4158. onload: function (result)
  4159. {
  4160. GM_setValue("jquery_css", result.responseText);
  4161. window.location.reload();
  4162. }
  4163. });
  4164. }
  4165. else
  4166. {
  4167. return $cssText;
  4168. }
  4169. }
  4170. }
  4171. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4172. GM_addStyle(jQueryUICSS);
  4173. //init the stuff
  4174. setVariables();
  4175. initBulkCheck();
  4176. //init info boxes
  4177. messageBox.style.position = 'fixed';
  4178. messageBox.style.top = '20px';
  4179. messageBox.style.left = '10px';
  4180. messageBox.style.opacity = '0.85';
  4181. messageBox.style.background = 'DimGray';
  4182. messageBox.style.fontSize = '36px';
  4183. document.body.appendChild(messageBox);
  4184.  
  4185. //register GM menu commands & keyboard shortcut event handler
  4186. if (Keyboard_functions)
  4187. {
  4188. $(document).keydown(KeyDownHandler);
  4189. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4190. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CHECK_ALL_LINKS_KEYCODE) + ")", check_all_links);
  4191. }
  4192. else
  4193. {
  4194. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4195. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4196. }
  4197.  
  4198. //start linkchecking
  4199. if (Autocheck)
  4200. {
  4201. $(document).ready(check_all_links);
  4202. }
  4203.  
  4204. //
  4205. //
  4206. // SCRIPT EXECUTION END POINT
  4207. //
  4208. //
  4209.  
  4210. //shows configuration box
  4211. function configuration()
  4212. {
  4213.  
  4214. //prevent multiple creating of config window
  4215. if ($("#hideshow").length)
  4216. {
  4217. $("#hideshow").show();
  4218. return;
  4219. }
  4220.  
  4221. var configcss = '\
  4222. .popup_block .popup fieldset{\
  4223. padding: 1%;\
  4224. border-style: solid;\
  4225. border-width: 1px;\
  4226. border-color: gray;\
  4227. margin-bottom: 1px;\
  4228. }\
  4229. #h3hideshowtitle{\
  4230. font-size: 2em;\
  4231. }\
  4232. #h3hideshow{\
  4233. font-size: 1.5em;\
  4234. }\
  4235. #imghideshow {\
  4236. border: none;\
  4237. }\
  4238. #plusimage{\
  4239. display:inline;\
  4240. }\
  4241. #hideshow {\
  4242. position: fixed;\
  4243. width: 100%;\
  4244. height: 100%;\
  4245. top: 0;\
  4246. left: 0;\
  4247. font-size:12px;\
  4248. z-index:2147483645;\
  4249. text-align:left;\
  4250. }\
  4251. #fade {\
  4252. background: #000;\
  4253. position: fixed;\
  4254. width: 100%;\
  4255. height: 100%;\
  4256. opacity: .80;\
  4257. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4258. left: 0;\
  4259. z-index: 10;\
  4260. }\
  4261. .popup_block {\
  4262. font-family:verdana;\
  4263. color:black;\
  4264. background: #ddd;\
  4265. padding: 10px 20px;\
  4266. border: 2px solid DarkOrange;\
  4267. float: left;\
  4268. width: 700px;\
  4269. position: absolute;\
  4270. top: 7%;\
  4271. left: 50%;\
  4272. bottom: 7%;\
  4273. margin: 0 0 0 -350px;\
  4274. -moz-border-radius:10px;\
  4275. z-index: 100;\
  4276. \
  4277. }\
  4278. .popup_block .popup {\
  4279. float: left;\
  4280. width: 100%;\
  4281. background: #fff;\
  4282. margin: 10px 0;\
  4283. padding: 0px 0 0px;\
  4284. border-left: 1px solid #bbb;\
  4285. border-top: 1px solid #bbb;\
  4286. border-right: 1px solid #bbb;\
  4287. }\
  4288. #h3hideshow{\
  4289. margin: 1px 0 0px;\
  4290. padding: 1px 10px;\
  4291. border-bottom: 1px solid #bbb;\
  4292. font-size: 1.5em;\
  4293. font-weight: normal;\
  4294. cursor:pointer;\
  4295. background:#DDDDDD none repeat scroll 0 0;\
  4296. }\
  4297. #h3hideshow:hover{\
  4298. background:#C0BEBE none repeat scroll 0 0;\
  4299. }\
  4300. #h3hideshowtitle{\
  4301. margin: 2px 0 0px;\
  4302. padding: 7px 10px;\
  4303. border-bottom: 1px solid #bbb;\
  4304. font-size: 1.5em;\
  4305. font-weight: normal;\
  4306. }\
  4307. .popup_block .popup a {\
  4308. color:DarkSkyBlue;\
  4309. text-decoration:none;\
  4310. }\
  4311. .popup p {\
  4312. padding: 1px 10px;\
  4313. margin: 0px 0;\
  4314. -x-system-font:none;\
  4315. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4316. font-size:10pt;\
  4317. font-size-adjust:none;\
  4318. font-stretch:normal;\
  4319. font-style:normal;\
  4320. font-variant:normal;\
  4321. font-weight:normal;\
  4322. line-height:normal;\
  4323. }\
  4324. #sites {\
  4325. padding: 1px 10px;\
  4326. margin: 0px 0;display:inline-block;width:16em;\
  4327. }\
  4328. #dev_ver {\
  4329. color: #00FF00;\
  4330. background: Black;\
  4331. text-align: right;\
  4332. }\
  4333. #sites_suspended {\
  4334. padding: 1px 10px;\
  4335. margin: 0px 0;display:inline-block;width:16em;\
  4336. text-decoration: line-through;\
  4337. }\
  4338. .popup img.cntrl {\
  4339. position: absolute;\
  4340. right: -15px;\
  4341. top: -15px;\
  4342. }\
  4343. #bulk {\
  4344. font-size:8pt;\
  4345. color:orange;\
  4346. padding: 1px 10px;\
  4347. margin: 0px 0;\
  4348. display:inline-block;\
  4349. width:100px;\
  4350. }\
  4351. #note {\
  4352. font-size:7pt;\
  4353. color:gray;\
  4354. padding: 1px 10px;\
  4355. margin: 0px 0;display:inline-block;\
  4356. min-width:100px;\
  4357. }\
  4358. #rednote {\
  4359. font-size:7pt;\
  4360. color:red;\
  4361. padding: 1px 10px;\
  4362. margin: 0px 0;display:inline-block;\
  4363. }\
  4364. #configinfo {\
  4365. font-size:8pt;\
  4366. color:gray;\
  4367. padding: 1px 10px;\
  4368. margin: 0px 0;display:inline-block;width:60em;\
  4369. }\
  4370. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4371. color:black;\
  4372. border-style: solid;\
  4373. border-width: 1px;\
  4374. border-color: gray;\
  4375. }\
  4376. #h3hideshowcontent {\
  4377. min-height:220px;\
  4378. max-height:220px;\
  4379. overflow:auto;\
  4380. display: none;\
  4381. padding: 10px 10px;\
  4382. }\
  4383. #specinfo{\
  4384. font-size:14px;\
  4385. }\
  4386. .warlc-ui-tab {\
  4387. height:300px;\
  4388. overflow:auto;\
  4389. }\
  4390. #warlcsitelist2, #warlcsitelist1 {\
  4391. height:220px;\
  4392. border-top: 1px solid #ddd;\
  4393. padding-top: 5px;\
  4394. overflow:auto;\
  4395. }\
  4396. input:hover+label {\
  4397. background:#F1F77C;\
  4398. font-size:110%;\
  4399. }\
  4400. ';
  4401.  
  4402. GM_addStyle(configcss);
  4403.  
  4404. var customRulesRefHTML =
  4405. '\
  4406. <br>\
  4407. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4408. <b>@keyword</b> <i>parameter</i>\
  4409. <br><br>\
  4410. Empty lines, lines containing only whitespace and lines starting with // are ignored. Whitespace before and after a keyword is also ignored. Keywords are not case sensitive. \
  4411. <br><br>\
  4412. A special type of keyword is <b>@customrule</b> and its forms. This command marks the start of a new rule definition and also the rule type.\
  4413. Its <i>parameter</i> is the name of the rule. The name can contain letters, digits, periods, dashes and underscores and can be up to 30 characters long.\
  4414. At this point, there are no other restrictions for rule naming, however, in future versions, the name can be used to identify and catalogize custom rules.\
  4415. Therefore it is strongly recommended to use host names like <i>example.com</i> or <i>filehost.co.uk</i>. If the name is invalid, previous rule is saved,\
  4416. but all commands until the next valid @customrule are ignored.<br><br>\
  4417. Available forms and types:\
  4418. <ul>\
  4419. <li><b>@customrule</b> <i>name</i> - Classic checking. To determine whether a link is alive or dead, it is loaded and searched for specific patterns.\
  4420. <li><b>@customrule_headers</b> <i>name</i> - Only headers are loaded. Use for direct download hosts (e.g. if you are a paying member), where classic checking would silently download the whole file.\
  4421. <li><b>@customrule_obsolete</b> <i>name</i> - Nothing is loaded and no search patterns are needed. Links matching this rule are immediately deemed dead.\
  4422. <li><b>@#customrule</b>\, <b>@#customrule_headers</b>\, <b>@#customrule_obsolete</b> - write # after @ to quickly disable the whole rule. It is still parsed and checked for errors, but not used.\
  4423. </ul>\
  4424. Other available commands:<br>\
  4425. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4426. <ul>\
  4427. <li><b>@baseurl</b> <i>url_pattern</i> - required. Used to find links for the rule. <i>url_pattern</i> must be the constant part of the url before, including and after the first slash.\
  4428. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4429. <ul>examples:<br>\
  4430. <li>good: <i>filehost.com/download/</i><br>\
  4431. <li>good: <i>download.filehost.net/?d=</i><br>\
  4432. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4433. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4434. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4435. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4436. <li>bad: <i>filehost.com</i> - no slash<br>\
  4437. </ul>\
  4438. \
  4439. <li><b>@alivematch</b> <i>pattern</i> - ignored for type OBSOLETE, required for others. If <i>pattern</i> is found in the server\'s response, the link is deemed alive.\
  4440. Two or more spaces in the pattern will match any whitespace (spaces, tabulators, newlines). <i>&lt;div&gt;&nbsp;&nbsp;&lt;p&gt;</i> will match \
  4441. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4442. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4443. which is automatically used to deem the link dead and therefore <i>pattern</i> is never used. In that case, just write some rubbish there.)\
  4444. Two spaces again match any whitespace.\
  4445. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4446. Two spaces again match any whitespace.\
  4447. <li><b>@alivelink</b> <i>url</i> - optional, ignored for OBSOLETE. It\'s not really a part of the rule, it\'s just an example link to test the rule. \
  4448. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4449. </ul>\
  4450. \
  4451. ';
  4452.  
  4453. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4454. var configurationinnerHTML =
  4455. '<div id="fade"></div>\
  4456. <div class="popup_block">\
  4457. <div class="popup">\
  4458. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAHgCrgLvV9DLgMdID02rQZmfAmaAJaxS2edDr9s67rL7EB/9XCUuALoEl+pZJEvTAo8A9s6iVKxojKYWheAWxuIMr2GGKp1KHh4eF3vF4vW59me6ZD2Ajsle6LXify7SI68iNROIgtIKtpBvQEB5DI7iC6Zw3Rmi1EM0vlBsFg8OX8/PxvWQdFKm5E2KhiQ9R9iOjL17E6QFRUhAGQpFNjklYrhhT6YbndTtT8LtGjG+T0lStXNhcVFTGpnkE8jpAT4hdgNvm+Iv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Uil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4460. <div id="warlc-conf-tabs">\
  4461. <ul>\
  4462. <li><a href="#tabs-1">Filehostings</a></li>\
  4463. <li><a href="#tabs-2">Containers</a></li>\
  4464. <li><a href="#tabs-5">Custom rules</a></li>\
  4465. <li><a href="#tabs-3">Settings</a></li>\
  4466. <li><a href="#tabs-4">About</a></li>\
  4467. </ul>\
  4468. <div id="tabs-1" class="warlc-ui-tab">\
  4469. <div class="warlc-ui-buttonset">\
  4470. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4471. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4472. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4473. </div><br>\
  4474. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4475. <div id="warlcsitelist1"><span>Empty</span></div>\
  4476. </div>\
  4477. <div id="tabs-2" class="warlc-ui-tab">\
  4478. <div class="warlc-ui-buttonset">\
  4479. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4480. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4481. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4482. </div><br>\
  4483. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4484. <div id="warlcsitelist2"><span>Empty</span></div>\
  4485. </div>\
  4486. <div id="tabs-5" class="warlc-ui-tab">\
  4487. <div class="warlcsettings">\
  4488. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4489. <br>\
  4490. <div>Edit custom rules: \
  4491. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4492. <div id="customRulesReference" style="display:none;">'
  4493. + customRulesRefHTML + '\
  4494. </div>\
  4495. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4496. </div>\
  4497. </div>\
  4498. </div>\
  4499. <div id="tabs-3" class="warlc-ui-tab">\
  4500. <div class="warlcsettings">\
  4501. <fieldset>\
  4502. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4503. <div id="configinfo">' + first_key_keycodename + '+' + second_key_keycodename + '+' + CONFIGURATION_KEY + ' = Configuration <br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + CHECK_ALL_LINKS_KEY + ' = Check all the links' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + copy_to_dead_key + ' = Copy found dead links to clipboard' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + copy_to_live_key + ' = Copy found live links to clipboard' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + toggle_autocheck_key + ' = Autocheck ON/OFF' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + toggle_Enable_Anonymizer_key + ' = Anonymizer ON/OFF' + '</div>\
  4504. </fieldset>\
  4505. <fieldset>\
  4506. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4507. <div id="sites"><label for="inputColorLive">Live links color</label><input type="text" id="inputColorLive" style="background:' + Live_links_color + ';" value="' + Live_links_color + '"></div>\
  4508. <div id="sites"><label for="inputColorDead">Dead links color</label><input type="text" id="inputColorDead" style="background:' + Dead_links_color + ';" value="' + Dead_links_color + '"></div><br>\
  4509. <div id="sites"><label for="inputColorTemp">Temp. unavailable links color</label><input type="text" id="inputColorTemp" style="background:' + Temp_unavailable_links_color + ';" value="' + Temp_unavailable_links_color + '"></div>\
  4510. <div id="sites"><label for="inputColorCont">Container links color</label><input type="text" id="inputColorCont" style="background:' + Container_links_color + ';" value="' + Container_links_color + '"></div><br>\
  4511. <div id="sites"><label for="inputColorprem">Premium links color</label><input type="text" id="inputColorprem" style="background:' + Premium_links_color + ';" value="' + Premium_links_color + '"></div>\
  4512. <div id="configinfo">For no color leave a field blank.<br>Standard HTML color names are supported. See <a href="http://www.w3schools.com/html/html_colornames.asp">w3schools.com</a> for more info.</div><br>\
  4513. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4514. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4515. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4516. <p><input type="checkbox" id="Allow_spaces_in_DL_links"> Allow spaces in DL links<br><div id="configinfo">Note: All links must end with a new line!</div></p>\
  4517. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4518. <fieldset>\
  4519. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4520. <p><input type="radio" name="warlciconset" value="1"> <img src=" ' + PAW_ICON_GREEN + '"> <img src=" ' + PAW_ICON_RED + '"> <img src=" ' + PAW_ICON_YELLOW + '"> <img src=" ' + PAW_ICON_PINK + '"></p>\
  4521. <p><input type="radio" name="warlciconset" value="2"> <img src=" ' + RSLC_ICON_GREEN + '"> <img src=" ' + RSLC_ICON_RED + '"> <img src=" ' + RSLC_ICON_YELLOW + '"> <img src=" ' + RSLC_ICON_PINK + '"></p>\
  4522. <p><input type="radio" name="warlciconset" value="3"> <img src=" ' + NEW_ICON_GREEN + '"> <img src=" ' + NEW_ICON_RED + '"> <img src=" ' + NEW_ICON_YELLOW + '"> <img src=" ' + NEW_ICON_PINK + '"></p>\
  4523. </fieldset>\
  4524. </fieldset>\
  4525. <fieldset>\
  4526. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4527. </fieldset>\
  4528. <fieldset>\
  4529. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4530. </fieldset>\
  4531. <fieldset>\
  4532. <div id="sites"><input type="checkbox" id="Display_tooltip_info"> Display tooltip info</div><div id="bulk"></div><br><div id="configinfo">Note: File name, file size, error messages etc. (does not work on all links)</div><br>\
  4533. </fieldset>\
  4534. <fieldset>\
  4535. <div id="sites"><label for="refAnonymizer">Refererer anonymizing service</label><input type="text" id="refAnonymizer" value="' + Ref_anonymize_service + '"></div><br><div id="configinfo">Note: Example: http://hiderefer.com/? or http://hidemyass.com/? or http://anonym.to/?, CTRL+ALT+Z toggles the anonymizer service on or off</div><br>\
  4536. </fieldset>\
  4537. </div>\
  4538. </div>\
  4539. <div id="tabs-4" class="warlc-ui-tab">\
  4540. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4541. <br />\
  4542. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4543. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4544. <br />\
  4545. <p><b>Currently supported:</b><br>\
  4546. Filehostings: ' + allHostNames.length + '<br />\
  4547. Containers: ' + allContainerNames.length + '<br />\
  4548. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4549. <br />\
  4550. <p><b>Based on:</b><br>\
  4551. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4552. <br />\
  4553. <p><b>Uses:</b></p>\
  4554. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4555. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4556. <br />\
  4557. <p>License: GPL version 3 or any later version (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)</p>\
  4558. </div>\
  4559. </div>\
  4560. </div>\
  4561. </div>';
  4562. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4563. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4564. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4565. var elmHostList = document.getElementById("warlcsitelist1");
  4566. var elmContainerList = document.getElementById("warlcsitelist2");
  4567. buildSettings();
  4568. buildSitelist("", allHostNames, elmHostList);
  4569. buildSitelist("", allContainerNames, elmContainerList);
  4570. if (DEBUG_MODE)
  4571. {
  4572. //log all sites availability status
  4573. diagSites();
  4574. }
  4575. //handler for checkbox state change
  4576. function changeConfiguration(e)
  4577. {
  4578. var element = e.target;
  4579.  
  4580. if (element.type == 'checkbox')
  4581. {
  4582. if (element.checked == 1)
  4583. {
  4584. GM_setValue(element.id, true);
  4585. }
  4586. else
  4587. {
  4588. GM_setValue(element.id, false);
  4589. }
  4590.  
  4591. }
  4592. setVariables();
  4593. }
  4594.  
  4595. //Selects all filehosting checkboxes
  4596. function selectAll()
  4597. {
  4598. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4599. .each(function(index, element){GM_setValue(this.id, true)});
  4600. }
  4601.  
  4602. //Deselects all filehosting checkboxes
  4603. function selectNone()
  4604. {
  4605. $(":checkbox:visible:checked").prop("checked",false)
  4606. .each(function(index, element){GM_setValue(this.id, false)});
  4607. }
  4608.  
  4609. //Inverts filehosting checkboxes selection
  4610. function selectInvert()
  4611. {
  4612. var $checked = $(":checkbox:visible:checked");
  4613. var $unchecked = $(":checkbox:visible:not(:checked)");
  4614. $unchecked.prop("checked",true)
  4615. .each(function(index, element){GM_setValue(this.id, true)});
  4616. $checked.prop("checked",false)
  4617. .each(function(index, element){GM_setValue(this.id, false)});
  4618. }
  4619. //toggles anonymizer on off
  4620. function Enable_Anonymizer()
  4621. {
  4622. var $checked = $(":checkbox:visible:checked");
  4623. var $unchecked = $(":checkbox:visible:not(:checked)");
  4624. $unchecked.prop("checked",true)
  4625. .each(function(index, element){GM_setValue(this.id, true)});
  4626. $checked.prop("checked",false)
  4627. .each(function(index, element){GM_setValue(this.id, false)});
  4628. }
  4629.  
  4630. function changeRefAnonymizer(){
  4631. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4632. }
  4633.  
  4634. //Sets live links color
  4635. function changeColorLive()
  4636. {
  4637. var inColorLive = document.getElementById("inputColorLive");
  4638. inColorLive.style.background = inColorLive.value;
  4639. GM_setValue("Live_links_color", inColorLive.value);
  4640. }
  4641.  
  4642. //Sets dead links color
  4643. function changeColorDead()
  4644. {
  4645. var inColorDead = document.getElementById("inputColorDead");
  4646. inColorDead.style.background = inColorDead.value;
  4647. GM_setValue("Dead_links_color", inColorDead.value);
  4648. }
  4649.  
  4650. //Sets temp. unavailable links color
  4651. function changeColorTemp()
  4652. {
  4653. var inColorTemp = document.getElementById("inputColorTemp");
  4654. inColorTemp.style.background = inColorTemp.value;
  4655. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4656. }
  4657.  
  4658. //Sets temp. unavailable links color
  4659. function changeColorCont()
  4660. {
  4661. var inColorCont = document.getElementById("inputColorCont");
  4662. inColorCont.style.background = inColorCont.value;
  4663. GM_setValue("Container_links_color", inColorCont.value);
  4664. }
  4665. //Sets premium. links color
  4666. function changeColorprem()
  4667. {
  4668. var inColorprem = document.getElementById("inputColorprem");
  4669. inColorprem.style.background = inColorprem.value;
  4670. GM_setValue("Premium_links_color", inColorprem.value);
  4671. }
  4672.  
  4673. //Diagnose sites for availability
  4674. function diagSites()
  4675. {
  4676. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4677.  
  4678. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4679. {
  4680. if (boxes[i].type == "checkbox")
  4681. {
  4682. checkAvailability(boxes[i]);
  4683. }
  4684. }
  4685.  
  4686. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4687.  
  4688. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4689. {
  4690. if (boxes[i].type == "checkbox")
  4691. {
  4692. checkAvailability(boxes[i]);
  4693. }
  4694. }
  4695.  
  4696. function checkAvailability(cbElm)
  4697. {
  4698. var cb = cbElm;
  4699. GM_xmlhttpRequest(
  4700. {
  4701. method: 'HEAD',
  4702. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4703. headers: {
  4704. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4705. 'Accept': 'text/xml',
  4706. 'Referer': ""
  4707. },
  4708. onload: function (result)
  4709. {
  4710. if (result.status != 200)
  4711. {
  4712. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4713. }
  4714. },
  4715. onerror: function (result)
  4716. {
  4717. if (result.status != 200)
  4718. {
  4719. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4720. }
  4721. }
  4722. });
  4723. }
  4724. }
  4725. function buildSettings()
  4726. {
  4727. $(".warlcsettings :checkbox").each(function(){
  4728. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4729. .click(function(e){
  4730. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4731. setVariables();
  4732. });
  4733. })
  4734. }
  4735. //Dynamic build of host list
  4736. //param search [string] searches for hostnames matching search substring
  4737. //param siteNames [array] array of site names
  4738. //param targetNode [DOM Node] where the list should be built
  4739. // first child node is replaced
  4740. function buildSitelist(search, siteNames, targetNode)
  4741. {
  4742. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4743. var $targetNode = $(targetNode).empty();
  4744. var searchedSite = "";
  4745. $.each(siteNames, function(i, site){
  4746. if (searchedSite = site.match(searchRegex))
  4747. {
  4748. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4749. //ensuring backward compatibility with the rest of code, to be refactored later
  4750. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4751. //
  4752. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4753. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4754. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4755. );
  4756. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4757. .change(changeConfiguration);
  4758. $targetNode.append('<br />');
  4759. }
  4760. });
  4761. $targetNode.append("<hr>");
  4762. //obsolete hosts checkbox
  4763. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4764. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4765. .change(changeConfiguration);
  4766. $targetNode.append('<br />');
  4767. var foundName = "";
  4768. $.each(allObsoleteNames, function(i, site){
  4769. if (foundName = allObsoleteNames[i].match(searchRegex))
  4770. {
  4771. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4772. }
  4773. })
  4774. }
  4775. var hostSearchBox = document.getElementById("hostSearchBox");
  4776. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4777. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4778. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4779. $(".warlc-ui-select-all").click(selectAll).button();
  4780. $(".warlc-ui-select-none").click(selectNone).button();
  4781. $(".warlc-ui-select-invert").click(selectInvert).button();
  4782. $(".warlc-ui-buttonset").buttonset();
  4783. var inColorLive = document.getElementById("inputColorLive");
  4784. inColorLive.addEventListener('keyup', changeColorLive, false);
  4785.  
  4786. var inColorDead = document.getElementById("inputColorDead");
  4787. inColorDead.addEventListener('keyup', changeColorDead, false);
  4788.  
  4789. var inColorTemp = document.getElementById("inputColorTemp");
  4790. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4791.  
  4792. var inColorCont = document.getElementById("inputColorCont");
  4793. inColorCont.addEventListener('keyup', changeColorCont, false);
  4794. var inColorprem = document.getElementById("inputColorprem");
  4795. inColorprem.addEventListener('keyup', changeColorprem, false);
  4796. $("#refAnonymizer").change(changeRefAnonymizer);
  4797. //buttons and edit boxes init end
  4798.  
  4799. //icon sets radio buttons
  4800. var radioButtons = document.getElementsByName("warlciconset");
  4801. radioButtons[Icon_set].checked = "checked";
  4802.  
  4803. radioButtons[0].addEventListener("change", updateIconSet);
  4804. radioButtons[1].addEventListener("change", updateIconSet);
  4805. radioButtons[2].addEventListener("change", updateIconSet);
  4806. radioButtons[3].addEventListener("change", updateIconSet);
  4807. function updateIconSet()
  4808. {
  4809. GM_setValue("Icon_set", this.value * 1);
  4810. }
  4811. //
  4812. $('#showCustomRulesReference').click(function(e){
  4813. e.preventDefault();
  4814. $('#customRulesReference').toggle();
  4815. });
  4816. $('#Custom_rules_text')
  4817. .val(Custom_rules_text)
  4818. .change(saveCustomRules);
  4819. function saveCustomRules(e)
  4820. {
  4821. var cr = parseCustomRules(this.value);
  4822. if (cr.info.length)
  4823. alert('Custom rules saved. However, there were ' + cr.error + ' errors, ' + cr.warning + ' warnings, ' + cr.note + ' notes found.\n' + cr.rules.length + ' valid rules found.\n\n' + JSON.stringify(cr.info, null, ' '));
  4824. GM_setValue('Custom_rules_text', this.value);
  4825. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4826. }
  4827. }
  4828.  
  4829. //begin standard link checking algorithm
  4830. function start(filterId)
  4831. {
  4832. var doNotLinkify = Do_not_linkify_DL_links;
  4833.  
  4834. // USER SELECTED FILE HOSTS INITIALIZATION START
  4835. var http_file_hosts = new Array(); //standard hostings
  4836. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4837. var http_file_hosts_obsolete = new Array(); //dead hostings
  4838. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4839.  
  4840. initFileHosts();
  4841. initFileHostsHeadersOnly();
  4842. initFileHostsCustom(); //CustomRules
  4843. // USER SELECTED FILE HOSTS INITIALIZATION END
  4844.  
  4845. // LINKIFICATION START
  4846. var totalxpath = '';
  4847. var totalxpathcoded = '';
  4848. var totalxpathobsolete = '';
  4849. var totalxpathheadersonly = '';
  4850. var totalourls = '';
  4851.  
  4852. var filehostLen = http_file_hosts.length;
  4853. var filehostCodedLen = http_file_hosts_coded.length;
  4854. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4855. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4856.  
  4857. var filehostIdx = filehostLen;
  4858. var filehostCodedIdx = filehostCodedLen;
  4859. var filehostObsoleteIdx = filehostObsoleteLen;
  4860. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4861.  
  4862. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4863. return;
  4864.  
  4865. while (filehostIdx--)
  4866. {
  4867. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4868. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4869. }
  4870.  
  4871. while (filehostCodedIdx--)
  4872. {
  4873. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4874. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4875. }
  4876.  
  4877. while (filehostObsoleteIdx--)
  4878. {
  4879. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4880. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4881. }
  4882.  
  4883. while (filehostHeadersOnlyIdx--)
  4884. {
  4885. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4886. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4887. }
  4888.  
  4889. totalourls = totalourls.replace(/\|$/g, "");
  4890. //TODO: further refactoring needed
  4891. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4892. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4893. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4894. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4895. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4896. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4897. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4898. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4899. if (filterId != null) //insert id restriction in the xpath
  4900. {
  4901. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4902. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4903. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4904. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4905. }
  4906. else
  4907. {
  4908. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4909. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4910. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4911. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4912. }
  4913. linkify(totalourls);
  4914. //LINKIFICATION END
  4915. //ENCRYPTED LINKS PROCESSING START
  4916. if (http_file_hosts_coded.length > 0)
  4917. {
  4918. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4919.  
  4920. // decrypt coded links (redirects, link protectors etc.)
  4921. if (linksCoded.snapshotLength > 0)
  4922. {
  4923. var link;
  4924. var reallinkreg;
  4925. var reallinkcorrection;
  4926.  
  4927. if (filterId == null)
  4928. {
  4929. cLinksTotal += linksCoded.snapshotLength;
  4930. }
  4931.  
  4932. var y = linksCoded.snapshotLength - 1;
  4933. do
  4934. {
  4935. // linksCoded.snapshotItem(y).id = 'processing_link';
  4936. link = linksCoded.snapshotItem(y);
  4937. filehostIdx = filehostCodedLen;
  4938. while (filehostIdx--)
  4939. {
  4940. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4941. {
  4942. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4943. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4944. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4945.  
  4946. decurl(link, reallinkreg, reallinkcorrection);
  4947. break;
  4948. }
  4949. }
  4950. }
  4951. while (y--);
  4952. }
  4953. }
  4954. //ENCRYPTED LINKS PROCESSING END
  4955.  
  4956. //STANDARD LINKCHECKING START
  4957. if (http_file_hosts.length > 0)
  4958. {
  4959. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4960.  
  4961. if (filterId == null)
  4962. {
  4963. cLinksTotal += lianks.snapshotLength;
  4964. }
  4965.  
  4966. if (lianks.snapshotLength > 0)
  4967. {
  4968. var link;
  4969.  
  4970. var URL = "";
  4971. var name = "";
  4972. var isAliveRegex = "";
  4973. var isDeadRegex = "";
  4974. var isUnavaRegex = "";
  4975. var ispremRegex = "";
  4976. var tryLoop = false;
  4977.  
  4978. var y = lianks.snapshotLength;
  4979.  
  4980. while (y--)
  4981. {
  4982. link = lianks.snapshotItem(y);
  4983.  
  4984. filehostIdx = filehostLen;
  4985. while (filehostIdx--)
  4986. {
  4987. if (link.href.match(http_file_hosts[filehostIdx][0]))
  4988. {
  4989. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  4990. isAliveRegex = http_file_hosts[filehostIdx][1];
  4991. isDeadRegex = http_file_hosts[filehostIdx][2];
  4992. isUnavaRegex = http_file_hosts[filehostIdx][3];
  4993. ispremRegex = http_file_hosts[filehostIdx][6];
  4994. tryLoop = http_file_hosts[filehostIdx][5];
  4995.  
  4996. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  4997.  
  4998. break;
  4999. }
  5000. }
  5001. }
  5002. }
  5003. }
  5004. //STANDARD LINKCHECKING END
  5005. //OBSOLETE FILE HOSTS PROCESSING START
  5006. if (filehostObsoleteLen > 0)
  5007. {
  5008. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5009.  
  5010. var obsoleteLink;
  5011.  
  5012. //check links
  5013. if (obsoletelinks.snapshotLength > 0)
  5014. {
  5015. var y = obsoletelinks.snapshotLength;
  5016.  
  5017. if (filterId == null)
  5018. {
  5019. cLinksTotal += y;
  5020. }
  5021.  
  5022. while (y--)
  5023. {
  5024. obsoleteLink = obsoletelinks.snapshotItem(y);
  5025.  
  5026. if (Display_tooltip_info)
  5027. {
  5028. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5029. }
  5030. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5031. }
  5032. }
  5033. }
  5034. //OBSOLETE FILE HOSTS PROCESSING END
  5035.  
  5036. //DIRECT LINKCHECKING START
  5037. if (http_file_hosts_headers_only.length > 0)
  5038. {
  5039. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5040.  
  5041. //check links
  5042. if (links.snapshotLength > 0)
  5043. {
  5044. var link;
  5045. var isAliveRegex;
  5046. var isDeadRegex;
  5047. var ispremRegex;
  5048.  
  5049. var y = links.snapshotLength;
  5050.  
  5051.  
  5052. if (filterId == null)
  5053. {
  5054. cLinksTotal += y;
  5055. }
  5056.  
  5057. while (y--)
  5058. {
  5059. // links.snapshotItem(y).id = 'processing_link';
  5060. link = links.snapshotItem(y);
  5061. filehostIdx = filehostHeadersOnlyLen;
  5062. while (filehostIdx--)
  5063. {
  5064. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5065. {
  5066. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5067. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5068. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5069. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5070.  
  5071. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5072.  
  5073. break;
  5074. }
  5075. }
  5076. }
  5077.  
  5078. }
  5079. }
  5080. //DIRECT LINKCHECKING END
  5081.  
  5082.  
  5083. //finds the real url on the page, replaces link.href with it and calls geturl
  5084. function decurl(link, reallinkreg, reallinkcorrection)
  5085. {
  5086.  
  5087. GM_xmlhttpRequest(
  5088. {
  5089. method: 'GET',
  5090. url: link.href,
  5091. headers: {
  5092. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5093. 'Accept': 'text/xml',
  5094. 'Referer': ""
  5095. },
  5096. onload: function (result)
  5097. {
  5098. // cLinksProcessed++;
  5099.  
  5100. var reallink = result.responseText.match(reallinkreg)[0];
  5101. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5102.  
  5103. link.href = reallink;
  5104.  
  5105. var i = http_file_hosts.length - 1;
  5106. do
  5107. {
  5108. if ((reallink.match(http_file_hosts[i][0])))
  5109. {
  5110. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5111. var isAliveRegex = http_file_hosts[i][1];
  5112. var isDeadRegex = http_file_hosts[i][2];
  5113. var isUnavaRegex = http_file_hosts[i][3];
  5114. var ispremRegex = http_file_hosts[i][4];
  5115.  
  5116. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5117.  
  5118. break;
  5119. }
  5120. }
  5121. while (i--);
  5122. }
  5123. });
  5124. }
  5125.  
  5126. function randUA()
  5127. {
  5128. //TODO
  5129. }
  5130. //Processes link
  5131. //
  5132. // [string] link link URL
  5133. // [string] isAliveRegex alive link regex
  5134. // [string] isDeadRegex dead link regex
  5135. // [string] isUnavaRegex unavailable link regex
  5136. // [string] ispremRegex premium link regex
  5137. // [boolean] tryLoop repeats request until succeeded
  5138. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5139. {
  5140. GM_xmlhttpRequest(
  5141. {
  5142. method: 'GET',
  5143. url: link.href,
  5144. headers: {
  5145. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5146. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5147. 'Referer': ""
  5148. },
  5149. onload: function (result)
  5150. {
  5151. var res = result.responseText;
  5152. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5153. {
  5154. displayTheCheckedLink(link, 'alive_link');
  5155. return;
  5156. }
  5157.  
  5158. if (res.match(isAliveRegex))
  5159. {
  5160. displayTheCheckedLink(link, 'alive_link');
  5161. return;
  5162. }
  5163.  
  5164. if (res.match(isDeadRegex))
  5165. {
  5166. displayTheCheckedLink(link, 'adead_link');
  5167. return;
  5168. }
  5169.  
  5170. if (isUnavaRegex && res.match(isUnavaRegex))
  5171. {
  5172. displayTheCheckedLink(link, 'unava_link');
  5173. return;
  5174. }
  5175. if (res.match(ispremRegex))
  5176. {
  5177. displayTheCheckedLink(link, 'prem_link');
  5178. return;
  5179. }
  5180.  
  5181. var resStatus = result.status;
  5182.  
  5183. if (resStatus == 404)
  5184. {
  5185. displayTheCheckedLink(link, 'adead_link');
  5186. }
  5187. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5188. {
  5189. if (tryLoop)
  5190. {
  5191. //wait 1-5 seconds and repeat the request
  5192. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5193. }
  5194. else
  5195. {
  5196. displayTheCheckedLink(link, 'unava_link');
  5197. }
  5198.  
  5199. return;
  5200. }
  5201. },
  5202. onerror: function ()
  5203. {
  5204. displayTheCheckedLink(link, 'unava_link');
  5205. }
  5206. });
  5207. }
  5208.  
  5209. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5210. {
  5211. GM_xmlhttpRequest(
  5212. {
  5213. method: 'HEAD',
  5214. url: link.href,
  5215. headers: {
  5216. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5217. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5218. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5219. 'Referer': ""
  5220. },
  5221. onload: function (result)
  5222. {
  5223. var resStatus = result.status;
  5224. var resHeaders = "";
  5225. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5226. {
  5227. displayTheCheckedLink(link, 'adead_link');
  5228. return;
  5229. }
  5230.  
  5231. resHeaders = result.responseHeaders;
  5232.  
  5233. if (resHeaders.match(isDeadRegex))
  5234. {
  5235. displayTheCheckedLink(link, 'adead_link');
  5236. return;
  5237. }
  5238.  
  5239. if (resHeaders.match(isAliveRegex))
  5240. {
  5241. displayTheCheckedLink(link, 'alive_link');
  5242. return;
  5243. }
  5244. if (resHeaders.match(ispremRegex))
  5245. {
  5246. displayTheCheckedLink(link, 'prem_link');
  5247. return;
  5248. }
  5249. },
  5250. onerror: function ()
  5251. {
  5252. displayTheCheckedLink(link, 'unava_link');
  5253. }
  5254. });
  5255. }
  5256.  
  5257. //Delinkfifies the <a> element object
  5258. function delinkifyLink(link)
  5259. {
  5260. var spanElm = document.createElement("span");
  5261. spanElm.className = link.className;
  5262. spanElm.innerHTML = link.innerHTML;
  5263.  
  5264. if (Display_tooltip_info)
  5265. {
  5266. spanElm.href = link.href;
  5267. spanElm.warlc_error = link.warlc_error;
  5268. switch (link.className){
  5269. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5270. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5271. case "unava_link": //reserved
  5272. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5273. default:
  5274. }
  5275. }
  5276. link.parentNode.replaceChild(spanElm, link);
  5277. }
  5278.  
  5279. //Assigns result status to the <a> element object and calls delinkifying eventually
  5280. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5281. function displayTheCheckedLink(link, resultStatus)
  5282. {
  5283. link.className = resultStatus;
  5284. link.href = Ref_anonymize_service + link.href;
  5285. if (Display_tooltip_info)
  5286. {
  5287. switch (resultStatus){
  5288. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5289. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5290. case "unava_link": //reserved
  5291. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5292. default:
  5293. }
  5294. }
  5295. if (doNotLinkify)
  5296. {
  5297. delinkifyLink(link);
  5298. }
  5299. cLinksProcessed++;
  5300.  
  5301. if (resultStatus == "alive_link")
  5302. {
  5303. cLinksAlive++;
  5304. return;
  5305. }
  5306.  
  5307. if (resultStatus == "adead_link")
  5308. {
  5309. cLinksDead++;
  5310. return;
  5311. }
  5312.  
  5313. if (resultStatus == "unava_link")
  5314. {
  5315. cLinksUnava++;
  5316. }
  5317. if (resultStatus == "prem_link")
  5318. {
  5319. cLinksprem++;
  5320. return;
  5321. }
  5322. }
  5323.  
  5324.  
  5325. function initFileHosts()
  5326. {
  5327.  
  5328. function addObsoleteHost(linkRegex, xpathEx)
  5329. {
  5330. var host = new Array(2);
  5331. host[0] = linkRegex;
  5332. host[1] = xpathEx;
  5333. http_file_hosts_obsolete.push(host);
  5334. }
  5335.  
  5336. //obsolete file hosts init start
  5337. if (Obsolete_file_hosts)
  5338. {
  5339. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5340. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5341. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5342. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5343. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5344. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5345. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5346. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5347. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5348. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5349. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5350. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5351. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5352. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5353. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5354. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5355. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5356. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5357. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5358. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5359. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5360. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5361. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5362. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5363. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5364. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5365. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5366. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5367. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5368. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5369. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5370. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5371. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5372. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5373. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5374. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5375. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5376. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5377. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5378. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5379. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5380. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5381. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5382. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5383. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5384. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5385. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5386. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5387. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5388. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5389. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5390. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5391. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5392. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5393. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5394. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5395. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5396. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5397. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5398. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5399. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5400. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5401. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5402. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5403. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5404. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5405. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5406. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5407. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5408. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5409. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5410. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5411. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5412. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5413. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5414. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5415. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5416. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5417. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5418. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5419. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5420. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5421. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5422. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5423. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5424. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5425. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5426. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5427. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5428. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5429. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5430. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5431. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5432. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5433. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5434. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5435. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5436. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5437. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5438. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5439. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5440. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5441. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5442. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5443. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5444. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5445. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5446. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5447. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5448. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5449. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5450. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5451. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5452. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5453. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5454. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5455. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5456. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5457. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5458. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5459. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5460. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5461. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5462. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5463. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5464. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5465. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5466. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5467. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5468. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5469. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5470. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5471. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5472. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5473. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5474. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5475. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5476. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5477. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5478. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5479. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5480. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5481. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5482. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5483. addObsoleteHost("mega(upload|video|rotic|porn)\\.com\/(?:|..\/)\\?[d|v|f]=\\w{8}","//a[contains(@href,'megaupload.com') or contains(@href,'megavideo.com') or contains(@href,'megaporn.com') or contains(@href,'megarotic.com')]");
  5484. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5485. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5486. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5487. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5488. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5489. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5490. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5491. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5492. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5493. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5494. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5495. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5496. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5497. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5498. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5499. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5500. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5501. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5502. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5503. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5504. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5505. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5506. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5507. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5508. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5509. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5510. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5511. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5512. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5513. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5514. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5515. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5516. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5517. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5518. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5519. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5520. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5521. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5522. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5523. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5524. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5525. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5526. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5527. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5528. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5529. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5530. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5531. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5532. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5533. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5534. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5535. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5536. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5537. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5538. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5539. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5540. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5541. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5542. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5543. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5544. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5545. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5546. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5547. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5548. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5549. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5550. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5551. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5552. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5553. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5554. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5555. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5556. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5557. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5558. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5559. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5560. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5561. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5562. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5563. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5564. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5565. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5566. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5567. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5568. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5569. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5570. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5571. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5572. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5573. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5574. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5575. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5576. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5577. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5578. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5579. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5580. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5581. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5582. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5583. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5584. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5585. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5586. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5587. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5588. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5589. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5590. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5591. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5592. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5593. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5594. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5595. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5596. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5597. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5598. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5599. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5600. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5601. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5602. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5603. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5604. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5605. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5606. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5607. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5608. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5609. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5610. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5611. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5612. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5613. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5614. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5615. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5616. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5617. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5618. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5619. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5620. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5621. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5622. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5623. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5624. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5625. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5626. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5627. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5628. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5629. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5630. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5631. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5632. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5633. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5634. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5635. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5636. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5637. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5638. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5639. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5640. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5641. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5642. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5643. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5644. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5645. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5646. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5647. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5648. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5649. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5650. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5651. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5652. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5653. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5654. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5655. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5656. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5657. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5658. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5659. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5660. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5661. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5662. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5663. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5664. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5665. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5666. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5667. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5668. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5669. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5670. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5671. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5672. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5673. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5674. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5675. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5676. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5677. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5678. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5679. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5680. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5681. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5682. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5683. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5684. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5685. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5686. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5687. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5688. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5689. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5690. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5691. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5692. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5693. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5694. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5695. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5696. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5697. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5698. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5699. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5700. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5701. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5702. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5703. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5704. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5705. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5706. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5707. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5708. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5709. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5710. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5711. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5712. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5713. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5714. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5715. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5716. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5717. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5718. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5719. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5720. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5721. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5722. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5723. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5724. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5725. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5726. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5727. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5728. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5729. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5730. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5731. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5732. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5733. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5734. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5735. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5736. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5737. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5738. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5739. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5740. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5741. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5742. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5743. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5744. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5745. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5746. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5747. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5748. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5749. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5750. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5751. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5752. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5753. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5754. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5755. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5756. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5757. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5758. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5759. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5760. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5761. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5762. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5763. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5764. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5765. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5766. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5767. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5768. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5769. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5770. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5771. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5772. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5773. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5774. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5775. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5776. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5777. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5778. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5779. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5780. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5781. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5782. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5783. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5784. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5785. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5786. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5787. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5788. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5789. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5790. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5791. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5792. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5793. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5794. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5795. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5796. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5797. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5798. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5799. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5800. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5801. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5802. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5803. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5804. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5805. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5806. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5807. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5808. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5809. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5810. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5811. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5812. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5813. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5814. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5815. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5816. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5817. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5818. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5819. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5820. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5821. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5822. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5823. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5824. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5825. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5826. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  5827. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  5828. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  5829. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  5830. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  5831. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  5832. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  5833. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  5834. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  5835. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  5836. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  5837. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  5838. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  5839. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  5840. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  5841. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  5842. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  5843. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  5844. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  5845. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  5846. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  5847. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  5848. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  5849. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  5850. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  5851. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  5852. // obsolete start start2
  5853. }
  5854. //obsolete file hosts init end
  5855. //Add Host Example
  5856. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5857. {
  5858. addFileHost(
  5859. "datafile\.com\/\\w+",
  5860. 'var captchaPanel|<link href="/css/files_download.css"',
  5861. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5862. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5863. '<style type="text/css">',
  5864. "//a[contains(@href,'datafile.com')]",
  5865. true);
  5866. } */
  5867.  
  5868. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5869. {
  5870. var host = new Array(7);
  5871. host[0] = linkRegex;
  5872. host[1] = isAliveRegex;
  5873. host[2] = isDeadRegex;
  5874. host[3] = isUnavaRegex;
  5875. host[6] = ispremRegex;
  5876. host[4] = xpathEx;
  5877. tryLoop ? host[5] = true : host[5] = false;
  5878. http_file_hosts.push(host);
  5879. }
  5880. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5881. {
  5882. addFileHost(
  5883. "megafileupload\.com\/..\/file\/",
  5884. 'downloadbtn',
  5885. 'is not found',
  5886. 'optional--',
  5887. 'optional2--',
  5888. "//a[contains(@href,'megafileupload.com')]");
  5889. }
  5890. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5891. {
  5892. addFileHost(
  5893. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5894. 'download\\.gif"',
  5895. 'p_point">',
  5896. 'optional--',
  5897. 'optional2--',
  5898. "//a[contains(@href,'demo.ovh.eu')]");
  5899. }
  5900. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5901. {
  5902. addFileHost(
  5903. "safelinking\\.net\/p\/\\w+",
  5904. 'color:green;"',
  5905. 'color:(?:red|orange);"',
  5906. 'color:(?:grey|brown);"',
  5907. 'optional2--',
  5908. "//a[contains(@href,'safelinking.net/p/')]",
  5909. true);
  5910. }
  5911. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5912. {
  5913. addFileHost(
  5914. "fastshare\\.cz\/\\d+\/\\w*",
  5915. 'dwntable">|speed-low',
  5916. 'nebyla nalezena|nebola nájdená|nie została odnaleziona|color:red;font-weight:bold;border\\-style:dashed|<i class="fa fa-copyright"></i>|<title>FastShare.cz</title>|file has been deleted|website is not available from your country',
  5917. 'optional--',
  5918. 'optional2--',
  5919. "//a[contains(@href,'fastshare.cz')]");
  5920. }
  5921. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5922. {
  5923. addFileHost(
  5924. "[fF]ast[sS]hare\\.org\/download",
  5925. 'Download ">',
  5926. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5927. 'optional--',
  5928. 'optional2--',
  5929. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5930. }
  5931. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5932. {
  5933. addFileHost(
  5934. "partage-facile\.com\/\\w+",
  5935. 'class="title"><strong>|colspan="2"',
  5936. 'Page introuvable|class="alert-message',
  5937. 'optional--',
  5938. 'optional2--',
  5939. "//a[contains(@href,'partage-facile.com')]");
  5940. }
  5941. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5942. {
  5943. addFileHost(
  5944. "rapidgator\\.net\/file\/\\w+",
  5945. '/download/AjaxStartTimer|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  5946. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  5947. 'optional--',
  5948. 'can be downloaded by premium only|files up to 500 MB in free mode|up to 400 MB in free|files up to 1 GB in free mode|You can download files up to 2 GB in free mode',
  5949. "//a[contains(@href,'rapidgator.net/file')]",
  5950. true
  5951. );
  5952. }
  5953. if (GM_getValue("Check_rg_dot_to_links", false))
  5954. {
  5955. addFileHost(
  5956. "rg\.to\/\\w+",
  5957. '/download/AjaxStartTimer|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  5958. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  5959. 'optional--',
  5960. 'can be downloaded by premium only|files up to 500 MB in free mode|up to 400 MB in free|You can download files up to 2 GB in free mode|files up to 1 GB in free mode',
  5961. "//a[contains(@href,'rg.to')]");
  5962. }
  5963. if (GM_getValue("Check_relink_dot_us_links", false))
  5964. {
  5965. addFileHost(
  5966. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5967. 'online_detail\\.png" alt="Status',
  5968. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5969. 'unknown_detail\\.png" alt="Status',
  5970. 'optional2--',
  5971. "//a[contains(@href,'relink.us/')]"
  5972. );
  5973. }
  5974. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5975. {
  5976. addFileHost(
  5977. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5978. 'div id="dl"',
  5979. 'Sie haben den Link falsch',
  5980. 'optional--',
  5981. 'optional2--',
  5982. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5983. );
  5984. }
  5985. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5986. {
  5987. addFileHost(
  5988. "flyfiles\\.net\/\\w+",
  5989. 'download_button"|"Download file"',
  5990. 'File not found!|Файл не найден',
  5991. 'optional--',
  5992. 'optional2--',
  5993. "//a[contains(@href,'flyfiles.net/')]"
  5994. );
  5995. }
  5996. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5997. {
  5998. addFileHost(
  5999. "wikiupload\\.com\/\\w+",
  6000. 'download-button">',
  6001. 'Sorry, File not found',
  6002. 'optional--',
  6003. 'optional2--',
  6004. "//a[contains(@href,'wikiupload.com/')]"
  6005. );
  6006. }
  6007. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6008. {
  6009. addFileHost(
  6010. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6011. 'file\\.php">|Pobierz Plik',
  6012. 'Podany plik nie zosta',
  6013. 'optional--',
  6014. 'optional2--',
  6015. "//a[contains(@href,'hostuje.net/file')]"
  6016. );
  6017. }
  6018. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6019. {
  6020. addFileHost(
  6021. "gettyfile\\.ru\/\\d+",
  6022. 'download\\.gif border',
  6023. '<center><font size="3">',
  6024. 'optional--',
  6025. 'optional2--',
  6026. "//a[contains(@href,'gettyfile.ru/')]"
  6027. );
  6028. }
  6029. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6030. {
  6031. addFileHost(
  6032. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6033. 'download\\-file">',
  6034. 'col-1">\\s*<h1>',
  6035. 'optional--',
  6036. 'optional2--',
  6037. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6038. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6039. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6040. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6041. );
  6042. }
  6043. if (GM_getValue("Check_data_dot_hu_links", false))
  6044. {
  6045. addFileHost(
  6046. "data\\.hu\/get\/\\d+\/",
  6047. 'download_box_button',
  6048. 'missing\\.php',
  6049. 'optional--',
  6050. 'optional2--',
  6051. "//a[contains(@href,'data.hu/get')]",
  6052. true
  6053. );
  6054. }
  6055. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6056. {
  6057. addFileHost(
  6058. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6059. 'premiumBtn"',
  6060. 'errorMessage"',
  6061. 'optional--',
  6062. 'optional2--',
  6063. "//a[contains(@href,'indowebster.com/download')]"
  6064. );
  6065. }
  6066. if (GM_getValue("Check_superload_dot_cz_links", false))
  6067. {
  6068. addFileHost(
  6069. "superload\\.cz\/dl\/\\w+",
  6070. 'icon-download">',
  6071. 'soubor nebyl nalezen',
  6072. 'optional--',
  6073. 'optional2--',
  6074. "//a[contains(@href,'superload.cz/dl')]"
  6075. );
  6076. }
  6077. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6078. {
  6079. addFileHost(
  6080. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6081. 'op" value="download',
  6082. 'class="err">|width:500px;text-align:left;">',
  6083. 'optional--',
  6084. 'optional2--',
  6085. "//a[contains(@href,'hulkfile.')]"
  6086. );
  6087. }
  6088. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6089. {
  6090. addFileHost(
  6091. "easybytez\\.com\/\\w+",
  6092. 'op" value="download',
  6093. 'stop_error\\.gif',
  6094. 'optional--',
  6095. 'optional2--',
  6096. "//a[contains(@href,'easybytez.com/')]"
  6097. );
  6098. }
  6099. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6100. {
  6101. addFileHost(
  6102. "filestore\\.com\\.ua\/\\?d=\\w+",
  6103. 'tdrow1>',
  6104. 'class=warn',
  6105. 'optional--',
  6106. 'optional2--',
  6107. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6108. );
  6109. }
  6110. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6111. {
  6112. addFileHost(
  6113. "openfile\\.ru\/(?:video\/|)\\d+",
  6114. 'videobox_left">',
  6115. 'blog_title">|not found on this server',
  6116. 'optional--',
  6117. 'optional2--',
  6118. "//a[contains(@href,'openfile.ru/')]"
  6119. );
  6120. }
  6121. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6122. {
  6123. addFileHost(
  6124. "extmatrix\\.com\/files\/\\w+",
  6125. 'div class="success"',
  6126. 'div class="error"',
  6127. 'optional--',
  6128. 'optional2--',
  6129. "//a[contains(@href,'extmatrix.com/files')]"
  6130. );
  6131. }
  6132. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6133. {
  6134. addFileHost(
  6135. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6136. 'content_lnkDownload',
  6137. 'error\\.aspx\\?',
  6138. 'optional--',
  6139. 'optional2--',
  6140. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6141. );
  6142. }
  6143. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6144. {
  6145. addFileHost(
  6146. "yourfilestore\\.com\/download\/\\d+\/",
  6147. 'download_data">',
  6148. 'may have been deleted|<h1>Sorry!<\/h1>',
  6149. 'optional--',
  6150. 'optional2--',
  6151. "//a[contains(@href,'yourfilestore.com/download')]"
  6152. );
  6153. }
  6154. if (GM_getValue("Check_filebig_dot_net_links", false))
  6155. {
  6156. addFileHost(
  6157. "filebig\\.net\/files\/\\w+",
  6158. 'downloadFile">',
  6159. '<p>File not found<\/p>',
  6160. 'optional--',
  6161. 'optional2--',
  6162. "//a[contains(@href,'filebig.net/files')]"
  6163. );
  6164. }
  6165. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6166. {
  6167. addFileHost(
  6168. "files\\.filefront\\.com\/\/;\\d+;;",
  6169. 'downloadLink">',
  6170. 'File not found, you',
  6171. 'optional--',
  6172. 'optional2--',
  6173. "//a[contains(@href,'files.filefront.com')]"
  6174. );
  6175.  
  6176. addFileHost(
  6177. "gamefront\\.com\/files\/\\d+",
  6178. 'downloadLink">',
  6179. 'File not found, you',
  6180. 'optional--',
  6181. 'optional2--',
  6182. "//a[contains(@href,'gamefront.com/files')]"
  6183. );
  6184. }
  6185. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6186. {
  6187. addFileHost(
  6188. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6189. 'dnlLnk"',
  6190. 'already been deleted',
  6191. 'optional--',
  6192. 'optional2--',
  6193. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6194. );
  6195. }
  6196. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6197. {
  6198. addFileHost(
  6199. "hellupload\\.com\/\\w+",
  6200. '<h3>Download File<br',
  6201. 'id="podstrona">|AVOID_IE_BUG',
  6202. 'optional--',
  6203. 'optional2--',
  6204. "//a[contains(@href,'hellupload.com/')]"
  6205. );
  6206. }
  6207. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6208. {
  6209. addFileHost(
  6210. "free\\-uploading\\.com\/\\w+",
  6211. 'op" value="download',
  6212. 'class="err">|width:500px;text-align:left;">',
  6213. 'optional--',
  6214. 'optional2--',
  6215. "//a[contains(@href,'free-uploading.com/')]"
  6216. );
  6217. }
  6218. if (GM_getValue("Check_fileape_dot_com_links", false))
  6219. {
  6220. addFileHost(
  6221. "fileape\\.com\/download\\-",
  6222. 'button_dl\\.png',
  6223. 'does not exist\\.',
  6224. 'optional--',
  6225. 'optional2--',
  6226. "//a[contains(@href,'fileape.com/')]"
  6227. );
  6228. }
  6229. if (GM_getValue("Check_uppit_dot_com_links", false))
  6230. {
  6231. addFileHost(
  6232. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6233. 'op" value="download',
  6234. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6235. 'optional--',
  6236. 'optional2--',
  6237. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6238. true
  6239. );
  6240. }
  6241. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6242. {
  6243. addFileHost(
  6244. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6245. 'op" value="download',
  6246. '>File Not Found<',
  6247. 'optional--',
  6248. 'optional2--',
  6249. "//a[contains(@href,'nosupload.com')]",
  6250. true
  6251. );
  6252. }
  6253. if (GM_getValue("Check_filesin_dot_com_links", false))
  6254. {
  6255. addFileHost(
  6256. "filesin\\.com\/\\w+\/download\\.html",
  6257. 'download_area">',
  6258. 'error_note">',
  6259. 'optional--',
  6260. 'optional2--',
  6261. "//a[contains(@href,'filesin.com/')]",
  6262. true
  6263. );
  6264. }
  6265. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6266. {
  6267. addFileHost(
  6268. "nowdownload\\.ch\/dl\/\\w+",
  6269. 'alert-success"',
  6270. 'This file does not exist!',
  6271. 'The file is being transfered',
  6272. 'optional2--',
  6273. "//a[contains(@href,'nowdownload.ch/dl')]"
  6274. );
  6275. }
  6276. if (GM_getValue("Check_axifile_dot_com_links", false))
  6277. {
  6278. addFileHost(
  6279. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6280. 'Dbutton_big"',
  6281. 'download\\-error\\.php',
  6282. 'optional--',
  6283. 'optional2--',
  6284. "//a[contains(@href,'axifile.com/')]"
  6285. );
  6286. }
  6287. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6288. {
  6289. addFileHost(
  6290. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6291. 'col-1">\\s*<s',
  6292. 'col-1">\\s*<h',
  6293. 'optional--',
  6294. 'optional2--',
  6295. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6296. );
  6297. }
  6298. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6299. {
  6300. addFileHost(
  6301. "turbobit\\.(?:net|pl)",
  6302. 'id="download-gate-info|id="file-list',
  6303. 'afterWait()|no files in this folder',
  6304. 'optional--',
  6305. 'optional2--',
  6306. "//a[contains(@href,'turbobit.net')]"
  6307. );
  6308. }
  6309. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6310. {
  6311. addFileHost(
  6312. "hitfile\\.net\/download\/folder\/\\d+",
  6313. 'content">\\s*<s',
  6314. 'content">\\s*<h',
  6315. 'optional--',
  6316. 'optional2--',
  6317. "//a[contains(@href,'hitfile.net/download/folder')]"
  6318. );
  6319. }
  6320. if (GM_getValue("Check_movshare_dot_net_links", false))
  6321. {
  6322. addFileHost(
  6323. "movshare\\.net\\/video\\/\\w+",
  6324. 'optional--"',
  6325. 'no longer exists',
  6326. 'optional--',
  6327. 'optional2--',
  6328. "//a[contains(@href,'movshare.net/video')]"
  6329. );
  6330. }
  6331. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6332. {
  6333. addFileHost(
  6334. "mafiastorage\\.com\/\\w+",
  6335. 'op" value="download',
  6336. 'class="err">|style="width:500px;text-align:left;"',
  6337. 'optional--',
  6338. 'optional2--',
  6339. "//a[contains(@href,'mafiastorage.com/')]"
  6340. );
  6341. }
  6342. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6343. {
  6344. addFileHost(
  6345. "uploadingit\\.com\/file\/\\w+",
  6346. 'downloadTitle">',
  6347. 'deleteContent">',
  6348. 'optional--',
  6349. 'optional2--',
  6350. "//a[contains(@href,'uploadingit.com/file')]"
  6351. );
  6352. }
  6353. if (GM_getValue("Check_rghost_dot_net_links", false))
  6354. {
  6355. addFileHost(
  6356. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6357. 'download_link|btn large download',
  6358. 'file is restricted|File is deleted|503 Service Unavailable',
  6359. 'optional--',
  6360. 'optional2--',
  6361. "//a[contains(@href,'rghost.')]"
  6362. );
  6363. }
  6364. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6365. {
  6366. addFileHost(
  6367. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6368. '">Staženo:\\s*<\/span>',
  6369. 'Soubor, který hledáte nenalezen',
  6370. 'optional--',
  6371. 'optional2--',
  6372. "//a[contains(@href,'xdisk.cz/')]"
  6373. );
  6374. }
  6375. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6376. {
  6377. addFileHost(
  6378. "2downloadz\.com\/\\w+",
  6379. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6380. 'color="#006DCC|File error',
  6381. 'optional--',
  6382. 'optional2--',
  6383. "//a[contains(@href,'2downloadz.com')]");
  6384. }
  6385. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6386. {
  6387. addFileHost(
  6388. "mightyupload\.com\/\\w+",
  6389. 'background:#ccc;text-align|CONTENT="Download File"',
  6390. 'style="background:#eee|var rr =|File Not Found',
  6391. 'error-code">1010',
  6392. 'optional2--',
  6393. "//a[contains(@href,'mightyupload.com')]");
  6394. }
  6395. if (GM_getValue("Check_anysend_dot_com_links", false))
  6396. {
  6397. addFileHost(
  6398. "anysend\.com\/\\w+",
  6399. 'var openCalled=false;|content="noindex"',
  6400. '_trackPageview',
  6401. 'optional--',
  6402. 'optional2--',
  6403. "//a[contains(@href,'anysend.com')]");
  6404. }
  6405. if (GM_getValue("Check_datafile_dot_com_links", false))
  6406. {
  6407. addFileHost(
  6408. "datafile\.com\/\\w+",
  6409. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6410. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6411. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6412. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">|only by users with<br />Premium account!', //<style type="text/css">
  6413. "//a[contains(@href,'datafile.com')]",
  6414. true);
  6415. }
  6416. if (GM_getValue("Check_upstore_dot_net_links", false))
  6417. {
  6418. addFileHost(
  6419. "upstore\.net\/\\w+",
  6420. 'name="free"',
  6421. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6422. 'optional--',
  6423. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6424. "//a[contains(@href,'upstore.net')]");
  6425. }
  6426. if (GM_getValue("Check_upsto_dot_re_links", false))
  6427. {
  6428. addFileHost(
  6429. "upsto\.re\/\\w+",
  6430. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6431. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6432. 'optional--',
  6433. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6434. "//a[contains(@href,'upsto.re')]");
  6435. }
  6436. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6437. {
  6438. addFileHost(
  6439. "speedy\.sh\/\\w+",
  6440. 'bgcolor=#eeeeee|class="addthis',
  6441. 'File not found|downloadfilenamenotfound>',
  6442. 'optional--',
  6443. 'optional2--',
  6444. "//a[contains(@href,'speedy.sh')]");
  6445. }
  6446. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6447. {
  6448. addFileHost(
  6449. "kingfiles\.net\/\\w+",
  6450. 'method_free|images/loading_small.gif"',
  6451. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6452. 'optional--',
  6453. 'optional2--',
  6454. "//a[contains(@href,'kingfiles.net')]");
  6455. }
  6456. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6457. {
  6458. addFileHost(
  6459. "secureupload\\.eu\/\\w+",
  6460. 'Downloading',
  6461. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6462. 'optional--',
  6463. 'optional2--',
  6464. "//a[contains(@href,'secureupload.eu')]"
  6465. );
  6466. }
  6467. if (GM_getValue("Check_ge_dot_tt_links", false))
  6468. {
  6469. addFileHost(
  6470. "ge\.tt\/\\w+",
  6471. 'downloads pic',
  6472. 'is NOT the same as',
  6473. 'optional--',
  6474. 'optional2--',
  6475. "//a[contains(@href,'ge.tt')]");
  6476. }
  6477. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6478. {
  6479. addFileHost(
  6480. "filefactory\.com\/\\w+",
  6481. 'div id="file_holder"|download.css',
  6482. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6483. 'Server Maintenance|temporarily overloaded',
  6484. 'Premium Account Required',
  6485. "//a[contains(@href,'filefactory.com')]");
  6486. }
  6487. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6488. {
  6489. addFileHost(
  6490. "filesflash\.net\/\\w+",
  6491. 'align:right">Filename:',
  6492. 'class="msg">',
  6493. 'optional--',
  6494. 'optional2--',
  6495. "//a[contains(@href,'filesflash.net')]");
  6496. }
  6497. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6498. {
  6499. addFileHost(
  6500. "rapidgator\\.net\/folder\/\\w+",
  6501. 'href="/folder/',
  6502. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6503. 'optional--',
  6504. 'optional2--',
  6505. "//a[contains(@href,'rapidgator.net/folder')]",
  6506. true
  6507. );
  6508. }
  6509. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6510. {
  6511. addFileHost(
  6512. "salefiles\.com\/\\w+",
  6513. 'name="method_free',
  6514. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6515. 'optional--',
  6516. 'optional2--',
  6517. "//a[contains(@href,'salefiles.com')]");
  6518. }
  6519. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6520. {
  6521. addFileHost(
  6522. "datoid\.cz\/\\w+",
  6523. 'btn-download|class="icon-download-large"',
  6524. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6525. 'optional--',
  6526. 'optional2--',
  6527. "//a[contains(@href,'datoid.cz')]");
  6528. }
  6529. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6530. {
  6531. addFileHost(
  6532. "stiahni\.si\/\\w+",
  6533. 'report_icon.png"|slow-download-button',
  6534. 'none.png|deleted|<h2>Error 500</h2>',
  6535. 'optional--',
  6536. 'optional2--',
  6537. "//a[contains(@href,'stiahni.si')]");
  6538. }
  6539. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6540. {
  6541. addFileHost(
  6542. "cloudstor\.es\/\\w+",
  6543. '"btn_download"',
  6544. '404: Page Not Found',
  6545. 'optional--',
  6546. 'optional2--',
  6547. "//a[contains(@href,'cloudstor.es')]");
  6548. }
  6549. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6550. {
  6551. addFileHost(
  6552. "streamfile\.com\/\\w+",
  6553. 'class="btn',
  6554. 'class="green-btn',
  6555. 'optional--',
  6556. 'optional2--',
  6557. "//a[contains(@href,'streamfile.com')]");
  6558. }
  6559. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6560. {
  6561. addFileHost(
  6562. "eyesfile\.ca\/\\w+",
  6563. 'value="Get Link',
  6564. 'var rr =',
  6565. 'optional--',
  6566. 'optional2--',
  6567. "//a[contains(@href,'eyesfile.ca')]");
  6568. }
  6569. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6570. {
  6571. addFileHost(
  6572. "filemoney\.com\/\\w+",
  6573. 'og:title',
  6574. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6575. 'error-code">1010',
  6576. 'optional2--',
  6577. "//a[contains(@href,'filemoney.com')]");
  6578. }
  6579. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6580. {
  6581. addFileHost(
  6582. "uploadboy\.com\/\\w+",
  6583. 'width="740">|method_free',
  6584. 'var rr =|background:#ffffff|not be found|file was removed',
  6585. 'optional--',
  6586. 'optional2--',
  6587. "//a[contains(@href,'uploadboy.com')]");
  6588. }
  6589. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6590. {
  6591. addFileHost(
  6592. "uploadboy\.com\/\\w+",
  6593. 'width="740">|method_free',
  6594. 'var rr =|background:#ffffff|not be found|file was removed',
  6595. 'optional--',
  6596. 'optional2--',
  6597. "//a[contains(@href,'uploadboy.me')]");
  6598. }
  6599. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6600. {
  6601. addFileHost(
  6602. "speedshare\.eu\/\\w+",
  6603. 'favicon.png|color:#3d87c0|cross.png"',
  6604. 'var rr =|File Not Found|style="background:#eee',
  6605. 'optional--',
  6606. 'optional2--',
  6607. "//a[contains(@href,'speedshare.eu')]");
  6608. }
  6609. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6610. {
  6611. addFileHost(
  6612. "unlimitzone\.com\/\\w+",
  6613. 'name="method_free',
  6614. 'var rr =|File Not Found|removed by administrator|class="err">|Файл не найден|Datei nicht gefunden|fichier non trouve|Dosya bulunamadД±|Nie znaleziono pliku|ไม่พบไฟล์ที่ต้องการ|Nie znaleziono pliku|Archive no Encontrado|ファイルが見つかりません。|File nem talГЎlhatГі|File tidak ditemukan|Bestand niet gevonden',
  6615. 'optional--',
  6616. 'optional2--',
  6617. "//a[contains(@href,'unlimitzone.com')]");
  6618. }
  6619. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6620. {
  6621. addFileHost(
  6622. "rioupload\.com\/\\w+",
  6623. 'sell.jpg',
  6624. 'var rr =',
  6625. 'optional--',
  6626. 'optional2--',
  6627. "//a[contains(@href,'rioupload.com')]");
  6628. }
  6629. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6630. {
  6631. addFileHost(
  6632. "jumbofiles\.org\/\\w+",
  6633. 'H71C5.png|class="downloadtitle">',
  6634. 'var swfu|ViewSourceBIN.png',
  6635. 'optional--',
  6636. 'optional2--',
  6637. "//a[contains(@href,'jumbofiles.org')]");
  6638. }
  6639. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6640. {
  6641. addFileHost(
  6642. "fshare\\.vn\/file\/\\w+",
  6643. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6644. 'không tồn tại|class="color_red m_t_50"',
  6645. 'optional--',
  6646. 'optional2--',
  6647. "//a[contains(@href,'fshare.vn/file')]",
  6648. true
  6649. );
  6650. }
  6651. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6652. {
  6653. addFileHost(
  6654. "spaceforfiles\.com\/\\w+",
  6655. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6656. 'var rr =|AVOID_IE_BUG',
  6657. 'optional--',
  6658. 'optional2--',
  6659. "//a[contains(@href,'spaceforfiles.com')]");
  6660. }
  6661. if (GM_getValue("Check_google_dot_com_links", false))
  6662. {
  6663. addFileHost(
  6664. "google\\.com\/file\/\\w+",
  6665. 'content="!">|color:#2d2d2d',
  6666. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6667. 'optional--',
  6668. 'optional2--',
  6669. "//a[contains(@href,'google.com/file')]",
  6670. true
  6671. );
  6672. }
  6673. if (GM_getValue("Check_google_dot_com_links", false))
  6674. {
  6675. addFileHost(
  6676. "docs.google.com\/\\w+",
  6677. 'content="!">|color:#2d2d2d',
  6678. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6679. 'optional--',
  6680. 'optional2--',
  6681. "//a[contains(@href,'docs.google.com')]",
  6682. true
  6683. );
  6684. }
  6685. if (GM_getValue("Check_google_dot_com_links", false))
  6686. {
  6687. addFileHost(
  6688. "drive.google.com\/\\w+",
  6689. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6690. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6691. 'optional--',
  6692. 'optional2--',
  6693. "//a[contains(@href,'drive.google.com')]",
  6694. true
  6695. );
  6696. }
  6697. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6698. {
  6699. addFileHost(
  6700. "up.media1fire\.com\/\\w+",
  6701. 'class="addthis_|value="download',
  6702. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6703. 'optional--',
  6704. 'optional2--',
  6705. "//a[contains(@href,'up.media1fire.com')]");
  6706. }
  6707. if (GM_getValue("Check_depfile_dot_com_links", false))
  6708. {
  6709. addFileHost(
  6710. "depfile\.com\/\\w+",
  6711. 'logo_0.png|downloads.gif"|verifycode',
  6712. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6713. 'optional--',
  6714. 'available only for Premium users',
  6715. "//a[contains(@href,'depfile.com')]");
  6716. }
  6717. if (GM_getValue("Check_go4up_dot_com_links", false))
  6718. {
  6719. addFileHost(
  6720. "go4up\.com\/\\w+",
  6721. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6722. '<title>GO4UP|dmca',
  6723. 'optional--',
  6724. 'optional2--',
  6725. "//a[contains(@href,'go4up.com')]");
  6726. }
  6727. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6728. {
  6729. addFileHost(
  6730. "redbunker\.net\/\\w+",
  6731. 'name="method_free"',
  6732. 'color="red">Unknow / Bilinmiyor<',
  6733. 'optional--',
  6734. '2.3 GB',
  6735. "//a[contains(@href,'redbunker.net')]");
  6736. }
  6737. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6738. {
  6739. addFileHost(
  6740. "divxpress\.com\/\\w+",
  6741. 'btn_download|logo.png"',
  6742. 'AVOID_IE_BUG|var rr =',
  6743. 'optional--',
  6744. 'optional2--',
  6745. "//a[contains(@href,'divxpress.com')]");
  6746. }
  6747. if (GM_getValue("Check_anafile_dot_com_links", false))
  6748. {
  6749. addFileHost(
  6750. "anafile\.com\/\\w+",
  6751. 'width="881" valign="top|color="#800080"|name="go"',
  6752. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6753. 'optional--',
  6754. 'optional2--',
  6755. "//a[contains(@href,'anafile.com')]");
  6756. }
  6757. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6758. {
  6759. addFileHost(
  6760. "uploadable\\.ch\/file\/\\w+",
  6761. 'captcha.js"|payment.js"|class="btn_download"',
  6762. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6763. 'optional--',
  6764. 'optional2--',
  6765. "//a[contains(@href,'uploadable.ch/file')]",
  6766. true
  6767. );
  6768. }
  6769. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6770. {
  6771. addFileHost(
  6772. "bigfile\\.to\/file\/\\w+",
  6773. 'captcha.js"|payment.js"|class="btn_download"',
  6774. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6775. 'optional--',
  6776. 'optional2--',
  6777. "//a[contains(@href,'bigfile.to/file')]",
  6778. true
  6779. );
  6780. }
  6781. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6782. {
  6783. addFileHost(
  6784. "arabloads\.net\/\\w+",
  6785. 'name="method_free"|name="method_premium"',
  6786. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6787. 'optional--',
  6788. 'optional2--',
  6789. "//a[contains(@href,'arabloads.net')]");
  6790. }
  6791. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6792. {
  6793. addFileHost(
  6794. "sharerepo\.com\/\\w+",
  6795. 'name="method_free"',
  6796. 'var public_on=|The file you were looking for could not be found',
  6797. 'optional--',
  6798. 'optional2--',
  6799. "//a[contains(@href,'sharerepo.com')]");
  6800. }
  6801. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6802. {
  6803. addFileHost(
  6804. "sfshare\.se\/\\w+",
  6805. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6806. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6807. 'optional--',
  6808. 'optional2--',
  6809. "//a[contains(@href,'sfshare.se')]");
  6810. }
  6811. if (GM_getValue("Check_files_dot_fm_links", false))
  6812. {
  6813. addFileHost(
  6814. "files\.fm\/\\w+",
  6815. 'dl.png"|background-color: transparent',
  6816. 'margin: 40px 40px|background: none;',
  6817. 'optional--',
  6818. 'optional2--',
  6819. "//a[contains(@href,'files.fm')]");
  6820. }
  6821. if (GM_getValue("Check_koofile_dot_com_links", false))
  6822. {
  6823. addFileHost(
  6824. "koofile\.com\/\\w+",
  6825. 'value="download1">|name="method_free"',
  6826. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6827. 'optional--',
  6828. 'optional2--',
  6829. "//a[contains(@href,'koofile.com')]");
  6830. }
  6831. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6832. {
  6833. addFileHost(
  6834. "vidxden\\.com\/\\w+",
  6835. 'Continue to Video"',
  6836. 'No such file',
  6837. 'optional--',
  6838. 'optional2--',
  6839. "//a[contains(@href,'vidxden.com')]"
  6840. );
  6841. }
  6842. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6843. {
  6844. addFileHost(
  6845. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6846. 'Details zur Datei|Details page',
  6847. 'Jetzt hochladen|upload now',
  6848. 'optional--',
  6849. 'optional2--',
  6850. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6851. );
  6852. }
  6853. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6854. {
  6855. addFileHost(
  6856. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6857. 'downloadbtn"',
  6858. 'DL_FileNotFound',
  6859. 'optional--',
  6860. 'optional2--',
  6861. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6862. );
  6863. }
  6864. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6865. {
  6866. addFileHost(
  6867. "fileflyer\.com\/view\/\\w+",
  6868. '(?:dwl|locked)btn"',
  6869. 'error.gif"|link">Removed|removedlink">',
  6870. 'optional--',
  6871. 'optional2--',
  6872. "//a[contains(@href,'fileflyer.com')]"
  6873. );
  6874. }
  6875. if (GM_getValue("Check_filestore_dot_to_links", false))
  6876. {
  6877. addFileHost(
  6878. "filestore\.to\/\\?d=\\w+",
  6879. '"downloading"',
  6880. 'Datei wurde nicht gefunden',
  6881. 'optional--',
  6882. 'optional2--',
  6883. "//a[contains(@href,'filestore.to')]"
  6884. );
  6885. }
  6886. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6887. {
  6888. addFileHost(
  6889. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6890. 'fz24">Download|class="pl15">',
  6891. 'msg-err"|the page you\'re looking for|1>400 Bad Request<|class="search_result">|Searching for file|Information is not available|name="keywords" content="">|<title>Crocko.com 404',
  6892. 'optional--',
  6893. 'optional2--',
  6894. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  6895. );
  6896. }
  6897. if (GM_getValue("Check_datei_dot_to_links", false))
  6898. {
  6899. addFileHost(
  6900. "datei\\.to\/\\??\\w+",
  6901. 'icon_downloaden\\.png|>Download starten<',
  6902. 'Datei wurde nicht gefunden|icon_deleted.png',
  6903. 'optional--',
  6904. 'optional2--',
  6905. "//a[contains(@href,'datei.to')]"
  6906. );
  6907. }
  6908. if (GM_getValue("Check_yunfile_dot_com_links", false))
  6909. {
  6910. addFileHost(
  6911. "(?:yunfile|filemarkets)\\.com\/\\w+",
  6912. '<body class="body" id="body">|value="Slow Download"',
  6913. '<body class="body" >',
  6914. 'optional--',
  6915. 'optional2--',
  6916. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  6917. );
  6918. }
  6919. if (GM_getValue("Check_unibytes_dot_com_links", false))
  6920. {
  6921. addFileHost(
  6922. "unibytes\\.com\/[\\w\.]+",
  6923. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  6924. 'File not found|Файл не найден|',
  6925. 'optional--',
  6926. 'optional2--',
  6927. "//a[contains(@href,'unibytes.com')]"
  6928. );
  6929. }
  6930. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  6931. {
  6932. addFileHost(
  6933. "www\\.hellshare\\.com\/\\d+",
  6934. 'tab\\-details"',
  6935. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  6936. 'optional--',
  6937. 'optional2--',
  6938. "//a[contains(@href,'www.hellshare.com')]"
  6939. );
  6940. }
  6941. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  6942. {
  6943. addFileHost(
  6944. "www\\.download.cz.hellshare\\.com\/\\w+",
  6945. 'tab\\-details"',
  6946. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  6947. 'optional--',
  6948. 'optional2--',
  6949. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  6950. );
  6951. }
  6952. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  6953. {
  6954. addFileHost(
  6955. "filefactory\\.com\/f\/\\w+",
  6956. 'folderFileList">',
  6957. 'table class="items"|Pointer" class="red">',
  6958. 'optional--',
  6959. 'optional2--',
  6960. "//a[contains(@href,'filefactory.com/f/')]"
  6961. );
  6962. }
  6963. if (GM_getValue("Check_load_dot_to_links", false))
  6964. {
  6965. addFileHost(
  6966. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  6967. '"download_table_left">Size',
  6968. 'Can\'t find file',
  6969. 'optional--',
  6970. 'optional2--',
  6971. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  6972. );
  6973. }
  6974. if (GM_getValue("Check_divshare_dot_com_links", false))
  6975. {
  6976. addFileHost(
  6977. "divshare\\.com\/download\/",
  6978. 'download_new\.png',
  6979. 'have been removed',
  6980. 'optional--',
  6981. 'optional2--',
  6982. "//a[contains(@href,'divshare.com')]"
  6983. );
  6984. }
  6985. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  6986. {
  6987. addFileHost(
  6988. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  6989. 'download=true"',
  6990. '<div class="background margin-top vlevo" style="width: 600px;">',
  6991. 'optional--',
  6992. 'optional2--',
  6993. "//a[contains(@href,'euroshare.eu/file')]"
  6994. );
  6995. }
  6996. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  6997. {
  6998. addFileHost(
  6999. 'files\\.mail\\.ru/(?:\\w*)',
  7000. 'fileList',
  7001. 'errorMessage',
  7002. 'optional--',
  7003. 'optional2--',
  7004. "//a[contains(@href,'files.mail.ru')]"
  7005. );
  7006. }
  7007. if (GM_getValue("Check_megashares_dot_com_links", false))
  7008. {
  7009. addFileHost(
  7010. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7011. 'Filesize',
  7012. 'Invalid|deleted|Could not download file',
  7013. 'slots|scheduled maintenance',
  7014. 'optional2--',
  7015. "//a[contains(@href,'megashares.com/')]"
  7016. );
  7017. }
  7018. if (GM_getValue("Check_narod_dot_ru_links", false))
  7019. {
  7020. addFileHost(
  7021. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7022. 'b-submit|action="resource.download"',
  7023. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7024. 'Внутренняя ошибка сервиса',
  7025. 'optional2--',
  7026. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7027. );
  7028. }
  7029. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7030. {
  7031. addFileHost(
  7032. "rayfile\\.com\/",
  7033. 'FILEtitleTXT',
  7034. 'blueRow',
  7035. 'optional--',
  7036. 'optional2--',
  7037. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7038. );
  7039. }
  7040. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7041. {
  7042. addFileHost(
  7043. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7044. 'button_green_body"',
  7045. 'error">',
  7046. 'optional--',
  7047. 'optional2--',
  7048. "//a[contains(@href,'filesmonster.com/download')]"
  7049. );
  7050. }
  7051. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7052. {
  7053. addFileHost(
  7054. 'usaupload\\.net\/d\/(?:\w*)',
  7055. '<strong>File size:</strong>',
  7056. 'is not available',
  7057. 'optional--',
  7058. 'optional2--',
  7059. "//a[contains(@href,'usaupload.net/d/')]"
  7060. );
  7061. }
  7062. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7063. {
  7064. addFileHost(
  7065. 'sendspace\\.com\/file\/\\w+',
  7066. 'file_description',
  7067. 'msg error"',
  7068. 'optional--',
  7069. 'optional2--',
  7070. "//a[contains(@href,'sendspace.com/file')]"
  7071. );
  7072. }
  7073. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7074. {
  7075. addFileHost(
  7076. 'sendspace\\.pl\/file\/\\w+',
  7077. 'download_file"',
  7078. 'Podany plik nie',
  7079. 'optional--',
  7080. 'optional2--',
  7081. "//a[contains(@href,'sendspace.pl/file')]"
  7082. );
  7083. }
  7084. if (GM_getValue("Check_uploading_dot_com_links", false))
  7085. {
  7086. addFileHost(
  7087. 'uploading\\.com\/(?:files\/)?\\w+',
  7088. 'free_method">',
  7089. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7090. 'optional--',
  7091. 'optional2--',
  7092. "//a[contains(@href,'uploading.com')]"
  7093. );
  7094. }
  7095. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7096. {
  7097. addFileHost(
  7098. "gigasize\.com\/\\w+",
  7099. 'fileId"|class="estimate">',
  7100. 'error">',
  7101. 'optional--',
  7102. 'optional2--',
  7103. "//a[contains(@href,'gigasize.com/get')]"
  7104. );
  7105. }
  7106. if (GM_getValue("Check_good_dot_com_links", false))
  7107. {
  7108. addFileHost(
  7109. 'good\\.net\/(?:_|dl)',
  7110. 'Free Download',
  7111. 'Not Found',
  7112. 'Forbidden',
  7113. 'optional2--',
  7114. "//a[contains(@href,'good.net')]"
  7115. );
  7116. }
  7117. if (GM_getValue("Check_2shared_dot_com_links", false))
  7118. {
  7119. addFileHost(
  7120. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7121. 'File size',
  7122. 'File not found|is not valid|/images/important.gif',
  7123. 'optional--',
  7124. 'optional2--',
  7125. // "//a[contains(@href,'2shared.com')]"
  7126. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/fadmin/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7127. );
  7128. }
  7129. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7130. {
  7131. addFileHost(
  7132. 'turboupload\\.com\/\\w*',
  7133. 'You have requested',
  7134. 'File Not Found',
  7135. 'optional--',
  7136. 'optional2--',
  7137. "//a[contains(@href,'turboupload.com')]"
  7138. );
  7139. }
  7140. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7141. {
  7142. addFileHost(
  7143. 'gigapeta\\.com\/dl\/',
  7144. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7145. '404|page_error',
  7146. 'optional--',
  7147. 'optional2--',
  7148. "//a[contains(@href,'gigapeta.com/dl')]"
  7149. );
  7150. }
  7151. if (GM_getValue("Check_veehd_dot_com_links", false))
  7152. {
  7153. addFileHost(
  7154. 'veehd\.com\/video\/.*?',
  7155. 'No sound|Download video',
  7156. 'Featured Videos',
  7157. 'optional--',
  7158. 'optional2--',
  7159. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7160. );
  7161. }
  7162. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7163. {
  7164. addFileHost(
  7165. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7166. 'fast_download_form">|submit_sms_download',
  7167. '<p style="text-align:center">',
  7168. 'optional--',
  7169. 'optional2--',
  7170. "//a[contains(@href,'vip-file.com/download')]"
  7171. );
  7172. }
  7173. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7174. {
  7175. addFileHost(
  7176. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7177. 'download\\-pnl ',
  7178. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7179. 'optional--',
  7180. 'optional2--',
  7181. "//a[contains(@href,'letitbit.net/download')]"
  7182. );
  7183. }
  7184. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7185. {
  7186. addFileHost(
  7187. 'ifolder\.ru\/\\d+',
  7188. 'file-info',
  7189. 'ui-state-error',
  7190. 'optional--',
  7191. 'optional2--',
  7192. "//a[contains(@href,'ifolder.ru')]"
  7193. );
  7194. }
  7195. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7196. {
  7197. addFileHost(
  7198. 'fileswap\\.com\/dl\/\\w+',
  7199. 'bttnDownloadLink"',
  7200. 'rounded_block_error"',
  7201. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7202. 'optional2--',
  7203. "//a[contains(@href,'fileswap.com/dl')]"
  7204. );
  7205. }
  7206. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7207. {
  7208. addFileHost(
  7209. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7210. 'var __error = 0|id="recaptchaPanel">',
  7211. 'FILES__DOESNT_EXIST|removed or did not exist',
  7212. 'optional--',
  7213. 'optional2--',
  7214. "//a[contains(@href,'filecloud.io/')]"
  7215. );
  7216. addFileHost(
  7217. 'ifile\\.it\/\\w+',
  7218. 'var __error = 0',
  7219. 'FILES__DOESNT_EXIST',
  7220. 'optional--',
  7221. 'optional2--',
  7222. "//a[contains(@href,'ifile.it/')]"
  7223. );
  7224. }
  7225. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7226. {
  7227. addFileHost(
  7228. 'solidfiles\\.com\/\\w+',
  7229. 'id="download"|content="Download',
  7230. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7231. 'optional--',
  7232. 'optional2--',
  7233. "//a[contains(@href,'solidfiles.com/')]"
  7234. );
  7235. }
  7236. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7237. {
  7238. addFileHost(
  7239. "(?:.\\.|)shareflare\\.net",
  7240. 'download-pnl|<div class="premium-block">',
  7241. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7242. 'optional--',
  7243. 'optional2--',
  7244. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7245. );
  7246. }
  7247. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7248. {
  7249. addFileHost(
  7250. "u18116681.shareflare\\.net",
  7251. 'download-pnl|<div class="premium-block">',
  7252. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7253. 'optional--',
  7254. 'optional2--',
  7255. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7256. );
  7257. }
  7258. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7259. {
  7260. addFileHost(
  7261. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7262. 'file\\-list-orderby|section-filedetail">',
  7263. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7264. 'optional--',
  7265. 'optional2--',
  7266. "//a[contains(@href,'hellspy.')]"
  7267. );
  7268. }
  7269. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7270. {
  7271. addFileHost(
  7272. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7273. '<body onload="">',
  7274. 'neexistuje|not exist',
  7275. 'optional--',
  7276. 'optional2--',
  7277. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7278. );
  7279. }
  7280. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7281. {
  7282. addFileHost(
  7283. "stahovanizasms\\.cz\/\\w+",
  7284. 'download\\.png>|font-size:11px><tr>',
  7285. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7286. 'optional--',
  7287. 'optional2--',
  7288. "//a[contains(@href,'stahovanizasms.cz')]"
  7289. );
  7290. }
  7291. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7292. {
  7293. addFileHost(
  7294. "share-links\\.biz\/\\w*",
  7295. 'online\\.gif',
  7296. '(?:offline|parts)\\.gif',
  7297. 'optional--',
  7298. 'optional2--',
  7299. "//a[contains(@href,'share-links.biz')]"
  7300. );
  7301. }
  7302. if (GM_getValue("Check_4shared_dot_com_links", false))
  7303. {
  7304. addFileHost(
  7305. "4shared\\.com\/.+\/",
  7306. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7307. 'class="warn\"|big red"|GetDataBack',
  7308. 'Service Unavailable',
  7309. 'optional2--',
  7310. "//a[contains(@href,'4shared.com')]"
  7311. );
  7312. }
  7313. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7314. {
  7315. addFileHost(
  7316. "(?:www\\d+\.|)zippyshare\.com\/",
  7317. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7318. 'not exist|Status 404',
  7319. 'optional--',
  7320. 'optional2--',
  7321. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7322. );
  7323. }
  7324. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7325. {
  7326. addFileHost(
  7327. "mediafire\.com\/",
  7328. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7329. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7330. 'set to private',
  7331. 'optional2--',
  7332. "//a[contains(@href,'mediafire.com')]"
  7333. );
  7334. }
  7335. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7336. {
  7337. addFileHost(
  7338. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7339. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7340. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7341. 'optional--',
  7342. 'GB</small>',
  7343. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7344. );
  7345. }
  7346. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7347. {
  7348. addFileHost(
  7349. "ulozisko\.sk\/",
  7350. 'Detaily',
  7351. 'neexistuje',
  7352. 'optional--',
  7353. 'optional2--',
  7354. "//a[contains(@href,'ulozisko.sk')]"
  7355. );
  7356. }
  7357. if (GM_getValue("Check_box_dot_com_links", false))
  7358. {
  7359. addFileHost(
  7360. "box\.com\/\\w+",
  7361. 'download-file-btn|id="download_button|preview-download',
  7362. 'BIyMin.png| <div class="error_message|link has been removed',
  7363. 'optional--',
  7364. 'optional2--',
  7365. "//a[contains(@href,'app.box.com')]");
  7366. }
  7367. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7368. {
  7369. addFileHost(
  7370. "uptobox\\.com\/\\w+",
  7371. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7372. 'The file expired|The file was deleted|Fichier introuvable|not available in your country|No files uploaded yet|aucun fichier présent|Belum ada berkas yang diunggah|لا يوجد أي ملف',
  7373. 'Maintenance',
  7374. 'optional2--',
  7375. "//a[contains(@href,'uptobox.com')]"
  7376. );
  7377. }
  7378. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7379. {
  7380. addFileHost(
  7381. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7382. 'FILE DOWNLOAD<',
  7383. 'File Does Not Exist',
  7384. 'optional--',
  7385. 'optional2--',
  7386. "//a[contains(@href,'sharecash.org/download.php')]"
  7387. );
  7388. }
  7389. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7390. {
  7391. addFileHost(
  7392. "1fichier\\.com\/dir\/\\w+",
  7393. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7394. 'Shared Folder Not Found',
  7395. 'optional--',
  7396. 'optional2--',
  7397. "//a[contains(@href,'1fichier.com/dir')]"
  7398. );
  7399. }
  7400. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7401. {
  7402. addFileHost(
  7403. "depositfiles\\.com\/folders\/\\w+",
  7404. '<div class="progressContainer">',
  7405. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7406. 'optional--',
  7407. 'optional2--',
  7408. "//a[contains(@href,'depositfiles.com/folders')]"
  7409. );
  7410. }
  7411. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7412. {
  7413. addFileHost(
  7414. "rapidfileshare\\.net/\\w+",
  7415. '<div id="upload-header-bg">',
  7416. '<div style="width:500px;text-align:left;">',
  7417. 'optional--',
  7418. 'optional2--',
  7419. "//a[contains(@href,'rapidfileshare.net/')]"
  7420. );
  7421. }
  7422. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7423. {
  7424. addFileHost(
  7425. "stiahnito\\.sk/",
  7426. '<span class="filesize right">',
  7427. '<ol class="list-purp-2">',
  7428. 'optional--',
  7429. 'optional2--',
  7430. "//a[contains(@href,'stiahnito.sk/')]"
  7431. );
  7432. }
  7433. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7434. {
  7435. addFileHost(
  7436. "rusfolder\\.(?:com|net)",
  7437. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7438. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7439. 'optional--',
  7440. 'optional2--',
  7441. "//a[contains(@href,'rusfolder')]"
  7442. );
  7443. }
  7444. if (GM_getValue("Check_catshare_dot_net_links", false))
  7445. {
  7446. addFileHost(
  7447. "catshare\\.net/\\w+",
  7448. '"icon-share',
  7449. 'alert alert-error',
  7450. 'optional--',
  7451. 'optional2--',
  7452. "//a[contains(@href,'catshare.net/')]"
  7453. );
  7454. }
  7455. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7456. {
  7457. addFileHost(
  7458. "anonfiles\\.com/\\w+",
  7459. '"download_button"',
  7460. '<legend><b>404</b>',
  7461. 'optional--',
  7462. 'optional2--',
  7463. "//a[contains(@href,'anonfiles.com')]"
  7464. );
  7465. }
  7466. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7467. {
  7468. addFileHost(
  7469. "mixturecloud\\.com/media/\\w+",
  7470. '"btn icon i_globe gray share_150',
  7471. '"s_cross_close"></span> 404:',
  7472. 'optional--',
  7473. 'optional2--',
  7474. "//a[contains(@href,'mixturecloud.com/media/')]"
  7475. );
  7476. }
  7477. if (GM_getValue("Check_akafile_dot_com_links", false))
  7478. {
  7479. addFileHost(
  7480. "akafile\\.com\/\\w+",
  7481. 'download1',
  7482. 'File Not Found',
  7483. 'optional--',
  7484. 'optional2--',
  7485. "//a[contains(@href,'akafile.com/')]"
  7486. );
  7487. }
  7488. if (GM_getValue("Check_creafile_dot_net_links", false))
  7489. {
  7490. addFileHost(
  7491. "creafile\\.net\/\\w+",
  7492. 'downloadblock',
  7493. 'errtitle',
  7494. 'optional--',
  7495. 'optional2--',
  7496. "//a[contains(@href,'creafile.net/')]"
  7497. );
  7498. }
  7499. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7500. {
  7501. addFileHost(
  7502. "hugefiles\\.net\/\\w+",
  7503. 'download1|class="btn-create-download" value="Create Download Link">',
  7504. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7505. 'optional--',
  7506. 'optional2--',
  7507. "//a[contains(@href,'hugefiles.net/')]"
  7508. );
  7509. }
  7510. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7511. {
  7512. addFileHost(
  7513. "sendmyway\\.com\/\\w+",
  7514. 'id="btn_download"',
  7515. '500px;text-align:left;"|<center><h3>',
  7516. 'optional--',
  7517. 'optional2--',
  7518. "//a[contains(@href,'sendmyway.com/')]"
  7519. );
  7520. }
  7521. if (GM_getValue("Check_upload_dot_ee_links", false))
  7522. {
  7523. addFileHost(
  7524. "upload\\.ee\/\\w+",
  7525. 'onmouseout="document.dllink.src',
  7526. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7527. 'optional--',
  7528. 'optional2--',
  7529. "//a[contains(@href,'upload.ee/')]"
  7530. );
  7531. }
  7532. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7533. {
  7534. addFileHost(
  7535. "shareplace\\.org\/\\?\\w+",
  7536. 'Download-Link',
  7537. 'Your requested file is not found|Select file to send',
  7538. 'optional--',
  7539. 'optional2--',
  7540. "//a[contains(@href,'shareplace.org/?')]"
  7541. );
  7542. }
  7543. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7544. {
  7545. addFileHost(
  7546. "uploadc\\.com\/\\w+",
  7547. 'id="prebut"',
  7548. 'File Not Found|This file has been removed due',
  7549. 'optional--',
  7550. 'optional2--',
  7551. "//a[contains(@href,'uploadc.com/')]"
  7552. );
  7553. }
  7554. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7555. {
  7556. addFileHost(
  7557. "uploadc\\.ch\/\\w+",
  7558. 'id="prebut"',
  7559. 'File Not Found|This file has been removed due',
  7560. 'optional--',
  7561. 'optional2--',
  7562. "//a[contains(@href,'uploadc.ch/')]"
  7563. );
  7564. }
  7565. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7566. {
  7567. addFileHost(
  7568. "remixshare\\.com\/\\w+",
  7569. 'id="dl2"',
  7570. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7571. 'optional--',
  7572. 'optional2--',
  7573. "//a[contains(@href,'remixshare.com/')]"
  7574. );
  7575. }
  7576. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7577. {
  7578. addFileHost(
  7579. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7580. 'Last Download :',
  7581. 'img src="\\/404.jpg"',
  7582. 'optional--',
  7583. 'optional2--',
  7584. "//a[contains(@href,'exoshare.com/download.php')]"
  7585. );
  7586. }
  7587. if (GM_getValue("Check_borncash_dot_org_links", false))
  7588. {
  7589. addFileHost(
  7590. "borncash\\.org\/download\/\\?a=\\w+",
  7591. 'class="knop_1"',
  7592. '\/error\/er00',
  7593. 'optional--',
  7594. 'optional2--',
  7595. "//a[contains(@href,'borncash.org/download/')]"
  7596. );
  7597. }
  7598. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7599. {
  7600. addFileHost(
  7601. "vidplay\.net\/\\w+",
  7602. 'solvemedia puzzle widget',
  7603. 'File not found|AVOID_IE_BUG',
  7604. 'optional--',
  7605. 'optional2--',
  7606. "//a[contains(@href,'vidplay.net')]");
  7607. }
  7608. if (GM_getValue("Check_filedais_dot_com_links", false))
  7609. {
  7610. addFileHost(
  7611. "filedais\.com\/\\w+",
  7612. 'class="btn btn-info"|name="method_free"',
  7613. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7614. 'optional--',
  7615. 'optional2--',
  7616. "//a[contains(@href,'filedais.com')]");
  7617. }
  7618. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7619. {
  7620. addFileHost(
  7621. "up.4share\.vn\/\\w+",
  7622. '<font size="2" face="Verdana">',
  7623. 'font: 13px Tahoma; color: Brown',
  7624. 'optional--',
  7625. 'optional2--',
  7626. "//a[contains(@href,'up.4share.vn')]");
  7627. }
  7628. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7629. {
  7630. addFileHost(
  7631. "share.vnn\.vn\/\\w+",
  7632. '"index,follow"|<div class="main" id="download-box">',
  7633. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7634. 'optional--',
  7635. 'optional2--',
  7636. "//a[contains(@href,'share.vnn.vn')]");
  7637. }
  7638. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7639. {
  7640. addFileHost(
  7641. "upfile\.vn\/\\w+",
  7642. 'download-timer',
  7643. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7644. 'optional--',
  7645. 'optional2--',
  7646. "//a[contains(@href,'upfile.vn')]");
  7647. }
  7648. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7649. {
  7650. addFileHost(
  7651. "aisfile\.com\/\\w+",
  7652. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7653. '<div style="width:500px;text-align:left;">|File Not Found',
  7654. 'optional--',
  7655. 'optional2--',
  7656. "//a[contains(@href,'aisfile.com')]");
  7657. }
  7658. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7659. {
  7660. addFileHost(
  7661. "usersfiles\.com\/\\w+",
  7662. 'class="btn btn-success|id="btn_download" class="btn"',
  7663. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7664. 'optional--',
  7665. 'optional2--',
  7666. "//a[contains(@href,'usersfiles.com')]");
  7667. }
  7668. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7669. {
  7670. addFileHost(
  7671. "pan.baidu\.com\/\\w+",
  7672. 'target="_blank" title=|share-personal-info',
  7673. 'share_notfound.png|background:#f9f9f9',
  7674. 'optional--',
  7675. 'optional2--',
  7676. "//a[contains(@href,'pan.baidu.com')]");
  7677. }
  7678. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7679. {
  7680. addFileHost(
  7681. "yunpan\.cn\/\\w+",
  7682. 'class="icon icon-download',
  7683. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7684. 'optional--',
  7685. 'optional2--',
  7686. "//a[contains(@href,'yunpan.cn')]");
  7687. }
  7688. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7689. {
  7690. addFileHost(
  7691. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7692. 'getElementById("downbild")|style.display',
  7693. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7694. 'optional--',
  7695. 'optional2--',
  7696. "//a[contains(@href,'file-upload.net')]");
  7697. }
  7698. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7699. {
  7700. addFileHost(
  7701. "gulfup\.com\/",
  7702. '<!-- Downlod template -->|download.gif',
  7703. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7704. 'optional--',
  7705. 'optional2--',
  7706. "//a[contains(@href,'gulfup.com')]");
  7707. }
  7708. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7709. {
  7710. addFileHost(
  7711. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7712. 'dldtable">',
  7713. 'does not exist\\.',
  7714. 'optional--',
  7715. 'optional2--',
  7716. "//a[contains(@href,'datafilehost.com')]");
  7717. }
  7718. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7719. {
  7720. addFileHost(
  7721. "dropbox\.com\/s\/\\w+",
  7722. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7723. '>Nothing Here<|>Error (404)<',
  7724. 'title>Dropbox - 509|Error (403)|Error: 429',
  7725. 'optional2--',
  7726. "//a[contains(@href,'dropbox.com')]");
  7727. }
  7728. if (GM_getValue("Check_box_dot_net_links", false))
  7729. {
  7730. addFileHost(
  7731. "box\.net\/\\w+",
  7732. 'download-file-btn|id="download_button',
  7733. 'BIyMin.png| <div class="error_message',
  7734. 'optional--',
  7735. 'optional2--',
  7736. "//a[contains(@href,'box.net')]");
  7737. }
  7738. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7739. {
  7740. addFileHost(
  7741. "filedropper\.com\/\\w+",
  7742. 'background:#ddd;|width:985px; ',
  7743. 'background-color:#FFFFFF;|margin-left: -400px;',
  7744. 'optional--',
  7745. 'optional2--',
  7746. "//a[contains(@href,'filedropper.com')]");
  7747. }
  7748. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7749. {
  7750. addFileHost(
  7751. "tropicshare\\.com\/files\/\\d+",
  7752. 'MB</span>|GB</span>|KB</span>',
  7753. '>FNF<|size: </span>',
  7754. 'optional--',
  7755. 'optional2--',
  7756. "//a[contains(@href,'tropicshare.com')]");
  7757. }
  7758. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7759. {
  7760. addFileHost(
  7761. "worldbytez\.com",
  7762. '<div class="download_type">|method_free',
  7763. '<div style="width:500px;text-align:left;">',
  7764. 'optional--',
  7765. 'optional2--',
  7766. "//a[contains(@href,'worldbytez.com')]",
  7767. true);
  7768. }
  7769. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7770. {
  7771. addFileHost(
  7772. "freefilehosting\.net\/\\w+",
  7773. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7774. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7775. 'optional--',
  7776. 'optional2--',
  7777. "//a[contains(@href,'freefilehosting.net')]");
  7778. }
  7779. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7780. {
  7781. addFileHost(
  7782. "ziddu\.com\/\\w+",
  7783. 'downloads.ziddu.com|downloadfilelinkicon',
  7784. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7785. 'optional--',
  7786. 'optional2--',
  7787. "//a[contains(@href,'ziddu.com')]");
  7788. }
  7789. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7790. {
  7791. addFileHost(
  7792. "exclusiveloader\.com\/\\w+",
  7793. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7794. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7795. 'optional--',
  7796. 'optional2--',
  7797. "//a[contains(@href,'exclusiveloader.com')]");
  7798. }
  7799. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7800. {
  7801. addFileHost(
  7802. "sharerapid\.cz\/\\w+",
  7803. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7804. 'error_div">|404 - Not Found',
  7805. 'optional--',
  7806. 'optional2--',
  7807. "//a[contains(@href,'sharerapid.cz')]");
  7808. }
  7809. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7810. {
  7811. addFileHost(
  7812. "sdilej\.cz\/\\w+",
  7813. 'class="page-download"',
  7814. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  7815. 'optional--',
  7816. 'optional2--',
  7817. "//a[contains(@href,'sdilej.cz')]");
  7818. }
  7819. if (GM_getValue("Check_lafiles_dot_com_links", false))
  7820. {
  7821. addFileHost(
  7822. "lafiles\.com\/\\w+",
  7823. '<div id="pay_modes">',
  7824. '<b class="err"></b>',
  7825. 'optional--',
  7826. 'optional2--',
  7827. "//a[contains(@href,'lafiles.com')]");
  7828. }
  7829. if (GM_getValue("Check_acefile_dot_net_links", false))
  7830. {
  7831. addFileHost(
  7832. "acefile\.net\/\\w+",
  7833. 'align=right nowrap><b>',
  7834. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  7835. 'optional--',
  7836. 'optional2--',
  7837. "//a[contains(@href,'acefile.net')]");
  7838. }
  7839. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  7840. {
  7841. addFileHost(
  7842. "megarapid\.cz\/\\w+",
  7843. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7844. 'error_div">|404 - Not Found',
  7845. 'optional--',
  7846. 'optional2--',
  7847. "//a[contains(@href,'megarapid.cz')]");
  7848. }
  7849. if (GM_getValue("Check_yadi_dot_sk_links", false))
  7850. {
  7851. addFileHost(
  7852. "yadi\.sk\/\\w+",
  7853. 'nb-button _nb-small-button',
  7854. 'error code|Nothing found',
  7855. 'optional--',
  7856. 'optional2--',
  7857. "//a[contains(@href,'yadi.sk')]");
  7858. }
  7859. if (GM_getValue("Check_hitfile_dot_net_links", false))
  7860. {
  7861. addFileHost(
  7862. "hitfile\.net\/\\w+",
  7863. 'class="download-file',
  7864. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  7865. 'optional--',
  7866. 'optional2--',
  7867. "//a[contains(@href,'hitfile.net')]");
  7868. }
  7869. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  7870. {
  7871. addFileHost(
  7872. "up.top4top\.net\/\\w+",
  7873. 'start Downlod template',
  7874. 'start err template',
  7875. 'optional--',
  7876. 'optional2--',
  7877. "//a[contains(@href,'up.top4top.net')]");
  7878. }
  7879. if (GM_getValue("Check_filejoker_dot_net_links", false))
  7880. {
  7881. addFileHost(
  7882. "filejoker\.net\/\\w+",
  7883. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  7884. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  7885. 'optional--',
  7886. 'id="download" class="premium-only">',
  7887. "//a[contains(@href,'filejoker.net')]");
  7888. }
  7889. if (GM_getValue("Check_free_dot_fr_links", false))
  7890. {
  7891. addFileHost(
  7892. "(?:dl.\\.|)free\\.fr",
  7893. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  7894. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  7895. 'optional--',
  7896. 'optional2--',
  7897. "//a[contains(@href,'dl.free.fr')]");
  7898. }
  7899. if (GM_getValue("Check_gboxes_dot_com_links", false))
  7900. {
  7901. addFileHost(
  7902. "gboxes\.com\/\\w+",
  7903. 'You have requested|color="red">http://www.gboxes.com',
  7904. 'File Not Found|<div style="width:500px;text-align:left;">',
  7905. 'optional--',
  7906. 'optional2--',
  7907. "//a[contains(@href,'gboxes.com')]");
  7908. }
  7909. if (GM_getValue("Check_led_dot_wf_links", false))
  7910. {
  7911. addFileHost(
  7912. "led\.wf\/\\w+",
  7913. 'logo_0.png|downloads.gif"|verifycode',
  7914. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7915. 'optional--',
  7916. 'available only for Premium users',
  7917. "//a[contains(@href,'led.wf')]");
  7918. }
  7919. if (GM_getValue("Check_lan_dot_wf_links", false))
  7920. {
  7921. addFileHost(
  7922. "lan\.wf\/\\w+",
  7923. 'logo_0.png|downloads.gif"|verifycode',
  7924. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7925. 'optional--',
  7926. 'available only for Premium users',
  7927. "//a[contains(@href,'lan.wf')]");
  7928. }
  7929. if (GM_getValue("Check_adlink_dot_wf_links", false))
  7930. {
  7931. addFileHost(
  7932. "adlink\.wf\/\\w+",
  7933. 'logo_0.png|downloads.gif"|verifycode',
  7934. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7935. 'optional--',
  7936. 'available only for Premium users',
  7937. "//a[contains(@href,'adlink.wf')]");
  7938. }
  7939. if (GM_getValue("Check_click_dot_tf_links", false))
  7940. {
  7941. addFileHost(
  7942. "click\.tf\/\\w+",
  7943. 'logo_0.png|downloads.gif"|verifycode',
  7944. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7945. 'optional--',
  7946. 'available only for Premium users',
  7947. "//a[contains(@href,'click.tf')]");
  7948. }
  7949. if (GM_getValue("Check_ssh_dot_tf_links", false))
  7950. {
  7951. addFileHost(
  7952. "ssh\.tf\/\\w+",
  7953. 'logo_0.png|downloads.gif"|verifycode',
  7954. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7955. 'optional--',
  7956. 'available only for Premium users',
  7957. "//a[contains(@href,'ssh.tf')]");
  7958. }
  7959. if (GM_getValue("Check_ssh_dot_yt_links", false))
  7960. {
  7961. addFileHost(
  7962. "ssh\.yt\/\\w+",
  7963. 'logo_0.png|downloads.gif"|verifycode',
  7964. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  7965. 'optional--',
  7966. 'available only for Premium users',
  7967. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  7968. }
  7969. if (GM_getValue("Check_yep_dot_pm_links", false))
  7970. {
  7971. addFileHost(
  7972. "yep\.pm\/\\w+",
  7973. 'logo_0.png|downloads.gif"|verifycode',
  7974. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7975. 'optional--',
  7976. 'available only for Premium users',
  7977. "//a[contains(@href,'yep.pm')]");
  7978. }
  7979. if (GM_getValue("Check_kyc_dot_pm_links", false))
  7980. {
  7981. addFileHost(
  7982. "kyc\.pm\/\\w+",
  7983. 'logo_0.png|downloads.gif"|verifycode',
  7984. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  7985. 'optional--',
  7986. 'available only for Premium users',
  7987. "//a[contains(@href,'kyc.pm')]");
  7988. }
  7989. if (GM_getValue("Check_brupload_dot_net_links", false))
  7990. {
  7991. addFileHost(
  7992. "brupload\.net\/\\w+",
  7993. 'Download Gratuito',
  7994. '<div style="width:500px;text-align:left;">',
  7995. 'optional--',
  7996. 'optional2--',
  7997. "//a[contains(@href,'brupload.net')]");
  7998. }
  7999. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8000. {
  8001. addFileHost(
  8002. "cloudzilla\.to\/\\w+",
  8003. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8004. 'File not found|/imgs/broken.png',
  8005. 'optional--',
  8006. 'optional2--',
  8007. "//a[contains(@href,'cloudzilla.to')]");
  8008. }
  8009. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8010. {
  8011. addFileHost(
  8012. "clicknupload\.com\/\\w+",
  8013. 'name="method_free',
  8014. 'File Not Found',
  8015. 'optional--',
  8016. 'optional2--',
  8017. "//a[contains(@href,'clicknupload.com')]");
  8018. }
  8019. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8020. {
  8021. addFileHost(
  8022. "clicknupload\.me\/\\w+",
  8023. 'name="method_free',
  8024. 'File Not Found',
  8025. 'optional--',
  8026. 'optional2--',
  8027. "//a[contains(@href,'clicknupload.me')]");
  8028. }
  8029. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8030. {
  8031. addFileHost(
  8032. "clicknupload\.link\/\\w+",
  8033. 'name="method_free',
  8034. 'File Not Found',
  8035. 'optional--',
  8036. 'optional2--',
  8037. "//a[contains(@href,'clicknupload.link')]");
  8038. }
  8039. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8040. {
  8041. addFileHost(
  8042. "ex-load\.com\/\\w+",
  8043. 'name="method_free|<p>Download File:</p>',
  8044. 'Folder Not Found|File Not Found|Error 404',
  8045. 'optional--',
  8046. 'class="downprem wow bounceInLeft',
  8047. "//a[contains(@href,'ex-load.com')]");
  8048. }
  8049. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8050. {
  8051. addFileHost(
  8052. "hexupload\.com\/\\w+",
  8053. 'button" value="Free|type="submit" value=""',
  8054. 'File Not Found|<div style="width:500px;text-align:left;">',
  8055. 'optional--',
  8056. 'optional2--',
  8057. "//a[contains(@href,'hexupload.com')]");
  8058. }
  8059. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8060. {
  8061. addFileHost(
  8062. "wizupload\.com\/\\w+",
  8063. 'btn_download|class="downloadbtn"',
  8064. '>File Not Found<',
  8065. 'optional--',
  8066. 'optional2--',
  8067. "//a[contains(@href,'wizupload.com')]");
  8068. }
  8069. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8070. {
  8071. addFileHost(
  8072. "inclouddrive\.com\/\\w+",
  8073. 'initfreedownload',
  8074. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8075. 'optional--',
  8076. 'optional2--',
  8077. "//a[contains(@href,'inclouddrive.com')]");
  8078. }
  8079. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8080. {
  8081. addFileHost(
  8082. "radicalshare\.com\/\\w+",
  8083. 'value="download1|name="method_free"',
  8084. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8085. 'optional--',
  8086. 'optional2--',
  8087. "//a[contains(@href,'radicalshare.com')]");
  8088. }
  8089. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8090. {
  8091. addFileHost(
  8092. "sharemods\.com\/\\w+",
  8093. 'name="method_free"',
  8094. 'File Not Found<',
  8095. 'optional--',
  8096. 'optional2--',
  8097. "//a[contains(@href,'sharemods.com')]");
  8098. }
  8099. if (GM_getValue("Check_hostr_dot_co_links", false))
  8100. {
  8101. addFileHost(
  8102. "hostr\.co\/\\w+",
  8103. 'method="get"',
  8104. 'File not found<|error-page',
  8105. 'optional--',
  8106. 'optional2--',
  8107. "//a[contains(@href,'hostr.co')]");
  8108. }
  8109. if (GM_getValue("Check_filepi_dot_com_links", false))
  8110. {
  8111. addFileHost(
  8112. "filepi\.com\/\\w+",
  8113. 'id="button_start">',
  8114. 'File not found',
  8115. 'optional--',
  8116. 'optional2--',
  8117. "//a[contains(@href,'filepi.com')]");
  8118. }
  8119. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8120. {
  8121. addFileHost(
  8122. "tikfile\.com\/\\w+",
  8123. 'btn_download',
  8124. 'File Not Found|file was removed|Reason for deletion',
  8125. 'optional--',
  8126. 'optional2--',
  8127. "//a[contains(@href,'tikfile.com')]");
  8128. }
  8129. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8130. {
  8131. addFileHost(
  8132. "cloudsix\.me\/\\w+",
  8133. 'name="method_free"',
  8134. 'File Not Found|width:500px;text-align:left;">',
  8135. 'optional--',
  8136. 'optional2--',
  8137. "//a[contains(@href,'cloudsix.me')]");
  8138. }
  8139. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8140. {
  8141. addFileHost(
  8142. "neodrive\.co\/\\w+",
  8143. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8144. 'File not found|/imgs/broken.png',
  8145. 'optional--',
  8146. 'optional2--',
  8147. "//a[contains(@href,'neodrive.co')]");
  8148. }
  8149. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8150. {
  8151. addFileHost(
  8152. "chayfile\.com\/\\w+",
  8153. 'name="method_free"',
  8154. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8155. 'optional--',
  8156. 'optional2--',
  8157. "//a[contains(@href,'chayfile.com')]");
  8158. }
  8159. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8160. {
  8161. addFileHost(
  8162. "xfileload\.com\/\\w+",
  8163. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8164. 'The file you were looking for could not be found, sorry for any inconvenience.|Die von Ihnen angeforderte Datei konnte nicht gefunden werden..|le fichier que vous recherchiez ne pourrait pas etre trouve, désole pour aucun derangement|لم يتم إيجاد الملف المطلوب , عذراً للإزعاج|Istenen dosya bulunamadД±..|Plik ktorego szukasz nie zostal odnaleziony na naszych serwerach, przepraszamy.|El archivo que usted buscaba no podrнa ser encontrado, arrepentido para ningъn inconveniente.|File yang sedang anda cari tidak dapat ditemukan, maaf untuk ketidaknyamanan anda saat ini.|De bestand waar u naar zocht is niet gevonden, excuses voor het ongemak..|הקובץ שחיפשת לא נמצא.',
  8165. 'optional--',
  8166. 'optional2--',
  8167. "//a[contains(@href,'xfileload.com')]");
  8168. }
  8169. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8170. {
  8171. addFileHost(
  8172. "rockfile\.eu\/\\w+",
  8173. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8174. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8175. 'optional--',
  8176. 'optional2--',
  8177. "//a[contains(@href,'rockfile.eu')]");
  8178. }
  8179. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8180. {
  8181. addFileHost(
  8182. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8183. 'i/icon/dll.png"|>Start download<br',
  8184. 'no longer available<|i/ino.png"',
  8185. 'optional--',
  8186. 'optional2--',
  8187. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8188. }
  8189. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8190. {
  8191. addFileHost(
  8192. "ozofiles\.com\/\\w+",
  8193. 'button" value="Free|name="method_free',
  8194. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8195. 'optional--',
  8196. 'optional2--',
  8197. "//a[contains(@href,'ozofiles.com')]");
  8198. }
  8199. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8200. {
  8201. addFileHost(
  8202. "userscloud\.com\/\\w+",
  8203. 'btn_download|class="label label-success">',
  8204. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8205. 'optional--',
  8206. 'optional2--',
  8207. "//a[contains(@href,'userscloud.com')]");
  8208. }
  8209. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8210. {
  8211. addFileHost(
  8212. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8213. 'class="button download',
  8214. 'internal server error',
  8215. 'optional--',
  8216. 'optional2--',
  8217. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8218. }
  8219. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8220. {
  8221. addFileHost(
  8222. "kb.simple-aja\.info\/\\w+",
  8223. 'class="button download',
  8224. 'internal server error|<p>404</p>',
  8225. 'optional--',
  8226. 'optional2--',
  8227. "//a[contains(@href,'kb.simple')]");
  8228. }
  8229. if (GM_getValue("Check_faststore_dot_org_links", false))
  8230. {
  8231. addFileHost(
  8232. "faststore\.org\/\\w+",
  8233. 'name="method_free',
  8234. 'File Not Found',
  8235. 'optional--',
  8236. 'optional2--',
  8237. "//a[contains(@href,'faststore.org')]");
  8238. }
  8239. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8240. {
  8241. addFileHost(
  8242. "prefiles\.com\/\\w+",
  8243. 'id="method_free',
  8244. 'File not Found',
  8245. 'optional--',
  8246. 'optional2--',
  8247. "//a[contains(@href,'prefiles.com')]");
  8248. }
  8249. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8250. {
  8251. addFileHost(
  8252. "doraupload\.com\/\\w+",
  8253. 'btn_download|name="method_free',
  8254. 'class="error-code|Could Not Be Found',
  8255. 'optional--',
  8256. 'optional2--',
  8257. "//a[contains(@href,'doraupload.com')]");
  8258. }
  8259. if (GM_getValue("Check_openload_dot_io_links", false))
  8260. {
  8261. addFileHost(
  8262. "openload\.io\/\\w+",
  8263. 'btn btn-primary|class="count">|secondsleftouter',
  8264. 'class="jumbotron">|We are sorry',
  8265. 'optional--',
  8266. 'optional2--',
  8267. "//a[contains(@href,'openload.io')]");
  8268. }
  8269. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8270. {
  8271. addFileHost(
  8272. "zxcfiles\.com\/\\w+",
  8273. 'class="downloadbtn',
  8274. 'File Not Found',
  8275. 'optional--',
  8276. 'optional2--',
  8277. "//a[contains(@href,'zxcfiles.com')]");
  8278. }
  8279. if (GM_getValue("Check_up07_dot_net_links", false))
  8280. {
  8281. addFileHost(
  8282. "up07\.net\/\\w+",
  8283. 'name="method_free',
  8284. 'File Not Found',
  8285. 'optional--',
  8286. 'optional2--',
  8287. "//a[contains(@href,'up07.net')]");
  8288. }
  8289. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8290. {
  8291. addFileHost(
  8292. "fileupload\.pw\/\\w+",
  8293. 'value="Free"',
  8294. 'File Not Found',
  8295. 'optional--',
  8296. 'optional2--',
  8297. "//a[contains(@href,'fileupload.pw')]");
  8298. }
  8299. if (GM_getValue("Check_4upld_dot_com_links", false))
  8300. {
  8301. addFileHost(
  8302. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8303. 'alt="Download Now"|content="Download file">|btn-free-element',
  8304. '<title>Error|content="error|File not found',
  8305. 'optional--',
  8306. 'optional2--',
  8307. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8308. }
  8309. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8310. {
  8311. addFileHost(
  8312. "(?:.swoopshare)\\.com\/\\w+",
  8313. 'Click below to start|Klicken Sie nachfolgend|Cliquez ci-après pour|Cliccate qui per iniziare|Klik hierna om het bestand|Haga ahora clic para iniciar la',
  8314. '<input type="file" name="f"',
  8315. 'optional--',
  8316. 'optional2--',
  8317. "//a[contains(@href,'swoopshare.com')]"
  8318. );
  8319. }
  8320. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8321. {
  8322. addFileHost(
  8323. "cloudshares\.net\/\\w+",
  8324. '"method_free|"Low Speed Download|submit" name="go',
  8325. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8326. 'optional--',
  8327. 'optional2--',
  8328. "//a[contains(@href,'cloudshares.net')]"
  8329. );
  8330. }
  8331. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8332. {
  8333. addFileHost(
  8334. "allmyvideos\.net\/\\w+",
  8335. 'Continue to Video',
  8336. 'File Not Found|class="err">Removed for',
  8337. 'optional--',
  8338. 'optional2--',
  8339. "//a[contains(@href,'allmyvideos.net')]"
  8340. );
  8341. }
  8342. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8343. {
  8344. addFileHost(
  8345. "vodlocker\.com\/\\w+",
  8346. 'Proceed to video',
  8347. 'Not Found',
  8348. 'optional--',
  8349. 'optional2--',
  8350. "//a[contains(@href,'vodlocker.com')]"
  8351. );
  8352. }
  8353. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8354. {
  8355. addFileHost(
  8356. "vidbull\.com\/\\w+",
  8357. 'Verifying Video Request',
  8358. 'File Not Found',
  8359. 'optional--',
  8360. 'optional2--',
  8361. "//a[contains(@href,'vidbull.com')]");
  8362. }
  8363. if (GM_getValue("Check_novamov_dot_com_links", false))
  8364. {
  8365. addFileHost(
  8366. "novamov\.com\/\\w+",
  8367. 'For version detection',
  8368. 'file no longer exists',
  8369. 'optional--',
  8370. 'optional2--',
  8371. "//a[contains(@href,'novamov.com')]"
  8372. );
  8373. }
  8374. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8375. {
  8376. addFileHost(
  8377. "filehoot\.com\/\\w+",
  8378. 'Continue to watch',
  8379. 'File Not Found',
  8380. 'optional--',
  8381. 'optional2--',
  8382. "//a[contains(@href,'filehoot.com')]"
  8383. );
  8384. }
  8385. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8386. {
  8387. addFileHost(
  8388. "stagevu\.com\/\\w+",
  8389. 'Video Info',
  8390. 'No video with the provided',
  8391. 'optional--',
  8392. 'optional2--',
  8393. "//a[contains(@href,'stagevu.com')]"
  8394. );
  8395. }
  8396. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8397. {
  8398. addFileHost(
  8399. "cloudtime\.to\/\\w+",
  8400. 'Download the video',
  8401. 'no longer exists',
  8402. 'optional--',
  8403. 'optional2--',
  8404. "//a[contains(@href,'cloudtime.to')]"
  8405. );
  8406. }
  8407. if (GM_getValue("Check_streamin_dot_to_links", false))
  8408. {
  8409. addFileHost(
  8410. "streamin\.to\/\\w+",
  8411. 'id="btn_download',
  8412. 'Not Found|Copyright Infringement|File Deleted',
  8413. 'optional--',
  8414. 'optional2--',
  8415. "//a[contains(@href,'streamin.to')]"
  8416. );
  8417. }
  8418. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8419. {
  8420. addFileHost(
  8421. "videoweed\.es\/\\w+",
  8422. 'version detection',
  8423. 'no longer exists',
  8424. 'optional--',
  8425. 'optional2--',
  8426. "//a[contains(@href,'videoweed.es')]"
  8427. );
  8428. }
  8429. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8430. {
  8431. addFileHost(
  8432. "nowvideo\.sx\/\\w+",
  8433. 'Download this video|value="submit">Continue',
  8434. 'no longer exists',
  8435. 'optional--',
  8436. 'optional2--',
  8437. "//a[contains(@href,'nowvideo.sx')]"
  8438. );
  8439. }
  8440. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8441. {
  8442. addFileHost(
  8443. "thevideo\.me\/\\w+",
  8444. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8445. 'File Not Found',
  8446. 'optional--',
  8447. 'optional2--',
  8448. "//a[contains(@href,'thevideo.me')]"
  8449. );
  8450. }
  8451. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8452. {
  8453. addFileHost(
  8454. "gorillavid\.in\/\\w+",
  8455. 'Wait 5 seconds',
  8456. 'File Not Found',
  8457. 'optional--',
  8458. 'optional2--',
  8459. "//a[contains(@href,'gorillavid.in')]"
  8460. );
  8461. }
  8462. if (GM_getValue("Check_thefile_dot_me_links", false))
  8463. {
  8464. addFileHost(
  8465. "thefile\.me\/\\w+",
  8466. 'Choose free or',
  8467. '',
  8468. 'optional--',
  8469. 'optional2--',
  8470. "//a[contains(@href,'thefile.me')]"
  8471. );
  8472. }
  8473. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8474. {
  8475. addFileHost(
  8476. "vidzi\.tv\/\\w+",
  8477. 'video-embed-modal row',
  8478. 'File Not Found|file was deleted',
  8479. 'optional--',
  8480. 'optional2--',
  8481. "//a[contains(@href,'vidzi.tv')]"
  8482. );
  8483. }
  8484. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8485. {
  8486. addFileHost(
  8487. "filenuke\.com\/\\w+",
  8488. 'Download File',
  8489. 'Earn with us',
  8490. 'optional--',
  8491. 'optional2--',
  8492. "//a[contains(@href,'filenuke.com')]"
  8493. );
  8494. }
  8495. if (GM_getValue("Check_vidto_dot_me_links", false))
  8496. {
  8497. addFileHost(
  8498. "vidto\.me\/\\w+",
  8499. 'Proceed to video',
  8500. 'Not Found',
  8501. 'optional--',
  8502. 'optional2--',
  8503. "//a[contains(@href,'vidto.me')]"
  8504. );
  8505. }
  8506. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8507. {
  8508. addFileHost(
  8509. "vidspot\.net\/\\w+",
  8510. 'Duration|method_free',
  8511. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8512. 'optional--',
  8513. 'optional2--',
  8514. "//a[contains(@href,'vidspot.net')]"
  8515. );
  8516. }
  8517. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8518. {
  8519. addFileHost(
  8520. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8521. 'Download File',
  8522. 'File Not Found',
  8523. 'optional--',
  8524. 'optional2--',
  8525. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8526. );
  8527. }
  8528. if (GM_getValue("Check_movpod_dot_in_links", false))
  8529. {
  8530. addFileHost(
  8531. "movpod\.in\/\\w+",
  8532. 'Continue',
  8533. 'File Not Found',
  8534. 'optional--',
  8535. 'optional2--',
  8536. "//a[contains(@href,'movpod.in')]"
  8537. );
  8538. }
  8539. if (GM_getValue("Check_down4files_dot_com_links", false))
  8540. {
  8541. addFileHost(
  8542. "down4files\.com\/\\w+",
  8543. 'down_table.png',
  8544. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8545. 'optional--',
  8546. 'optional2--',
  8547. "//a[contains(@href,'down4files.com')]"
  8548. );
  8549. }
  8550. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8551. {
  8552. addFileHost(
  8553. "storefiles\.co\/\\w+",
  8554. 'btn_download',
  8555. 'No such file|>Error<|mqmaintitle">',
  8556. 'optional--',
  8557. 'optional2--',
  8558. "//a[contains(@href,'storefiles.co')]"
  8559. );
  8560. }
  8561. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8562. {
  8563. addFileHost(
  8564. "filehost\.pw\/\\w+",
  8565. 'name="method_free',
  8566. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8567. 'optional--',
  8568. 'optional2--',
  8569. "//a[contains(@href,'filehost.pw')]"
  8570. );
  8571. }
  8572. if (GM_getValue("Check_uplea_dot_com_links", false))
  8573. {
  8574. addFileHost(
  8575. "uplea\.com\/\\w+",
  8576. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8577. 'expired link|ou est invalide',
  8578. 'optional--',
  8579. 'optional2--',
  8580. "//a[contains(@href,'uplea.com/dl')]",
  8581. true);
  8582. }
  8583. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8584. {
  8585. addFileHost(
  8586. "toutbox\.fr\/\\w+",
  8587. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8588. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8589. 'Serviço temporariamente indisponível',
  8590. 'optional2--',
  8591. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8592. );
  8593. }
  8594. if (GM_getValue("Check_openload_dot_co_links", false))
  8595. {
  8596. addFileHost(
  8597. "openload\.co\/\\w+",
  8598. 'id="downloadTimer">|button dlbutton',
  8599. 'jumbotron{color|got deleted|center !important',
  8600. 'optional--',
  8601. 'optional2--',
  8602. "//a[contains(@href,'openload.co')]"
  8603. );
  8604. }
  8605. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8606. {
  8607. addFileHost(
  8608. "lolabits\.es\/\\w+",
  8609. 'Descargar:',
  8610. '<title>Archivos de usuario',
  8611. 'Service Unavailable',
  8612. 'optional2--',
  8613. "//a[contains(@href,'lolabits.es')]"
  8614. );
  8615. }
  8616. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8617. {
  8618. addFileHost(
  8619. "alfafile\.net\/\\w+",
  8620. 'id="slow_download_btn',
  8621. 'class="error-box">',
  8622. 'optional--',
  8623. 'optional2--',
  8624. "//a[contains(@href,'alfafile.net')]"
  8625. );
  8626. }
  8627. if (GM_getValue("Check_multiup_dot_org_links", false))
  8628. {
  8629. addFileHost(
  8630. "multiup\.org\/\\w+",
  8631. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8632. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8633. 'optional--',
  8634. 'optional2--',
  8635. "//a[contains(@href,'multiup.org')]"
  8636. );
  8637. }
  8638. if (GM_getValue("Check_file_dot_al_links", false))
  8639. {
  8640. addFileHost(
  8641. "file\.al\/\\w+",
  8642. 'method_free',
  8643. 'style="width:500px;text-align:left;">',
  8644. 'optional--',
  8645. 'optional2--',
  8646. "//a[contains(@href,'file.al')]"
  8647. );
  8648. }
  8649. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8650. {
  8651. addFileHost(
  8652. "devilshare\.net\/\\w+",
  8653. '<div class="large-12" id="download">',
  8654. '(Link: 0 Invalid)|File Not Found',
  8655. 'optional--',
  8656. 'optional2--',
  8657. "//a[contains(@href,'devilshare.net')]"
  8658. );
  8659. }
  8660. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8661. {
  8662. addFileHost(
  8663. "dailyuploads\.net\/\\w+",
  8664. 'id="downloadBtnClickOrignal',
  8665. '<div style="width:500px;text-align:left;">',
  8666. 'optional--',
  8667. 'optional2--',
  8668. "//a[contains(@href,'dailyuploads.net')]"
  8669. );
  8670. }
  8671. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8672. {
  8673. addFileHost(
  8674. "datoteke\.com\/\\w+",
  8675. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8676. '&nbsp;File has been removed',
  8677. 'optional--',
  8678. '<title>Error - Datoteke',
  8679. "//a[contains(@href,'datoteke.com')]"
  8680. );
  8681. }
  8682. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8683. {
  8684. addFileHost(
  8685. "sharehost\.eu\/\\w+",
  8686. '/?v=download_free&',
  8687. 'Errors occured|Wystąpiły błędy',
  8688. 'optional--',
  8689. 'optional2--',
  8690. "//a[contains(@href,'sharehost.eu')]"
  8691. );
  8692. }
  8693. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8694. {
  8695. addFileHost(
  8696. "pornfile\.cz\/\\w+",
  8697. 'Stáhnout soubor',
  8698. 'Soubor byl smazán',
  8699. 'optional--',
  8700. 'optional2--',
  8701. "//a[contains(@href,'pornfile.cz')]"
  8702. );
  8703. }
  8704. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8705. {
  8706. addFileHost(
  8707. "pornoid\.cz\/\\w+",
  8708. 'class="btn btn-large btn-download',
  8709. 'Soubor byl smazán',
  8710. 'optional--',
  8711. 'optional2--',
  8712. "//a[contains(@href,'pornoid.cz')]"
  8713. );
  8714. }
  8715. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8716. {
  8717. addFileHost(
  8718. "file-share\.top\/\\w+",
  8719. 'btn-success btn-lg download',
  8720. 'Stránka neexistuje|404 Not Found',
  8721. 'optional--',
  8722. 'optional2--',
  8723. "//a[contains(@href,'file-share.top')]"
  8724. );
  8725. }
  8726. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8727. {
  8728. addFileHost(
  8729. "bitster\.cz\/",
  8730. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8731. 'section" content=""',
  8732. 'optional--',
  8733. 'optional2--',
  8734. "//a[contains(@href,'bitster.cz')]"
  8735. );
  8736. }
  8737. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8738. {
  8739. addFileHost(
  8740. "rapidu\.net\/\\w+",
  8741. 'onclick="downloadFreeFile',
  8742. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8743. 'optional--',
  8744. 'optional2--',
  8745. "//a[contains(@href,'rapidu.net')]"
  8746. );
  8747. }
  8748. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8749. {
  8750. addFileHost(
  8751. "dinoshare\.cz\/\\w+",
  8752. 'class="download-button"',
  8753. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8754. 'optional--',
  8755. 'optional2--',
  8756. "//a[contains(@href,'dinoshare.cz')]"
  8757. );
  8758. }
  8759. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  8760. {
  8761. addFileHost(
  8762. "bytewhale\.com\/\\w+",
  8763. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  8764. 'var rawest = "0 MB|Copyrights Claim</div>',
  8765. 'optional--',
  8766. 'This file is available for premium members only',
  8767. "//a[contains(@href,'bytewhale.com')]"
  8768. );
  8769. }
  8770. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  8771. {
  8772. addFileHost(
  8773. "rapidrar\.com\/\\w+",
  8774. 'value="Free Download',
  8775. '<div style="width:500px;text-align:left;">',
  8776. 'optional--',
  8777. 'optional--',
  8778. "//a[contains(@href,'rapidrar.com')]"
  8779. );
  8780. }
  8781. if (GM_getValue("Check_filesupload_dot_org_links", false))
  8782. {
  8783. addFileHost(
  8784. "filesupload\.org\/\\w+",
  8785. '<a href="/download-or-watch/',
  8786. 'File not found',
  8787. 'optional--',
  8788. 'optional--',
  8789. "//a[contains(@href,'filesupload.org')]"
  8790. );
  8791. }
  8792. if (GM_getValue("Check_filecad_dot_com_links", false))
  8793. {
  8794. addFileHost(
  8795. "filecad\.com\/\\w+",
  8796. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  8797. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  8798. 'optional--',
  8799. 'optional--',
  8800. "//a[contains(@href,'filecad.com')]"
  8801. );
  8802. }
  8803. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  8804. {
  8805. addFileHost(
  8806. "file.up09\.com\/\\w+",
  8807. 'name="method_free',
  8808. 'style="width:500px;text-align:left;">',
  8809. 'optional--',
  8810. 'optional--',
  8811. "//a[contains(@href,'file.up09.com')]"
  8812. );
  8813. }
  8814. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  8815. {
  8816. addFileHost(
  8817. "lunaticfiles\.com\/\\w+",
  8818. 'name="method_free"',
  8819. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  8820. 'optional--',
  8821. 'optional--',
  8822. "//a[contains(@href,'lunaticfiles.com')]"
  8823. );
  8824. }
  8825. if (GM_getValue("Check_upload_dot_af_links", false))
  8826. {
  8827. addFileHost(
  8828. "upload\.af\/\\w+",
  8829. 'id="method_free"',
  8830. '<h1>File Not Found</|could not be found|est pas disponible|Datei konnte nicht gefunden werden|م يتم إيجاد الملف المطلوب , عذراً للإزعاج|nie zostal odnaleziony|ファイルが見つかりません',
  8831. 'optional--',
  8832. 'optional--',
  8833. "//a[contains(@href,'upload.af')]"
  8834. );
  8835. }
  8836. if (GM_getValue("Check_filedwon_dot_info_links", false))
  8837. {
  8838. addFileHost(
  8839. "filedwon\.info\/\\w+",
  8840. 'name="method_free"',
  8841. 'File Not Found</b>|style="width:500px;text-align:left;">',
  8842. 'optional--',
  8843. 'optional--',
  8844. "//a[contains(@href,'filedwon.info')]"
  8845. );
  8846. }
  8847. if (GM_getValue("Check_uplod_dot_it_links", false))
  8848. {
  8849. addFileHost(
  8850. "uplod\.it\/\\w+",
  8851. 'value="download2">|name="method_free',
  8852. '<Title>Download </Title>',
  8853. 'optional--',
  8854. 'optional--',
  8855. "//a[contains(@href,'uplod.it')]"
  8856. );
  8857. }
  8858. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  8859. {
  8860. addFileHost(
  8861. "abelhas\.pt\/\\w+",
  8862. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  8863. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  8864. 'optional--',
  8865. 'optional--',
  8866. "//a[contains(@href,'abelhas.pt')]"
  8867. );
  8868. }
  8869. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  8870. {
  8871. addFileHost(
  8872. "disk.yandex\.com\/\\w+",
  8873. 'nb-button _nb-small-button',
  8874. 'error code|Nothing found',
  8875. 'optional--',
  8876. 'optional2--',
  8877. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  8878. }
  8879. if (GM_getValue("Check_filespace_dot_com_links", false))
  8880. {
  8881. addFileHost(
  8882. "filespace\.com\/\\w+",
  8883. 'name="method_free',
  8884. '<div style="text-align:left;"><ul>|>File not found.<',
  8885. 'optional1--',
  8886. 'optional2--',
  8887. "//a[contains(@href,'filespace.com')]");
  8888. }
  8889. if (GM_getValue("Check_uploads_dot_ws_links", false))
  8890. {
  8891. addFileHost(
  8892. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  8893. 'name="downloadFile|id="downloadFile|value="Wait',
  8894. '<title>File not found</title>|>Error:<',
  8895. 'optional1--',
  8896. 'optional2--',
  8897. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  8898. }
  8899. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  8900. {
  8901. addFileHost(
  8902. "ncrypt\.in\/\\w+",
  8903. 'Sicherheitsabfrage:|Securitycheck:',
  8904. 'does not exist|existiert nicht',
  8905. 'optional1--',
  8906. 'optional2--',
  8907. "//a[contains(@href,'ncrypt.in')]");
  8908. }
  8909. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  8910. {
  8911. addFileHost(
  8912. "jeodrive\.com\/\\w+",
  8913. 'btn-lg regular',
  8914. 'Not found',
  8915. 'optional1--',
  8916. 'optional2--',
  8917. "//a[contains(@href,'jeodrive.com')]");
  8918. }
  8919. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  8920. {
  8921. addFileHost(
  8922. "myfiles\.onl\/\\w+",
  8923. 'value="Free"',
  8924. '<div style="width:500px;text-align:left;">',
  8925. 'optional1--',
  8926. 'optional2--',
  8927. "//a[contains(@href,'myfiles.onl')]");
  8928. }
  8929. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  8930. {
  8931. addFileHost(
  8932. "uploadserv\.com\/\\w+",
  8933. 'color="red">http://uploadserv.com/',
  8934. 'content="Download File ">|<title>Download </title>',
  8935. 'optional1--',
  8936. 'optional2--',
  8937. "//a[contains(@href,'uploadserv.com')]");
  8938. }
  8939. if (GM_getValue("Check_keepshare_dot_net_links", false))
  8940. {
  8941. addFileHost(
  8942. "keepshare\.net\/\\w+",
  8943. 'method_free',
  8944. '<div style="width:500px;text-align:left;">',
  8945. 'optional1--',
  8946. 'optional2--',
  8947. "//a[contains(@href,'keepshare.net')]");
  8948. }
  8949. if (GM_getValue("Check_oload_dot_net_links", false))
  8950. {
  8951. addFileHost(
  8952. "oload\.net\/\\w+",
  8953. '<font color="red">http://oload.net',
  8954. 'class="page-ttl">',
  8955. 'optional1--',
  8956. 'optional2--',
  8957. "//a[contains(@href,'oload.net')]");
  8958. }
  8959. if (GM_getValue("Check_filescdn_dot_com_links", false))
  8960. {
  8961. addFileHost(
  8962. "filescdn\.com\/\\w+",
  8963. 'btn bg-green-40|btn_download',
  8964. 'icon-warning text-danger',
  8965. 'optional1--',
  8966. 'optional2--',
  8967. "//a[contains(@href,'filescdn.com')]");
  8968. }
  8969. if (GM_getValue("Check_bankupload_dot_com_links", false))
  8970. {
  8971. addFileHost(
  8972. "bankupload\.com\/\\w+",
  8973. 'id="btn_download"|1.0 GB',
  8974. '<div style="width:500px;text-align:left;">',
  8975. 'optional1--',
  8976. ' GB',
  8977. "//a[contains(@href,'bankupload.com')]");
  8978. }
  8979. if (GM_getValue("Check_katfile_dot_com_links", false))
  8980. {
  8981. addFileHost(
  8982. "katfile\.com\/\\w+",
  8983. 'KB| MB|1.0 GB',
  8984. 'images/file_not_found.png"',
  8985. 'optional1--',
  8986. ' GB',
  8987. "//a[contains(@href,'katfile.com')]");
  8988. }
  8989. if (GM_getValue("Check_filesin_dot_space_links", false))
  8990. {
  8991. addFileHost(
  8992. "filesin\.space\/\\w+",
  8993. 'id="btn_download"',
  8994. 'class="err">',
  8995. 'optional1--',
  8996. 'optional2',
  8997. "//a[contains(@href,'filesin.space')]");
  8998. }
  8999. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9000. {
  9001. addFileHost(
  9002. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9003. 'download.php',
  9004. 'notfound|upload\\-suborov\\.php"',
  9005. 'optional--',
  9006. 'optional2--',
  9007. "//a[contains(@href,'upnito.sk')]"
  9008. );
  9009. }
  9010. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9011. {
  9012. addFileHost(
  9013. "alltu\.eu\/\\w+",
  9014. 'download-timer',
  9015. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9016. 'optional1--',
  9017. 'optional2',
  9018. "//a[contains(@href,'alltu.eu')]");
  9019. }
  9020. if (GM_getValue("Check_novafile_dot_com_links", false))
  9021. {
  9022. addFileHost(
  9023. "novafile\.com\/\\w+",
  9024. 'id="regular-download',
  9025. 'id="file-not-found',
  9026. 'optional1--',
  9027. 'id="premium-only',
  9028. "//a[contains(@href,'novafile.com')]");
  9029. }
  9030. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9031. {
  9032. addFileHost(
  9033. "uploadgig\.com\/\\w+",
  9034. 'btn-default',
  9035. 'File not found',
  9036. 'optional1--',
  9037. 'optional2',
  9038. "//a[contains(@href,'uploadgig.com')]");
  9039. }
  9040. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9041. {
  9042. addFileHost(
  9043. "mexashare\.com\/\\w+",
  9044. 'method_free',
  9045. '404 Error|15px;border-radius:15px">',
  9046. 'optional1--',
  9047. 'optional2',
  9048. "//a[contains(@href,'mexashare.com')]");
  9049. }
  9050. if (GM_getValue("Check_daofile_dot_com_links", false))
  9051. {
  9052. addFileHost(
  9053. "daofile\.com\/\\w+",
  9054. 'class="captcha_code',
  9055. 'style="width:500px;text-align:left;">',
  9056. 'optional1--',
  9057. 'optional2',
  9058. "//a[contains(@href,'daofile.com')]");
  9059. }
  9060. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9061. {
  9062. addFileHost(
  9063. "imagenetz\.de\/\\w+",
  9064. 'id="download',
  9065. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9066. 'optional1--',
  9067. 'optional2',
  9068. "//a[contains(@href,'imagenetz.de')]");
  9069. }
  9070. if (GM_getValue("Check_uloz_dot_to_links", false))
  9071. {
  9072. addFileHost(
  9073. "uloz\.to",
  9074. 'limitedDownloadButton|Stáhnout pomalu',
  9075. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9076. 'optional1--',
  9077. 'optional2',
  9078. "//a[contains(@href,'uloz.to')]");
  9079. }
  9080. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9081. {
  9082. addFileHost(
  9083. "ulozto\.net",
  9084. 'limitedDownloadButton|Stáhnout pomalu',
  9085. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9086. 'optional1--',
  9087. 'optional2',
  9088. "//a[contains(@href,'ulozto.net')]");
  9089. }
  9090. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9091. {
  9092. addFileHost(
  9093. "subyshare\.com\/\\w+",
  9094. 'id="method_free',
  9095. 'file was removed|class="err">',
  9096. 'optional1--',
  9097. 'optional2',
  9098. "//a[contains(@href,'subyshare.com')]");
  9099. }
  9100. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9101. {
  9102. addFileHost(
  9103. "fileshareup\.com\/\\w+",
  9104. 'download-timer|btn-free-element|content="Download file',
  9105. 'content="Error"|content="error|heading-1">Error<',
  9106. 'optional1--',
  9107. 'optional2',
  9108. "//a[contains(@href,'fileshareup.com')]");
  9109. }
  9110. if (GM_getValue("Check_mystore_dot_to_links", false))
  9111. {
  9112. addFileHost(
  9113. "mystore\.to\/\\w+",
  9114. 'Download File',
  9115. 'file not found',
  9116. 'optional1--',
  9117. 'optional2',
  9118. "//a[contains(@href,'mystore.to/dl')]");
  9119. }
  9120.  
  9121. }
  9122. //start here
  9123.  
  9124. //hosts with direct download, so they must be requested for headers only
  9125. function initFileHostsHeadersOnly()
  9126. {
  9127. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9128. {
  9129. var host = new Array(5);
  9130. host[0] = linkRegex;
  9131. host[1] = isAliveRegex;
  9132. host[2] = isDeadRegex;
  9133. host[3] = xpathEx;
  9134. host[4] = ispremRegex;
  9135. http_file_hosts_headers_only.push(host);
  9136. }
  9137. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9138. {
  9139. addFileHostHeadersOnly(
  9140. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9141. 'Connection: Keep-Alive',
  9142. 'Content-Length: 3857',
  9143. "//a[contains(@href,'uloziste.com')]"
  9144. )
  9145. }
  9146. if (GM_getValue("Check_adrive_dot_com_links", false))
  9147. {
  9148. addFileHostHeadersOnly(
  9149. "adrive\\.com\/public\/\\w+",
  9150. 'Connection: keep-alive',
  9151. 'orig_ref=deleted',
  9152. "//a[contains(@href,'adrive.com')]"
  9153. )
  9154. }
  9155. }
  9156.  
  9157. //CustomRules
  9158. //functions add...Host copied here
  9159. function addObsoleteHost(linkRegex, xpathEx)
  9160. {
  9161. var host = new Array(2);
  9162. host[0] = linkRegex;
  9163. host[1] = xpathEx;
  9164. http_file_hosts_obsolete.push(host);
  9165. }
  9166. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9167. {
  9168. var host = new Array(7);
  9169. host[0] = linkRegex;
  9170. host[1] = isAliveRegex;
  9171. host[2] = isDeadRegex;
  9172. host[3] = isUnavaRegex;
  9173. host[4] = xpathEx;
  9174. tryLoop ? host[5] = true : host[5] = false;
  9175. host[6] = ispremRegex;
  9176. http_file_hosts.push(host);
  9177. }
  9178. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9179. {
  9180. var host = new Array(5);
  9181. host[0] = linkRegex;
  9182. host[1] = isAliveRegex;
  9183. host[2] = isDeadRegex;
  9184. host[3] = xpathEx;
  9185. host[4] = ispremRegex;
  9186. http_file_hosts_headers_only.push(host);
  9187. }
  9188. //takes a fully built rules array and adds the rules to WARLC
  9189. function applyCustomRules(customRules)
  9190. {
  9191. if (!customRules) return;
  9192. var rules, r, i;
  9193. rules = customRules.rules;
  9194. for (i = 0 ; i < rules.length ; i++)
  9195. {
  9196. r = rules[i];
  9197. if (r.enabled)
  9198. {
  9199. switch (r.type)
  9200. {
  9201. case 'single':
  9202. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9203. break;
  9204. case 'headers':
  9205. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9206. break;
  9207. case 'obsolete':
  9208. addObsoleteHost(r.urlregex, r.xpath)
  9209. break;
  9210. }
  9211. }
  9212. }
  9213. }
  9214.  
  9215.  
  9216. function initFileHostsCustom()
  9217. {
  9218. if (Custom_rules && Custom_rules_text)
  9219. {
  9220. var msg = '';
  9221. if (newVersion)
  9222. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9223. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9224. msg = '60 or more days have passed since this notification.\n\n';
  9225. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9226. {
  9227. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9228. msg +=
  9229. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9230. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9231. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9232. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9233. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9234. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9235. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9236. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9237. setTimeout(function(){alert(msg)},0);
  9238. }
  9239. var customRules = parseCustomRules(Custom_rules_text);
  9240. if (customRules.warning || customRules.error)
  9241. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9242. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9243. JSON.stringify(customRules.info, null, ' '));
  9244. applyCustomRules(customRules);
  9245. }
  9246. }
  9247. //end of CustomRules processing
  9248.  
  9249.  
  9250.  
  9251. } //end of function start
  9252.  
  9253.  
  9254.  
  9255. function initClipBoardTools()
  9256. {
  9257. unsafeWindow.copyToClipboard = function(text)
  9258. {
  9259. try
  9260. {
  9261. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9262.  
  9263. var str = Components.classes["@mozilla.org/supports-string;1"].
  9264. createInstance(Components.interfaces.nsISupportsString);
  9265. if (!str) return false;
  9266.  
  9267. str.data = text;
  9268.  
  9269. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9270. createInstance(Components.interfaces.nsITransferable);
  9271. if (!trans) return false;
  9272.  
  9273. trans.addDataFlavor("text/unicode");
  9274. trans.setTransferData("text/unicode", str, text.length * 2);
  9275.  
  9276. var clipid = Components.interfaces.nsIClipboard;
  9277. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9278. if (!clip) return false;
  9279.  
  9280. clip.setData(trans, null, clipid.kGlobalClipboard);
  9281. } catch (e) {
  9282. GM_log("Error copyToClipboard : " + e);
  9283. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9284. }
  9285. }
  9286. }
  9287.  
  9288.  
  9289.  
  9290. //CustomRules
  9291.  
  9292. function escapeRegex(str)
  9293. {
  9294. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9295. }
  9296.  
  9297.  
  9298. //called internally from parseCustomRules.
  9299. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9300. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9301. function makeCustomRule(rule)
  9302. {
  9303. function makeMatchRegex(arrmatch)
  9304. {
  9305. return escapeRegex(arrmatch.join('\n'))
  9306. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9307. .replace(/\n/g,'|'); //join together
  9308. }
  9309. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9310. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9311. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9312. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9313. if (rule.baseurl)
  9314. {
  9315. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9316. for (i = 0 ; i < len ; i++)
  9317. {
  9318. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9319. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9320. {
  9321. xpath = xpath.concat(m[2].replace(/([a-z\.]+)/g, m[1]+'$1'+m[3]).split(/\s+/)); //xpath = xpath.concat(['example.com/xxx', 'example.co.uk/xxx', 'example.net/xxx'])
  9322. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9323. }
  9324. else //baseurl in the form: example.com/xxx
  9325. {
  9326. xpath.push(m[0]);
  9327. urlregex.push(escapeRegex(m[0]) + '.');
  9328. }
  9329. }
  9330. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9331. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9332. }
  9333. return rule;
  9334. } //function makeCustomRule
  9335.  
  9336.  
  9337. /*
  9338. Takes a string containing custom link checking rules.
  9339. Returns an object with fields:
  9340. info - contains notes, warnings and errors found during parsing
  9341. rules - the array of custom rules
  9342. note, warning, error - number of each of them found during parsing
  9343. Format of the input string:
  9344. One command per line. Command format: @keyword parameter
  9345. Keywords:
  9346. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9347. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9348. These keywords can be multiple (any of them will work):
  9349. @baseurl - constant part of the url. ( d123.example.com/d/?fileid -> example.com/d/? ) - used for both xpath and urlregex (will also match anything.example...)
  9350. @alivematch, @deadmatch, @unavamatch - what to look for in the response. No regex, literal text is used with one exception: 2 or more spaces will match \s+
  9351. @alivelink, @deadlink - example links
  9352. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9353. Lines starting with // and empty lines are ignored.
  9354. Invalid parameters generate errors and those lines are skipped.
  9355. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9356. Example:
  9357. @customrule filehost
  9358. @baseurl filehost.com/download/
  9359. @baseurl filehost2. com net /d?=
  9360. @alivematch id="download">
  9361. @deadmatch File not found
  9362. @deadmatch File deleted
  9363. */
  9364. function parseCustomRules(rulesStr)
  9365. {
  9366. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9367. function addInfo(type, msg, ln){
  9368. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9369. customRules[type]++;
  9370. }
  9371. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9372. if (!lines) return null;
  9373. lines.push('@#customrule _'); //to save the last rule
  9374. var m, linecount = lines.length;
  9375. var keyword, param, constr, rule, err;
  9376. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9377. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9378. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9379. var constraints = {
  9380. 'baseurl': {
  9381. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9382. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9383. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9384. 'alivematch': {
  9385. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9386. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9387. 'deadmatch': {
  9388. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9389. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9390. 'unavamatch': {
  9391. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9392. 'alivelink': {
  9393. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9394. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9395. 'deadlink': {
  9396. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9397. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9398. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9399. };
  9400. for (linenum = 0 ; linenum < linecount ; linenum++)
  9401. {
  9402. //capturing groups: 1 23 4 5 6
  9403. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9404. if (m)
  9405. {
  9406. if (m[1] || !m[2])
  9407. continue; // ignore empty lines and lines starting with //
  9408. keyword = (m[4] || m[2]).toLowerCase();
  9409. param = m[6];
  9410. if (keyword == 'customrule')
  9411. {
  9412. //save the current rule if all required fields are provided
  9413. if (rule)
  9414. {
  9415. err = false;
  9416. $.each(constraints, function(kw, constraint){
  9417. var l, constr = constraint[rule.type];
  9418. if (constr)
  9419. {
  9420. l = rule[kw] ? rule[kw].length : 0;
  9421. if (l < constr.min || l > constr.max)
  9422. {
  9423. addInfo('error', 'Required at least ' + constr.min + ' and at most ' + constr.max + ' @' + kw.toUpperCase() + ' command(s) for type ' + rule.type.toUpperCase() + '. Rule skipped.', linenum-1);
  9424. err = true;
  9425. }
  9426. }
  9427. });
  9428. if (!err)
  9429. customRules.rules.push(makeCustomRule(rule));
  9430. }
  9431. //start a new rule
  9432. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9433. {
  9434. rule = {
  9435. 'enabled': !m[3],
  9436. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9437. 'name': param
  9438. };
  9439. }
  9440. else
  9441. {
  9442. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9443. rule = null;
  9444. }
  9445. }
  9446. else //good line format, but keyword other than customrule
  9447. {
  9448. if (!rule)
  9449. {
  9450. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9451. continue;
  9452. }
  9453. if (constraints[keyword])
  9454. {
  9455. constr = constraints[keyword][rule.type];
  9456. if (constr)
  9457. {
  9458. if (constr.paramRE && !constr.paramRE.test(param))
  9459. {
  9460. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9461. continue;
  9462. }
  9463. }
  9464. else
  9465. {
  9466. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9467. continue;
  9468. }
  9469. }
  9470. //line OK, save
  9471. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9472. }
  9473. } //if (m)
  9474. else
  9475. addInfo('warning', 'Unknown line format. Line skipped.');
  9476. } //for loop
  9477. return customRules;
  9478. } //function parseCustomRules
  9479.  
  9480.  
  9481. /* ********************UPDATES********************
  9482.  
  9483. August 19, 2016
  9484. Version 1.3.1.3
  9485. fixed euroshare.eu
  9486. fixed 2share.com
  9487.  
  9488. August 17, 2016
  9489. Version 1.3.1.2
  9490. added french code for 1fichier
  9491.  
  9492. August 16, 2016
  9493. Version 1.3.1.1
  9494. fix for 1fichier folder links, by yurii
  9495.  
  9496. August 15, 2016
  9497. Version 1.3.1.0
  9498. another fix for 1fichier
  9499. added mystore.to
  9500.  
  9501. August 12, 2016
  9502. Version 1.3.0.9
  9503. fixed 1fichier
  9504.  
  9505. August 01, 2016
  9506. Version 1.3.0.8
  9507. fixed tezfiles.com not detecting some premium links
  9508.  
  9509. July 24, 2016
  9510. Version 1.3.0.7
  9511. added fileshareup.com
  9512.  
  9513. July 17, 2016
  9514. Version 1.3.0.6
  9515. added subyshare.com
  9516.  
  9517. july 10, 2016
  9518. Version 1.3.0.5
  9519. fixed ulozto.net
  9520.  
  9521. july 07, 2016
  9522. Version 1.3.0.4
  9523. fixed uloz.to
  9524.  
  9525. july 07, 2016
  9526. Version 1.3.0.3
  9527. added imagenetz.de
  9528.  
  9529. June 23, 2016
  9530. Version 1.3.0.2
  9531. excluded nexcess.net
  9532.  
  9533. June 20, 2016
  9534. Version 1.3.0.1
  9535. added daofile.com
  9536.  
  9537. June 16, 2016
  9538. Version 1.3.0.0
  9539. added mexashare.com
  9540.  
  9541. June 16, 2016
  9542. Version 1.2.9.9
  9543. added novafile.com
  9544. added uploadgig.com
  9545.  
  9546. June 15, 2016
  9547. Version 1.2.9.8
  9548. fixed upload.af
  9549.  
  9550. June 10, 2016
  9551. Version 1.2.9.7
  9552. added alltu.eu
  9553.  
  9554. June 09, 2016
  9555. Version 1.2.9.6
  9556. added code for french language to rapidgator.net & rg.to
  9557.  
  9558. June 04, 2016
  9559. Version 1.2.9.5
  9560. added upnito.sk
  9561.  
  9562. May 31, 2016
  9563. Version 1.2.9.4
  9564. fixed mega.co (by yurii)
  9565.  
  9566. May 31, 2016
  9567. Version 1.2.9.3
  9568. code cleanup
  9569.  
  9570. May 27, 2016
  9571. Version 1.2.9.2
  9572. added filesin.space
  9573.  
  9574. May 27, 2016
  9575. Version 1.2.9.1
  9576. added
  9577. filescdn.com
  9578. bankupload.com
  9579. katfile.com
  9580.  
  9581. May 18, 2016
  9582. Version 1.2.9.0
  9583. added warped.co to obsolete hosts
  9584.  
  9585. May 17, 2016
  9586. Version 1.2.8.9
  9587. fixed mega.nz
  9588.  
  9589. May 16, 2016
  9590. Version 1.2.8.8
  9591. added to obsolete hosts
  9592. fileband.com
  9593. filecloud.cc
  9594. filesmelt.com
  9595. goldbytez.com
  9596. hulkshare.com
  9597. idup.in
  9598. loudupload.net
  9599. muchshare.net
  9600. myupload.dk
  9601. nekaka.com
  9602. netkups.com
  9603. plunder.com
  9604. uploads.xxx
  9605. uploadspace.pl
  9606. xkeepfile.com
  9607.  
  9608. May 16, 2016
  9609. Version 1.2.8.7
  9610. added upnito.sk to obsolete hosts
  9611.  
  9612. May 15, 2016
  9613. Version 1.2.8.6
  9614. fixed uploading.site
  9615.  
  9616. May 15, 2016
  9617. Version 1.2.8.5
  9618. added oload.net
  9619.  
  9620. May 14, 2016
  9621. Version 1.2.8.4
  9622. added uploading.site
  9623.  
  9624. May 13, 2016
  9625. Version 1.2.8.3
  9626. added uploadc.ch
  9627. fixed vidspot.net
  9628.  
  9629. May 13, 2016
  9630. Version 1.2.8.2
  9631. added keepshare.net
  9632.  
  9633. May 11, 2016
  9634. Version 1.2.8.1
  9635. added uploadserv.com
  9636.  
  9637. May 09, 2016
  9638. Version 1.2.8.0
  9639. fixed upstore.net & upsto.re
  9640. added 24uploading.com to obsolete hosts
  9641.  
  9642. May 06, 2016
  9643. Version 1.2.7.9
  9644. added storagon.com to obsolete hosts
  9645. fixed worldbytez.com
  9646.  
  9647. May 02, 2016
  9648. Version 1.2.7.8
  9649. added myfiles.onl
  9650.  
  9651. april 28, 2016
  9652. Version 1.2.7.7
  9653. fixed bytewhale.com
  9654.  
  9655. april 27, 2016
  9656. Version 1.2.7.6
  9657. fixed rapidgator not detecting some premium links.
  9658.  
  9659. april 27, 2016
  9660. Version 1.2.7.5
  9661. added jeodrive.com
  9662.  
  9663. april 26, 2016
  9664. Version 1.2.7.4
  9665. added sanshare.com to obsolete hosts
  9666.  
  9667. april 26, 2016
  9668. Version 1.2.7.3
  9669. fixed vidspot.net
  9670.  
  9671. april 26, 2016
  9672. Version 1.2.7.2
  9673. added upx.nz
  9674.  
  9675. april 25, 2016
  9676. Version 1.2.7.1
  9677. added rapidfilehost.com to obsolete hosts
  9678. fixed bitster.cz
  9679.  
  9680. april 12, 2016
  9681. Version 1.2.7.0
  9682. fixed rapidgator not detecting some premium links.
  9683.  
  9684. april 11, 2016
  9685. Version 1.2.6.9
  9686. changed code for ncrypt.in
  9687.  
  9688. april 07, 2016
  9689. Version 1.2.6.8
  9690. added fileinz.com to obsolete hosts.
  9691.  
  9692. april 06, 2016
  9693. Version 1.2.6.7
  9694. added sharingmaster.com to obsolete hosts.
  9695.  
  9696. april 05, 2016
  9697. Version 1.2.6.6
  9698. added 4upfiles.com & elffiles.com to obsolete hosts
  9699.  
  9700. april 03, 2016
  9701. Version 1.2.6.5
  9702. updates to configuration page
  9703.  
  9704. March 31, 2016
  9705. Version 1.2.6.4
  9706. added code for tampermonkey 4.0 compatibility
  9707.  
  9708. March 31, 2016
  9709. Version 1.2.6.3
  9710. fixed uloz.to
  9711. fixed copy dead links to clipboard feature
  9712. added copy live links to clipboard feature.
  9713.  
  9714. March 24, 2016
  9715. Version 1.2.6.2
  9716. changed made to nitroflare. (yurri)
  9717.  
  9718. March 20, 2016
  9719. Version 1.2.6.1
  9720. fixed rapidgator
  9721. fixed dfiles
  9722. fixed dl.free.fr
  9723. fixed nitroflare.com (Fixed by Yurii)
  9724.  
  9725. March 15, 2016
  9726. Version 1.2.6.0
  9727. fixed rapidgator.net
  9728. fixed uploaded.net
  9729.  
  9730. March 13, 2016
  9731. Version 1.2.5.9
  9732. added
  9733. uploads.ws
  9734. upl.me
  9735. clicknupload.link
  9736. added fileover.net to obsolete hosts
  9737. fixed kingfiles.net
  9738.  
  9739. March 09, 2016
  9740. Version 1.2.5.8
  9741. added kingfiles.net to obsolete hosts
  9742. fixed 4upld.com/expressleech.com
  9743.  
  9744. March 08, 2016
  9745. Version 1.2.5.7
  9746. fixed solidfiles.com
  9747.  
  9748. March 01, 2016
  9749. Version 1.2.5.6
  9750. added filespace.com
  9751. fixed depositfiles (by yurii)
  9752.  
  9753. February 29, 2016
  9754. Version 1.2.5.5
  9755. made change to keep2share
  9756.  
  9757. February 28, 2016
  9758. Version 1.2.5.4
  9759. removed down4files.com from obsolete hosts.
  9760.  
  9761. February 26, 2016
  9762. Version 1.2.5.3
  9763. fixed userscloud.com
  9764.  
  9765. February 24, 2016
  9766. Version 1.2.5.2
  9767. added yandex.com
  9768. fixed datafile.com
  9769.  
  9770. February 22, 2016
  9771. Version 1.2.5.1
  9772. added bigfile.to
  9773.  
  9774. February 20, 2016
  9775. Version 1.2.5.0
  9776. added abelhas.pt
  9777.  
  9778. February 18, 2016
  9779. Version 1.2.4.9
  9780. made change to uptobox
  9781.  
  9782. February 17, 2016
  9783. Version 1.2.4.8
  9784. fixed yadi.sk
  9785.  
  9786. February 16, 2016
  9787. Version 1.2.4.7
  9788. fixed datafile.com
  9789. fixed filecad.com
  9790. added filecore.co & filestorm.to to obsolete hosts
  9791. added upload.af, filedwon.in & uplod.it
  9792.  
  9793. February 15, 2016
  9794. Version 1.2.4.6
  9795. fixed kumpulbagi.id
  9796. added sangfile.com to obsolete hosts
  9797.  
  9798. February 14, 2016
  9799. Version 1.2.4.5
  9800. fixed yandex.ru
  9801.  
  9802. February 13, 2016
  9803. Version 1.2.4.4
  9804. added lunaticfiles.com.
  9805.  
  9806. February 09, 2016
  9807. Version 1.2.4.3
  9808. added file.up09.com.
  9809.  
  9810. February 09, 2016
  9811. Version 1.2.4.2
  9812. tezfiles.com premium links now detected.
  9813.  
  9814. February 09, 2016
  9815. Version 1.2.4.1
  9816. added seenupload.com to obsolete hosts
  9817. fixed 180upload.com to show obsolete
  9818.  
  9819. February 08, 2016
  9820. Version 1.2.4.0
  9821. added tusfiles.com
  9822. added filesupload.org
  9823. added gigasize.com
  9824. added filecad.com
  9825. fixed filecloud.io
  9826. added uploadnet.co to obsolete hosts
  9827.  
  9828. February 07,2016
  9829. Vession 1.2.3.9
  9830. fixed depositfiles.com folders
  9831. fixed turbobit.net folders
  9832.  
  9833. February 06, 2016
  9834. Version 1.2.3.8
  9835. fixed 1fichier false dead links
  9836.  
  9837. February 04, 2106
  9838. Version 1.2.3.7
  9839. added geupload and lenfile to obsolete hosts
  9840. fixed kyc.pm/depfile
  9841.  
  9842. February 03, 2016
  9843. Version 1.2.3.6
  9844. fixed some nitroflare.com dead links not being detected
  9845.  
  9846. February 01, 2016
  9847. Version 1.2.3.5
  9848. script moved to new site
  9849.  
  9850. January 20, 2016
  9851. Version 1.2.3.3
  9852. fixed some rapidgator premium link not being detected
  9853.  
  9854. January 17, 2016
  9855. Version 1.2.3.2
  9856. added bytewhale.com
  9857. added rapidrar.com
  9858.  
  9859. Version 1.2.3.1
  9860. added 180upload.com to obsolete hosts
  9861. fixed hellspy.com
  9862. added dinoshare.cz,
  9863.  
  9864. January 13, 2016
  9865. Version 1.2.3.0
  9866. added rapidu.net
  9867. added uploadboy.me
  9868. fixed euroshare.eu
  9869.  
  9870. January 12, 2016
  9871. Version 1.2.2.9
  9872. added kb.simple-aja.info
  9873.  
  9874. January 10, 2016
  9875. Version 1.2.2.8
  9876. made changes to fastshare.cz
  9877.  
  9878. January 10, 2016
  9879. Version 1.2.2.7
  9880. fixed uptobox.com
  9881.  
  9882. January 09, 2016
  9883. Version 1.2.2.6
  9884. datoteke.com now detects premium links
  9885. fixed turbobit.net
  9886. fixed uptobox.com
  9887. added pornfile.cz
  9888. added pornoid.cz
  9889. added file-share.top
  9890. added bitster.cz
  9891.  
  9892. January 05, 2016
  9893. Version 1.2.2.5
  9894. fixed salefiles.com
  9895. fixed ozofile.com
  9896.  
  9897. January 04, 2016
  9898. Version 1.2.2.4
  9899. added sharehost.eu
  9900.  
  9901. December 30, 2015
  9902. Version 1.2.2.3
  9903. added tezfiles.com
  9904.  
  9905. December 28, 2015
  9906. Version 1.2.2.2
  9907. fixed some k2s & fboom dead link not getting detected
  9908. fixed some k2s premium links not getting detected.
  9909. fixed ssh.yt not detecting some dead links
  9910. fixed ncrypt.in dead links showing yellow
  9911.  
  9912. December 20, 2015
  9913. Version 1.2.2.0
  9914. added datoteke.com
  9915.  
  9916. December 19, 2015
  9917. Version 1.2.1.9
  9918. added secured.in & linksave.in to obsolete hosts
  9919.  
  9920. December 17, 2015
  9921. Version 1.2.1.8
  9922. added german for dead links to secureupload.eu.
  9923.  
  9924. December 17, 2015
  9925. Version 1.2.1.7
  9926. added french for dead links to secureupload.eu.
  9927. fixed problem with tooltip display.
  9928.  
  9929. December 13, 2015
  9930. Version 1.2.1.6
  9931. added netload.me & fileparadox.in to obsolete hosts
  9932.  
  9933. December 09, 2015
  9934. Version 1.2.1.5
  9935. added rapidsonic.com & fileparadox.com to obsolete hosts
  9936.  
  9937. December 04, 2015
  9938. Version 1.2.1.4
  9939. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  9940.  
  9941. December 03, 2015
  9942. Version 1.2.1.3
  9943. added dailyuploads.net
  9944.  
  9945. December 02, 2015
  9946. Version 1.2.1.2
  9947. fixed hitfile.net
  9948. fixed kingfiles.net
  9949.  
  9950. November 30, 2015
  9951. Version 1.2.1.1
  9952. added filepost.com to obsolete hosts
  9953. added devilshare.net
  9954.  
  9955. November 28, 2015
  9956. Version 1.2.1.0
  9957. fixed datafile.com not detecting some premium links.
  9958.  
  9959. November 25, 2015
  9960. Version 1.2.0.9
  9961. fixed filejoker.net
  9962. fixed toutbox.fr
  9963. fixed nowvideo.sx
  9964.  
  9965. November 24, 2015
  9966. Version 1.2.0.8
  9967. fixed openload.io
  9968.  
  9969. November 20, 2015
  9970. Version 1.2.0.7
  9971. //added file.al
  9972. //fixed nitroflare.com false live links
  9973. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  9974.  
  9975. November 17, 2015
  9976. Version 1.2.0.6
  9977. added clicknupload.me
  9978.  
  9979. November 09, 2015
  9980. Version 1.2.0.5
  9981. fixed some depfile premium links not being detected
  9982.  
  9983. November 08, 2015
  9984. Version 1.2.0.4
  9985. fixed some rapidgator premium links not being detected
  9986. fixed doraupload.com
  9987.  
  9988. November 08, 2015
  9989. Version 1.2.0.3
  9990. fixed uploaded false premium
  9991.  
  9992. November 07, 2015
  9993. Version 1.2.0.2
  9994. fixed redbunker.net
  9995.  
  9996. November 05, 2015
  9997. Version 1.2.0.1
  9998. fixed app.box.com
  9999. added multiup.org (does not detect all dead links)
  10000.  
  10001. November 01, 2015
  10002. Version 1.2.0.0
  10003. added more languages to rockfile and 1fichier
  10004.  
  10005. November 01, 2015
  10006. Version 1.1.9.9
  10007. fixed rockfile.eu
  10008. changed 1fichier code (Thanks yurri)
  10009. added to obsolete hosts... (Thanks Love Buzz)
  10010. burnupload.com
  10011. cramit.in
  10012. cramitin.net
  10013. down4files.com
  10014. edoc.com
  10015. jumbofile.net
  10016. krotix.net
  10017. migahost.com
  10018. movreel.com
  10019. netload.in
  10020. newfileland.com
  10021. quickshare.cz
  10022.  
  10023. October 30, 2015
  10024. Version 1.1.9.8
  10025. added alfafile.net
  10026.  
  10027. October 26, 2015
  10028. Version 1.1.9.7
  10029. changed datafile.com and uplea.com
  10030. added lolabits.es
  10031.  
  10032. October 26, 2015
  10033. Version 1.1.9.6
  10034. added toutbox.fr
  10035.  
  10036. October 25, 2015
  10037. Version 1.1.9.5
  10038. fixed counter error
  10039.  
  10040. October 25, 2015
  10041. Version 1.1.9.4
  10042. changed uptobox.com code
  10043.  
  10044. October 21, 2015
  10045. Version 1.1.9.3
  10046. fixed uptobox.com
  10047.  
  10048. October 20, 2015
  10049. Version 1.1.9.2
  10050. bug fixes and new method of detecting premium links.
  10051.  
  10052. October 15, 2015
  10053. Version 1.1.9.1
  10054. fixed hugefiles.net false premium
  10055. changed uptobox.com code
  10056.  
  10057. October 06, 2015
  10058. Version 1.1.9.0
  10059. fixed filefactory
  10060. fixed rockfile false premium
  10061. keep2share & fileboom now detect premium links (fixed by yurii)
  10062.  
  10063. October 01, 2015
  10064. Version 1.1.8.9
  10065. fixed free.fr false premium
  10066. fixed thevideo.me false premium
  10067.  
  10068. September 28, 2015
  10069. Version 1.1.8.8
  10070. added uplea.com and openload.co
  10071.  
  10072. September 27, 2015
  10073. Version 1.1.8.7
  10074. fixed fileparadox.in false premium
  10075. added kingfiles.net to obsolete hosts
  10076. removed inafile.com from obsolete hosts
  10077.  
  10078. September 22, 2015
  10079. Version 1.1.8.6
  10080. fixed nitroflare false premium
  10081.  
  10082. September 22, 2015
  10083. Version 1.1.8.5
  10084. fixed userscloud.com false premium
  10085. fixed usersfiles.com false premium
  10086. changed arabloads.com to arabloads.net
  10087. changed nowdownloads.eu to nowdownloads.ch
  10088.  
  10089. September 21, 2015
  10090. Version 1.1.8.3
  10091. added ryushare.com to obsolete hosts.
  10092.  
  10093. September 20, 2015
  10094. Version 1.1.8.2
  10095. fixed nitroflare not showing premium links
  10096. added down4files.com,storfiles.co,filehost.pw
  10097.  
  10098. September 16, 2015
  10099. Version 1.1.8.1
  10100. added crisshare.com to obsolete hosts
  10101. fixed filemoney.com false premium
  10102. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10103.  
  10104. September 14, 2015
  10105. Version 1.1.8.0
  10106. added to obsolete hosts...
  10107. sharebeast.com
  10108. tufiles.ru
  10109.  
  10110. September 12, 2015
  10111. Version 1.1.7.9
  10112. fixed rghost.net false premium
  10113. fixed unlimitzone.com false premium
  10114. fixed turbobit.net false live link
  10115.  
  10116. September 11, 2015
  10117. Version 1.1.7.8
  10118. Fixed filefactory.com false premium.
  10119.  
  10120. September 07, 2015
  10121. Version 1.1.7.7
  10122. fixed "depositfiles.com/en/files" links not checking
  10123.  
  10124. September 06, 2015
  10125. Version 1.1.7.6
  10126. added French code for 1fichier
  10127.  
  10128. August 29, 2015
  10129. Version 1.1.7.5
  10130. fixed depositfiles
  10131. fixed mega.co.nz/mega.nz
  10132. (fixed by yurii)
  10133.  
  10134. August 23, 2015
  10135. Version 1.1.7.4
  10136. Fixed uploadrocket (by yurii)
  10137.  
  10138. August 20, 2015
  10139. Version 1.1.7.3
  10140. fixed depfile.com false premium
  10141. fixed 1fichier false premium
  10142. fixed rapidgator false premium
  10143.  
  10144. August 08, 2015
  10145. Version 1.1.7.1
  10146. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10147.  
  10148. August 07, 2015
  10149. Version 1.1.7.0
  10150. fixed...
  10151. streamin.to
  10152. thefile.me
  10153. vidzi.tv
  10154. added...
  10155. filenuke.com
  10156. vidto.me
  10157. vidspot.net
  10158. sharesix.com
  10159. sharesix.net
  10160. movpod.in,
  10161.  
  10162. August 07, 2015
  10163. Version 1.1.6.9 added...
  10164. thefile.me
  10165. vidzi.tv
  10166. videoweed.es
  10167. vodlocker.com
  10168. nowvideo.sx
  10169. cloudtime.to
  10170. thevideo.me
  10171. vidbull.com
  10172. allmyvideos.net
  10173. novamov.com
  10174. filehoot.com
  10175. stagevu.com
  10176. gorillavid.in
  10177. streamin.to
  10178.  
  10179. August 02, 2015
  10180. Version 1.1.6.8
  10181. added cloudshares.net
  10182.  
  10183. August 01, 2015
  10184. Version 1.1.6.7
  10185. fixed depfile redirectors false premium
  10186.  
  10187. July 31, 2015
  10188. Version 1.1.6.6
  10189. fixed depfile.com false premium
  10190. */