W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2016-02-27 提交的版本,查看 最新版本

  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. // @version 1.2.5.3
  7. // @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/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRS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ihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  8. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  9. // @author mental
  10. // @include http://*
  11. // @include https://*
  12. // @include file:///*
  13. // @grant GM_setValue
  14. // @grant GM_getValue
  15. // @grant GM_xmlhttpRequest
  16. // @grant GM_log
  17. // @grant GM_addStyle
  18. // @grant GM_registerMenuCommand
  19. // @grant GM_getResourceText
  20. // @grant GM_info
  21. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  22. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  23. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  24. // @homepage http://usa.x10host.com/mybb
  25. // @namespace war premium
  26. // @noframes
  27. // ==/UserScript==
  28.  
  29. //separate alternative domains with "|" char (first name is considered being main)
  30. var allHostNames = [
  31. "1fichier.com|dl4free.com",
  32. "upload.af",
  33. "abelhas.pt",
  34. "filedwon.info",
  35. "yandex.com",
  36. "uplod.it",
  37. "rapidu.net",
  38. "file.up09.com",
  39. "lunaticfiles.com",
  40. "filecad.com",
  41. "filesupload.org",
  42. "gigasize.com",
  43. "bytewhale.com",
  44. "rapidrar.com",
  45. "download.cz.hellshare.com",
  46. "pornfile.cz",
  47. "dinoshare.cz",
  48. "kb.simple-aja.info",
  49. "bitster.cz",
  50. "file-share.top",
  51. "pornoid.cz",
  52. "dailyuploads.net",
  53. "sharehost.eu",
  54. "tezfiles.com",
  55. "devilshare.net",
  56. "alfafile.net",
  57. "openload.co",
  58. "multiup.org",
  59. "uplea.com",
  60. "filenuke.com",
  61. "file.al",
  62. // "inafile.com",
  63. "lolabits.es",
  64. "vidto.me",
  65. "storefiles.co",
  66. "filehost.pw",
  67. "vidspot.net",
  68. "turbobit.ru",
  69. "sharesix.com|sharesix.net",
  70. "movpod.in",
  71. "thefile.me",
  72. "datoteke.com",
  73. "vidzi.tv",
  74. "videoweed.es",
  75. "vodlocker.com",
  76. "nowvideo.sx",
  77. "cloudtime.to",
  78. "thevideo.me",
  79. "vidbull.com",
  80. "allmyvideos.net",
  81. "novamov.com",
  82. "filehoot.com",
  83. "stagevu.com",
  84. "gorillavid.in",
  85. "streamin.to",
  86. "4upld.com",
  87. "cloudshares.net",
  88. "swoopshare.com",
  89. "2shared.com",
  90. "fileupload.pw",
  91. "zxcfiles.com",
  92. "up07.net",
  93. "4shared.com",
  94. "adrive.com",
  95. "aisfile.com",
  96. "hexupload.com",
  97. "bezvadata.cz",
  98. "xkeepfile.com|Gamesena.com",
  99. "usersfiles.com",
  100. "pan.baidu.com",
  101. "radicalshare.com",
  102. "datei.to",
  103. "daten-hoster.de|filehosting.org|xtraupload.de",
  104. "demo.ovh.eu",
  105. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  106. "divshare.com",
  107. "easy-share.com|crocko.com",
  108. "easybytez.com",
  109. "edisk.cz",
  110. "euroshare.eu",
  111. "file-upload.net",
  112. "yadi.sk",
  113. "wizupload.com",
  114. "fastshare.cz",
  115. "filefactory.com",
  116. "share.vnn.vn",
  117. "yunpan.cn",
  118. "gulfup.com",
  119. "tropicshare.com",
  120. "cloudzilla.to",
  121. "inclouddrive.com",
  122. "fileflyer.com",
  123. "filerio.com|filekeen.com",
  124. "up.4share.vn",
  125. "upfile.vn",
  126. "datafilehost.com",
  127. "fileband.com",
  128. "worldbytez.com",
  129. "files.mail.ru",
  130. "filesflash.com",
  131. "box.com",
  132. "uptobox.com",
  133. "box.net",
  134. "goldbytez.com",
  135. "sdilej.cz",
  136. "ex-load.com",
  137. "filesmonster.com",
  138. "filestore.to",
  139. "hulkload.com",
  140. "filedropper.com",
  141. "free-uploading.com",
  142. "gamefront.com|filefront.com",
  143. "gettyfile.ru",
  144. "gigapeta.com",
  145. "gigasize.com",
  146. "hellshare.com",
  147. "hellspy.com",
  148. "hitfile.net",
  149. "hostuje.net",
  150. "freefilehosting.net",
  151. "free.fr",
  152. "hulkshare.com",
  153. "hyperfileshare.com",
  154. "filecloud.io|ifile.it",
  155. "ifolder.ru",
  156. "jumbofiles.com",
  157. "uploadrocket.net",
  158. "lafiles.com",
  159. "leteckaposta.cz|sharegadget.com",
  160. "letitbit.net",
  161. "load.to",
  162. "mediafire.com",
  163. "megafileupload.com",
  164. "megashares.com",
  165. "movshare.net",
  166. "muchshare.net",
  167. "myupload.dk",
  168. "narod.ru|narod.yandex.ru",
  169. "fboom.me|fileboom.me",
  170. "openfile.ru",
  171. "partage-facile.com",
  172. "plunder.com",
  173. "sharerapid.cz",
  174. "exclusiveloader.com",
  175. "acefile.net",
  176. "queenshare.com",
  177. "rapidgator.net",
  178. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  179. "oboom.com",
  180. "filepi.com",
  181. "neodrive.co",
  182. "rarefile.net",
  183. "rayfile.com",
  184. "rghost.net",
  185. "sendmyway.com",
  186. "clicknupload.com",
  187. "clicknupload.me",
  188. "sharemods.com",
  189. "hostr.co",
  190. "sendspace.com",
  191. "sharecash.org",
  192. "share-links.biz",
  193. "share-online.biz|egoshare.com",
  194. "megarapid.cz",
  195. "shareflare.net",
  196. "solidfiles.com",
  197. "led.wf",
  198. "lan.wf",
  199. "adlink.wf",
  200. "click.tf",
  201. "kyc.pm",
  202. "ssh.tf",
  203. "ssh.yt",
  204. "yep.pm",
  205. "stahovanizasms.cz",
  206. "turbobit.net",
  207. "filecloud.cc",
  208. "tikfile.com",
  209. "cloudsix.me",
  210. "turboupload.com",
  211. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  212. "ulozisko.sk",
  213. "uloziste.com",
  214. "unibytes.com",
  215. "upload-il.net|przeslij.net",
  216. "uploaded.to|ul.to",
  217. "uploading.com",
  218. "chayfile.com",
  219. "rockfile.eu",
  220. "24uploading.com",
  221. "uploadspace.pl",
  222. "upnito.sk",
  223. "usaupload.net",
  224. "veehd.com",
  225. "videobb.com",
  226. "vip-file.com",
  227. "webshare.cz",
  228. "xdisk.cz",
  229. "yunfile.com|filemarkets.com",
  230. "ziddu.com",
  231. "zippyshare.com",
  232. "rodfile.com",
  233. "wikiupload.com",
  234. "uploadstube.de",
  235. "faststore.org",
  236. "flyfiles.net",
  237. "nowdownload.ch",
  238. "prefiles.com",
  239. "axifile.com",
  240. "hackerbox.org",
  241. "amonshare.com",
  242. "data.hu",
  243. "brupload.net",
  244. "userscloud.com",
  245. "netkups.com",
  246. "xfileload.com",
  247. "kumpulbagi.com|kumpulbagi.id",
  248. "uppit.com|up.ht",
  249. "downloadani.me",
  250. "filesabc.com",
  251. "verzend.be",
  252. "4up.me",
  253. "extmatrix.com",
  254. "sendfiles.nl",
  255. "yourfilestore.com",
  256. "filebig.net",
  257. "nekaka.com",
  258. "file4safe.com",
  259. "tusfiles.net|tusfiles.com",
  260. "filemac.com",
  261. "idup.in",
  262. "fileswap.com",
  263. "ozofiles.com",
  264. "loudupload.net",
  265. "nosupload.com",
  266. "gboxes.com",
  267. "myvdrive.com|fileserving.com",
  268. "filesin.com",
  269. "novafile.com",
  270. "longfiles.com",
  271. // "uploadhero.com",
  272. "uploadbaz.com",
  273. "bitupload.com",
  274. "indowebster.com",
  275. "superload.cz",
  276. "mafiastorage.com",
  277. "4upfiles.com",
  278. "filesmelt.com",
  279. "hellupload.com",
  280. "uploadingit.com",
  281. "stiahni.si",
  282. "sendspace.pl",
  283. "fastshare.org",
  284. "filejoker.net",
  285. "filestore.com.ua",
  286. "secureupload.eu",
  287. "rapidfileshare.net",
  288. "stiahnito.sk",
  289. "rusfolder.com",
  290. "fileover.net",
  291. "catshare.net",
  292. "anonfiles.com",
  293. "mixturecloud.com",
  294. "filedais.com",
  295. // "imdb.com",
  296. "nitroflare.com",
  297. "akafile.com",
  298. "creafile.net",
  299. "hugefiles.net",
  300. "vidxden.com",
  301. "up.top4top.net",
  302. "upload.ee",
  303. "shareplace.org",
  304. "uploadc.com",
  305. "remixshare.com",
  306. "exoshare.com",
  307. "borncash.org",
  308. "junocloud.me",
  309. "expressleech.com",
  310. "2downloadz.com",
  311. "mightyupload.com",
  312. "anysend.com",
  313. "datafile.com",
  314. "upstore.net",
  315. "upsto.re",
  316. "speedy.sh",
  317. "sanshare.com",
  318. "kingfiles.net",
  319. // "uploadhero.co",
  320. "ge.tt",
  321. "filesflash.net",
  322. "salefiles.com",
  323. // "megairon.net",
  324. "datoid.cz",
  325. "cloudstor.es",
  326. "streamfile.com",
  327. "eyesfile.ca",
  328. "filemoney.com",
  329. "uploadboy.com",
  330. "uploadboy.me",
  331. "speedshare.eu",
  332. "google.com",
  333. "unlimitzone.com",
  334. "rioupload.com",
  335. "rg.to",
  336. "jumbofiles.org",
  337. "fshare.vn",
  338. "spaceforfiles.com",
  339. "up.media1fire.com",
  340. "depfile.com",
  341. "go4up.com",
  342. "dropbox.com",
  343. "redbunker.net",
  344. "divxpress.com",
  345. "mega.nz|mega.co.nz",
  346. "anafile.com",
  347. "uploadable.ch",
  348. "bigfile.to",
  349. "arabloads.net",
  350. "sharerepo.com",
  351. "sfshare.se",
  352. "files.fm",
  353. "koofile.com",
  354. "vidplay.net",
  355. "storagon.com",
  356. "doraupload.com",
  357. "openload.io",
  358. "uploads.xxx",
  359. "toutbox.fr",
  360. ];
  361.  
  362. try
  363. {
  364. //iframes excluded
  365. if (window.top != window.self)
  366. {
  367. return;
  368. }
  369. //allHostNames sites excluded
  370. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  371. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  372. ")"))
  373. {
  374. return;
  375. }
  376. }
  377. catch (e)
  378. {
  379. return;
  380. }
  381.  
  382. //separate alternative domains with "|" char (first name is considered being main)
  383. var allContainerNames = [
  384. "adf.ly",
  385. "linkcrypt.ws",
  386. "linksafe.me",
  387. // "linksave.in",
  388. "linkto.net",
  389. "madlink.sk",
  390. "multiload.cz",
  391. "mirrorcreator.com",
  392. "ncrypt.in",
  393. "redi.re",
  394. "relink.us",
  395. "safelinking.net",
  396. "theloo.katt.it",
  397. "bit.ly",
  398.  
  399. ];
  400.  
  401. //separate alternative domains with "|" char (first name is considered being main)
  402. var allObsoleteNames = [
  403. "uloz.cz",
  404. "secured.in",
  405. "linksave.in",
  406. "seenupload.com",
  407. "sangfile.com",
  408. "filepost.com|fp.io",
  409. "filestorm.to",
  410. "uploadnet.co",
  411. "180upload.com",
  412. "rapidsonic.com",
  413. "fileparadox.com",
  414. "geupload.com",
  415. "lenfile.com",
  416. "fileparadox.in",
  417. "uploadhero.co",
  418. "uploadhero.com",
  419. "newfileland.com",
  420. "quickshare.cz",
  421. "netload.in",
  422. "netload.me",
  423. "movreel.com",
  424. "migahost.com",
  425. "krotix.net",
  426. "jumbofile.net",
  427. "edoc.com",
  428. "down4files.com",
  429. "cramit.in|cramitin.net",
  430. "freakshare.com",
  431. "burnupload.com|burnupload.ihiphop.com",
  432. "freakshare.net",
  433. "daj.to",
  434. "bl.st",
  435. "2drive.net",
  436. "ryushare.com",
  437. "crisshare.com",
  438. "tufiles.ru",
  439. "uncapped-downloads.com",
  440. "sockshare.com",
  441. "ddlstorage.com",
  442. "dataport.cz",
  443. "dizzcloud.com",
  444. "sharebeast.com",
  445. "stahovadlo.cz",
  446. "shared.com",
  447. "storage.to",
  448. "putlocker.com",
  449. "lumfile.com",
  450. "lumfile.se",
  451. "lumfile.eu",
  452. "firedrive.com",
  453. "fileshare.in.ua",
  454. "filecore.co.nz",
  455. "filecore.co",
  456. "iskladka.cz",
  457. "file-rack.com",
  458. "fast-load.net",
  459. "subory.sk",
  460. "bigandfree.com",
  461. "fileop.com",
  462. "mujsoubor.cz",
  463. "sendfile.to",
  464. "superfastfile.com",
  465. "quickyshare.com",
  466. "duckload.com",
  467. "uploadstore.net",
  468. "meinupload.com",
  469. "dualshare.com",
  470. "2xupload.to|2xupload.de",
  471. "oxedion.com",
  472. "uploadline.com",
  473. "dll.bz",
  474. "movieshare.in",
  475. "milledrive.com",
  476. "quickupload.net",
  477. "safelink.in",
  478. "metadivx.com",
  479. "divxlink.com",
  480. "uploadrack.com",
  481. "teradepot.com",
  482. "dataup.to",
  483. "upit.to",
  484. "driveway.com",
  485. "eatlime.com",
  486. "a2zuploads.com",
  487. "friendlyfiles.net",
  488. "flyfile.us",
  489. "speedyshare.com",
  490. "uploadspace.eu",
  491. "keepfile.com",
  492. "piggyshare.com",
  493. "uplly.com",
  494. "filecrown.com",
  495. "6giga.com",
  496. "uploadjockey.com",
  497. "bluehost.to",
  498. "filegu.ru",
  499. "filebase.to",
  500. "up-file.com",
  501. "xvideos.com",
  502. "ufox.com",
  503. "filebling.com",
  504. "loaded.it",
  505. "uploadcell.com",
  506. "uploadshare.cz",
  507. "mangoshare.com",
  508. "filestab.com",
  509. "crazyupload.com",
  510. "gaiafile.com",
  511. "sharejunky.com",
  512. "fileho.com",
  513. "bigandfree.com",
  514. "bigfile.in",
  515. "bigshare.eu",
  516. "dahosting.org",
  517. "digisofts.net",
  518. "file4save.com",
  519. "filechip.com",
  520. "filescloud.com",
  521. "saveqube.com",
  522. "turboshare.de",
  523. "z-upload.com",
  524. "youshare.com",
  525. "jiffyupload.com",
  526. "gigeshare.com",
  527. "datenklo.net",
  528. "upload.dj",
  529. "loadfiles.in",
  530. "upit.to",
  531. "dsfileshare.com",
  532. "sharesimple.net",
  533. "4files.net",
  534. "wooupload.com",
  535. "odsiebie.com",
  536. "filenavi.com",
  537. "3oof.com",
  538. "meshwaar.com",
  539. "maxupload.com",
  540. "share.cx",
  541. "atserver.eu",
  542. "hotfiles.ws",
  543. "esnips.com",
  544. "tuxfile.com",
  545. "file2upload.net",
  546. "filebling.com",
  547. "turboshare.com",
  548. "rarhost.com",
  549. "isharehd.com",
  550. "i741.com",
  551. "dataup.de",
  552. "fofly.com",
  553. "shareonall.com",
  554. "sexuploader.com",
  555. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  556. "uploadhyper.com",
  557. "filespawn.com",
  558. "caizzii.com",
  559. "volnyweb.cz",
  560. "usershare.net",
  561. "filescash.net",
  562. "metahyper.com",
  563. "combozip.com",
  564. "x7.to",
  565. "uploadbox.com",
  566. "enterupload.com|flyupload.com",
  567. "filepoint.de",
  568. "mystream.to",
  569. "x-fs.com",
  570. "shareator.com",
  571. "srapid.eu",
  572. "sosame.cz",
  573. "filesdump.com",
  574. "2-klicks.de",
  575. "uploking.com",
  576. "silofiles.com",
  577. "upfile.in",
  578. "filehook.com",
  579. "uploadking.com",
  580. "uploadhere.com",
  581. "kewlshare.com",
  582. "rapidable.com",
  583. "uploadwaste.com",
  584. "filemup.com",
  585. "filesonic.com|sharingmatrix.com",
  586. "fileserve.com",
  587. "wupload.com",
  588. "skipfile.com",
  589. "smartuploader.com",
  590. "dualshare.com",
  591. "storeandserve.com",
  592. "mountfile.com",
  593. "transitfiles.com",
  594. "uploadstation.com",
  595. "filejungle.com",
  596. "shareshared.com",
  597. "quickyshare.com",
  598. "save.am",
  599. "petandrive.com",
  600. "file2box.com",
  601. "flyshare.cz",
  602. "yabadaba.ru",
  603. "cloudcache.cc",
  604. "yourfilehost.com",
  605. "jakfile.com",
  606. "kickload.com",
  607. "pyramidfiles.com",
  608. "refile.net",
  609. "zshare.net",
  610. "ddlani.me|ddlanime.com",
  611. "ftp2share.com",
  612. "fooget.com",
  613. "rapidhide.com",
  614. "gotupload.com",
  615. "mooload.com",
  616. "zupload.com",
  617. "mytempdir.com",
  618. "onionshare.com",
  619. "stahnu.to",
  620. "oron.com",
  621. "badongo.com",
  622. "filereactor.com",
  623. "filegaze.com",
  624. "4bytez.com",
  625. "1hostclick.com",
  626. "anonstream.com",
  627. "batshare.com",
  628. "bitroad.net",
  629. "brontofile.com",
  630. "cloudnxt.net",
  631. "cloudnator.com|shragle.com",
  632. "filesfrog.net",
  633. "coolshare.cz",
  634. "dotavi.com",
  635. "ezyfile.net",
  636. "file-bit.net",
  637. "filecosy.com",
  638. "fileduct.com|fileduct.net",
  639. "filefat.com",
  640. "filelaser.com",
  641. "filemashine.com",
  642. "fileserver.cc",
  643. "filetechnology.com",
  644. "fireuploads.net",
  645. "gigfiles.net",
  646. "holderfile.com",
  647. "ihostia.com",
  648. "k2files.com",
  649. "mojofile.com",
  650. "ovfile.com",
  651. "qshare.com",
  652. "shafiles.me",
  653. "sharefilehost.com",
  654. "shareupload.com",
  655. "stahuj.to",
  656. "ugotfile.com",
  657. "uploadboost.com",
  658. "fileom.com",
  659. "vidhog.com",
  660. "xfileshare.eu",
  661. "bzlink.us",
  662. "bulletupload.com",
  663. "bloggerarticles.com",
  664. "mojedata.sk",
  665. "sharpfile.com",
  666. "upgrand.com",
  667. "nasdilej.cz",
  668. "mediatack.cz",
  669. "share-it.to",
  670. "primeupload.com",
  671. "filebeer.info",
  672. "baberepublic",
  673. "xtu.me",
  674. "sharebase.de",
  675. "luckyshare.net",
  676. "filerobo.com",
  677. "filevelocity.com",
  678. "filezpro.com",
  679. "file4sharing.com",
  680. "cing.be",
  681. "ufile.eu",
  682. "pigsonic.com",
  683. "fileupped.com",
  684. "sharerun.com",
  685. "filesaur.com",
  686. "rapidslnare.com",
  687. "bestsharing.com",
  688. "savefiles.net",
  689. "file2share.biz",
  690. "filecache.de",
  691. "monsteruploads.eu",
  692. "b9bb.com",
  693. "aiotool.net",
  694. "jamber.info",
  695. "megaftp.com",
  696. "desiupload.net",
  697. "file27.com",
  698. "yastorage.com",
  699. "filehost.ws",
  700. "copyload.com",
  701. "venusfile.com",
  702. "aieshare.com",
  703. "terafile.co",
  704. "terafile.com",
  705. "fileza.net",
  706. "filerose.com",
  707. "squillion.com",
  708. "fileprohost.com",
  709. "bitbonus.com",
  710. "warserver.cz",
  711. "uload.to",
  712. "sharedbit.net",
  713. "megaload.it",
  714. "filewinds.com",
  715. "uploadcore.com",
  716. "syfiles.com",
  717. "eyesfile.com",
  718. "hotfile.com",
  719. "superupl.com",
  720. "oteupload.com",
  721. "henchfile.com",
  722. "filegag.com",
  723. "HenchFile.com",
  724. "filedefend.com",
  725. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  726. "megabitshare.com",
  727. "cloudzer.com",
  728. "asfile.com",
  729. "cloudzer.net",
  730. "clz.to",
  731. "extabit.com",
  732. "247upload.com",
  733. "2download.de",
  734. "4fastfile.com",
  735. "asixfiles.com",
  736. "berofile.com",
  737. "bigupload.com",
  738. "cepzo.com",
  739. "clouds.to",
  740. "cobrashare.sk",
  741. "coraldrive.net",
  742. "cyberlocker.ch",
  743. "czshare.com",
  744. "darkport.org",
  745. "dark-uploads.com",
  746. "davvas.com",
  747. "enigmashare.com",
  748. "erofly.cz",
  749. "fastsonic.net",
  750. "filebox.com",
  751. "filecity.net",
  752. "filedap.com",
  753. "filedino.com",
  754. "filedownloads.org",
  755. "filefolks.com",
  756. "fileking.co",
  757. "filemates.com",
  758. "files.to",
  759. "files2k.eu",
  760. "filesector.cc",
  761. "bitshare.com",
  762. "filesega.com",
  763. "filesend.net",
  764. "filestay.com",
  765. "filestrum.com",
  766. "fileuplo.de",
  767. "fileupup.com",
  768. "forunesia.com",
  769. "freeuploads.fr",
  770. "uploa.dk",
  771. "getthebit.com",
  772. "getzilla.net",
  773. "goldfile.eu",
  774. "good.com",
  775. "grupload.com",
  776. "hellfile.com",
  777. "hipfile.com",
  778. "hitfile.com",
  779. "hulkfile.eu|duckfile.net",
  780. "i-filez.com",
  781. "ifile.ws",
  782. "kupload.org",
  783. "packupload.com",
  784. "lemuploads.com",
  785. "limelinx.com",
  786. "maxshare.pl",
  787. "megarelease.org",
  788. "megashare.com",
  789. "minus.com",
  790. "mlfat4arab.com",
  791. "multishare.cz",
  792. "nirafile.com",
  793. "ok2upload.com",
  794. "peejeshare.com",
  795. "premiuns.org",
  796. "przeklej.net",
  797. "qkup.net",
  798. "rapidupload.sk",
  799. "rockdizfile.com",
  800. "rocketfile.net",
  801. "share-now.net",
  802. "share76.com",
  803. "sharebees.com",
  804. "sharefiles.co",
  805. "slingfile.com",
  806. "sms4file.com",
  807. "space4file.com",
  808. "tigershare.net",
  809. "toucansharing.com",
  810. "ubuntuone.com",
  811. "unextfiles.com",
  812. "upaj.pl",
  813. "upfile.biz",
  814. "uploadbin.net",
  815. "uploadic.com",
  816. "uploadinc.com",
  817. "uploading4u.eu",
  818. "uploadjet.net",
  819. "uploadorb.com",
  820. "upthe.net",
  821. "uptorch.com",
  822. "vidbox.yt",
  823. "videozer.com",
  824. "vreer.com",
  825. "wallobit.com",
  826. "zooupload.com",
  827. "privatefiles.com",
  828. "xerver.co",
  829. "BillionUploads.com",
  830. "rapidshare.com",
  831. "rapidshare.ru",
  832. "4savefile.com",
  833. "bayfiles.com",
  834. "bayfiles.net",
  835. "dodane.pl",
  836. "dotsemper.com",
  837. "egofiles.com",
  838. "epicshare.net",
  839. "fiberupload.net",
  840. "filemonkey.in",
  841. "filemonster.net",
  842. "filepom.com",
  843. "filesbb.com",
  844. "fileshareup.com",
  845. "filevice.com",
  846. "gigaup.fr",
  847. "isavelink.com",
  848. "loombo.com",
  849. "megafiles.se",
  850. "migupload.com",
  851. "mydisc.net",
  852. "nitrobits.com",
  853. "potload.com",
  854. "redload.net",
  855. "shareprofi.com",
  856. "sharesuper.info",
  857. "sinhro.net",
  858. "speedfile.cz",
  859. "speedshare.org",
  860. "storage.novoro.net",
  861. "swankshare.com",
  862. "swatupload.com",
  863. "upafile.com",
  864. "uploadmachine.com",
  865. "uploadsat.com",
  866. "upshared.com",
  867. "usefile.com",
  868. "yourfiles.to",
  869. "zomgupload.com",
  870. "ultramegabit.com",
  871. "uploadto.us",
  872. "inafile.com",
  873. "megairon.net",
  874.  
  875. ];
  876. ///////////////////////////////////////////////////////////////////////////////////////
  877. var firstRun = GM_getValue("First_run", true);
  878.  
  879. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  880. //////////////////////////////////////////////////////////////////////////////////////
  881. try
  882. {
  883. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  884. var last_known_version = GM_getValue("last_known_version", "");
  885. if (!last_known_version)
  886. {
  887. last_known_version = thisVersion;
  888. GM_setValue("last_known_version", last_known_version);
  889. }
  890. //var newVersion = !(thisVersion == last_known_version);
  891. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  892. GM_setValue("last_known_version", thisVersion);
  893. }
  894. catch (err)
  895. {
  896. var newVersion = false;
  897. }
  898.  
  899. var now = (new Date()).getTime();
  900. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  901. if (!last_custom_rules_nag)
  902. {
  903. last_custom_rules_nag = now;
  904. GM_setValue('last_custom_rules_nag', ''+now);
  905. }
  906.  
  907.  
  908. allHostNames.sort();
  909. allContainerNames.sort();
  910. allObsoleteNames.sort();
  911.  
  912. var RAND_STRING = "8QyvpOSsRG3QWq";
  913. var DEBUG_MODE = false;
  914.  
  915. var TOOLTIP_MAXWIDTH = 600; //in pixels
  916. var TOOLTIP_THUMBWIDTH = 200;
  917. var containers_processed = false;
  918.  
  919. //settings for keyboard functions start
  920. var CHECK_ALL_LINKS_KEY = "A";
  921. var CONFIGURATION_KEY = "C";
  922. var copy_to_dead_key = "D";
  923. var toggle_autocheck_key = "W";
  924. var toggle_Enable_Anonymizer_key = "Z";
  925. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  926. var first_key_keycodename = 'CTRL';
  927. var second_key_keycode = '18';
  928. var second_key_keycodename = 'ALT';
  929. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  930. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  931. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  932. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  933. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  934. //settings for keyboard functions end
  935.  
  936. //global settings start
  937. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  938. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  939. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  940. var Show_progress_stats, Display_tooltip_info, Icon_set;
  941. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  942. var Progress_box_refresh_rate;
  943. var Obsolete_file_hosts;
  944. var Custom_rules, Custom_rules_text;
  945.  
  946. var messageBox = document.createElement('b'); // top-left message box
  947.  
  948. var cLinksTotal = 0;
  949. var cLinksDead = 0;
  950. var cLinksAlive = 0;
  951. var cLinksUnava = 0;
  952. var cLinksprem = 0;
  953. var cLinksProcessed = 0;
  954.  
  955. var intervalId; //for updateProgress()
  956.  
  957. //icon resources
  958. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0y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7wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  967.  
  968. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVR42mNkIBcwMWQwsDMrMZKhlZmRi2mCWYtE9st1bx+SagAPlwTLCt+pot6vrv/8t7/mnQcpBsjI6jNvDp4uZvDuMw/D8uA7U39/+Z9DrAGG5r5Mmz06pKQ//BVnWJl89daL0z8MgeLfiDHAN6SAaZlhjjzP+x8SDAcX3P1zuueVDVD8JEiSkVOcZbWAJKPi8wu/q4H8nSgBzcyQl9jN1ifvp8z8+acQw50brxk2Rd1u+fvzfy1MDaN7DOO7ohnSgqe2Pf0/rYJh1/N7/0uB4tdYuRknJMzgzZYyV2L89pub4c3Xbwwb4q+de3/9pwVQ/jfcAGYWhrJ5x207ZdSFGB59Ockwb+L3vydX/7oRPYFPW05DnuHbb1aGD79+MRyZev/H9TlvTIB6riK7EhQGbNr2rJe714eq/fjLwPD8x22GO5/eM/CzijN8BdoD0nz3/FuG/an3Sv7/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  969. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM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cSHmDeAyXbXOtsq3QAIsd2020VlRXBYEYdsThSCsdeZlEkhYoBUqBJOioaV0V8YWLgU+Ew3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  971. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  972.  
  973. //global settings end
  974. if (window.opera && !window.console)
  975. {
  976. window.console = {};
  977.  
  978. function fn()
  979. {
  980. opera.postError(arguments);
  981. };
  982. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  983. {
  984. window.console[name] = fn;
  985. });
  986. }
  987.  
  988. //displays colored text in message box
  989. function sendMessage(text, color)
  990. {
  991. var msgDiv = document.createElement('div');
  992. msgDiv.style.color = color;
  993. msgDiv.innerHTML = text;
  994. messageBox.appendChild(msgDiv);
  995. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  996. }
  997.  
  998. function linkify(totalourls)
  999. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1000. var ikkeTilladteTags;
  1001. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1002. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1003. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1004. allLinksRegex = new RegExp(allLinksRegex, "g");
  1005. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1006.  
  1007. if (Do_not_linkify_DL_links)
  1008. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1009. else
  1010. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1011.  
  1012. var regex = new RegExp(regexy);
  1013. var textNode, muligtLink;
  1014.  
  1015. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1016. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1017.  
  1018. var i = textNodes.snapshotLength;
  1019. while (i--)
  1020. {
  1021. textNode = textNodes.snapshotItem(i);
  1022.  
  1023. muligtLink = textNode.nodeValue; //all links on page
  1024.  
  1025. var myArray = null;
  1026. var span = null;
  1027. var lastLastIndex = 0;
  1028. allLinksRegex.lastIndex = 0;
  1029. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1030. {
  1031. if (textNode.parentNode.className == "adead_link") continue;
  1032. var censoredLink = muligtLink;
  1033. var span = document.createElement('span');
  1034. span.className = "adead_link";
  1035. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1036. $(span).html(censoredLink);
  1037. span.addEventListener("mouseover", displayTooltipError, false);
  1038. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1039. textNode.parentNode.replaceChild(span, textNode);
  1040. continue;
  1041. alert(censoredLink);
  1042. }
  1043. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1044. {
  1045. if (!regex.test(myArray[0])) //this link is not recognized
  1046. {
  1047.  
  1048. continue;
  1049. }
  1050. if (!span)
  1051. span = document.createElement('span');
  1052.  
  1053. var link = myArray[0];
  1054. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1055.  
  1056. var $a = $("<a>" + link + "</a>")
  1057. if (!link.match(/https?:\/\//))
  1058. {
  1059. link = 'http://' + link;
  1060. }
  1061.  
  1062. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1063. .addClass("processing_link")
  1064. .appendTo(span);
  1065. lastLastIndex = allLinksRegex.lastIndex;
  1066. }
  1067. if (span)
  1068. {
  1069. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1070. textNode.parentNode.replaceChild(span, textNode);
  1071. }
  1072. }
  1073. }
  1074.  
  1075. function add_WARLC_style()
  1076. {
  1077. if (!(document.getElementsByTagName('WARLC')[0]))
  1078. {
  1079. var meta_not_to_add_more_style = document.createElement("WARLC");
  1080. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1081. meta_not_to_add_more_style.setAttribute('name', 'description');
  1082. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1083. alive_link_png = "";
  1084. adead_link_png = "";
  1085. unava_link_png = "";
  1086. prem_link_png = "";
  1087. switch(Icon_set)
  1088. {
  1089. //no icons
  1090. case 0: break;
  1091. // cat paws
  1092. case 1: alive_link_png = PAW_ICON_GREEN;
  1093. adead_link_png = PAW_ICON_RED;
  1094. unava_link_png = PAW_ICON_YELLOW;
  1095. prem_link_png = PAW_ICON_PINK;
  1096. break;
  1097. // classic RSLC look
  1098. case 2: alive_link_png = RSLC_ICON_GREEN;
  1099. adead_link_png = RSLC_ICON_RED;
  1100. unava_link_png = RSLC_ICON_YELLOW;
  1101. prem_link_png = RSLC_ICON_PINK;
  1102. break;
  1103. // New Icons
  1104. case 3: alive_link_png = NEW_ICON_GREEN;
  1105. adead_link_png = NEW_ICON_RED;
  1106. unava_link_png = NEW_ICON_YELLOW;
  1107. prem_link_png = NEW_ICON_PINK;
  1108. break;
  1109. // cat paws
  1110. default:alive_link_png = PAW_ICON_GREEN;
  1111. adead_link_png = PAW_ICON_RED;
  1112. unava_link_png = PAW_ICON_YELLOW;
  1113. prem_link_png = PAW_ICON_PINK;
  1114. break;
  1115. }
  1116. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1117. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1118.  
  1119. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1120.  
  1121. if (Color_DL_links)
  1122. {
  1123. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1124. live_color_css = 'color:' + Live_links_color + ' !important;';
  1125. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1126. container_color_css = 'color:' + Container_links_color + ' !important;';
  1127. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1128. }
  1129. else
  1130. {
  1131. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1132. }
  1133.  
  1134. if (Show_black_background_in_DL_links)
  1135. {
  1136. black_background_css = 'background-color: black !important;';
  1137. }
  1138. else
  1139. {
  1140. black_background_css = '';
  1141. }
  1142.  
  1143. if (Show_line_through_in_dead_links)
  1144. {
  1145. line_through_css = 'text-decoration: line-through !important;';
  1146. }
  1147. else
  1148. {
  1149. line_through_css = '';
  1150. }
  1151.  
  1152. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1153. 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 + "}");
  1154. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1155. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1156. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1157. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1158. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1159. }
  1160. }
  1161.  
  1162. var warlcTooltip = null;
  1163. var mouseoverLink = null; //link href with mouse cursor over it
  1164.  
  1165. var lastX = 0;
  1166. var lastY = 0;
  1167.  
  1168. $(document).ready(initTooltip);
  1169. //inits tooltip
  1170. function initTooltip()
  1171. { warlcTooltip = document.createElement("div");
  1172. 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;");
  1173. warlcTooltip.style.visibility = "hidden";
  1174. document.body.appendChild(warlcTooltip);
  1175. }
  1176.  
  1177. //"mousemove" event handler for all links
  1178. function moveTooltip(event)
  1179. {
  1180. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1181. { //no need to reflow if the cursor moved just a little
  1182. return;
  1183. }
  1184. else
  1185. {
  1186. lastX = event.clientX;
  1187. lastY = event.clientY;
  1188. }
  1189.  
  1190. posX = event.clientX + window.pageXOffset + 10;
  1191. posY = event.clientY + window.pageYOffset;
  1192. var ttHeight = warlcTooltip.offsetHeight;
  1193. var ttFreeSpace = window.innerHeight - event.clientY;
  1194. if (ttHeight > ttFreeSpace)
  1195. { //prevents tooltip from getting out of the window
  1196. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1197. }
  1198. else
  1199. {
  1200. posY += 7;
  1201. }
  1202. warlcTooltip.style.top = posY + "px";
  1203. warlcTooltip.style.left = posX + "px";
  1204. }
  1205.  
  1206. //"mouseout" event handler for all links
  1207. function hideTooltip(){
  1208. warlcTooltip.style.visibility = "hidden";
  1209. mouseoverLink = null;
  1210. }
  1211.  
  1212.  
  1213. //"mouseover" event handler for dead links
  1214. //displays tooltip error message on dead links
  1215. function displayTooltipError()
  1216. {
  1217. mouseoverLink = this.href;
  1218. this.addEventListener("mouseout", hideTooltip);
  1219. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1220. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1221. warlcTooltip.style.minWidth = 0;
  1222. warlcTooltip.style.visibility = "visible";
  1223. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1224. {
  1225. warlcTooltip.innerHTML = this.warlc_error;
  1226. }
  1227. else
  1228. {
  1229. loadErrorInfo(this);
  1230. }
  1231. function loadErrorInfo(link)
  1232. {
  1233. var href = link.href;
  1234. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1235. GM_xmlhttpRequest({
  1236. method: 'GET',
  1237. url: href.replace(Ref_anonymize_service, ""),
  1238. headers: {
  1239. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1240. 'Accept': 'text/xml',
  1241. 'Referer': ""
  1242. },
  1243. onload: function(result) {
  1244. var res = result.responseText;
  1245. //TODO: errorRegexs -
  1246. var errorRegexs = [ //generic error messages follow
  1247. /(empty directory)/i,
  1248. /(soubor nebyl nalezen)/i,
  1249. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1250. //server specific error messages follow
  1251. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1252. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1253. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1254. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1255. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1256. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1257. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1258. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1259. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1260. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1261. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1262. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1263. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1264. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1265. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1266. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1267. /(File has been removed due to Copyright Claim)/, //filerio
  1268. ];
  1269. var errorIdx = errorRegexs.length;
  1270. var error = "Cause of error: <b>unknown</b>";
  1271. var errorCandidate = "";
  1272. while(errorIdx--)
  1273. {
  1274. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1275. if (errorCandidate != null)
  1276. {
  1277. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1278. break;
  1279. }
  1280. }
  1281. //link attributes
  1282. link.warlc_error = error;
  1283. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1284. {
  1285. warlcTooltip.innerHTML = error;
  1286. }
  1287. }
  1288. });
  1289. }
  1290. }
  1291.  
  1292. //"mouseover" event handler for alive links
  1293. //displays tooltip info (file size, file name,...) on alive links
  1294. function displayTooltipInfo()
  1295. {
  1296. mouseoverLink = this.href;
  1297. //exclude direct download filehostings
  1298. if (this.href.match(/(?:uloziste\.com|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)/))
  1299. {
  1300. return;
  1301. }
  1302. this.addEventListener("mouseout", hideTooltip);
  1303. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1304. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1305. warlcTooltip.style.minWidth = 0;
  1306. warlcTooltip.style.visibility = "visible";
  1307. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1308. {
  1309. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1310. }
  1311. else
  1312. {
  1313. loadInfo(this);
  1314. }
  1315. function loadInfo(link)
  1316. {
  1317. var href = link.href;
  1318. GM_xmlhttpRequest({
  1319. method: 'GET',
  1320. url: href.replace(Ref_anonymize_service, ""),
  1321. headers: {
  1322. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1323. 'Accept': 'text/xml',
  1324. 'Referer': ""
  1325. },
  1326. onload: function(result) {
  1327. var res = result.responseText;
  1328. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1329. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1330. /fl" title="(.+?)">/, //edisk
  1331. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, uloz.to, share-rapid, shragle, extabit, refile.net
  1332. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1333. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1334. /title="download (.+?)">/, //sendspace
  1335. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1336. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1337. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1338. /d0FileName = "(.+?)";/, //letitbit
  1339. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1340. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1341. /fname" value="(.+?)">/, //syfiles, grupload,
  1342. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1343. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1344. /Complete name : (.+?)<br \/>/, //bezvadata
  1345. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1346. ];
  1347. var nameIdx = nameRegexs.length;
  1348. // [sizeRegexs]
  1349. // / \ \?
  1350. // prefix (size) postfix
  1351. // / \
  1352. // val quant
  1353. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1354. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1355. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1356. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1357. var postSizeRegex = '(?:\\))?';
  1358. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1359. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1360. ];
  1361. var sizeIdx = sizeRegexs.length;
  1362. //
  1363. //
  1364. var tooltip = "File Name: <b>";
  1365. var fileName = "unknown";
  1366. var nameCandidate = "";
  1367. while(nameIdx--)
  1368. {
  1369. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1370. if (nameCandidate != null)
  1371. {
  1372. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1373. break;
  1374. }
  1375. }
  1376. tooltip += fileName + "</b><br>File Size: <b>";
  1377. var fileSize = "unknown";
  1378. var sizeCandidate = "";
  1379. while(sizeIdx--)
  1380. {
  1381. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1382. if (sizeCandidate != null)
  1383. {
  1384. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1385. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1386. {
  1387. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1388. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1389. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1390. }
  1391. break;
  1392. }
  1393. }
  1394. tooltip += fileSize + "</b>";
  1395. // PROTOTYPE
  1396. // video thumbnails
  1397. if (href.match('hellshare'))
  1398. {
  1399. var thumbs;
  1400. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1401. if (thumbs)
  1402. {
  1403. tooltip += '<br>';
  1404. var j = Math.min(thumbs.length, 9);
  1405. for (var i = 0; i < j; i++)
  1406. {
  1407. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1408. }
  1409. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1410. }
  1411. }
  1412. if (href.match('czshare'))
  1413. {
  1414. var thumbs;
  1415. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1416. if (thumbs)
  1417. {
  1418. var thumbsServer = thumbs[1];
  1419. var thumbsId = thumbs[2];
  1420. tooltip += '<br>';
  1421. for (var i = 1; i < 9; i++)
  1422. {
  1423. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1424. }
  1425. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1426. }
  1427. }
  1428. if (href.match('bezvadata'))
  1429. {
  1430. var thumbs;
  1431. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1432. if (thumbs)
  1433. {
  1434. tooltip += '<br>';
  1435. var j = Math.min(thumbs.length, 9);
  1436. for (var i = 0; i < j; i++)
  1437. {
  1438. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1439. }
  1440. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1441. }
  1442. }
  1443. link.warlc_tooltipcache = tooltip;
  1444. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1445. {
  1446. warlcTooltip.innerHTML = tooltip;
  1447. }
  1448. }
  1449. });
  1450. }
  1451. }
  1452.  
  1453. function setVariables()
  1454. {
  1455. if (firstRun)
  1456. {
  1457. GM_log('First run, applying default settings...');
  1458. GM_setValue("Icon_set",1);
  1459. GM_setValue("Display_tooltip_info",true);
  1460. GM_setValue("Show_black_background_in_DL_links",false);
  1461. GM_setValue("Show_line_through_in_dead_links",false);
  1462. GM_setValue("Display_full_links_in_link_containers",false);
  1463. GM_setValue("Allow_spaces_in_DL_links",false);
  1464. GM_setValue("Autocheck",true);
  1465. GM_setValue("Enable_Anonymizer",false);
  1466. GM_setValue("Do_not_linkify_DL_links",false);
  1467. GM_setValue("Show_progress_stats",true);
  1468. GM_setValue("Keyboard_functions",true);
  1469. GM_setValue("Obsolete_file_hosts",false);
  1470. GM_setValue("Color_DL_links",true);
  1471. GM_setValue("Live_links_color","Green");
  1472. GM_setValue("Dead_links_color","#FF3300");
  1473. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1474. GM_setValue("Container_links_color","DarkKhaki");
  1475. GM_setValue("Premium_links_color","DeepPink");
  1476. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1477. GM_setValue("Custom_rules",false);
  1478. GM_setValue("Custom_rules_text","");
  1479. GM_setValue("First_run", false);
  1480. }
  1481. //hidden settings
  1482. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1483. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1484. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1485. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1486. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1487. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1488. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1489. //hidden settings end
  1490.  
  1491. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1492. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1493. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1494. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1495. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1496. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1497. Autocheck = GM_getValue("Autocheck", true);
  1498. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1499. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1500. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1501. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1502. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1503. Color_DL_links = GM_getValue("Color_DL_links", true);
  1504. Live_links_color = GM_getValue("Live_links_color", "Green");
  1505. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1506. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1507. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1508. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1509. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1510. Custom_rules = GM_getValue("Custom_rules", false);
  1511. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1512. }
  1513.  
  1514.  
  1515. // Delinkifies the links
  1516. // params:
  1517. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1518. // e.g. 'uloz.to/xs68skxl8')
  1519. function delinkifySnapshot(snapshot)
  1520. {
  1521. var n = snapshot.snapshotLength;
  1522.  
  1523. while (n--)
  1524. {
  1525. thisLink = snapshot.snapshotItem(n);
  1526.  
  1527. var spanElm = document.createElement("span");
  1528. spanElm.className = thisLink.className;
  1529. spanElm.innerHTML = thisLink.innerHTML;
  1530.  
  1531. if (Display_tooltip_info)
  1532. {
  1533. spanElm.href = thisLink.href;
  1534. switch (thisLink.className){
  1535. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1536. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1537. case "unava_link": //reserved
  1538. default:
  1539. }
  1540. }
  1541. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1542. }
  1543. }
  1544.  
  1545. function processContainers()
  1546. {
  1547. var redirectorTypes = { "HTTP_302": 0,
  1548. "INNER_LINK": 1,
  1549. "THELOO_KATT_IT": 2,
  1550. "CING_BE": 3,
  1551. "ADF_LY": 4};
  1552. var cMultiloadTotal = 0;
  1553. var cMultiloadProcessed = 0;
  1554.  
  1555. var cMirrorcreatorComTotal = 0;
  1556. var cMirrorcreatorComProcessed = 0;
  1557.  
  1558. var hostRestrictionRegex = "";
  1559. var multiloadComRestriction = "";
  1560. var multiloadComRestrictionRegex;
  1561.  
  1562. //
  1563. //HANDLING REDIRECTORS START
  1564. //
  1565.  
  1566. var redirectors = new Array();
  1567. initRedirectors();
  1568.  
  1569. var redirectorsCount = redirectors.length;
  1570.  
  1571. if (redirectorsCount > 0)
  1572. {
  1573. var allRedirectorsRegex = "";
  1574.  
  1575. //linkify redirector links
  1576. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1577. {
  1578. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1579. }
  1580. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1581. linkify(allRedirectorsRegex);
  1582. //
  1583. //process redirector links
  1584. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1585. {
  1586. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1587. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1588.  
  1589. cLinksTotal += redirectors[redirIdx].cTotal;
  1590. var linkIdx = redirectors[redirIdx].cTotal;
  1591.  
  1592. while(linkIdx--)
  1593. {
  1594. switch(redirectors[redirIdx].type)
  1595. {
  1596. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1597. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1598. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1599. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1600. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1601. default:
  1602. }
  1603. }
  1604. }
  1605. //
  1606. }
  1607.  
  1608. //HTTP_302
  1609. function processRedirectorLink(link, redirectorId)
  1610. {
  1611. link.className = 'container_link';
  1612.  
  1613. GM_xmlhttpRequest({
  1614. method: 'HEAD',
  1615. url: link.href,
  1616. headers: {
  1617. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1618. 'Accept': 'text/xml',
  1619. 'Referer': ""
  1620. },
  1621. onload: function(result) {
  1622. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1623. {
  1624. processRedirectorLink(link, redirectorId);
  1625. }
  1626. else
  1627. {
  1628. redirectors[redirectorId].cProcessed++;
  1629. link.href = result.finalUrl;
  1630. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1631. checkLinks('container_link');
  1632. }
  1633. },
  1634. onerror: function(result) { //probably caused by unresponsive filehosting
  1635. redirectors[redirectorId].cProcessed++;
  1636. link.className = 'unava_link';
  1637. cLinksProcessed++;
  1638. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1639. checkLinks('container_link');
  1640. }
  1641. });
  1642. }
  1643. //INNER_LINK
  1644. function processRedirectorLinkEx(link, redirectorId)
  1645. {
  1646. link.className = 'container_link';
  1647. GM_xmlhttpRequest({
  1648. method: 'GET',
  1649. url: link.href,
  1650. headers: {
  1651. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1652. 'Accept': 'text/xml',
  1653. 'Referer': ""
  1654. },
  1655. onload: function(result) {
  1656. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1657. redirectors[redirectorId].cProcessed++;
  1658. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1659. checkLinks('container_link');
  1660. }
  1661. });
  1662. }
  1663. //theloo.katt.it (wrapped safelinking.net)
  1664. function processThelooKattItLink(link, redirectorId)
  1665. {
  1666. link.className = 'container_link';
  1667. GM_xmlhttpRequest({
  1668. method: 'GET',
  1669. url: link.href,
  1670. headers: {
  1671. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1672. 'Accept': 'text/xml',
  1673. 'Referer': ""
  1674. },
  1675. onload: function(result) {
  1676. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1677. redirectors[redirectorId].cProcessed++;
  1678. //the inner links are safelinking.net links, so lets proceed with it
  1679. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1680. {
  1681. processRedirectorLink(link, 0);
  1682. }
  1683. }
  1684. });
  1685. }
  1686. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1687. function processAdfLyLink(link, redirectorId)
  1688. {
  1689. link.className = 'container_link';
  1690. GM_xmlhttpRequest({
  1691. method: 'GET',
  1692. url: link.href,
  1693. headers: {
  1694. 'User-agent': 'Mozilla/4.0',
  1695. 'Accept': 'text/xml',
  1696. 'Referer': ""
  1697. },
  1698. onload: function(result) {
  1699. if (result.finalUrl.match('/locked/'))
  1700. {
  1701. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1702. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1703. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1704. }
  1705. else
  1706. {
  1707. // GM_log('Processing... ' + link.href);
  1708. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1709. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1710. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1711. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1712. //confirm advert
  1713. GM_xmlhttpRequest(
  1714. {
  1715. method: 'POST',
  1716. url: 'http://adf.ly/l.php',
  1717. headers: {
  1718. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1719. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1720. 'Referer': link.href
  1721. },
  1722. data: users + '&lt=' + logToken,
  1723. onload: function(result) {
  1724. //retrieve final url from .../go/... link
  1725. GM_xmlhttpRequest({
  1726. method: 'GET',
  1727. url: directLink,
  1728. headers: {
  1729. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1730. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1731. 'Referer': link.href
  1732. },
  1733. onload: function(result) {
  1734. link.href = result.finalUrl;
  1735. redirectors[redirectorId].cProcessed++;
  1736. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1737. checkLinks('container_link');
  1738. }
  1739. });
  1740. }
  1741. });
  1742. }
  1743. }
  1744. });
  1745. function proceedOK()
  1746. {
  1747. }
  1748. }
  1749. //MULTILOAD.CZ START
  1750. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1751. {
  1752. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1753. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1754.  
  1755. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1756.  
  1757. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1758. hostRestrictionRegex += 'hellshare|';
  1759. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1760. hostRestrictionRegex += 'downloadhellshare|';
  1761. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1762. hostRestrictionRegex += 'share-rapid\\.com|';
  1763. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1764. hostRestrictionRegex += 'quickshare\\.cz|';
  1765. if (GM_getValue("Check_czshare_dot_com_links", false))
  1766. hostRestrictionRegex += 'czshare\\.com|';
  1767. if (GM_getValue("Check_uloz_dot_to_links", false))
  1768. hostRestrictionRegex += 'uloz\\.to|';
  1769. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1770. hostRestrictionRegex += 'hellspy|';
  1771. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1772. hostRestrictionRegex += 'multishare\\.cz|';
  1773.  
  1774. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1775.  
  1776. linkify(mlRegex);
  1777.  
  1778. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1779. var mlCount = mlSnapshot.snapshotLength;
  1780.  
  1781. if (mlCount > 0)
  1782. {
  1783. cMultiloadTotal += mlCount;
  1784.  
  1785. mlIdx = mlCount - 1;
  1786. do
  1787. {
  1788. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1789. }
  1790. while(mlIdx--)
  1791. }
  1792. }
  1793. //MULTILOAD.CZ END
  1794.  
  1795.  
  1796.  
  1797. function processMultiloadLink(mlLink)
  1798. {
  1799. GM_xmlhttpRequest({
  1800. method: 'GET',
  1801. url: mlLink.href,
  1802. headers: {
  1803. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1804. 'Accept': 'text/xml',
  1805. 'Referer': ""
  1806. },
  1807. onload: function(result) {
  1808. var res = result.responseText;
  1809.  
  1810. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1811. 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;
  1812. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1813. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1814.  
  1815. var blocks; // blocks of links
  1816. var blockIdx;
  1817.  
  1818. mlLink.className = '';
  1819.  
  1820. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1821. {
  1822. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1823. return;
  1824. }
  1825.  
  1826. blocks = res.match(innerBlockRegex);
  1827.  
  1828. if (blocks == null) //no links found, cancel further processing
  1829. {
  1830. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1831. cMultiloadProcessed++;
  1832. if (cMultiloadTotal <= cMultiloadProcessed)
  1833. {
  1834. startBulkCheck('container_link');
  1835. start('container_link');
  1836. }
  1837. return;
  1838. }
  1839.  
  1840. blockIdx = blocks.length;
  1841.  
  1842. if (Display_full_links_in_link_containers)
  1843. {
  1844. var ulElm = document.createElement('ul');
  1845. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1846.  
  1847. while(blockIdx--)
  1848. {
  1849. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1850. {
  1851. continue;
  1852. }
  1853.  
  1854. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1855.  
  1856. var linkIdx = innerLinks.length;
  1857. while (linkIdx--)
  1858. {
  1859. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1860.  
  1861. var liElm = document.createElement('li');
  1862.  
  1863. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1864. {
  1865. liElm.appendChild(document.createTextNode(innerLink));
  1866. }
  1867. else
  1868. {
  1869. var aElm = document.createElement('a');
  1870. aElm.innerHTML = innerLink;
  1871. aElm.href = innerLink;
  1872. aElm.className = 'container_link';
  1873.  
  1874. liElm.appendChild(aElm);
  1875. }
  1876.  
  1877. ulElm.appendChild(liElm);
  1878. cLinksTotal++;
  1879. }
  1880. }
  1881.  
  1882. mlLink.parentNode.appendChild(ulElm);
  1883. }
  1884. else //compact view
  1885. {
  1886. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1887.  
  1888. while(blockIdx--)
  1889. {
  1890. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1891. {
  1892. continue;
  1893. }
  1894.  
  1895. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1896.  
  1897. var linkIdx = innerLinks.length;
  1898. while (linkIdx--)
  1899. {
  1900. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1901.  
  1902. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1903. {
  1904. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1905. }
  1906. else
  1907. {
  1908. var aElm = document.createElement('a');
  1909.  
  1910. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1911.  
  1912. //abbreviate host name
  1913. switch(hostName + ""){
  1914.  
  1915. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1916. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1917. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1918. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1919. case 'multishare': aElm.innerHTML = 'MS'; break;
  1920. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1921. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1922. case 'czshare': aElm.innerHTML = 'CS'; break;
  1923. default: aElm.innerHTML = 'xx';
  1924.  
  1925. }
  1926.  
  1927. aElm.href = innerLink;
  1928. aElm.className = 'container_link';
  1929.  
  1930. mlLink.parentNode.appendChild(aElm);
  1931. cLinksTotal++;
  1932. }
  1933. }
  1934.  
  1935. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1936.  
  1937. }
  1938. }
  1939.  
  1940. cMultiloadProcessed++;
  1941. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1942. {
  1943. if (Do_not_linkify_DL_links)
  1944. {
  1945. delinkifySnapshot(mlSnapshot);
  1946. }
  1947. startBulkCheck('container_link');
  1948. start('container_link');
  1949. }
  1950. }
  1951. });
  1952. }
  1953.  
  1954.  
  1955. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1956. {
  1957. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1958. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1959. var mcShortHostNames =
  1960. '?? 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';
  1961. // 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
  1962. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1963. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1964. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1965. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1966.  
  1967. linkify(mcRegex);
  1968.  
  1969. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1970. var mcCount = mcSnapshot.snapshotLength;
  1971.  
  1972. cMirrorcreatorComTotal = mcCount;
  1973.  
  1974. if (mcCount > 0)
  1975. {
  1976. mcShortHostNames = mcShortHostNames.split(' ');
  1977. mcIdx = mcCount;
  1978. while(mcIdx--)
  1979. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1980. }
  1981.  
  1982. }
  1983. //MIRRORCREATOR.CZ END
  1984.  
  1985.  
  1986. //mirrorcreator.com checking works like this:
  1987. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1988. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1989. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1990. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1991. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1992. function processMirrorcreatorLink(mcLink)
  1993. {
  1994. var mcURL = mcLink.href.match(mcRegex);
  1995. if(!mcURL || !mcURL[1]) return;
  1996. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1997. GM_xmlhttpRequest({
  1998. method: 'GET',
  1999. url: mcURL,
  2000. headers: {
  2001. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2002. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2003. 'Referer': ""
  2004. },
  2005. onload: function(mcLinkResult) {
  2006. var mcLinkRes = mcLinkResult.responseText;
  2007.  
  2008. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2009. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2010.  
  2011. var mcRedirectors;
  2012. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2013. var m = mcLinkRes.match(mcLinkBlockRegex);
  2014. if (m)
  2015. mcHostsFound = m.length;
  2016. else
  2017. { //no files inside container
  2018. processMirrorcreatorFoundHosts(mcLink, []);
  2019. return;
  2020. }
  2021.  
  2022. var mcRedirectorURL, idx, timedOut = false;
  2023.  
  2024. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2025. GM_xmlhttpRequest({
  2026. method: 'GET',
  2027. url: mcRedirectorURL,
  2028. headers: {
  2029. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2030. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2031. 'Referer': ""
  2032. },
  2033. onload: function(mcHostResult) {
  2034. if (timedOut) return; //too late, the list is already displayed
  2035. var mcHostRes = mcHostResult.responseText;
  2036. var mcHost = mcHostRes.match(mcHostRegex);
  2037. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2038. if (mcHost && idx!=-1)
  2039. {
  2040. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2041. mcHostsRetrieved++;
  2042. mcHostsToProcess++;
  2043. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2044. {
  2045. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2046. mcHostsToProcess = 0;
  2047. }
  2048. }
  2049. } //end of onload: function
  2050. }); //end of GM_xmlhttpRequest call
  2051. };//end of var gmxhrFunc
  2052.  
  2053. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2054. { //load individual redirector pages
  2055. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2056. mcHostURLs.push(mcRedirectorURL);
  2057. mcRedirectorIDs.push(mcRedirectors[2]);
  2058. gmxhrFunc(mcRedirectorURL);
  2059. } //end of while block
  2060.  
  2061. setTimeout(function(){ //in case the last page fails to load and call the function
  2062. timedOut = true;
  2063. if (mcHostsToProcess)
  2064. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2065. }, 60000);
  2066.  
  2067. } //end of onload function
  2068. }); //end of GM_xmlhttpRequest call
  2069. } //end of function processMirrorcreatorLink
  2070.  
  2071.  
  2072. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2073. {
  2074. var aEl, liEl, docFrag;
  2075. var hostName, mcRedirectorID, trimFilename = false;
  2076. var i = mcHostURLs.length;
  2077. if (i == 0)
  2078. {
  2079. trimFilename = true;
  2080. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2081. }
  2082. else
  2083. {
  2084. if (Display_full_links_in_link_containers)
  2085. { //full view
  2086. var wrapperEl = document.createElement('span');
  2087. wrapperEl.style.display = 'block';
  2088. var ulistEl = document.createElement('ul');
  2089. ulistEl.className = 'container_list';
  2090. while (i--)
  2091. {
  2092. liEl = document.createElement('li');
  2093. aEl = document.createElement('a');
  2094. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2095. aEl.href = mcHostURLs[i];
  2096. aEl.className = 'container_link';
  2097. liEl.appendChild(aEl);
  2098. ulistEl.appendChild(liEl);
  2099. }
  2100. wrapperEl.appendChild(ulistEl);
  2101. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2102. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2103. }
  2104. else
  2105. { //compact view
  2106. trimFilename = true;
  2107. docFrag = document.createDocumentFragment();
  2108. docFrag.appendChild(document.createTextNode(' |'));
  2109. while (i--)
  2110. {
  2111. mcRedirectorID = mcRedirectorIDs[i];
  2112. hostName = mcHostURLs[i];
  2113. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2114. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2115. else
  2116. hostName = mcShortHostNames[mcRedirectorID];
  2117. aEl = document.createElement('a');
  2118. aEl.href = mcHostURLs[i];
  2119. aEl.className = 'container_link';
  2120. aEl.appendChild(document.createTextNode(hostName));
  2121. docFrag.appendChild(aEl);
  2122. docFrag.appendChild(document.createTextNode('|'));
  2123. }
  2124. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2125. } //end of else block
  2126. } //end of else block
  2127. mcLink.className = '';
  2128. if (trimFilename)
  2129. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2130. cMirrorcreatorComProcessed++;
  2131. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2132. {
  2133. if (Do_not_linkify_DL_links)
  2134. delinkifySnapshot(mcSnapshot);
  2135. startBulkCheck('container_link');
  2136. start('container_link');
  2137. }
  2138. } //end of function processMirrorcreatorFoundHosts
  2139.  
  2140. containers_processed = true;
  2141.  
  2142.  
  2143. function initRedirectors()
  2144. {
  2145. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2146. {
  2147. var redirector = new Object();
  2148. redirector.linkRegex = linkRegex;
  2149. redirector.xpath = xpathEx; //xpath expression
  2150. redirector.cProcessed = 0; //processed links count
  2151. redirector.cTotal = 0; //total links count
  2152. redirector.type = redirType; //redirectorTypes enum
  2153. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2154. redirectors.push(redirector);
  2155. }
  2156. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2157. {
  2158. addRedirector(
  2159. 'safelinking\\.net\/d\/\\w+',
  2160. "//a[contains(@href,'safelinking.net/d/')]",
  2161. redirectorTypes.HTTP_302,
  2162. null);
  2163. }
  2164. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2165. {
  2166. addRedirector(
  2167. 'linksafe\\.me\/d\/\\w+',
  2168. "//a[contains(@href,'linksafe.me/d/')]",
  2169. redirectorTypes.HTTP_302,
  2170. null);
  2171. }
  2172. if (GM_getValue("Check_linkto_dot_net_links", false))
  2173. {
  2174. addRedirector(
  2175. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2176. "//a[contains(@href,'linkto.net/?')]",
  2177. redirectorTypes.INNER_LINK,
  2178. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2179. }
  2180. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2181. {
  2182. addRedirector(
  2183. '(?:the)?loo\\.katt\\.it\/\\w+',
  2184. "//a[contains(@href,'loo.katt.it/')]",
  2185. redirectorTypes.THELOO_KATT_IT,
  2186. /Proceed to URL - <a href="(.+?)">/);
  2187. }
  2188. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2189. {
  2190. addRedirector(
  2191. 'madlink\\.sk\/\\w+',
  2192. "//a[contains(@href,'madlink.sk/')]",
  2193. redirectorTypes.INNER_LINK,
  2194. /name="url" value="(.+?)\s*"\/>/);
  2195. }
  2196. if (GM_getValue("Check_adf_dot_ly_links", false))
  2197. {
  2198. addRedirector(
  2199. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2200. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2201. redirectorTypes.ADF_LY,
  2202. null);
  2203. }
  2204. if (GM_getValue("Check_redi_dot_re_links", false))
  2205. {
  2206. addRedirector(
  2207. 'redi\\.re\/\\w+',
  2208. "//a[contains(@href,'redi.re/')]",
  2209. redirectorTypes.HTTP_302,
  2210. null);
  2211. }
  2212. if (GM_getValue("Check_bit_dot_ly_links", false))
  2213. {
  2214. addRedirector(
  2215. 'bit\\.ly\/\\w+',
  2216. "//a[contains(@href,'bit.ly/')]",
  2217. redirectorTypes.HTTP_302,
  2218. null);
  2219. }
  2220. }
  2221.  
  2222. }
  2223.  
  2224. var bulkHosts = new Array();
  2225. var bulkHostNames = new Array();
  2226. function initBulkCheck()
  2227. {
  2228. /////////////////////////////
  2229. // Inits filehost object
  2230. /////////////////////////////
  2231. // params :
  2232. // hostName -- [string] host name (multiple domains separated with coma)
  2233. // linkRegex -- [string] link regex
  2234. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2235. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2236. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2237. // corrReplWhat -- [regex] link correction regex (replace)
  2238. // corrReplWith -- [string]
  2239. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2240. //
  2241. // apiUrl -- [string] web linkchecker or API URL
  2242. // postData -- [string] POSTDATA of xmlhttprequest
  2243. // resLinkRegex -- [regex]
  2244. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2245. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2246. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2247. // func -- [function] bulkcheck handler, genBulkCheck if null
  2248. //
  2249. //////////////////////////////
  2250. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2251. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2252. {
  2253. var fileHost = new Object();
  2254.  
  2255. fileHost.linkRegex = linkRegex;
  2256. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2257. fileHost.xpath = xpath;
  2258. fileHost.cFound = 0; //found links counter
  2259. fileHost.links = new Array(); //found links
  2260. if (blockSize == null)
  2261. {
  2262. fileHost.blockSize = 50;
  2263. }
  2264. else
  2265. {
  2266. fileHost.blockSize = blockSize;
  2267. }
  2268. fileHost.corrMatch = corrMatch;
  2269. fileHost.corrReplWhat = corrReplWhat;
  2270. fileHost.corrReplWith = corrReplWith;
  2271. if (splitSeparator == null)
  2272. {
  2273. fileHost.splitSeparator = "\r\n";
  2274. }
  2275. else
  2276. {
  2277. fileHost.splitSeparator = splitSeparator;
  2278. }
  2279. fileHost.apiUrl = apiUrl;
  2280. fileHost.postData = postData;
  2281. fileHost.resLinkRegex = resLinkRegex;
  2282. fileHost.resLiveRegex = resLiveRegex;
  2283. fileHost.resDeadRegex = resDeadRegex;
  2284. fileHost.resUnavaRegex = resUnavaRegex;
  2285. if (func == null)
  2286. {
  2287. fileHost.func = genBulkCheck;
  2288. }
  2289. else
  2290. {
  2291. fileHost.func = func;
  2292. }
  2293. bulkHosts.push(fileHost);
  2294. var names = hostName.split(',');
  2295. var i = names.length;
  2296. while(i--)
  2297. {
  2298. bulkHostNames[names[i]] = fileHost;
  2299. }
  2300. }
  2301. var genType1 = [
  2302. "rodfile.com", "downloadani.me", //"migahost.com",
  2303. "rarefile.net",
  2304. "filesabc.com",
  2305. "verzend.be",
  2306. // "movreel.com",
  2307. "4up.me",
  2308. "file4safe.com", "filemac.com", "4upfiles.com",
  2309. "idup.in", "novafile.com", "longfiles.com",
  2310. "bitupload.com",
  2311. "uploadbaz.com"
  2312. ];
  2313. var genType2 = [ "queenshare.com",
  2314. "hulkload.com",
  2315. "amonshare.com", //"edoc.com",
  2316. ];
  2317. //xfilesharing 1.0
  2318. function addGenericType1()
  2319. {
  2320. var i = genType1.length;
  2321. while(i--)
  2322. {
  2323. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2324. {
  2325. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2326. addHost(
  2327. genType1[i].match(/[\w-]+/)[0], //hostname
  2328. regexSafe + "\/\\w+", //linkregex
  2329. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2330. null, //blocksize
  2331. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2332. null, //corrreplwhat
  2333. null, //corrreplwith
  2334. null, //separator
  2335. "http://" + genType1[i] + "/checkfiles.html", //api url
  2336. "op=checkfiles&process=Check+URLs&list=", //postdata
  2337. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2338. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2339. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2340. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2341. null //function delegate
  2342. )
  2343. }
  2344. }
  2345. }
  2346. //xfilesharing 2.0
  2347. function addGenericType2()
  2348. {
  2349. var i = genType2.length;
  2350. while(i--)
  2351. {
  2352. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2353. {
  2354. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2355. addHost(
  2356. genType2[i].match(/[\w-]+/)[0], //hostname
  2357. regexSafe + "\/\\w+", //linkregex
  2358. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2359. null, //blocksize
  2360. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2361. null, //corrreplwhat
  2362. null, //corrreplwith
  2363. null, //separator
  2364. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2365. "op=checkfiles&process=Check+URLs&list=", //postdata
  2366. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2367. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2368. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2369. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2370. null //function delegate
  2371. )
  2372. }
  2373. }
  2374. }
  2375. // TEMPLATE
  2376. // if (GM_getValue("Check__dot_com_links", false))
  2377. // {
  2378. // addHost(
  2379. // "", //hostname
  2380. // "", //linkregex
  2381. // "//a[contains(@href,'.com/')]", //xpath
  2382. // null, //blocksize
  2383. // null, //corrmatch
  2384. // null, //corrreplwhat
  2385. // null, //corrreplwith
  2386. // null, //separator
  2387. // "", //api url
  2388. // "", //postdata
  2389. // /()/, //linkregex
  2390. // //liveregex
  2391. // //deadregex
  2392. // //unavaregex
  2393. // null //function delegate
  2394. // )
  2395. // }
  2396. addGenericType1();
  2397. addGenericType2();
  2398.  
  2399. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2400. {
  2401. addHost(
  2402. "myvdrive,fileserving", //hostname
  2403. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2404. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2405. null, //blocksize
  2406. null, //corrmatch
  2407. null, //corrreplwhat
  2408. null, //corrreplwith
  2409. null, //separator
  2410. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2411. "links=", //postdata
  2412. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2413. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2414. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2415. null, //unavaregex
  2416. null //function delegate
  2417. )
  2418. }
  2419. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2420. {
  2421. addHost(
  2422. "hackerbox", //hostname
  2423. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2424. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2425. null, //blocksize
  2426. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2427. null, //corrreplwhat
  2428. null, //corrreplwith
  2429. null, //separator
  2430. "http://host.hackerbox.org/checkfiles.html", //api url
  2431. "op=checkfiles&process=Check+URLs&list=", //postdata
  2432. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2433. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2434. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2435. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2436. null //function delegate
  2437. )
  2438. }
  2439. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2440. {
  2441. addHost(
  2442. "hellshare", //hostname
  2443. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2444. "//a[contains(@href,'hellshare.')]", //xpath
  2445. 48, //blocksize
  2446. null, //corrmatch
  2447. null, //corrreplwhat
  2448. null, //corrreplwith
  2449. null, //separator
  2450. null, //api url
  2451. null, //postdata
  2452. null, //linkregex
  2453. null, //liveregex
  2454. null, //deadregex
  2455. null, //unavaregex
  2456. hellshareBulkCheck //function delegate
  2457. )
  2458. }
  2459. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2460. {
  2461. addHost(
  2462. "ncrypt", //hostname
  2463. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2464. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2465. 100000, //blocksize
  2466. null, //corrmatch
  2467. null, //corrreplwhat
  2468. null, //corrreplwith
  2469. null, //separator
  2470. null,
  2471. null,
  2472. null,
  2473. null,
  2474. null,
  2475. null,
  2476. ncryptBulkCheck //function delegate
  2477. )
  2478. }
  2479. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2480. {
  2481. addHost(
  2482. "uploadrocket", //hostname
  2483. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2484. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2485. null, //blocksize
  2486. null, //corrmatch
  2487. null, //corrreplwhat
  2488. null, //corrreplwith
  2489. "\n", //separator
  2490. 'http://uploadrocket.net/?op=checkfiles',
  2491. 'op=checkfiles&process=Check+URLs&list=',
  2492. /uploadrocket.net\/(\w+)/,
  2493. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2494. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2495. null,
  2496. null //function delegate
  2497. )
  2498. }
  2499. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2500. {
  2501. addHost(
  2502. "k2s,keep2s,keep2share",
  2503. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2504. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2505. 100000, //blocksize
  2506. null, //corrmatch
  2507. null, //corrreplwhat
  2508. null, //corrreplwith
  2509. null, //separator
  2510. null,
  2511. null,
  2512. null,
  2513. null,
  2514. null,
  2515. null,
  2516. k2sBulkCheck //function delegate
  2517. )
  2518. }
  2519. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2520. {
  2521. addHost(
  2522. "tezfiles",
  2523. "(?:tezfiles\\.com)\/\\w+",
  2524. "//a[contains(@href,'tezfiles.com')]",
  2525. 100000, //blocksize
  2526. null, //corrmatch
  2527. null, //corrreplwhat
  2528. null, //corrreplwith
  2529. null, //separator
  2530. null,
  2531. null,
  2532. null,
  2533. null,
  2534. null,
  2535. null,
  2536. k2sBulkCheck //function delegate
  2537. )
  2538. }
  2539. if (GM_getValue("Check_fboom_dot_me_links", false))
  2540. {
  2541. addHost(
  2542. "fboom,fileboom",
  2543. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2544. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2545. 100000, //blocksize
  2546. null, //corrmatch
  2547. null, //corrreplwhat
  2548. null, //corrreplwith
  2549. null, //separator
  2550. null,
  2551. null,
  2552. null,
  2553. null,
  2554. null,
  2555. null,
  2556. fboomBulkCheck //function delegate
  2557. )
  2558. }
  2559. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2560. {
  2561. addHost(
  2562. "1fichier,dl4free",
  2563. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2564. "//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/?')]",
  2565. 100000, //blocksize
  2566. null, //corrmatch
  2567. null, //corrreplwhat
  2568. null, //corrreplwith
  2569. null, //separator
  2570. null,
  2571. null,
  2572. null,
  2573. null,
  2574. null,
  2575. null,
  2576. dl4free_1fichier_BulkCheck //function delegate
  2577. )
  2578. }
  2579. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2580. {
  2581. addHost(
  2582. "depositfiles,dfiles",
  2583. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2584. "//a[contains(@href,'depositfiles.lt/files/') or contains(@href,'depositfiles.com/files/') or contains(@href,'depositfiles.com/en/files/') or contains(@href,'depositfiles.org/files/') or contains(@href,'dfiles.ru/files/') or contains(@href,'dfiles.eu/files/')]",
  2585. 100000, //blocksize
  2586. null, //corrmatch
  2587. null, //corrreplwhat
  2588. null, //corrreplwith
  2589. null, //separator
  2590. null,
  2591. null,
  2592. null,
  2593. null,
  2594. null,
  2595. null,
  2596. depositfilesBulkCheck //function delegate
  2597. )
  2598. }
  2599. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2600. {
  2601. addHost(
  2602. "filesflash", //hostname
  2603. "filesflash\\.com\/\\w+", //linkregex
  2604. "//a[contains(@href,'filesflash.com')]", //xpath
  2605. null, //blocksize
  2606. null, //corrmatch
  2607. /http:\/\//, //corrreplwhat
  2608. '', //corrreplwith
  2609. null, //separator
  2610. 'http://filesflash.com/checklinks.php',
  2611. 'submit=Go&links=',
  2612. /filesflash\.com\/(\w+)/,
  2613. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2614. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2615. null,
  2616. null //function delegate
  2617. )
  2618. }
  2619. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2620. {
  2621. addHost(
  2622. "jumbofiles", //hostname
  2623. "jumbofiles\\.com\/\\w+", //linkregex
  2624. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2625. null, //blocksize
  2626. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2627. null, //corrreplwhat
  2628. null, //corrreplwith
  2629. null, //separator
  2630. "http://jumbofiles.com/checkfiles.html", //api url
  2631. "op=checkfiles&process=Check+URLs&list=", //postdata
  2632. /(jumbofiles\.com\/\w+)/, //linkregex
  2633. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2634. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2635. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2636. null //function delegate
  2637. )
  2638. }
  2639. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2640. {
  2641. addHost(
  2642. "edisk", //hostname
  2643. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2644. "//a[contains(@href,'edisk.')]", //xpath
  2645. null, //blocksize
  2646. null, //corrmatch
  2647. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2648. 'edisk.cz/stahni', //corrreplwith
  2649. null, //separator
  2650. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2651. 'submitBtn=Zkontrolovat&checkFiles=',
  2652. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2653. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2654. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2655. null,
  2656. null //function delegate
  2657. )
  2658. }
  2659. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2660. {
  2661. GM_xmlhttpRequest( //age check skip
  2662. {
  2663. method: 'POST',
  2664. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2665. headers: {
  2666. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2667. 'Content-type': 'application/x-www-form-urlencoded',
  2668. 'Referer': ""
  2669. }
  2670. });
  2671. addHost(
  2672. "bezvadata", //hostname
  2673. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2674. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2675. null, //blocksize
  2676. null, //corrmatch
  2677. null, //corrreplwhat
  2678. null, //corrreplwith
  2679. null, //separator
  2680. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2681. 'zkontrolovat=Zkontrolovat&odkazy=',
  2682. /(bezvadata\.cz\/stahnout\/\d+)/,
  2683. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2684. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2685. null,
  2686. null //function delegate
  2687. )
  2688. }
  2689. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2690. {
  2691. addHost(
  2692. "linkcrypt", //hostname
  2693. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2694. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2695. 100000, //blocksize
  2696. null, //corrmatch
  2697. null, //corrreplwhat
  2698. null, //corrreplwith
  2699. null, //separator
  2700. null,
  2701. null,
  2702. null,
  2703. null,
  2704. null,
  2705. null,
  2706. linkcryptBulkCheck //function delegate
  2707. )
  2708. }
  2709. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2710. {
  2711. addHost(
  2712. "linksave", //hostname
  2713. "linksave\\.in\/\\w+", //linkregex
  2714. "//a[contains(@href,'linksave.in')]", //xpath
  2715. 100000, //blocksize
  2716. null, //corrmatch
  2717. null, //corrreplwhat
  2718. null, //corrreplwith
  2719. null, //separator
  2720. null,
  2721. null,
  2722. null,
  2723. null,
  2724. null,
  2725. null,
  2726. linksaveBulkCheck //function delegate
  2727. )
  2728. } */
  2729. if (GM_getValue("Check_videobb_dot_com_links", false))
  2730. {
  2731. addHost(
  2732. "videobb", //hostname
  2733. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2734. "//a[contains(@href,'videobb.com')]", //xpath
  2735. null, //blocksize
  2736. null, //corrmatch
  2737. /watch_video\.php\?v=/, //corrreplwhat
  2738. 'video/', //corrreplwith
  2739. null, //separator
  2740. 'http://www.videobb.com/link_checker.php',
  2741. 'links=',
  2742. /videobb\.com\/video\/(\w+)/,
  2743. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2744. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2745. null,
  2746. null //function delegate
  2747. )
  2748. }
  2749. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2750. {
  2751. addHost(
  2752. "cramit,cramitin", //hostname
  2753. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2754. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2755. null, //blocksize
  2756. null, //corrmatch
  2757. null, //corrreplwhat
  2758. null, //corrreplwith
  2759. null, //separator
  2760. 'http://cramit.in/checkfiles.html',
  2761. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2762. /(cramit(?:\.in|in\.net)\/\w+)/,
  2763. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2764. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2765. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2766. null //function delegate
  2767. )
  2768. }
  2769. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2770. {
  2771. addHost(
  2772. "turbobit", //hostname
  2773. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2774. "//a[contains(@href,'turbobit.')]", //xpath
  2775. null, //blocksize
  2776. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2777. null, //corrreplwhat
  2778. null, //corrreplwith
  2779. "\n", //separator
  2780. 'http://turbobit.net/linkchecker/csv',
  2781. 'links_to_check=',
  2782. /(turbobit\.(?:net|pl)\/\w+)/,
  2783. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2784. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2785. null,
  2786. null //function delegate
  2787. )
  2788. } */
  2789. if (GM_getValue("Check_filerio_dot_com_links", false))
  2790. {
  2791. addHost(
  2792. "filekeen,filerio", //hostname
  2793. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2794. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2795. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2796. null, //blocksize
  2797. null, //corrmatch
  2798. null, //corrreplwhat
  2799. null, //corrreplwith
  2800. null, //separator
  2801. 'http://filerio.in/checkfiles.html',
  2802. 'op=checkfiles&process=Check+URLs&list=',
  2803. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2804. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2805. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2806. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2807. null //function delegate
  2808. )
  2809. }
  2810. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2811. {
  2812. addHost(
  2813. "share-online,egoshare", //hostname
  2814. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2815. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2816. null, //blocksize
  2817. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2818. null, //corrreplwhat
  2819. null, //corrreplwith
  2820. "\n", //separator
  2821. 'http://api.share-online.biz/linkcheck.php',
  2822. 'links=',
  2823. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2824. /\w+;OK/g,
  2825. /\w+;(?:NOTFOUND|DELETED)/g,
  2826. null,
  2827. null //function delegate
  2828. )
  2829. }
  2830. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2831. {
  2832. addHost(
  2833. "quickshare", //hostname
  2834. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2835. "//a[contains(@href,'quickshare.cz')]", //xpath
  2836. null, //blocksize
  2837. null, //corrmatch
  2838. null, //corrreplwhat
  2839. null, //corrreplwith
  2840. null, //separator
  2841. 'http://www.quickshare.cz/nastroje/link-checker',
  2842. 'linky=',
  2843. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2844. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2845. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2846. null,
  2847. null //function delegate
  2848. )
  2849. } */
  2850. if (GM_getValue("Check_oboom_dot_com_links", false))
  2851. {
  2852. addHost(
  2853. "oboom", //hostname
  2854. "oboom\\.com\/#?\\w{8}", //linkregex
  2855. "//a[contains(@href,'oboom.com/')]", //xpath
  2856. null, //blocksize
  2857. /oboom\.com\/#?(\w{8})/, //corrmatch
  2858. null, //corrreplwhat
  2859. null, //corrreplwith
  2860. null, //separator
  2861. null,
  2862. null,
  2863. null,
  2864. null, //liveregex
  2865. null, //deadregex
  2866. null,
  2867. oboomBulk //function delegate
  2868. )
  2869. }
  2870. if (GM_getValue("Check_mega_dot_nz_links", false))
  2871. {
  2872. addHost(
  2873. "mega",
  2874. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2875. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2876. 100000, //blocksize
  2877. null, //corrmatch
  2878. null, //corrreplwhat
  2879. null, //corrreplwith
  2880. null, //separator
  2881. null,
  2882. null,
  2883. null,
  2884. null,
  2885. null,
  2886. null,
  2887. megaBulkCheck //function delegate
  2888. )
  2889. }
  2890.  
  2891. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2892.  
  2893. if (GM_getValue("Check_extabit_dot_com_links", false))
  2894. {
  2895. addHost(
  2896. "extabit", //hostname
  2897. "extabit\\.com\/file\/\\w+", //linkregex
  2898. "//a[contains(@href,'extabit.com')]", //xpath
  2899. null, //blocksize
  2900. null, //corrmatch
  2901. null, //corrreplwhat
  2902. null, //corrreplwith
  2903. "\n", //separator
  2904. "http://extabit.com/linkchecker.jsp", //api url
  2905. "url=", //postdata
  2906. /extabit\.com\/(file\/\w+)/, //linkregex
  2907. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2908. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2909. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2910. extabitBulkCheck //function delegate
  2911. )
  2912. }
  2913. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2914. {
  2915. addHost(
  2916. "junocloud", //hostname
  2917. "junocloud\\.me\/\\w+", //linkregex
  2918. "//a[contains(@href,'junocloud.me')]", //xpath
  2919. null, //blocksize
  2920. null, //corrmatch
  2921. null, //corrreplwhat
  2922. null, //corrreplwith
  2923. "\n", //separator
  2924. "http://junocloud.me/checkfiles.html", //api url
  2925. "op=checkfiles&process=Check+URLs&list=", //postdata
  2926. /(junocloud\.me\/\w+)/, //linkregex
  2927. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2928. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2929. null, //unavaregex
  2930. null //function delegate
  2931. )
  2932. }
  2933. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2934. {
  2935. addHost(
  2936. "webshare", //hostname
  2937. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2938. "//a[contains(@href,'webshare.cz')]", //xpath
  2939. 100000, //blocksize
  2940. null, //corrmatch
  2941. null, //corrreplwhat
  2942. null, //corrreplwith
  2943. null, //separator
  2944. null, //api url
  2945. null, //postdata
  2946. null, //linkregex
  2947. null, //liveregex
  2948. null, //deadregex
  2949. null, //unavaregex
  2950. webshareBulkCheck //function delegate
  2951. )
  2952. }
  2953. /////////////////////////////
  2954. // Common function delegate to send links to get checked by host linkchecker
  2955. /////////////////////////////
  2956. // If you define a new delegate, you may use following properties
  2957. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2958. // this.apiUrl [string] API or web linkchecker URL
  2959. // this.postData [string] POSTDATA for POST request
  2960. // this.resLiveRegex [regex] matches live substrings in the request response
  2961. // this.resDeadRegex [regex] matches dead substrings in the request response
  2962. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2963. //
  2964. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2965. //
  2966. // See the code below for standard bulkcheck handling reference.
  2967. //////////////////////////////
  2968. function genBulkCheck()
  2969. {
  2970. var blockIdx = this.links.length;
  2971. while (blockIdx--)
  2972. {
  2973. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2974. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2975. }
  2976. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2977. {
  2978. GM_xmlhttpRequest(
  2979. {
  2980. method: 'POST',
  2981. url: api,
  2982. headers: {
  2983. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2984. 'Content-type': 'application/x-www-form-urlencoded',
  2985. 'Referer': api,
  2986. 'X-Requested-With': 'XMLHttpRequest'
  2987. },
  2988. data: postData + encodeURIComponent(links),
  2989. onload: function (result)
  2990. {
  2991. var res = result.responseText;
  2992. // GM_log(res);
  2993. var i;
  2994.  
  2995. var livelinks = res.match(liveRegex);
  2996. var deadlinks = res.match(deadRegex);
  2997. // GM_log(livelinks);
  2998. // GM_log(deadlinks);
  2999. if (livelinks != null)
  3000. {
  3001. i = livelinks.length - 1;
  3002. do
  3003. {
  3004. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3005. }
  3006. while (i--);
  3007. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3008. }
  3009.  
  3010. if (deadlinks != null)
  3011. {
  3012. i = deadlinks.length - 1;
  3013. do
  3014. {
  3015. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3016. }
  3017. while (i--);
  3018. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3019. }
  3020.  
  3021. if (unavaRegex != null)
  3022. {
  3023. var unavalinks = res.match(unavaRegex);
  3024. if (unavalinks)
  3025. {
  3026. i = unavalinks.length - 1;
  3027. do
  3028. {
  3029. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3030. }
  3031. while (i--);
  3032. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3033. }
  3034. }
  3035. }
  3036. });
  3037. }
  3038. }
  3039. //specialized bulkchecking handlers follow
  3040. function webshareBulkCheck()
  3041. {
  3042. var arr = this.links[0].split("\r\n");
  3043. var i = arr.length;
  3044. while(i--)
  3045. {
  3046. postRequest(arr[i]);
  3047. }
  3048. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3049. function postRequest(wsLink)
  3050. {
  3051. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3052. GM_xmlhttpRequest(
  3053. {
  3054. method: 'POST',
  3055. url: "http://webshare.cz/api/file_info/",
  3056. headers: {
  3057. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3058. 'Content-type': 'application/x-www-form-urlencoded',
  3059. 'Referer': "",
  3060. },
  3061. data: "wst=&ident=" + id,
  3062. onload: function (result)
  3063. {
  3064. var res = result.responseText;
  3065. if (res.match(/<name>.+?<\/name>/))
  3066. {
  3067. DisplayTheCheckedLinks([id], 'alive_link');
  3068. }
  3069. else
  3070. {
  3071. DisplayTheCheckedLinks([id], 'adead_link');
  3072. }
  3073. }
  3074. });
  3075. }
  3076. }
  3077. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3078. //extabit also doesn't like requests in fast succession, so some delays are added.
  3079. function extabitBulkCheck()
  3080. {
  3081. var timeoutDelay = 0;
  3082. var blockIdx = this.links.length;
  3083. while (blockIdx--)
  3084. {
  3085. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3086. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3087. }
  3088. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3089. {
  3090. GM_xmlhttpRequest(
  3091. {
  3092. method: 'POST',
  3093. url: api,
  3094. headers: {
  3095. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3096. 'Content-type': 'application/x-www-form-urlencoded',
  3097. 'Referer': api,
  3098. 'X-Requested-With': 'XMLHttpRequest'
  3099. },
  3100. data: postData + encodeURIComponent(links),
  3101. onload: function (result)
  3102. {
  3103. var res = result.responseText;
  3104. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3105. {
  3106. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3107. {
  3108. //GM_log(tryID + ': ' + link);
  3109. GM_xmlhttpRequest(
  3110. {
  3111. method: 'GET',
  3112. url: link,
  3113. 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': ""},
  3114. onload: function(result2)
  3115. {
  3116. var res2 = result2.responseText;
  3117. var res2Status = result.status;
  3118. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3119. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3120. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3121. {
  3122. if (tryID < 7)
  3123. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3124. else
  3125. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3126. }
  3127. }
  3128. });
  3129. }
  3130. //split the hrefs and check them one by one
  3131. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3132. links = links.split('\n');
  3133. var i = links.length;
  3134. while (i--)
  3135. {
  3136. if (links[i])
  3137. {
  3138. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3139. timeoutDelay += 500;
  3140. }
  3141. }
  3142. return;
  3143. }
  3144. var i;
  3145.  
  3146. var livelinks = res.match(liveRegex);
  3147. var deadlinks = res.match(deadRegex);
  3148. if (livelinks != null)
  3149. {
  3150. i = livelinks.length - 1;
  3151. do
  3152. {
  3153. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3154. }
  3155. while (i--);
  3156. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3157. }
  3158.  
  3159. if (deadlinks != null)
  3160. {
  3161. i = deadlinks.length - 1;
  3162. do
  3163. {
  3164. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3165. }
  3166. while (i--);
  3167. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3168. }
  3169.  
  3170. if (unavaRegex != null)
  3171. {
  3172. var unavalinks = res.match(unavaRegex);
  3173. if (unavalinks)
  3174. {
  3175. i = unavalinks.length - 1;
  3176. do
  3177. {
  3178. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3179. }
  3180. while (i--);
  3181. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3182. }
  3183. }
  3184. }
  3185. });
  3186. }
  3187. }
  3188. function k2sBulkCheck()
  3189. {
  3190. var arr = this.links[0].split("\r\n");
  3191. var i = arr.length;
  3192. c=0;
  3193. arrIDs=[];
  3194. while(i--)
  3195. {
  3196. id = arr[i].match(/\/file\/(\w+)/)[1];
  3197. if (id=='info')
  3198. {
  3199. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3200. continue;
  3201. }
  3202. k2salreadyexist=false;
  3203. for (j=0;j<arrIDs.length;j++)
  3204. {
  3205. if (arrIDs[j]==id)
  3206. {
  3207. k2salreadyexist=true;
  3208. break;
  3209. }
  3210. }
  3211. if (k2salreadyexist) continue;
  3212. arrIDs.push(id);
  3213. c++;
  3214. setTimeout(k2sRequest,c*500,arr[i]);
  3215. }
  3216. }
  3217. function k2sRequest(K2SLink)
  3218. {
  3219. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3220. GM_xmlhttpRequest(
  3221. {
  3222. method: 'GET',
  3223. url: K2SLink,
  3224. headers: {
  3225. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3226. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3227. 'Referer': ''
  3228. },
  3229. onload: function (result)
  3230. {
  3231. var res = result.responseText;
  3232. K2Dom='k2s.cc';
  3233. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3234. K2SLink2='http://'+K2Dom+'/file/'+id;
  3235.  
  3236. 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'))
  3237. {
  3238. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3239. return;
  3240. }
  3241. if (res.match('method="post">Displaying'))
  3242. {
  3243. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3244. return;
  3245. }
  3246. if (res.match('Premium only'))
  3247. {
  3248. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3249. return;
  3250. }
  3251. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3252. {
  3253. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3254. slID=slow_id.exec(res)[1];
  3255. GM_xmlhttpRequest(
  3256. {
  3257. method: 'POST',
  3258. url: K2SLink2,
  3259. headers: {
  3260. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3261. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3262. 'Content-Type': 'application/x-www-form-urlencoded',
  3263. 'Referer': K2SLink
  3264. },
  3265. data: 'slow_id='+slID+'&yt0=',
  3266. onload: function (result)
  3267. {
  3268. var newres = result.responseText;
  3269. newoversizedtest=new RegExp("Free user can't download large files.");
  3270. if (newoversizedtest.test(newres))
  3271. {
  3272. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3273. return;
  3274. }
  3275. else
  3276. {
  3277. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3278. return;
  3279. }
  3280. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3281. return;
  3282. }
  3283. });
  3284. /////////////////////end additional check for oversized links
  3285. return;
  3286. }
  3287. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3288. return;
  3289. },
  3290. onerror: function ()
  3291. {
  3292. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3293. return;
  3294. }
  3295. });
  3296. }
  3297. function fboomBulkCheck()
  3298. {
  3299. var arr = this.links[0].split("\r\n");
  3300. var i = arr.length;
  3301. c=0;
  3302. arrIDs=[];
  3303. while(i--)
  3304. {
  3305. id = arr[i].match(/\/file\/(\w+)/)[1];
  3306. if (id=='info')
  3307. {
  3308. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3309. continue;
  3310. }
  3311. fbalreadyexist=false;
  3312. for (j=0;j<arrIDs.length;j++)
  3313. {
  3314. if (arrIDs[j]==id)
  3315. {
  3316. fbalreadyexist=true;
  3317. break;
  3318. }
  3319. }
  3320. if (fbalreadyexist) continue;
  3321. arrIDs.push(id);
  3322. c++;
  3323. setTimeout(fboomRequest,c*500,arr[i]);
  3324. }
  3325. }
  3326. function fboomRequest(FBoomLink)
  3327. {
  3328. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3329. FBoomLink2='http://fboom.me/file/'+id;
  3330. GM_xmlhttpRequest(
  3331. {
  3332. method: 'GET',
  3333. url: FBoomLink,
  3334. headers: {
  3335. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3336. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3337. 'Referer': ''
  3338. },
  3339. onload: function (result)
  3340. {
  3341. var res = result.responseText;
  3342. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3343. {
  3344. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3345. return;
  3346. }
  3347. if (res.match('method="post">Displaying'))
  3348. {
  3349. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3350. return;
  3351. }
  3352. if (res.match('only for premium members'))
  3353. {
  3354. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3355. return;
  3356. }
  3357. if (res.match('id="download-free" href="#"'))
  3358. {
  3359. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3360. slID=slow_id.exec(res)[1];
  3361. GM_xmlhttpRequest(
  3362. {
  3363. method: 'POST',
  3364. url: FBoomLink2,
  3365. headers: {
  3366. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3367. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3368. 'Content-Type': 'application/x-www-form-urlencoded',
  3369. 'Referer': FBoomLink
  3370. },
  3371. data: 'slow_id='+slID,
  3372. onload: function (result)
  3373. {
  3374. var newres = result.responseText;
  3375. newoversizedtest=new RegExp("Downloading is not possible");
  3376. if (newoversizedtest.test(newres))
  3377. {
  3378. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3379. return;
  3380. }
  3381. else
  3382. {
  3383. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3384. return;
  3385. }
  3386. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3387. return;
  3388. }
  3389. });
  3390. /////////////////////end additional check for oversized links
  3391. return;
  3392. }
  3393. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3394. return;
  3395. },
  3396. onerror: function ()
  3397. {
  3398. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3399. return;
  3400. }
  3401. });
  3402. }
  3403. function dl4free_1fichier_BulkCheck()
  3404. {
  3405. var arr = this.links[0].split("\r\n");
  3406. var i = arr.length;
  3407. while(i--)
  3408. {
  3409. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3410. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3411. gethead_dl4free_1fichier(arr[i]);
  3412. }
  3413. }
  3414. function gethead_dl4free_1fichier(link)
  3415. {
  3416. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3417. GM_xmlhttpRequest(
  3418. {
  3419. method: 'HEAD',
  3420. url: link,
  3421. headers: {
  3422. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3423. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3424. 'Referer': ''
  3425. },
  3426. onload: function (result)
  3427. {
  3428. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3429. {
  3430. DisplayTheCheckedLinks([id], 'alive_link');
  3431. return;
  3432. }
  3433. else
  3434. {
  3435. getlink_dl4free_1fichier(link);
  3436. }
  3437. return;
  3438. },
  3439. onerror: function ()
  3440. {
  3441. DisplayTheCheckedLinks([id], 'unava_link');
  3442. }
  3443. });
  3444. }
  3445. function getlink_dl4free_1fichier(link)
  3446. {
  3447. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3448. GM_xmlhttpRequest(
  3449. {
  3450. method: 'GET',
  3451. url: link,
  3452. headers: {
  3453. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3454. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3455. 'Referer': ''
  3456. },
  3457. onload: function (result)
  3458. {
  3459. var res = result.responseText;
  3460. deadRegex=new RegExp('The requested file has been deleted|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');
  3461. if (deadRegex.test(res))
  3462. {
  3463. DisplayTheCheckedLinks([id], 'adead_link');
  3464. return;
  3465. }
  3466. premiumRegex=new RegExp('only for premium users');
  3467. if (premiumRegex.test(res))
  3468. {
  3469. DisplayTheCheckedLinks([id], 'prem_link');
  3470. return;
  3471. }
  3472. liveRegex=new RegExp('<title>Download</title>|<br/>You must wait|submit" value="Download|Download without SSL encryption|submit" value="Telecharger|submit" value="Telecharger|ok btn-general btn-orange|<input type="submit" value="');
  3473. if (liveRegex.test(res))
  3474. {
  3475. DisplayTheCheckedLinks([id], 'alive_link');
  3476. return;
  3477. }
  3478. DisplayTheCheckedLinks([id], 'unava_link');
  3479. },
  3480. onerror: function ()
  3481. {
  3482. DisplayTheCheckedLinks([id], 'unava_link');
  3483. }
  3484. });
  3485. }
  3486. function depositfilesBulkCheck()
  3487. {
  3488. var arr = this.links[0].split("\r\n");
  3489. var i = arr.length;
  3490. var seqno = Math.floor(Math.random()*1000000000);
  3491. while(i--)
  3492. {
  3493. DFpostRequest(arr[i]);
  3494. }
  3495. }
  3496. function DFpostRequest(DFLink)
  3497. {
  3498. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3499. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3500. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3501. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3502. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3503. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3504. GM_xmlhttpRequest(
  3505. {
  3506. method: "GET",
  3507. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3508. headers: {
  3509. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3510. 'Content-Type': 'application/x-www-form-urlencoded',
  3511. 'Referer': ""
  3512. },
  3513. onload: function (result)
  3514. {
  3515. var res = result.responseText;
  3516. if (res.match('(?:no_file|file_ban)'))
  3517. {
  3518. DisplayTheCheckedLinks([id], 'adead_link');
  3519. return;
  3520. }
  3521. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3522. {
  3523. DisplayTheCheckedLinks([id], 'alive_link');
  3524. return;
  3525. }
  3526. DisplayTheCheckedLinks([id], 'unava_link');
  3527. }
  3528. });
  3529. }
  3530.  
  3531. function megaBulkCheck()
  3532. {
  3533. var arr = this.links[0].split("\r\n");
  3534. var i = arr.length;
  3535. var seqno = Math.floor(Math.random()*1000000000);
  3536. while(i--)
  3537. {
  3538. postRequest(arr[i]);
  3539. }
  3540. function postRequest(megaLink)
  3541. {
  3542. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3543. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3544. GM_xmlhttpRequest(
  3545. {
  3546. method: "POST",
  3547. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3548. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3549. headers: {
  3550. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3551. 'Content-Type': 'application/xml',
  3552. 'Referer': "https://mega.co.nz/"
  3553. },
  3554. onload: function (result)
  3555. {
  3556. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3557. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3558. {
  3559.  
  3560. DisplayTheCheckedLinks([id], 'adead_link');
  3561. }
  3562. if (res.at)
  3563. {
  3564. DisplayTheCheckedLinks([id], 'alive_link');
  3565. }
  3566. if (res.e == "ETEMPUNAVAIL")
  3567. {
  3568. DisplayTheCheckedLinks([id], 'unava_link');
  3569. }
  3570. }
  3571. });
  3572. }
  3573.  
  3574. }
  3575.  
  3576. function oboomBulk() {
  3577. var a = [], b = [], c = [];
  3578. var array = this.links;
  3579.  
  3580. GM_xmlhttpRequest({
  3581. method: 'GET',
  3582. url: 'https://www.oboom.com/1/guestsession',
  3583. headers: {
  3584. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3585. 'Content-type': 'application/x-www-form-urlencoded',
  3586. 'Referer': 'https://www.oboom.com',
  3587. 'X-Requested-With': 'XMLHttpRequest'
  3588. },
  3589. onload: function(result) {
  3590. var blockIdx = array.length;
  3591. var token = JSON.parse(result.responseText)[1];
  3592. while (blockIdx--) {
  3593. startCheck(array[blockIdx].split('\r\n'), token);
  3594. }
  3595. }
  3596. });
  3597.  
  3598. function startCheck(links, token) {
  3599. GM_xmlhttpRequest({
  3600. method: 'POST',
  3601. url: "https://api.oboom.com/1/info",
  3602. headers: {
  3603. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3604. 'Content-type': 'application/x-www-form-urlencoded',
  3605. 'Referer': 'https://www.oboom.com/',
  3606. 'X-Requested-With': 'XMLHttpRequest'
  3607. },
  3608. data: "token=" + token + "&items=" + links.join(","),
  3609. onload: function(result) {
  3610. var res = JSON.parse(result.responseText)[1];
  3611. var i = res.length, s;
  3612.  
  3613. while (i--) {
  3614. s = res[i].state;
  3615. if (s == 'online') a.push(res[i].id);
  3616. 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);
  3617. else c.push(res[i].id);
  3618. }
  3619.  
  3620. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3621. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3622. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3623. }
  3624. });
  3625. }
  3626. }
  3627. /* function linksaveBulkCheck()
  3628. {
  3629. var arr = this.links[0].split("\r\n");
  3630. var i = arr.length;
  3631. while(i--)
  3632. {
  3633. postRequest(arr[i]);
  3634. }
  3635. function postRequest(lsLink)
  3636. {
  3637. GM_xmlhttpRequest(
  3638. {
  3639. method: "GET",
  3640. url: lsLink + '-t.jpg',
  3641. headers: {
  3642. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3643. 'Accept': 'text/xml',
  3644. 'Referer': ""
  3645. },
  3646. onload: function (result)
  3647. {
  3648. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3649. if (imgLen == 965) //online
  3650. {
  3651. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3652. }
  3653.  
  3654. if (imgLen == 972) //offline
  3655. {
  3656. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3657. }
  3658. if (imgLen == 978) //unava
  3659. {
  3660. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3661. }
  3662. }
  3663. });
  3664. }
  3665.  
  3666. } */
  3667. function linkcryptBulkCheck()
  3668. {
  3669. var arr = this.links[0].split("\r\n");
  3670. var i = arr.length;
  3671. while(i--)
  3672. {
  3673. postRequest(arr[i]);
  3674. }
  3675. function postRequest(lcLink)
  3676. {
  3677. GM_xmlhttpRequest(
  3678. {
  3679. method: "GET",
  3680. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3681. headers: {
  3682. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3683. 'Accept': 'text/xml',
  3684. 'Referer': ""
  3685. },
  3686. onload: function (result)
  3687. {
  3688. var res = result.responseText;
  3689. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3690. {
  3691. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3692. return;
  3693. }
  3694. if (res.match(/folderStatus>1/)) //Online status
  3695. {
  3696. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3697. }
  3698. else
  3699. {
  3700. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3701. }
  3702. }
  3703. });
  3704. }
  3705. }
  3706.  
  3707. function megashareBulkCheck()
  3708. {
  3709. var arr = this.links[0].split("\r\n");
  3710. var i = arr.length;
  3711. while(i--)
  3712. {
  3713. postRequest(arr[i]);
  3714. }
  3715. function postRequest(msLink)
  3716. {
  3717. GM_xmlhttpRequest(
  3718. {
  3719. method: "GET",
  3720. url: msLink,
  3721. headers: {
  3722. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3723. 'Content-Type': 'application/x-www-form-urlencoded',
  3724. 'Referer': ""
  3725. },
  3726. onload: function (result)
  3727. {
  3728. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3729. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3730. if ((prZVal == null) || (btn3Name == null))
  3731. {
  3732. return;
  3733. }
  3734. GM_xmlhttpRequest(
  3735. {
  3736. method: "POST",
  3737. url: msLink,
  3738. headers: {
  3739. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3740. 'Content-Type': 'application/x-www-form-urlencoded',
  3741. 'Referer': ""
  3742. },
  3743. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3744. onload: function (result)
  3745. {
  3746. var res = result.responseText;
  3747. if (res.match(/<div id="err">/))
  3748. {
  3749. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3750. }
  3751. else
  3752. {
  3753. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3754. }
  3755. }
  3756. });
  3757. }
  3758. });
  3759. }
  3760. }
  3761. function ncryptBulkCheck()
  3762. {
  3763. var arr = this.links[0].split("\r\n");
  3764. var i = arr.length;
  3765. while(i--)
  3766. {
  3767. postRequest(arr[i]);
  3768. }
  3769. function postRequest(ncryptLink)
  3770. {
  3771. GM_xmlhttpRequest(
  3772. {
  3773. method: "POST",
  3774. url: 'http://ncrypt.in/api_status.php',
  3775. headers: {
  3776. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3777. 'Content-Type': 'application/x-www-form-urlencoded',
  3778. 'Referer': ""
  3779. },
  3780. data: 'link=' + encodeURI(ncryptLink),
  3781. onload: function (result)
  3782. {
  3783. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3784. switch(foldStatus + ""){
  3785. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3786. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3787. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3788. }
  3789. }
  3790. });
  3791. }
  3792. }
  3793. function hellshareBulkCheck()
  3794. {
  3795. var links = this.links;
  3796. GM_xmlhttpRequest(
  3797. {
  3798. method: "GET",
  3799. url: 'http://www.hellshare.com',
  3800. headers: {
  3801. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3802. 'Accept': 'text/xml',
  3803. 'Referer': ""
  3804. },
  3805. onload: function (result)
  3806. {
  3807. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3808.  
  3809. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3810. if (domain == 'sk')
  3811. loc = 'check=Skontrolova%C5%A5&links=';
  3812. if (domain == 'com')
  3813. loc = 'check=Check+availability&links=';
  3814. if (domain == 'hu')
  3815. loc = 'check=Kontrol%C3%A1lj&links=';
  3816. if (domain == 'pl')
  3817. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3818.  
  3819. genBulkCheck.call({ links: links,
  3820. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3821. postData: loc,
  3822. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3823. 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,
  3824. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3825. resUnavaRegex: null
  3826. });
  3827. }
  3828. });
  3829. }
  3830. /**
  3831. * Displays check result
  3832. * @param {Array} Array of links or link fragments.
  3833. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3834. */
  3835. function DisplayTheCheckedLinks(links, resultStatus)
  3836. {
  3837. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3838. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3839. if (Do_not_linkify_DL_links)
  3840. { //TODO into separate jQuery function
  3841. $links.replaceWith(function(){
  3842. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3843. });
  3844. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3845. }
  3846. $links.removeClass().addClass(resultStatus);
  3847. $links.each(function() {
  3848. this.href = Ref_anonymize_service + $(this).attr("href");
  3849. });
  3850. switch(resultStatus)
  3851. {
  3852. case "alive_link": cLinksAlive += $links.length;
  3853. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3854. break;
  3855. case "adead_link": cLinksDead += $links.length;
  3856. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3857. break;
  3858. case "prem_link": cLinksprem += $links.length;
  3859. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3860. break;
  3861. case "unava_link": cLinksUnava += $links.length; break;
  3862. default:
  3863. }
  3864. cLinksProcessed += $links.length;
  3865. }
  3866. }
  3867. // starts bulkchecking
  3868. //
  3869. // params
  3870. // filterId [string] restricts link detection with passed id attribute
  3871. function startBulkCheck(filterId)
  3872. {
  3873. var cHosts = bulkHosts.length;
  3874. if (cHosts == 0) //no filehostings selected
  3875. return;
  3876. // STEP 1 linkify the links
  3877. var linkifyRegex = '';
  3878. var hostIdx = cHosts;
  3879. while(hostIdx--)
  3880. {
  3881. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3882. }
  3883. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3884. linkify(linkifyRegex);
  3885. //
  3886. //STEP 2 detect link objects
  3887. var xpathAll = '';
  3888. var hostIdx = cHosts;
  3889. while(hostIdx--)
  3890. {
  3891. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3892. }
  3893. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3894. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3895. if (filterId != null) //insert id restriction in the xpath
  3896. {
  3897. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3898. }
  3899. else
  3900. {
  3901. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3902. }
  3903. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3904. if (filterId == null)
  3905. {
  3906. cLinksTotal += links.snapshotLength;
  3907. }
  3908. //
  3909. //STEP 3 bind links with hostings
  3910. var linkIdx = links.snapshotLength;
  3911. var href = null;
  3912. if (linkIdx == 0) // no links found
  3913. return;
  3914. var name;
  3915. while (linkIdx--)
  3916. {
  3917. href = links.snapshotItem(linkIdx).href;
  3918. try // DO NOT REMOVE, filters crap that went through xpath detection
  3919. {
  3920. name = gimmeHostName(href);
  3921. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3922. bulkHostNames[name].links.push(href);
  3923. }
  3924. catch(e)
  3925. {
  3926.  
  3927. }
  3928. }
  3929. //
  3930. //STEP 4 process the links for each filehosting
  3931. var hostIdx = cHosts;
  3932. var host;
  3933. var m,n;
  3934. var arr;
  3935. while (hostIdx--)
  3936. {
  3937. host = bulkHosts[hostIdx];
  3938. arr = host.links;
  3939. if (arr.length == 0) //no links for this hosting, skip
  3940. {
  3941. continue;
  3942. }
  3943. //links match corrections
  3944. if (host.corrMatch != null)
  3945. {
  3946. var idx = arr.length;
  3947. while (idx--)
  3948. {
  3949. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3950. }
  3951. }
  3952. //links replace corrections
  3953. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3954. {
  3955. var idx = arr.length;
  3956. while (idx--)
  3957. {
  3958. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3959. }
  3960. }
  3961. m = arr.length;
  3962. n = host.blockSize;
  3963. if (m > n)
  3964. {
  3965. //insert block separators (RAND_STRING) into the array
  3966. for(var i = n; i < m; i += n + 1)
  3967. {
  3968. arr.splice(i, 0, RAND_STRING);
  3969. }
  3970. }
  3971.  
  3972. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3973. apiUrl: host.apiUrl,
  3974. postData: host.postData,
  3975. resLinkRegex: host.resLinkRegex,
  3976. resLiveRegex: host.resLiveRegex,
  3977. resDeadRegex: host.resDeadRegex,
  3978. resUnavaRegex: host.resUnavaRegex
  3979. });
  3980. //clean up
  3981. arr.length = 0;
  3982. }
  3983. //
  3984.  
  3985. function gimmeHostName(link)
  3986. {
  3987. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3988. }
  3989. }
  3990. function checkLinks(filterId)
  3991. {
  3992. startBulkCheck(filterId);
  3993. start(filterId);
  3994. }
  3995.  
  3996. /**
  3997. * Initialises progress box including event binding and CSS
  3998. */
  3999. function initProgressBox()
  4000. {
  4001. if ($("#warlc-progressbox").length > 0)
  4002. return;
  4003. //progressbox css change size and color of progress box
  4004. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4005. "; opacity:" + (Progress_box_opacity / 100) +
  4006. "; bottom:" + Progress_box_pos_bottom +
  4007. "px; right:" + Progress_box_pos_right +
  4008. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4009. \
  4010. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4011. \
  4012. .warlc-progressitem {}\
  4013. \
  4014. .alive {color:#00FF7F; " + Live_links_color +
  4015. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4016. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4017. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4018. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4019. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4020. );
  4021. //
  4022. $('body').append(' <div id="warlc-progressbox">\
  4023. <div class="warlc-progressbar"></div>\
  4024. <span class="warlc-progressitem alive"></span> - \
  4025. <span class="warlc-progressitem dead"></span> - \
  4026. <span class="warlc-progressitem unava"></span> - \
  4027. <span class="warlc-progressitem prem"></span> - \
  4028. <span class="warlc-progressitem processing"></span>\
  4029. </div>');
  4030. $('#warlc-progressbox').hide().click(function(){
  4031. clearInterval(intervalId);
  4032. $(this).hide();
  4033. return false;
  4034. });
  4035. $(".warlc-progressbar").progressbar({complete: function(){
  4036. $(this).fadeOut();
  4037. clearInterval(intervalId); //stop refreshing the stats
  4038. }
  4039. })
  4040. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4041. }
  4042. /**
  4043. * Updates progress data in progress box
  4044. */
  4045. function updateProgress()
  4046. {
  4047. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4048. if (cLinksTotal) // some links were detected on page
  4049. {
  4050. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4051. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4052. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4053. if ((cLinksTotal - cLinksProcessed) == 0)
  4054. {
  4055. $progressItems.first().text(cLinksAlive)
  4056. .next().text(cLinksDead)
  4057. .next().text(cLinksUnava)
  4058. .next().text(cLinksprem)
  4059. .next().remove();
  4060. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4061. $('#warlc-progressbox div:first-child').remove();
  4062. }
  4063. else
  4064. {
  4065. $progressItems.first().text(cLinksAlive)
  4066. .next().text(cLinksDead)
  4067. .next().text(cLinksUnava)
  4068. .next().text(cLinksprem)
  4069. .next().text(cLinksTotal - cLinksProcessed);
  4070. }
  4071. }
  4072. }
  4073.  
  4074. function check_all_links()
  4075. {
  4076. add_WARLC_style();
  4077.  
  4078. if (Show_progress_stats)
  4079. {
  4080. initProgressBox();
  4081. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4082. }
  4083.  
  4084. startBulkCheck(null);
  4085. start(null);
  4086.  
  4087. if (!containers_processed)
  4088. {
  4089. processContainers();
  4090. }
  4091. }
  4092.  
  4093. //Copies all found dead links to clipboard - right now for Scriptish only
  4094. function copy_dead_to_clipboard()
  4095. {
  4096. initClipBoardTools();
  4097.  
  4098. var deadlinksxpath = "//.[@class='adead_link']";
  4099.  
  4100. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4101. var foundlinkstext = '';
  4102.  
  4103. var foundlinkIdx = foundlinks.snapshotLength;
  4104.  
  4105. while(foundlinkIdx--)
  4106. {
  4107. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4108. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4109. }
  4110.  
  4111. unsafeWindow.copyToClipboard(foundlinkstext);
  4112. }
  4113.  
  4114. function toggle_autocheck()
  4115. {
  4116. var currentState = GM_getValue("Autocheck", false);
  4117. GM_setValue("Autocheck", !currentState);
  4118.  
  4119. if (currentState == true)
  4120. {
  4121. sendMessage('Autocheck disabled', 'red');
  4122. }
  4123. else
  4124. {
  4125. sendMessage('Autocheck enabled', 'SpringGreen');
  4126. }
  4127. }
  4128. function toggle_Enable_Anonymizer()
  4129. {
  4130. var currentState = GM_getValue("Enable_Anonymizer", false);
  4131. GM_setValue("Enable_Anonymizer", !currentState);
  4132.  
  4133. if (currentState == true)
  4134. {
  4135. GM_setValue("Ref_anonymize_service", "");
  4136. sendMessage('Anonymizer Disabled', 'red');
  4137. }
  4138. else
  4139. {
  4140. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4141. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4142. }
  4143. }
  4144.  
  4145. function KeyDownHandler(event)
  4146. {
  4147. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4148. if (event.ctrlKey && event.altKey)
  4149. {
  4150. switch(kcode)
  4151. {
  4152. case 65 : check_all_links(); break;
  4153. case 67 : configuration(); break;
  4154. case 68 : copy_dead_to_clipboard(); break;
  4155. case 87 : toggle_autocheck(); break;
  4156. case 90 : toggle_Enable_Anonymizer(); break;
  4157. }
  4158. }
  4159. }
  4160.  
  4161. //
  4162. //
  4163. // SCRIPT EXECUTION START POINT
  4164. //
  4165. //
  4166. // Safari specific GM_getResourceText override
  4167. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4168. {
  4169. GM_getResourceText = function(res) {
  4170. var $cssText = GM_getValue("jquery_css", "");
  4171. if ($cssText == "")
  4172. {
  4173. GM_xmlhttpRequest(
  4174. {
  4175. method: 'GET',
  4176. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4177. onload: function (result)
  4178. {
  4179. GM_setValue("jquery_css", result.responseText);
  4180. window.location.reload();
  4181. }
  4182. });
  4183. }
  4184. else
  4185. {
  4186. return $cssText;
  4187. }
  4188. }
  4189. }
  4190. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4191. GM_addStyle(jQueryUICSS);
  4192. //init the stuff
  4193. setVariables();
  4194. initBulkCheck();
  4195. //init info boxes
  4196. messageBox.style.position = 'fixed';
  4197. messageBox.style.top = '20px';
  4198. messageBox.style.left = '10px';
  4199. messageBox.style.opacity = '0.85';
  4200. messageBox.style.background = 'DimGray';
  4201. messageBox.style.fontSize = '36px';
  4202. document.body.appendChild(messageBox);
  4203.  
  4204. //register GM menu commands & keyboard shortcut event handler
  4205. if (Keyboard_functions)
  4206. {
  4207. $(document).keydown(KeyDownHandler);
  4208. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4209. 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);
  4210. }
  4211. else
  4212. {
  4213. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4214. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4215. }
  4216.  
  4217. //start linkchecking
  4218. if (Autocheck)
  4219. {
  4220. $(document).ready(check_all_links);
  4221. }
  4222.  
  4223. //
  4224. //
  4225. // SCRIPT EXECUTION END POINT
  4226. //
  4227. //
  4228.  
  4229. //shows configuration box
  4230. function configuration()
  4231. {
  4232.  
  4233. //prevent multiple creating of config window
  4234. if ($("#hideshow").length)
  4235. {
  4236. $("#hideshow").show();
  4237. return;
  4238. }
  4239.  
  4240. var configcss = '\
  4241. .popup_block .popup fieldset{\
  4242. padding: 1%;\
  4243. border-style: solid;\
  4244. border-width: 1px;\
  4245. border-color: gray;\
  4246. margin-bottom: 1px;\
  4247. }\
  4248. #h3hideshowtitle{\
  4249. font-size: 2em;\
  4250. }\
  4251. #h3hideshow{\
  4252. font-size: 1.5em;\
  4253. }\
  4254. #imghideshow {\
  4255. border: none;\
  4256. }\
  4257. #plusimage{\
  4258. display:inline;\
  4259. }\
  4260. #hideshow {\
  4261. position: fixed;\
  4262. width: 100%;\
  4263. height: 100%;\
  4264. top: 0;\
  4265. left: 0;\
  4266. font-size:12px;\
  4267. z-index:2147483645;\
  4268. text-align:left;\
  4269. }\
  4270. #fade {\
  4271. background: #000;\
  4272. position: fixed;\
  4273. width: 100%;\
  4274. height: 100%;\
  4275. opacity: .80;\
  4276. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4277. left: 0;\
  4278. z-index: 10;\
  4279. }\
  4280. .popup_block {\
  4281. font-family:verdana;\
  4282. color:black;\
  4283. background: #ddd;\
  4284. padding: 10px 20px;\
  4285. border: 2px solid DarkOrange;\
  4286. float: left;\
  4287. width: 700px;\
  4288. position: absolute;\
  4289. top: 7%;\
  4290. left: 50%;\
  4291. bottom: 7%;\
  4292. margin: 0 0 0 -350px;\
  4293. -moz-border-radius:10px;\
  4294. z-index: 100;\
  4295. \
  4296. }\
  4297. .popup_block .popup {\
  4298. float: left;\
  4299. width: 100%;\
  4300. background: #fff;\
  4301. margin: 10px 0;\
  4302. padding: 0px 0 0px;\
  4303. border-left: 1px solid #bbb;\
  4304. border-top: 1px solid #bbb;\
  4305. border-right: 1px solid #bbb;\
  4306. }\
  4307. #h3hideshow{\
  4308. margin: 1px 0 0px;\
  4309. padding: 1px 10px;\
  4310. border-bottom: 1px solid #bbb;\
  4311. font-size: 1.5em;\
  4312. font-weight: normal;\
  4313. cursor:pointer;\
  4314. background:#DDDDDD none repeat scroll 0 0;\
  4315. }\
  4316. #h3hideshow:hover{\
  4317. background:#C0BEBE none repeat scroll 0 0;\
  4318. }\
  4319. #h3hideshowtitle{\
  4320. margin: 2px 0 0px;\
  4321. padding: 7px 10px;\
  4322. border-bottom: 1px solid #bbb;\
  4323. font-size: 1.5em;\
  4324. font-weight: normal;\
  4325. }\
  4326. .popup_block .popup a {\
  4327. color:DarkSkyBlue;\
  4328. text-decoration:none;\
  4329. }\
  4330. .popup p {\
  4331. padding: 1px 10px;\
  4332. margin: 0px 0;\
  4333. -x-system-font:none;\
  4334. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4335. font-size:10pt;\
  4336. font-size-adjust:none;\
  4337. font-stretch:normal;\
  4338. font-style:normal;\
  4339. font-variant:normal;\
  4340. font-weight:normal;\
  4341. line-height:normal;\
  4342. }\
  4343. #sites {\
  4344. padding: 1px 10px;\
  4345. margin: 0px 0;display:inline-block;width:16em;\
  4346. }\
  4347. #dev_ver {\
  4348. color: #00FF00;\
  4349. background: Black;\
  4350. text-align: right;\
  4351. }\
  4352. #sites_suspended {\
  4353. padding: 1px 10px;\
  4354. margin: 0px 0;display:inline-block;width:16em;\
  4355. text-decoration: line-through;\
  4356. }\
  4357. .popup img.cntrl {\
  4358. position: absolute;\
  4359. right: -15px;\
  4360. top: -15px;\
  4361. }\
  4362. #bulk {\
  4363. font-size:8pt;\
  4364. color:orange;\
  4365. padding: 1px 10px;\
  4366. margin: 0px 0;\
  4367. display:inline-block;\
  4368. width:100px;\
  4369. }\
  4370. #note {\
  4371. font-size:7pt;\
  4372. color:gray;\
  4373. padding: 1px 10px;\
  4374. margin: 0px 0;display:inline-block;\
  4375. min-width:100px;\
  4376. }\
  4377. #rednote {\
  4378. font-size:7pt;\
  4379. color:red;\
  4380. padding: 1px 10px;\
  4381. margin: 0px 0;display:inline-block;\
  4382. }\
  4383. #configinfo {\
  4384. font-size:8pt;\
  4385. color:gray;\
  4386. padding: 1px 10px;\
  4387. margin: 0px 0;display:inline-block;width:60em;\
  4388. }\
  4389. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4390. color:black;\
  4391. border-style: solid;\
  4392. border-width: 1px;\
  4393. border-color: gray;\
  4394. }\
  4395. #h3hideshowcontent {\
  4396. min-height:220px;\
  4397. max-height:220px;\
  4398. overflow:auto;\
  4399. display: none;\
  4400. padding: 10px 10px;\
  4401. }\
  4402. #specinfo{\
  4403. font-size:14px;\
  4404. }\
  4405. .warlc-ui-tab {\
  4406. height:300px;\
  4407. overflow:auto;\
  4408. }\
  4409. #warlcsitelist2, #warlcsitelist1 {\
  4410. height:220px;\
  4411. border-top: 1px solid #ddd;\
  4412. padding-top: 5px;\
  4413. overflow:auto;\
  4414. }\
  4415. input:hover+label {\
  4416. background:#F1F77C;\
  4417. font-size:110%;\
  4418. }\
  4419. ';
  4420.  
  4421. GM_addStyle(configcss);
  4422.  
  4423. var customRulesRefHTML =
  4424. '\
  4425. <br>\
  4426. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4427. <b>@keyword</b> <i>parameter</i>\
  4428. <br><br>\
  4429. 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. \
  4430. <br><br>\
  4431. 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.\
  4432. 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.\
  4433. 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.\
  4434. 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,\
  4435. but all commands until the next valid @customrule are ignored.<br><br>\
  4436. Available forms and types:\
  4437. <ul>\
  4438. <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.\
  4439. <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.\
  4440. <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.\
  4441. <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.\
  4442. </ul>\
  4443. Other available commands:<br>\
  4444. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4445. <ul>\
  4446. <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.\
  4447. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4448. <ul>examples:<br>\
  4449. <li>good: <i>filehost.com/download/</i><br>\
  4450. <li>good: <i>download.filehost.net/?d=</i><br>\
  4451. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4452. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4453. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4454. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4455. <li>bad: <i>filehost.com</i> - no slash<br>\
  4456. </ul>\
  4457. \
  4458. <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.\
  4459. 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 \
  4460. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4461. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4462. 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.)\
  4463. Two spaces again match any whitespace.\
  4464. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4465. Two spaces again match any whitespace.\
  4466. <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. \
  4467. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4468. </ul>\
  4469. \
  4470. ';
  4471.  
  4472. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4473. var configurationinnerHTML =
  4474. '<div id="fade"></div>\
  4475. <div class="popup_block">\
  4476. <div class="popup">\
  4477. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbF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UuiIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Customized Premium Link version Configuration</div>\
  4479. <div id="warlc-conf-tabs">\
  4480. <ul>\
  4481. <li><a href="#tabs-1">Filehostings</a></li>\
  4482. <li><a href="#tabs-2">Containers</a></li>\
  4483. <li><a href="#tabs-5">Custom rules</a></li>\
  4484. <li><a href="#tabs-3">Settings</a></li>\
  4485. <li><a href="#tabs-4">About</a></li>\
  4486. </ul>\
  4487. <div id="tabs-1" class="warlc-ui-tab">\
  4488. <div class="warlc-ui-buttonset">\
  4489. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4490. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4491. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4492. </div><br>\
  4493. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4494. <div id="warlcsitelist1"><span>Empty</span></div>\
  4495. </div>\
  4496. <div id="tabs-2" class="warlc-ui-tab">\
  4497. <div class="warlc-ui-buttonset">\
  4498. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4499. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4500. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4501. </div><br>\
  4502. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4503. <div id="warlcsitelist2"><span>Empty</span></div>\
  4504. </div>\
  4505. <div id="tabs-5" class="warlc-ui-tab">\
  4506. <div class="warlcsettings">\
  4507. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4508. <br>\
  4509. <div>Edit custom rules: \
  4510. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4511. <div id="customRulesReference" style="display:none;">'
  4512. + customRulesRefHTML + '\
  4513. </div>\
  4514. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4515. </div>\
  4516. </div>\
  4517. </div>\
  4518. <div id="tabs-3" class="warlc-ui-tab">\
  4519. <div class="warlcsettings">\
  4520. <fieldset>\
  4521. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4522. <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 + '+' + toggle_autocheck_key + ' = Autocheck ON/OFF' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + toggle_Enable_Anonymizer_key + ' = Anonymizer ON/OFF' + '</div>\
  4523. </fieldset>\
  4524. <fieldset>\
  4525. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4526. <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>\
  4527. <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>\
  4528. <div id="sites"><label for="inputColorTemp">Temp. unavailable</label><input type="text" id="inputColorTemp" style="background:' + Temp_unavailable_links_color + ';" value="' + Temp_unavailable_links_color + '"></div>\
  4529. <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>\
  4530. <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>\
  4531. <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>\
  4532. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4533. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4534. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4535. <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>\
  4536. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4537. <fieldset>\
  4538. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4539. <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>\
  4540. <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>\
  4541. <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>\
  4542. </fieldset>\
  4543. </fieldset>\
  4544. <fieldset>\
  4545. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4546. </fieldset>\
  4547. <fieldset>\
  4548. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4549. </fieldset>\
  4550. <fieldset>\
  4551. <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.</div><br>\
  4552. </fieldset>\
  4553. <fieldset>\
  4554. <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: CTRL+ALT+Z toggles the anonymizer service on or off</div><br>\
  4555. </fieldset>\
  4556. </div>\
  4557. </div>\
  4558. <div id="tabs-4" class="warlc-ui-tab">\
  4559. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4560. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4561. <br />\
  4562. <p><b>Currently supported:</b><br>\
  4563. Filehostings: ' + allHostNames.length + '<br />\
  4564. Containers: ' + allContainerNames.length + '<br />\
  4565. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4566. <br />\
  4567. <p><b>Based on:</b><br>\
  4568. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4569. <br />\
  4570. <p><b>Uses:</b></p>\
  4571. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4572. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4573. <br />\
  4574. <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>\
  4575. </div>\
  4576. </div>\
  4577. </div>\
  4578. </div>';
  4579. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4580. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4581. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4582. var elmHostList = document.getElementById("warlcsitelist1");
  4583. var elmContainerList = document.getElementById("warlcsitelist2");
  4584. buildSettings();
  4585. buildSitelist("", allHostNames, elmHostList);
  4586. buildSitelist("", allContainerNames, elmContainerList);
  4587. if (DEBUG_MODE)
  4588. {
  4589. //log all sites availability status
  4590. diagSites();
  4591. }
  4592. //handler for checkbox state change
  4593. function changeConfiguration(e)
  4594. {
  4595. var element = e.target;
  4596.  
  4597. if (element.type == 'checkbox')
  4598. {
  4599. if (element.checked == 1)
  4600. {
  4601. GM_setValue(element.id, true);
  4602. }
  4603. else
  4604. {
  4605. GM_setValue(element.id, false);
  4606. }
  4607.  
  4608. }
  4609. setVariables();
  4610. }
  4611.  
  4612. //Selects all filehosting checkboxes
  4613. function selectAll()
  4614. {
  4615. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4616. .each(function(index, element){GM_setValue(this.id, true)});
  4617. }
  4618.  
  4619. //Deselects all filehosting checkboxes
  4620. function selectNone()
  4621. {
  4622. $(":checkbox:visible:checked").prop("checked",false)
  4623. .each(function(index, element){GM_setValue(this.id, false)});
  4624. }
  4625.  
  4626. //Inverts filehosting checkboxes selection
  4627. function selectInvert()
  4628. {
  4629. var $checked = $(":checkbox:visible:checked");
  4630. var $unchecked = $(":checkbox:visible:not(:checked)");
  4631. $unchecked.prop("checked",true)
  4632. .each(function(index, element){GM_setValue(this.id, true)});
  4633. $checked.prop("checked",false)
  4634. .each(function(index, element){GM_setValue(this.id, false)});
  4635. }
  4636. //toggles anonymizer on off
  4637. function Enable_Anonymizer()
  4638. {
  4639. var $checked = $(":checkbox:visible:checked");
  4640. var $unchecked = $(":checkbox:visible:not(:checked)");
  4641. $unchecked.prop("checked",true)
  4642. .each(function(index, element){GM_setValue(this.id, true)});
  4643. $checked.prop("checked",false)
  4644. .each(function(index, element){GM_setValue(this.id, false)});
  4645. }
  4646.  
  4647. function changeRefAnonymizer(){
  4648. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4649. }
  4650.  
  4651. //Sets live links color
  4652. function changeColorLive()
  4653. {
  4654. var inColorLive = document.getElementById("inputColorLive");
  4655. inColorLive.style.background = inColorLive.value;
  4656. GM_setValue("Live_links_color", inColorLive.value);
  4657. }
  4658.  
  4659. //Sets dead links color
  4660. function changeColorDead()
  4661. {
  4662. var inColorDead = document.getElementById("inputColorDead");
  4663. inColorDead.style.background = inColorDead.value;
  4664. GM_setValue("Dead_links_color", inColorDead.value);
  4665. }
  4666.  
  4667. //Sets temp. unavailable links color
  4668. function changeColorTemp()
  4669. {
  4670. var inColorTemp = document.getElementById("inputColorTemp");
  4671. inColorTemp.style.background = inColorTemp.value;
  4672. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4673. }
  4674.  
  4675. //Sets temp. unavailable links color
  4676. function changeColorCont()
  4677. {
  4678. var inColorCont = document.getElementById("inputColorCont");
  4679. inColorCont.style.background = inColorCont.value;
  4680. GM_setValue("Container_links_color", inColorCont.value);
  4681. }
  4682. //Sets premium. links color
  4683. function changeColorprem()
  4684. {
  4685. var inColorprem = document.getElementById("inputColorprem");
  4686. inColorprem.style.background = inColorprem.value;
  4687. GM_setValue("Premium_links_color", inColorprem.value);
  4688. }
  4689.  
  4690. //Diagnose sites for availability
  4691. function diagSites()
  4692. {
  4693. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4694.  
  4695. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4696. {
  4697. if (boxes[i].type == "checkbox")
  4698. {
  4699. checkAvailability(boxes[i]);
  4700. }
  4701. }
  4702.  
  4703. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4704.  
  4705. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4706. {
  4707. if (boxes[i].type == "checkbox")
  4708. {
  4709. checkAvailability(boxes[i]);
  4710. }
  4711. }
  4712.  
  4713. function checkAvailability(cbElm)
  4714. {
  4715. var cb = cbElm;
  4716. GM_xmlhttpRequest(
  4717. {
  4718. method: 'HEAD',
  4719. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4720. headers: {
  4721. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4722. 'Accept': 'text/xml',
  4723. 'Referer': ""
  4724. },
  4725. onload: function (result)
  4726. {
  4727. if (result.status != 200)
  4728. {
  4729. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4730. }
  4731. },
  4732. onerror: function (result)
  4733. {
  4734. if (result.status != 200)
  4735. {
  4736. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4737. }
  4738. }
  4739. });
  4740. }
  4741. }
  4742. function buildSettings()
  4743. {
  4744. $(".warlcsettings :checkbox").each(function(){
  4745. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4746. .click(function(e){
  4747. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4748. setVariables();
  4749. });
  4750. })
  4751. }
  4752. //Dynamic build of host list
  4753. //param search [string] searches for hostnames matching search substring
  4754. //param siteNames [array] array of site names
  4755. //param targetNode [DOM Node] where the list should be built
  4756. // first child node is replaced
  4757. function buildSitelist(search, siteNames, targetNode)
  4758. {
  4759. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4760. var $targetNode = $(targetNode).empty();
  4761. var searchedSite = "";
  4762. $.each(siteNames, function(i, site){
  4763. if (searchedSite = site.match(searchRegex))
  4764. {
  4765. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4766. //ensuring backward compatibility with the rest of code, to be refactored later
  4767. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4768. //
  4769. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4770. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4771. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4772. );
  4773. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4774. .change(changeConfiguration);
  4775. $targetNode.append('<br />');
  4776. }
  4777. });
  4778. $targetNode.append("<hr>");
  4779. //obsolete hosts checkbox
  4780. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4781. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4782. .change(changeConfiguration);
  4783. $targetNode.append('<br />');
  4784. var foundName = "";
  4785. $.each(allObsoleteNames, function(i, site){
  4786. if (foundName = allObsoleteNames[i].match(searchRegex))
  4787. {
  4788. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4789. }
  4790. })
  4791. }
  4792. var hostSearchBox = document.getElementById("hostSearchBox");
  4793. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4794. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4795. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4796. $(".warlc-ui-select-all").click(selectAll).button();
  4797. $(".warlc-ui-select-none").click(selectNone).button();
  4798. $(".warlc-ui-select-invert").click(selectInvert).button();
  4799. $(".warlc-ui-buttonset").buttonset();
  4800. var inColorLive = document.getElementById("inputColorLive");
  4801. inColorLive.addEventListener('keyup', changeColorLive, false);
  4802.  
  4803. var inColorDead = document.getElementById("inputColorDead");
  4804. inColorDead.addEventListener('keyup', changeColorDead, false);
  4805.  
  4806. var inColorTemp = document.getElementById("inputColorTemp");
  4807. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4808.  
  4809. var inColorCont = document.getElementById("inputColorCont");
  4810. inColorCont.addEventListener('keyup', changeColorCont, false);
  4811. var inColorprem = document.getElementById("inputColorprem");
  4812. inColorprem.addEventListener('keyup', changeColorprem, false);
  4813. $("#refAnonymizer").change(changeRefAnonymizer);
  4814. //buttons and edit boxes init end
  4815.  
  4816. //icon sets radio buttons
  4817. var radioButtons = document.getElementsByName("warlciconset");
  4818. radioButtons[Icon_set].checked = "checked";
  4819.  
  4820. radioButtons[0].addEventListener("change", updateIconSet);
  4821. radioButtons[1].addEventListener("change", updateIconSet);
  4822. radioButtons[2].addEventListener("change", updateIconSet);
  4823. radioButtons[3].addEventListener("change", updateIconSet);
  4824. function updateIconSet()
  4825. {
  4826. GM_setValue("Icon_set", this.value * 1);
  4827. }
  4828. //
  4829. $('#showCustomRulesReference').click(function(e){
  4830. e.preventDefault();
  4831. $('#customRulesReference').toggle();
  4832. });
  4833. $('#Custom_rules_text')
  4834. .val(Custom_rules_text)
  4835. .change(saveCustomRules);
  4836. function saveCustomRules(e)
  4837. {
  4838. var cr = parseCustomRules(this.value);
  4839. if (cr.info.length)
  4840. 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, ' '));
  4841. GM_setValue('Custom_rules_text', this.value);
  4842. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4843. }
  4844. }
  4845.  
  4846. //begin standard link checking algorithm
  4847. function start(filterId)
  4848. {
  4849. var doNotLinkify = Do_not_linkify_DL_links;
  4850.  
  4851. // USER SELECTED FILE HOSTS INITIALIZATION START
  4852. var http_file_hosts = new Array(); //standard hostings
  4853. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4854. var http_file_hosts_obsolete = new Array(); //dead hostings
  4855. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4856.  
  4857. initFileHosts();
  4858. initFileHostsHeadersOnly();
  4859. initFileHostsCustom(); //CustomRules
  4860. // USER SELECTED FILE HOSTS INITIALIZATION END
  4861.  
  4862. // LINKIFICATION START
  4863. var totalxpath = '';
  4864. var totalxpathcoded = '';
  4865. var totalxpathobsolete = '';
  4866. var totalxpathheadersonly = '';
  4867. var totalourls = '';
  4868.  
  4869. var filehostLen = http_file_hosts.length;
  4870. var filehostCodedLen = http_file_hosts_coded.length;
  4871. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4872. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4873.  
  4874. var filehostIdx = filehostLen;
  4875. var filehostCodedIdx = filehostCodedLen;
  4876. var filehostObsoleteIdx = filehostObsoleteLen;
  4877. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4878.  
  4879. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4880. return;
  4881.  
  4882. while (filehostIdx--)
  4883. {
  4884. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4885. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4886. }
  4887.  
  4888. while (filehostCodedIdx--)
  4889. {
  4890. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4891. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4892. }
  4893.  
  4894. while (filehostObsoleteIdx--)
  4895. {
  4896. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4897. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4898. }
  4899.  
  4900. while (filehostHeadersOnlyIdx--)
  4901. {
  4902. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4903. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4904. }
  4905.  
  4906. totalourls = totalourls.replace(/\|$/g, "");
  4907. //TODO: further refactoring needed
  4908. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4909. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4910. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4911. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4912. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4913. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4914. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4915. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4916. if (filterId != null) //insert id restriction in the xpath
  4917. {
  4918. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4919. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4920. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4921. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4922. }
  4923. else
  4924. {
  4925. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4926. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4927. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4928. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4929. }
  4930. linkify(totalourls);
  4931. //LINKIFICATION END
  4932. //ENCRYPTED LINKS PROCESSING START
  4933. if (http_file_hosts_coded.length > 0)
  4934. {
  4935. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4936.  
  4937. // decrypt coded links (redirects, link protectors etc.)
  4938. if (linksCoded.snapshotLength > 0)
  4939. {
  4940. var link;
  4941. var reallinkreg;
  4942. var reallinkcorrection;
  4943.  
  4944. if (filterId == null)
  4945. {
  4946. cLinksTotal += linksCoded.snapshotLength;
  4947. }
  4948.  
  4949. var y = linksCoded.snapshotLength - 1;
  4950. do
  4951. {
  4952. // linksCoded.snapshotItem(y).id = 'processing_link';
  4953. link = linksCoded.snapshotItem(y);
  4954. filehostIdx = filehostCodedLen;
  4955. while (filehostIdx--)
  4956. {
  4957. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4958. {
  4959. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4960. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4961. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4962.  
  4963. decurl(link, reallinkreg, reallinkcorrection);
  4964. break;
  4965. }
  4966. }
  4967. }
  4968. while (y--);
  4969. }
  4970. }
  4971. //ENCRYPTED LINKS PROCESSING END
  4972.  
  4973. //STANDARD LINKCHECKING START
  4974. if (http_file_hosts.length > 0)
  4975. {
  4976. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4977.  
  4978. if (filterId == null)
  4979. {
  4980. cLinksTotal += lianks.snapshotLength;
  4981. }
  4982.  
  4983. if (lianks.snapshotLength > 0)
  4984. {
  4985. var link;
  4986.  
  4987. var URL = "";
  4988. var name = "";
  4989. var isAliveRegex = "";
  4990. var isDeadRegex = "";
  4991. var isUnavaRegex = "";
  4992. var ispremRegex = "";
  4993. var tryLoop = false;
  4994.  
  4995. var y = lianks.snapshotLength;
  4996.  
  4997. while (y--)
  4998. {
  4999. link = lianks.snapshotItem(y);
  5000.  
  5001. filehostIdx = filehostLen;
  5002. while (filehostIdx--)
  5003. {
  5004. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5005. {
  5006. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5007. isAliveRegex = http_file_hosts[filehostIdx][1];
  5008. isDeadRegex = http_file_hosts[filehostIdx][2];
  5009. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5010. ispremRegex = http_file_hosts[filehostIdx][6];
  5011. tryLoop = http_file_hosts[filehostIdx][5];
  5012.  
  5013. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5014.  
  5015. break;
  5016. }
  5017. }
  5018. }
  5019. }
  5020. }
  5021. //STANDARD LINKCHECKING END
  5022. //OBSOLETE FILE HOSTS PROCESSING START
  5023. if (filehostObsoleteLen > 0)
  5024. {
  5025. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5026.  
  5027. var obsoleteLink;
  5028.  
  5029. //check links
  5030. if (obsoletelinks.snapshotLength > 0)
  5031. {
  5032. var y = obsoletelinks.snapshotLength;
  5033.  
  5034. if (filterId == null)
  5035. {
  5036. cLinksTotal += y;
  5037. }
  5038.  
  5039. while (y--)
  5040. {
  5041. obsoleteLink = obsoletelinks.snapshotItem(y);
  5042.  
  5043. if (Display_tooltip_info)
  5044. {
  5045. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5046. }
  5047. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5048. }
  5049. }
  5050. }
  5051. //OBSOLETE FILE HOSTS PROCESSING END
  5052.  
  5053. //DIRECT LINKCHECKING START
  5054. if (http_file_hosts_headers_only.length > 0)
  5055. {
  5056. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5057.  
  5058. //check links
  5059. if (links.snapshotLength > 0)
  5060. {
  5061. var link;
  5062. var isAliveRegex;
  5063. var isDeadRegex;
  5064. var ispremRegex;
  5065.  
  5066. var y = links.snapshotLength;
  5067.  
  5068.  
  5069. if (filterId == null)
  5070. {
  5071. cLinksTotal += y;
  5072. }
  5073.  
  5074. while (y--)
  5075. {
  5076. // links.snapshotItem(y).id = 'processing_link';
  5077. link = links.snapshotItem(y);
  5078. filehostIdx = filehostHeadersOnlyLen;
  5079. while (filehostIdx--)
  5080. {
  5081. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5082. {
  5083. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5084. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5085. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5086. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5087.  
  5088. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5089.  
  5090. break;
  5091. }
  5092. }
  5093. }
  5094.  
  5095. }
  5096. }
  5097. //DIRECT LINKCHECKING END
  5098.  
  5099.  
  5100. //finds the real url on the page, replaces link.href with it and calls geturl
  5101. function decurl(link, reallinkreg, reallinkcorrection)
  5102. {
  5103.  
  5104. GM_xmlhttpRequest(
  5105. {
  5106. method: 'GET',
  5107. url: link.href,
  5108. headers: {
  5109. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5110. 'Accept': 'text/xml',
  5111. 'Referer': ""
  5112. },
  5113. onload: function (result)
  5114. {
  5115. // cLinksProcessed++;
  5116.  
  5117. var reallink = result.responseText.match(reallinkreg)[0];
  5118. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5119.  
  5120. link.href = reallink;
  5121.  
  5122. var i = http_file_hosts.length - 1;
  5123. do
  5124. {
  5125. if ((reallink.match(http_file_hosts[i][0])))
  5126. {
  5127. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5128. var isAliveRegex = http_file_hosts[i][1];
  5129. var isDeadRegex = http_file_hosts[i][2];
  5130. var isUnavaRegex = http_file_hosts[i][3];
  5131. var ispremRegex = http_file_hosts[i][4];
  5132.  
  5133. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5134.  
  5135. break;
  5136. }
  5137. }
  5138. while (i--);
  5139. }
  5140. });
  5141. }
  5142.  
  5143. function randUA()
  5144. {
  5145. //TODO
  5146. }
  5147. //Processes link
  5148. //
  5149. // [string] link link URL
  5150. // [string] isAliveRegex alive link regex
  5151. // [string] isDeadRegex dead link regex
  5152. // [string] isUnavaRegex unavailable link regex
  5153. // [string] ispremRegex premium link regex
  5154. // [boolean] tryLoop repeats request until succeeded
  5155. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5156. {
  5157. GM_xmlhttpRequest(
  5158. {
  5159. method: 'GET',
  5160. url: link.href,
  5161. headers: {
  5162. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5163. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5164. 'Referer': ""
  5165. },
  5166. onload: function (result)
  5167. {
  5168. var res = result.responseText;
  5169. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5170. {
  5171. displayTheCheckedLink(link, 'alive_link');
  5172. return;
  5173. }
  5174.  
  5175. if (res.match(isAliveRegex))
  5176. {
  5177. displayTheCheckedLink(link, 'alive_link');
  5178. return;
  5179. }
  5180.  
  5181. if (res.match(isDeadRegex))
  5182. {
  5183. displayTheCheckedLink(link, 'adead_link');
  5184. return;
  5185. }
  5186.  
  5187. if (isUnavaRegex && res.match(isUnavaRegex))
  5188. {
  5189. displayTheCheckedLink(link, 'unava_link');
  5190. return;
  5191. }
  5192. if (res.match(ispremRegex))
  5193. {
  5194. displayTheCheckedLink(link, 'prem_link');
  5195. return;
  5196. }
  5197.  
  5198. var resStatus = result.status;
  5199.  
  5200. if (resStatus == 404)
  5201. {
  5202. displayTheCheckedLink(link, 'adead_link');
  5203. }
  5204. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5205. {
  5206. if (tryLoop)
  5207. {
  5208. //wait 1-5 seconds and repeat the request
  5209. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5210. }
  5211. else
  5212. {
  5213. displayTheCheckedLink(link, 'unava_link');
  5214. }
  5215.  
  5216. return;
  5217. }
  5218. },
  5219. onerror: function ()
  5220. {
  5221. displayTheCheckedLink(link, 'unava_link');
  5222. }
  5223. });
  5224. }
  5225.  
  5226. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5227. {
  5228. GM_xmlhttpRequest(
  5229. {
  5230. method: 'HEAD',
  5231. url: link.href,
  5232. headers: {
  5233. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5234. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5235. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5236. 'Referer': ""
  5237. },
  5238. onload: function (result)
  5239. {
  5240. var resStatus = result.status;
  5241. var resHeaders = "";
  5242. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5243. {
  5244. displayTheCheckedLink(link, 'adead_link');
  5245. return;
  5246. }
  5247.  
  5248. resHeaders = result.responseHeaders;
  5249.  
  5250. if (resHeaders.match(isDeadRegex))
  5251. {
  5252. displayTheCheckedLink(link, 'adead_link');
  5253. return;
  5254. }
  5255.  
  5256. if (resHeaders.match(isAliveRegex))
  5257. {
  5258. displayTheCheckedLink(link, 'alive_link');
  5259. return;
  5260. }
  5261. if (resHeaders.match(ispremRegex))
  5262. {
  5263. displayTheCheckedLink(link, 'prem_link');
  5264. return;
  5265. }
  5266. },
  5267. onerror: function ()
  5268. {
  5269. displayTheCheckedLink(link, 'unava_link');
  5270. }
  5271. });
  5272. }
  5273.  
  5274. //Delinkfifies the <a> element object
  5275. function delinkifyLink(link)
  5276. {
  5277. var spanElm = document.createElement("span");
  5278. spanElm.className = link.className;
  5279. spanElm.innerHTML = link.innerHTML;
  5280.  
  5281. if (Display_tooltip_info)
  5282. {
  5283. spanElm.href = link.href;
  5284. spanElm.warlc_error = link.warlc_error;
  5285. switch (link.className){
  5286. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5287. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5288. case "unava_link": //reserved
  5289. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5290. default:
  5291. }
  5292. }
  5293. link.parentNode.replaceChild(spanElm, link);
  5294. }
  5295.  
  5296. //Assigns result status to the <a> element object and calls delinkifying eventually
  5297. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5298. function displayTheCheckedLink(link, resultStatus)
  5299. {
  5300. link.className = resultStatus;
  5301. link.href = Ref_anonymize_service + link.href;
  5302. if (Display_tooltip_info)
  5303. {
  5304. switch (resultStatus){
  5305. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5306. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5307. case "unava_link": //reserved
  5308. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5309. default:
  5310. }
  5311. }
  5312. if (doNotLinkify)
  5313. {
  5314. delinkifyLink(link);
  5315. }
  5316. cLinksProcessed++;
  5317.  
  5318. if (resultStatus == "alive_link")
  5319. {
  5320. cLinksAlive++;
  5321. return;
  5322. }
  5323.  
  5324. if (resultStatus == "adead_link")
  5325. {
  5326. cLinksDead++;
  5327. return;
  5328. }
  5329.  
  5330. if (resultStatus == "unava_link")
  5331. {
  5332. cLinksUnava++;
  5333. }
  5334. if (resultStatus == "prem_link")
  5335. {
  5336. cLinksprem++;
  5337. return;
  5338. }
  5339. }
  5340.  
  5341.  
  5342. function initFileHosts()
  5343. {
  5344.  
  5345. function addObsoleteHost(linkRegex, xpathEx)
  5346. {
  5347. var host = new Array(2);
  5348. host[0] = linkRegex;
  5349. host[1] = xpathEx;
  5350. http_file_hosts_obsolete.push(host);
  5351. }
  5352.  
  5353. //obsolete file hosts init start
  5354. if (Obsolete_file_hosts)
  5355. {
  5356. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5357. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5358. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5359. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5360. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5361. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5362. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5363. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5364. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5365. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5366. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5367. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5368. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5369. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5370. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5371. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5372. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5373. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5374. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5375. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5376. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5377. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5378. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5379. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5380. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5381. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5382. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5383. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5384. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5385. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5386. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5387. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5388. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5389. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5390. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5391. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5392. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5393. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5394. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5395. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5396. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5397. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5398. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5399. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5400. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5401. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5402. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5403. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5404. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5405. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5406. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5407. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5408. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5409. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5410. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5411. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5412. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5413. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5414. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5415. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5416. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5417. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5418. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5419. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5420. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5421. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5422. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5423. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5424. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5425. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5426. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5427. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5428. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5429. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5430. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5431. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5432. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5433. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5434. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5435. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5436. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5437. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5438. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5439. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5440. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5441. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5442. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5443. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5444. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5445. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5446. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5447. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5448. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5449. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5450. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5451. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5452. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5453. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5454. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5455. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5456. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5457. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5458. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5459. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5460. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5461. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5462. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5463. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5464. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5465. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5466. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5467. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5468. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5469. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5470. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5471. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5472. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5473. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5474. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5475. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5476. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5477. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5478. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5479. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5480. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5481. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5482. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5483. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5484. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5485. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5486. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5487. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5488. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5489. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5490. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5491. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5492. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5493. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5494. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5495. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5496. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5497. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5498. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5499. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5500. 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')]");
  5501. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5502. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5503. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5504. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5505. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5506. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5507. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5508. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5509. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5510. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5511. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5512. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5513. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5514. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5515. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5516. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5517. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5518. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5519. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5520. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5521. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5522. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5523. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5524. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5525. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5526. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5527. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5528. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5529. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5530. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5531. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5532. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5533. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5534. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5535. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5536. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5537. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5538. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5539. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5540. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5541. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5542. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5543. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5544. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5545. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5546. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5547. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5548. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5549. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5550. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5551. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5552. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5553. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5554. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5555. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5556. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5557. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5558. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5559. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5560. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5561. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5562. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5563. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5564. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5565. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5566. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5567. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5568. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5569. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5570. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5571. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5572. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5573. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5574. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5575. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5576. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5577. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5578. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5579. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5580. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5581. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5582. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5583. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5584. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5585. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5586. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5587. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5588. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5589. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5590. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5591. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5592. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5593. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5594. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5595. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5596. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5597. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5598. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5599. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5600. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5601. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5602. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5603. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5604. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5605. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5606. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5607. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5608. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5609. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5610. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5611. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5612. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5613. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5614. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5615. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5616. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5617. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5618. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5619. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5620. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5621. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5622. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5623. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5624. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5625. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5626. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5627. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5628. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5629. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5630. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5631. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5632. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5633. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5634. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5635. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5636. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5637. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5638. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5639. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5640. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5641. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5642. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5643. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5644. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5645. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5646. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5647. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5648. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5649. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5650. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5651. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5652. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5653. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5654. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5655. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5656. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5657. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5658. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5659. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5660. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5661. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5662. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5663. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5664. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5665. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5666. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5667. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5668. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5669. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5670. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5671. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5672. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5673. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5674. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5675. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5676. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5677. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5678. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5679. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5680. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5681. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5682. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5683. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5684. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5685. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5686. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5687. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5688. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5689. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5690. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5691. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5692. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5693. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5694. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5695. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5696. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5697. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5698. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5699. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5700. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5701. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5702. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5703. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5704. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5705. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5706. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5707. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5708. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5709. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5710. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5711. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5712. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5713. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5714. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5715. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5716. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5717. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5718. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5719. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5720. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5721. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5722. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5723. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5724. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5725. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5726. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5727. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5728. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5729. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5730. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5731. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5732. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5733. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5734. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5735. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5736. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5737. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5738. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5739. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5740. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5741. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5742. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5743. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5744. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5745. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5746. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5747. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5748. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5749. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5750. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5751. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5752. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5753. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5754. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5755. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5756. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5757. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5758. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5759. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5760. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5761. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5762. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5763. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5764. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5765. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5766. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5767. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5768. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5769. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5770. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5771. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5772. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5773. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5774. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5775. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5776. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5777. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5778. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5779. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5780. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5781. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5782. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5783. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5784. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5785. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5786. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5787. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5788. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5789. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5790. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5791. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5792. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5793. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5794. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5795. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5796. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5797. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5798. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5799. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5800. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5801. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5802. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5803. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5804. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5805. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5806. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5807. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5808. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5809. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5810. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5811. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5812. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5813. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5814. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5815. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5816. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5817. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5818. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5819. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5820. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5821. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5822. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5823. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5824. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5825. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5826. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5827. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5828. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5829. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5830. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5831. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5832. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5833. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5834. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5835. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5836. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5837. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5838. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5839. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5840. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5841. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5842. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5843. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5844. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm​.to/')]");
  5845. // obsolete start
  5846. }
  5847. //obsolete file hosts init end
  5848. //Add Host Example
  5849. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5850. {
  5851. addFileHost(
  5852. "datafile\.com\/\\w+",
  5853. 'var captchaPanel|<link href="/css/files_download.css"',
  5854. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5855. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5856. '<style type="text/css">',
  5857. "//a[contains(@href,'datafile.com')]",
  5858. true);
  5859. } */
  5860.  
  5861. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5862. {
  5863. var host = new Array(7);
  5864. host[0] = linkRegex;
  5865. host[1] = isAliveRegex;
  5866. host[2] = isDeadRegex;
  5867. host[3] = isUnavaRegex;
  5868. host[6] = ispremRegex;
  5869. host[4] = xpathEx;
  5870. tryLoop ? host[5] = true : host[5] = false;
  5871. http_file_hosts.push(host);
  5872. }
  5873. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5874. {
  5875. addFileHost(
  5876. "megafileupload\.com\/..\/file\/",
  5877. 'downloadbtn',
  5878. 'is not found',
  5879. 'optional--',
  5880. 'optional2--',
  5881. "//a[contains(@href,'megafileupload.com')]");
  5882. }
  5883. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5884. {
  5885. addFileHost(
  5886. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5887. 'download\\.gif"',
  5888. 'p_point">',
  5889. 'optional--',
  5890. 'optional2--',
  5891. "//a[contains(@href,'demo.ovh.eu')]");
  5892. }
  5893. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5894. {
  5895. addFileHost(
  5896. "xkeepfile\.com\/\\w+",
  5897. 'File has been found|Click here to download',
  5898. 'File cannot be found|class="error">',
  5899. 'optional--',
  5900. 'optional2--',
  5901. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5902. }
  5903. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5904. {
  5905. addFileHost(
  5906. "safelinking\\.net\/p\/\\w+",
  5907. 'color:green;"',
  5908. 'color:(?:red|orange);"',
  5909. 'color:(?:grey|brown);"',
  5910. 'optional2--',
  5911. "//a[contains(@href,'safelinking.net/p/')]",
  5912. true);
  5913. }
  5914. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5915. {
  5916. addFileHost(
  5917. "fastshare\\.cz\/\\d+\/\\w*",
  5918. 'dwntable">|speed-low',
  5919. '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',
  5920. 'optional--',
  5921. 'optional2--',
  5922. "//a[contains(@href,'fastshare.cz')]");
  5923. }
  5924. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5925. {
  5926. addFileHost(
  5927. "[fF]ast[sS]hare\\.org\/download",
  5928. 'Download ">',
  5929. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5930. 'optional--',
  5931. 'optional2--',
  5932. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5933. }
  5934. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5935. {
  5936. addFileHost(
  5937. "partage-facile\.com\/\\w+",
  5938. 'class="title"><strong>|colspan="2"',
  5939. 'Page introuvable|class="alert-message',
  5940. 'optional--',
  5941. 'optional2--',
  5942. "//a[contains(@href,'partage-facile.com')]");
  5943. }
  5944. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5945. {
  5946. addFileHost(
  5947. "rapidgator\\.net\/file\/\\w+",
  5948. '/download/AjaxStartTimer|not more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  5949. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5950. 'optional--',
  5951. 'can be downloaded by premium only|files up to 500 MB in free mode|files up to 1 GB in free mode|You can download files up to 2 GB in free mode',
  5952. "//a[contains(@href,'rapidgator.net/file')]",
  5953. true
  5954. );
  5955. }
  5956. if (GM_getValue("Check_relink_dot_us_links", false))
  5957. {
  5958. addFileHost(
  5959. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5960. 'online_detail\\.png" alt="Status',
  5961. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5962. 'unknown_detail\\.png" alt="Status',
  5963. 'optional2--',
  5964. "//a[contains(@href,'relink.us/')]"
  5965. );
  5966. }
  5967. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5968. {
  5969. addFileHost(
  5970. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5971. 'div id="dl"',
  5972. 'Sie haben den Link falsch',
  5973. 'optional--',
  5974. 'optional2--',
  5975. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5976. );
  5977. }
  5978. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5979. {
  5980. addFileHost(
  5981. "flyfiles\\.net\/\\w+",
  5982. 'download_button"|"Download file"',
  5983. 'File not found!|Файл не найден',
  5984. 'optional--',
  5985. 'optional2--',
  5986. "//a[contains(@href,'flyfiles.net/')]"
  5987. );
  5988. }
  5989. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5990. {
  5991. addFileHost(
  5992. "wikiupload\\.com\/\\w+",
  5993. 'download-button">',
  5994. 'Sorry, File not found',
  5995. 'optional--',
  5996. 'optional2--',
  5997. "//a[contains(@href,'wikiupload.com/')]"
  5998. );
  5999. }
  6000. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6001. {
  6002. addFileHost(
  6003. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6004. 'file\\.php">|Pobierz Plik',
  6005. 'Podany plik nie zosta',
  6006. 'optional--',
  6007. 'optional2--',
  6008. "//a[contains(@href,'hostuje.net/file')]"
  6009. );
  6010. }
  6011. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6012. {
  6013. addFileHost(
  6014. "gettyfile\\.ru\/\\d+",
  6015. 'download\\.gif border',
  6016. '<center><font size="3">',
  6017. 'optional--',
  6018. 'optional2--',
  6019. "//a[contains(@href,'gettyfile.ru/')]"
  6020. );
  6021. }
  6022. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6023. {
  6024. addFileHost(
  6025. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6026. 'download\\-file">',
  6027. 'col-1">\\s*<h1>',
  6028. 'optional--',
  6029. 'optional2--',
  6030. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6031. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6032. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6033. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6034. );
  6035. }
  6036. if (GM_getValue("Check_data_dot_hu_links", false))
  6037. {
  6038. addFileHost(
  6039. "data\\.hu\/get\/\\d+\/",
  6040. 'download_box_button',
  6041. 'missing\\.php',
  6042. 'optional--',
  6043. 'optional2--',
  6044. "//a[contains(@href,'data.hu/get')]",
  6045. true
  6046. );
  6047. }
  6048. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6049. {
  6050. addFileHost(
  6051. "filesmelt\\.com\/dl\/\\w+",
  6052. '(Your download is ready|Download File)',
  6053. 'Sorry, but your',
  6054. 'optional--',
  6055. 'optional2--',
  6056. "//a[contains(@href,'filesmelt.com/dl')]"
  6057. );
  6058. }
  6059. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6060. {
  6061. addFileHost(
  6062. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6063. 'premiumBtn"',
  6064. 'errorMessage"',
  6065. 'optional--',
  6066. 'optional2--',
  6067. "//a[contains(@href,'indowebster.com/download')]"
  6068. );
  6069. }
  6070. if (GM_getValue("Check_superload_dot_cz_links", false))
  6071. {
  6072. addFileHost(
  6073. "superload\\.cz\/dl\/\\w+",
  6074. 'icon-download">',
  6075. 'soubor nebyl nalezen',
  6076. 'optional--',
  6077. 'optional2--',
  6078. "//a[contains(@href,'superload.cz/dl')]"
  6079. );
  6080. }
  6081. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6082. {
  6083. addFileHost(
  6084. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6085. 'op" value="download',
  6086. 'class="err">|width:500px;text-align:left;">',
  6087. 'optional--',
  6088. 'optional2--',
  6089. "//a[contains(@href,'hulkfile.')]"
  6090. );
  6091. }
  6092. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6093. {
  6094. addFileHost(
  6095. "easybytez\\.com\/\\w+",
  6096. 'op" value="download',
  6097. 'stop_error\\.gif',
  6098. 'optional--',
  6099. 'optional2--',
  6100. "//a[contains(@href,'easybytez.com/')]"
  6101. );
  6102. }
  6103. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6104. {
  6105. addFileHost(
  6106. "filestore\\.com\\.ua\/\\?d=\\w+",
  6107. 'tdrow1>',
  6108. 'class=warn',
  6109. 'optional--',
  6110. 'optional2--',
  6111. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6112. );
  6113. }
  6114. if (GM_getValue("Check_netkups_dot_com_links", false))
  6115. {
  6116. addFileHost(
  6117. "netkups\\.com\/\\?d=\\w+",
  6118. 'submit">Continue',
  6119. 'page">File not found|deleted due to inactivity',
  6120. 'optional--',
  6121. 'optional2--',
  6122. "//a[contains(@href,'netkups.com/?d=')]"
  6123. );
  6124. }
  6125. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6126. {
  6127. addFileHost(
  6128. "openfile\\.ru\/(?:video\/|)\\d+",
  6129. 'videobox_left">',
  6130. 'blog_title">|not found on this server',
  6131. 'optional--',
  6132. 'optional2--',
  6133. "//a[contains(@href,'openfile.ru/')]"
  6134. );
  6135. }
  6136. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6137. {
  6138. addFileHost(
  6139. "extmatrix\\.com\/files\/\\w+",
  6140. 'div class="success"',
  6141. 'div class="error"',
  6142. 'optional--',
  6143. 'optional2--',
  6144. "//a[contains(@href,'extmatrix.com/files')]"
  6145. );
  6146. }
  6147. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6148. {
  6149. addFileHost(
  6150. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6151. 'content_lnkDownload',
  6152. 'error\\.aspx\\?',
  6153. 'optional--',
  6154. 'optional2--',
  6155. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6156. );
  6157. }
  6158. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6159. {
  6160. addFileHost(
  6161. "yourfilestore\\.com\/download\/\\d+\/",
  6162. 'download_data">',
  6163. 'may have been deleted|<h1>Sorry!<\/h1>',
  6164. 'optional--',
  6165. 'optional2--',
  6166. "//a[contains(@href,'yourfilestore.com/download')]"
  6167. );
  6168. }
  6169. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6170. {
  6171. addFileHost(
  6172. "nekaka\\.com\/d\/[\\w-]+",
  6173. 'downloadForm">',
  6174. 'invalid file link',
  6175. 'optional--',
  6176. 'optional2--',
  6177. "//a[contains(@href,'nekaka.com/d')]"
  6178. );
  6179. }
  6180. if (GM_getValue("Check_filebig_dot_net_links", false))
  6181. {
  6182. addFileHost(
  6183. "filebig\\.net\/files\/\\w+",
  6184. 'downloadFile">',
  6185. '<p>File not found<\/p>',
  6186. 'optional--',
  6187. 'optional2--',
  6188. "//a[contains(@href,'filebig.net/files')]"
  6189. );
  6190. }
  6191. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6192. {
  6193. addFileHost(
  6194. "files\\.filefront\\.com\/\/;\\d+;;",
  6195. 'downloadLink">',
  6196. 'File not found, you',
  6197. 'optional--',
  6198. 'optional2--',
  6199. "//a[contains(@href,'files.filefront.com')]"
  6200. );
  6201.  
  6202. addFileHost(
  6203. "gamefront\\.com\/files\/\\d+",
  6204. 'downloadLink">',
  6205. 'File not found, you',
  6206. 'optional--',
  6207. 'optional2--',
  6208. "//a[contains(@href,'gamefront.com/files')]"
  6209. );
  6210. }
  6211. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6212. {
  6213. addFileHost(
  6214. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6215. 'dnlLnk"',
  6216. 'already been deleted',
  6217. 'optional--',
  6218. 'optional2--',
  6219. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6220. );
  6221. }
  6222. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6223. {
  6224. addFileHost(
  6225. "hellupload\\.com\/\\w+",
  6226. '<h3>Download File<br',
  6227. 'id="podstrona">|AVOID_IE_BUG',
  6228. 'optional--',
  6229. 'optional2--',
  6230. "//a[contains(@href,'hellupload.com/')]"
  6231. );
  6232. }
  6233. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6234. {
  6235. addFileHost(
  6236. "free\\-uploading\\.com\/\\w+",
  6237. 'op" value="download',
  6238. 'class="err">|width:500px;text-align:left;">',
  6239. 'optional--',
  6240. 'optional2--',
  6241. "//a[contains(@href,'free-uploading.com/')]"
  6242. );
  6243. }
  6244. if (GM_getValue("Check_fileape_dot_com_links", false))
  6245. {
  6246. addFileHost(
  6247. "fileape\\.com\/download\\-",
  6248. 'button_dl\\.png',
  6249. 'does not exist\\.',
  6250. 'optional--',
  6251. 'optional2--',
  6252. "//a[contains(@href,'fileape.com/')]"
  6253. );
  6254. }
  6255. if (GM_getValue("Check_uppit_dot_com_links", false))
  6256. {
  6257. addFileHost(
  6258. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6259. 'op" value="download',
  6260. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6261. 'optional--',
  6262. 'optional2--',
  6263. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6264. true
  6265. );
  6266. }
  6267. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6268. {
  6269. addFileHost(
  6270. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6271. 'op" value="download',
  6272. '>File Not Found<',
  6273. 'optional--',
  6274. 'optional2--',
  6275. "//a[contains(@href,'nosupload.com')]",
  6276. true
  6277. );
  6278. }
  6279. if (GM_getValue("Check_filesin_dot_com_links", false))
  6280. {
  6281. addFileHost(
  6282. "filesin\\.com\/\\w+\/download\\.html",
  6283. 'download_area">',
  6284. 'error_note">',
  6285. 'optional--',
  6286. 'optional2--',
  6287. "//a[contains(@href,'filesin.com/')]",
  6288. true
  6289. );
  6290. }
  6291. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6292. {
  6293. addFileHost(
  6294. "nowdownload\\.ch\/dl\/\\w+",
  6295. 'alert-success"',
  6296. 'This file does not exist!',
  6297. 'The file is being transfered',
  6298. 'optional2--',
  6299. "//a[contains(@href,'nowdownload.ch/dl')]"
  6300. );
  6301. }
  6302. if (GM_getValue("Check_axifile_dot_com_links", false))
  6303. {
  6304. addFileHost(
  6305. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6306. 'Dbutton_big"',
  6307. 'download\\-error\\.php',
  6308. 'optional--',
  6309. 'optional2--',
  6310. "//a[contains(@href,'axifile.com/')]"
  6311. );
  6312. }
  6313. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6314. {
  6315. addFileHost(
  6316. "hulkshare\.com\/\\w+",
  6317. 'download\.sam\.png|This is a private file|id="filename',
  6318. 'File does not exist|fingerprint protected copyright',
  6319. 'optional--',
  6320. 'optional2--',
  6321. "//a[contains(@href,'hulkshare.com')]"
  6322. );
  6323. }
  6324. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6325. {
  6326. addFileHost(
  6327. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6328. 'col-1">\\s*<s',
  6329. 'col-1">\\s*<h',
  6330. 'optional--',
  6331. 'optional2--',
  6332. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6333. );
  6334. }
  6335. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6336. {
  6337. addFileHost(
  6338. "turbobit\\.(?:net|pl)",
  6339. 'id="download-gate-info|id="file-list',
  6340. 'afterWait()|no files in this folder',
  6341. 'optional--',
  6342. 'optional2--',
  6343. "//a[contains(@href,'turbobit.net')]"
  6344. );
  6345. }
  6346. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6347. {
  6348. addFileHost(
  6349. "hitfile\\.net\/download\/folder\/\\d+",
  6350. 'content">\\s*<s',
  6351. 'content">\\s*<h',
  6352. 'optional--',
  6353. 'optional2--',
  6354. "//a[contains(@href,'hitfile.net/download/folder')]"
  6355. );
  6356. }
  6357. if (GM_getValue("Check_movshare_dot_net_links", false))
  6358. {
  6359. addFileHost(
  6360. "movshare\\.net\\/video\\/\\w+",
  6361. 'optional--"',
  6362. 'no longer exists',
  6363. 'optional--',
  6364. 'optional2--',
  6365. "//a[contains(@href,'movshare.net/video')]"
  6366. );
  6367. }
  6368. if (GM_getValue("Check_plunder_dot_com_links", false))
  6369. {
  6370. addFileHost(
  6371. "plunder\.com\/\\w+",
  6372. 'x\/download\\.gif',
  6373. '404 - File or directory not found.',
  6374. 'optional--',
  6375. 'optional2--',
  6376. "//a[contains(@href,'plunder.com')]"
  6377. );
  6378. }
  6379. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6380. {
  6381. addFileHost(
  6382. "mafiastorage\\.com\/\\w+",
  6383. 'op" value="download',
  6384. 'class="err">|style="width:500px;text-align:left;"',
  6385. 'optional--',
  6386. 'optional2--',
  6387. "//a[contains(@href,'mafiastorage.com/')]"
  6388. );
  6389. }
  6390. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6391. {
  6392. addFileHost(
  6393. "uploadspace\.pl\/plik\\w+",
  6394. 'Downloading .+? \\|',
  6395. 'Downloading a file',
  6396. 'optional--',
  6397. 'optional2--',
  6398. "//a[contains(@href,'uploadspace.pl/plik')]"
  6399. );
  6400. }
  6401. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6402. {
  6403. addFileHost(
  6404. "uploadingit\\.com\/file\/\\w+",
  6405. 'downloadTitle">',
  6406. 'deleteContent">',
  6407. 'optional--',
  6408. 'optional2--',
  6409. "//a[contains(@href,'uploadingit.com/file')]"
  6410. );
  6411. }
  6412. if (GM_getValue("Check_rghost_dot_net_links", false))
  6413. {
  6414. addFileHost(
  6415. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6416. 'download_link|btn large download',
  6417. 'file is restricted|File is deleted|503 Service Unavailable',
  6418. 'optional--',
  6419. 'optional2--',
  6420. "//a[contains(@href,'rghost.')]"
  6421. );
  6422. }
  6423. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6424. {
  6425. addFileHost(
  6426. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6427. '">Staženo:\\s*<\/span>',
  6428. 'Soubor, který hledáte nenalezen',
  6429. 'optional--',
  6430. 'optional2--',
  6431. "//a[contains(@href,'xdisk.cz/')]"
  6432. );
  6433. }
  6434. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6435. {
  6436. addFileHost(
  6437. "expressleech\.com\/\\w+",
  6438. 'src="/img/Download.gif"|var _gaq =',
  6439. 'var rr =|403 Forbidden',
  6440. 'optional--',
  6441. 'optional2--',
  6442. "//a[contains(@href,'expressleech.com')]");
  6443. }
  6444. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6445. {
  6446. addFileHost(
  6447. "2downloadz\.com\/\\w+",
  6448. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6449. 'color="#006DCC|File error',
  6450. 'optional--',
  6451. 'optional2--',
  6452. "//a[contains(@href,'2downloadz.com')]");
  6453. }
  6454. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6455. {
  6456. addFileHost(
  6457. "mightyupload\.com\/\\w+",
  6458. 'background:#ccc;text-align|CONTENT="Download File"',
  6459. 'style="background:#eee|var rr =|File Not Found',
  6460. 'error-code">1010',
  6461. 'optional2--',
  6462. "//a[contains(@href,'mightyupload.com')]");
  6463. }
  6464. if (GM_getValue("Check_anysend_dot_com_links", false))
  6465. {
  6466. addFileHost(
  6467. "anysend\.com\/\\w+",
  6468. 'var openCalled=false;|content="noindex"',
  6469. '_trackPageview',
  6470. 'optional--',
  6471. 'optional2--',
  6472. "//a[contains(@href,'anysend.com')]");
  6473. }
  6474. if (GM_getValue("Check_datafile_dot_com_links", false))
  6475. {
  6476. addFileHost(
  6477. "datafile\.com\/\\w+",
  6478. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6479. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6480. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6481. '; 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">
  6482. "//a[contains(@href,'datafile.com')]",
  6483. true);
  6484. }
  6485. if (GM_getValue("Check_upstore_dot_net_links", false))
  6486. {
  6487. addFileHost(
  6488. "upstore\.net\/\\w+",
  6489. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6490. 'File not found|onload="redirect|class="error">',
  6491. 'optional--',
  6492. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6493. "//a[contains(@href,'upstore.net')]");
  6494. }
  6495. if (GM_getValue("Check_upsto_dot_re_links", false))
  6496. {
  6497. addFileHost(
  6498. "upsto\.re\/\\w+",
  6499. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6500. 'File not found|onload="redirect|class="error">',
  6501. 'optional--',
  6502. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6503. "//a[contains(@href,'upsto.re')]");
  6504. }
  6505. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6506. {
  6507. addFileHost(
  6508. "speedy\.sh\/\\w+",
  6509. 'bgcolor=#eeeeee|class="addthis',
  6510. 'File not found|downloadfilenamenotfound>',
  6511. 'optional--',
  6512. 'optional2--',
  6513. "//a[contains(@href,'speedy.sh')]");
  6514. }
  6515. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6516. {
  6517. addFileHost(
  6518. "sanshare\.com\/\\w+",
  6519. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6520. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6521. 'optional--',
  6522. 'optional2--',
  6523. "//a[contains(@href,'sanshare.com')]");
  6524. }
  6525. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6526. {
  6527. addFileHost(
  6528. "kingfiles\.net\/\\w+",
  6529. 'method_free',
  6530. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6531. 'optional--',
  6532. 'optional2--',
  6533. "//a[contains(@href,'kingfiles.net')]");
  6534. }
  6535. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6536. {
  6537. addFileHost(
  6538. "uploadhero\\.co\/dl\/\\w+",
  6539. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6540. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6541. 'optional--',
  6542. 'optional2--',
  6543. "//a[contains(@href,'uploadhero.co/dl')]"
  6544. );
  6545. } */
  6546. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6547. {
  6548. addFileHost(
  6549. "secureupload\\.eu\/\\w+",
  6550. 'Downloading',
  6551. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6552. 'optional--',
  6553. 'optional2--',
  6554. "//a[contains(@href,'secureupload.eu')]"
  6555. );
  6556. }
  6557. if (GM_getValue("Check_ge_dot_tt_links", false))
  6558. {
  6559. addFileHost(
  6560. "ge\.tt\/\\w+",
  6561. 'downloads pic',
  6562. 'is NOT the same as',
  6563. 'optional--',
  6564. 'optional2--',
  6565. "//a[contains(@href,'ge.tt')]");
  6566. }
  6567. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6568. {
  6569. addFileHost(
  6570. "filefactory\.com\/\\w+",
  6571. 'div id="file_holder"|download.css',
  6572. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6573. 'Server Maintenance|temporarily overloaded',
  6574. 'Premium Account Required',
  6575. "//a[contains(@href,'filefactory.com')]");
  6576. }
  6577. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6578. {
  6579. addFileHost(
  6580. "filesflash\.net\/\\w+",
  6581. 'align:right">Filename:',
  6582. 'class="msg">',
  6583. 'optional--',
  6584. 'optional2--',
  6585. "//a[contains(@href,'filesflash.net')]");
  6586. }
  6587. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6588. {
  6589. addFileHost(
  6590. "rapidgator\\.net\/folder\/\\w+",
  6591. 'href="/folder/',
  6592. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6593. 'optional--',
  6594. 'optional2--',
  6595. "//a[contains(@href,'rapidgator.net/folder')]",
  6596. true
  6597. );
  6598. }
  6599. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6600. {
  6601. addFileHost(
  6602. "salefiles\.com\/\\w+",
  6603. 'name="method_free',
  6604. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6605. 'optional--',
  6606. 'optional2--',
  6607. "//a[contains(@href,'salefiles.com')]");
  6608. }
  6609. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6610. {
  6611. addFileHost(
  6612. "megairon\.net\/\\w+",
  6613. 'border: 5px #ffeb90 solid;',
  6614. 'CONTENT="Download File ">|var rr =',
  6615. 'error-code">523',
  6616. 'optional2--',
  6617. "//a[contains(@href,'megairon.net')]",
  6618. true);
  6619. } */
  6620. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6621. {
  6622. addFileHost(
  6623. "datoid\.cz\/\\w+",
  6624. 'btn-download|class="icon-download-large"',
  6625. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6626. 'optional--',
  6627. 'optional2--',
  6628. "//a[contains(@href,'datoid.cz')]");
  6629. }
  6630. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6631. {
  6632. addFileHost(
  6633. "stiahni\.si\/\\w+",
  6634. 'report_icon.png"|slow-download-button',
  6635. 'none.png|deleted|<h2>Error 500</h2>',
  6636. 'optional--',
  6637. 'optional2--',
  6638. "//a[contains(@href,'stiahni.si')]");
  6639. }
  6640. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6641. {
  6642. addFileHost(
  6643. "cloudstor\.es\/\\w+",
  6644. '"btn_download"',
  6645. '404: Page Not Found',
  6646. 'optional--',
  6647. 'optional2--',
  6648. "//a[contains(@href,'cloudstor.es')]");
  6649. }
  6650. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6651. {
  6652. addFileHost(
  6653. "streamfile\.com\/\\w+",
  6654. 'class="btn',
  6655. 'class="green-btn',
  6656. 'optional--',
  6657. 'optional2--',
  6658. "//a[contains(@href,'streamfile.com')]");
  6659. }
  6660. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6661. {
  6662. addFileHost(
  6663. "eyesfile\.ca\/\\w+",
  6664. 'value="Get Link',
  6665. 'var rr =',
  6666. 'optional--',
  6667. 'optional2--',
  6668. "//a[contains(@href,'eyesfile.ca')]");
  6669. }
  6670. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6671. {
  6672. addFileHost(
  6673. "filemoney\.com\/\\w+",
  6674. 'og:title',
  6675. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6676. 'error-code">1010',
  6677. 'optional2--',
  6678. "//a[contains(@href,'filemoney.com')]");
  6679. }
  6680. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6681. {
  6682. addFileHost(
  6683. "uploadboy\.com\/\\w+",
  6684. 'width="740">|method_free',
  6685. 'var rr =|background:#ffffff|not be found|file was removed',
  6686. 'optional--',
  6687. 'optional2--',
  6688. "//a[contains(@href,'uploadboy.com')]");
  6689. }
  6690. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6691. {
  6692. addFileHost(
  6693. "uploadboy\.com\/\\w+",
  6694. 'width="740">|method_free',
  6695. 'var rr =|background:#ffffff|not be found|file was removed',
  6696. 'optional--',
  6697. 'optional2--',
  6698. "//a[contains(@href,'uploadboy.me')]");
  6699. }
  6700. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6701. {
  6702. addFileHost(
  6703. "speedshare\.eu\/\\w+",
  6704. 'favicon.png|color:#3d87c0|cross.png"',
  6705. 'var rr =|File Not Found|style="background:#eee',
  6706. 'optional--',
  6707. 'optional2--',
  6708. "//a[contains(@href,'speedshare.eu')]");
  6709. }
  6710. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6711. {
  6712. addFileHost(
  6713. "unlimitzone\.com\/\\w+",
  6714. 'name="method_free',
  6715. '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',
  6716. 'optional--',
  6717. 'optional2--',
  6718. "//a[contains(@href,'unlimitzone.com')]");
  6719. }
  6720. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6721. {
  6722. addFileHost(
  6723. "rioupload\.com\/\\w+",
  6724. 'sell.jpg',
  6725. 'var rr =',
  6726. 'optional--',
  6727. 'optional2--',
  6728. "//a[contains(@href,'rioupload.com')]");
  6729. }
  6730. if (GM_getValue("Check_rg_dot_to_links", false))
  6731. {
  6732. addFileHost(
  6733. "rg\.to\/\\w+",
  6734. '/download/AjaxStartTimer|not more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6735. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6736. 'optional--',
  6737. 'can be downloaded by premium only|files up to 500 MB in free mode|You can download files up to 2 GB in free mode',
  6738. "//a[contains(@href,'rg.to')]");
  6739. }
  6740. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6741. {
  6742. addFileHost(
  6743. "jumbofiles\.org\/\\w+",
  6744. 'H71C5.png|class="downloadtitle">',
  6745. 'var swfu|ViewSourceBIN.png',
  6746. 'optional--',
  6747. 'optional2--',
  6748. "//a[contains(@href,'jumbofiles.org')]");
  6749. }
  6750. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6751. {
  6752. addFileHost(
  6753. "fshare\\.vn\/file\/\\w+",
  6754. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6755. 'không tồn tại|class="color_red m_t_50"',
  6756. 'optional--',
  6757. 'optional2--',
  6758. "//a[contains(@href,'fshare.vn/file')]",
  6759. true
  6760. );
  6761. }
  6762. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6763. {
  6764. addFileHost(
  6765. "spaceforfiles\.com\/\\w+",
  6766. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6767. 'var rr =|AVOID_IE_BUG',
  6768. 'optional--',
  6769. 'optional2--',
  6770. "//a[contains(@href,'spaceforfiles.com')]");
  6771. }
  6772. if (GM_getValue("Check_google_dot_com_links", false))
  6773. {
  6774. addFileHost(
  6775. "google\\.com\/file\/\\w+",
  6776. 'content="!">|color:#2d2d2d',
  6777. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6778. 'optional--',
  6779. 'optional2--',
  6780. "//a[contains(@href,'google.com/file')]",
  6781. true
  6782. );
  6783. }
  6784. if (GM_getValue("Check_google_dot_com_links", false))
  6785. {
  6786. addFileHost(
  6787. "docs.google.com\/\\w+",
  6788. 'content="!">|color:#2d2d2d',
  6789. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6790. 'optional--',
  6791. 'optional2--',
  6792. "//a[contains(@href,'docs.google.com')]",
  6793. true
  6794. );
  6795. }
  6796. if (GM_getValue("Check_google_dot_com_links", false))
  6797. {
  6798. addFileHost(
  6799. "drive.google.com\/\\w+",
  6800. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6801. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6802. 'optional--',
  6803. 'optional2--',
  6804. "//a[contains(@href,'drive.google.com')]",
  6805. true
  6806. );
  6807. }
  6808. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6809. {
  6810. addFileHost(
  6811. "up.media1fire\.com\/\\w+",
  6812. 'class="addthis_|value="download',
  6813. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6814. 'optional--',
  6815. 'optional2--',
  6816. "//a[contains(@href,'up.media1fire.com')]");
  6817. }
  6818. if (GM_getValue("Check_depfile_dot_com_links", false))
  6819. {
  6820. addFileHost(
  6821. "depfile\.com\/\\w+",
  6822. 'logo_0.png|downloads.gif"|verifycode',
  6823. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6824. 'optional--',
  6825. 'available only for Premium users',
  6826. "//a[contains(@href,'depfile.com')]");
  6827. }
  6828. if (GM_getValue("Check_go4up_dot_com_links", false))
  6829. {
  6830. addFileHost(
  6831. "go4up\.com\/\\w+",
  6832. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6833. '<title>GO4UP|dmca',
  6834. 'optional--',
  6835. 'optional2--',
  6836. "//a[contains(@href,'go4up.com')]");
  6837. }
  6838. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6839. {
  6840. addFileHost(
  6841. "redbunker\.net\/\\w+",
  6842. 'name="method_free"',
  6843. 'color="red">Unknow / Bilinmiyor<',
  6844. 'optional--',
  6845. '2.3 GB',
  6846. "//a[contains(@href,'redbunker.net')]");
  6847. }
  6848. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6849. {
  6850. addFileHost(
  6851. "divxpress\.com\/\\w+",
  6852. 'btn_download|logo.png"',
  6853. 'AVOID_IE_BUG|var rr =',
  6854. 'optional--',
  6855. 'optional2--',
  6856. "//a[contains(@href,'divxpress.com')]");
  6857. }
  6858. if (GM_getValue("Check_anafile_dot_com_links", false))
  6859. {
  6860. addFileHost(
  6861. "anafile\.com\/\\w+",
  6862. 'width="881" valign="top|color="#800080"|name="go"',
  6863. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6864. 'optional--',
  6865. 'optional2--',
  6866. "//a[contains(@href,'anafile.com')]");
  6867. }
  6868. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6869. {
  6870. addFileHost(
  6871. "uploadable\\.ch\/file\/\\w+",
  6872. 'captcha.js"|payment.js"|class="btn_download"',
  6873. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6874. 'optional--',
  6875. 'optional2--',
  6876. "//a[contains(@href,'uploadable.ch/file')]",
  6877. true
  6878. );
  6879. }
  6880. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6881. {
  6882. addFileHost(
  6883. "bigfile\\.to\/file\/\\w+",
  6884. 'captcha.js"|payment.js"|class="btn_download"',
  6885. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6886. 'optional--',
  6887. 'optional2--',
  6888. "//a[contains(@href,'bigfile.to/file')]",
  6889. true
  6890. );
  6891. }
  6892. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6893. {
  6894. addFileHost(
  6895. "arabloads\.net\/\\w+",
  6896. 'name="method_free"|name="method_premium"',
  6897. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6898. 'optional--',
  6899. 'optional2--',
  6900. "//a[contains(@href,'arabloads.net')]");
  6901. }
  6902. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6903. {
  6904. addFileHost(
  6905. "sharerepo\.com\/\\w+",
  6906. 'name="method_free"',
  6907. 'var public_on=|The file you were looking for could not be found',
  6908. 'optional--',
  6909. 'optional2--',
  6910. "//a[contains(@href,'sharerepo.com')]");
  6911. }
  6912. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6913. {
  6914. addFileHost(
  6915. "sfshare\.se\/\\w+",
  6916. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6917. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6918. 'optional--',
  6919. 'optional2--',
  6920. "//a[contains(@href,'sfshare.se')]");
  6921. }
  6922. if (GM_getValue("Check_files_dot_fm_links", false))
  6923. {
  6924. addFileHost(
  6925. "files\.fm\/\\w+",
  6926. 'dl.png"|background-color: transparent',
  6927. 'margin: 40px 40px|background: none;',
  6928. 'optional--',
  6929. 'optional2--',
  6930. "//a[contains(@href,'files.fm')]");
  6931. }
  6932. if (GM_getValue("Check_koofile_dot_com_links", false))
  6933. {
  6934. addFileHost(
  6935. "koofile\.com\/\\w+",
  6936. 'value="download1">|name="method_free"',
  6937. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6938. 'optional--',
  6939. 'optional2--',
  6940. "//a[contains(@href,'koofile.com')]");
  6941. }
  6942. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6943. {
  6944. addFileHost(
  6945. "vidxden\\.com\/\\w+",
  6946. 'Continue to Video"',
  6947. 'No such file',
  6948. 'optional--',
  6949. 'optional2--',
  6950. "//a[contains(@href,'vidxden.com')]"
  6951. );
  6952. }
  6953. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6954. {
  6955. addFileHost(
  6956. "muchshare\\.net\/\\w+",
  6957. 'id="btn_download"',
  6958. 'File Not Found|width: 500px; text-align: left;',
  6959. 'optional--',
  6960. 'optional2--',
  6961. "//a[contains(@href,'muchshare.net')]"
  6962. );
  6963. }
  6964. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6965. {
  6966. addFileHost(
  6967. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6968. 'Details zur Datei|Details page',
  6969. 'Jetzt hochladen|upload now',
  6970. 'optional--',
  6971. 'optional2--',
  6972. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6973. );
  6974. }
  6975. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6976. {
  6977. addFileHost(
  6978. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6979. 'downloadbtn"',
  6980. 'DL_FileNotFound',
  6981. 'optional--',
  6982. 'optional2--',
  6983. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6984. );
  6985. }
  6986. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6987. {
  6988. addFileHost(
  6989. "fileflyer\.com\/view\/\\w+",
  6990. '(?:dwl|locked)btn"',
  6991. 'error.gif"|link">Removed|removedlink">',
  6992. 'optional--',
  6993. 'optional2--',
  6994. "//a[contains(@href,'fileflyer.com')]"
  6995. );
  6996. }
  6997. if (GM_getValue("Check_filestore_dot_to_links", false))
  6998. {
  6999. addFileHost(
  7000. "filestore\.to\/\\?d=\\w+",
  7001. '"downloading"',
  7002. 'Datei wurde nicht gefunden',
  7003. 'optional--',
  7004. 'optional2--',
  7005. "//a[contains(@href,'filestore.to')]"
  7006. );
  7007. }
  7008. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7009. {
  7010. addFileHost(
  7011. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7012. 'fz24">Download|class="pl15">',
  7013. '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',
  7014. 'optional--',
  7015. 'optional2--',
  7016. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7017. );
  7018. }
  7019. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  7020. {
  7021. addFileHost(
  7022. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7023. 'File size:',
  7024. 'file is not found',
  7025. 'optional--',
  7026. 'optional2--',
  7027. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7028. );
  7029. } */
  7030. if (GM_getValue("Check_datei_dot_to_links", false))
  7031. {
  7032. addFileHost(
  7033. "datei\\.to\/\\??\\w+",
  7034. 'icon_downloaden\\.png|>Download starten<',
  7035. 'Datei wurde nicht gefunden|icon_deleted.png',
  7036. 'optional--',
  7037. 'optional2--',
  7038. "//a[contains(@href,'datei.to')]"
  7039. );
  7040. }
  7041. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7042. {
  7043. addFileHost(
  7044. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7045. '<body class="body" id="body">|value="Slow Download"',
  7046. '<body class="body" >',
  7047. 'optional--',
  7048. 'optional2--',
  7049. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7050. );
  7051. }
  7052. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7053. {
  7054. addFileHost(
  7055. "uploadhero\\.com\/dl\/\\w+",
  7056. 'content-dl">',
  7057. 'men_file_lost\\.jpg"',
  7058. 'optional--',
  7059. 'optional2--',
  7060. "//a[contains(@href,'uploadhero.com/dl')]"
  7061. );
  7062. } */
  7063. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7064. {
  7065. addFileHost(
  7066. "unibytes\\.com\/[\\w\.]+",
  7067. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7068. 'File not found|Файл не найден|',
  7069. 'optional--',
  7070. 'optional2--',
  7071. "//a[contains(@href,'unibytes.com')]"
  7072. );
  7073. }
  7074. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7075. {
  7076. addFileHost(
  7077. "www\\.hellshare\\.com\/\\d+",
  7078. 'tab\\-details"',
  7079. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7080. 'optional--',
  7081. 'optional2--',
  7082. "//a[contains(@href,'www.hellshare.com')]"
  7083. );
  7084. }
  7085. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7086. {
  7087. addFileHost(
  7088. "www\\.download.cz.hellshare\\.com\/\\w+",
  7089. 'tab\\-details"',
  7090. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7091. 'optional--',
  7092. 'optional2--',
  7093. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7094. );
  7095. }
  7096. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7097. {
  7098. addFileHost(
  7099. "quickshare\\.cz\/slozka-\\d+",
  7100. 'Počet souborů: <strong>[1-9]',
  7101. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7102. 'optional--',
  7103. 'optional2--',
  7104. "//a[contains(@href,'quickshare.cz/slozka')]"
  7105. );
  7106. } */
  7107. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7108. {
  7109. addFileHost(
  7110. "filefactory\\.com\/f\/\\w+",
  7111. 'folderFileList">',
  7112. 'table class="items"|Pointer" class="red">',
  7113. 'optional--',
  7114. 'optional2--',
  7115. "//a[contains(@href,'filefactory.com/f/')]"
  7116. );
  7117. }
  7118. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7119. {
  7120. addFileHost(
  7121. "netfolder\\.in\/\\w+",
  7122. 'list" value="http',
  7123. 'InPage_Error">|list" value=""',
  7124. 'optional--',
  7125. 'optional2--',
  7126. "//a[contains(@href,'netfolder.in')]"
  7127. );
  7128. } */
  7129. if (GM_getValue("Check_load_dot_to_links", false))
  7130. {
  7131. addFileHost(
  7132. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7133. '"download_table_left">Size',
  7134. 'Can\'t find file',
  7135. 'optional--',
  7136. 'optional2--',
  7137. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7138. );
  7139. }
  7140. if (GM_getValue("Check_divshare_dot_com_links", false))
  7141. {
  7142. addFileHost(
  7143. "divshare\\.com\/download\/",
  7144. 'download_new\.png',
  7145. 'have been removed',
  7146. 'optional--',
  7147. 'optional2--',
  7148. "//a[contains(@href,'divshare.com')]"
  7149. );
  7150. }
  7151. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7152. {
  7153. addFileHost(
  7154. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7155. 'class="nazev-souboru',
  7156. '<div class="background margin-top vlevo" style="width: 600px;">',
  7157. 'optional--',
  7158. 'optional2--',
  7159. "//a[contains(@href,'euroshare.eu/file')]"
  7160. );
  7161. }
  7162. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7163. {
  7164. addFileHost(
  7165. 'files\\.mail\\.ru/(?:\\w*)',
  7166. 'fileList',
  7167. 'errorMessage',
  7168. 'optional--',
  7169. 'optional2--',
  7170. "//a[contains(@href,'files.mail.ru')]"
  7171. );
  7172. }
  7173. if (GM_getValue("Check_megashares_dot_com_links", false))
  7174. {
  7175. addFileHost(
  7176. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7177. 'Filesize',
  7178. 'Invalid|deleted|Could not download file',
  7179. 'slots|scheduled maintenance',
  7180. 'optional2--',
  7181. "//a[contains(@href,'megashares.com/')]"
  7182. );
  7183. }
  7184. if (GM_getValue("Check_narod_dot_ru_links", false))
  7185. {
  7186. addFileHost(
  7187. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7188. 'b-submit|action="resource.download"',
  7189. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7190. 'Внутренняя ошибка сервиса',
  7191. 'optional2--',
  7192. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7193. );
  7194. }
  7195. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7196. {
  7197. addFileHost(
  7198. "rayfile\\.com\/",
  7199. 'FILEtitleTXT',
  7200. 'blueRow',
  7201. 'optional--',
  7202. 'optional2--',
  7203. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7204. );
  7205. }
  7206. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7207. {
  7208. addFileHost(
  7209. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7210. 'button_green_body"',
  7211. 'error">',
  7212. 'optional--',
  7213. 'optional2--',
  7214. "//a[contains(@href,'filesmonster.com/download')]"
  7215. );
  7216. }
  7217. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7218. {
  7219. addFileHost(
  7220. 'usaupload\\.net\/d\/(?:\w*)',
  7221. '<strong>File size:</strong>',
  7222. 'is not available',
  7223. 'optional--',
  7224. 'optional2--',
  7225. "//a[contains(@href,'usaupload.net/d/')]"
  7226. );
  7227. }
  7228. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7229. {
  7230. addFileHost(
  7231. 'sendspace\\.com\/file\/\\w+',
  7232. 'file_description',
  7233. 'msg error"',
  7234. 'optional--',
  7235. 'optional2--',
  7236. "//a[contains(@href,'sendspace.com/file')]"
  7237. );
  7238. }
  7239. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7240. {
  7241. addFileHost(
  7242. 'sendspace\\.pl\/file\/\\w+',
  7243. 'download_file"',
  7244. 'Podany plik nie',
  7245. 'optional--',
  7246. 'optional2--',
  7247. "//a[contains(@href,'sendspace.pl/file')]"
  7248. );
  7249. }
  7250. if (GM_getValue("Check_uploading_dot_com_links", false))
  7251. {
  7252. addFileHost(
  7253. 'uploading\\.com\/(?:files\/)?\\w+',
  7254. 'free_method">',
  7255. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7256. 'optional--',
  7257. 'optional2--',
  7258. "//a[contains(@href,'uploading.com')]"
  7259. );
  7260. }
  7261. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7262. {
  7263. addFileHost(
  7264. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7265. 'fileId"',
  7266. 'error">',
  7267. 'optional--',
  7268. 'optional2--',
  7269. "//a[contains(@href,'gigasize.com/get')]"
  7270. );
  7271. }
  7272. if (GM_getValue("Check_good_dot_com_links", false))
  7273. {
  7274. addFileHost(
  7275. 'good\\.net\/(?:_|dl)',
  7276. 'Free Download',
  7277. 'Not Found',
  7278. 'Forbidden',
  7279. 'optional2--',
  7280. "//a[contains(@href,'good.net')]"
  7281. );
  7282. }
  7283. if (GM_getValue("Check_2shared_dot_com_links", false))
  7284. {
  7285. addFileHost(
  7286. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7287. 'File size',
  7288. 'File not found|is not valid|/images/important.gif',
  7289. 'optional--',
  7290. 'optional2--',
  7291. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7292. );
  7293. }
  7294. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7295. {
  7296. addFileHost(
  7297. 'turboupload\\.com\/\\w*',
  7298. 'You have requested',
  7299. 'File Not Found',
  7300. 'optional--',
  7301. 'optional2--',
  7302. "//a[contains(@href,'turboupload.com')]"
  7303. );
  7304. }
  7305. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7306. {
  7307. addFileHost(
  7308. 'gigapeta\\.com\/dl\/',
  7309. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7310. '404|page_error',
  7311. 'optional--',
  7312. 'optional2--',
  7313. "//a[contains(@href,'gigapeta.com/dl')]"
  7314. );
  7315. }
  7316. if (GM_getValue("Check_veehd_dot_com_links", false))
  7317. {
  7318. addFileHost(
  7319. 'veehd\.com\/video\/.*?',
  7320. 'No sound|Download video',
  7321. 'Featured Videos',
  7322. 'optional--',
  7323. 'optional2--',
  7324. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7325. );
  7326. }
  7327. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7328. {
  7329. addFileHost(
  7330. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7331. 'fast_download_form">|submit_sms_download',
  7332. '<p style="text-align:center">',
  7333. 'optional--',
  7334. 'optional2--',
  7335. "//a[contains(@href,'vip-file.com/download')]"
  7336. );
  7337. }
  7338. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7339. {
  7340. addFileHost(
  7341. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7342. 'download\\-pnl ',
  7343. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7344. 'optional--',
  7345. 'optional2--',
  7346. "//a[contains(@href,'letitbit.net/download')]"
  7347. );
  7348. }
  7349. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7350. {
  7351. addFileHost(
  7352. 'ifolder\.ru\/\\d+',
  7353. 'file-info',
  7354. 'ui-state-error',
  7355. 'optional--',
  7356. 'optional2--',
  7357. "//a[contains(@href,'ifolder.ru')]"
  7358. );
  7359. }
  7360. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7361. {
  7362. addFileHost(
  7363. 'fileswap\\.com\/dl\/\\w+',
  7364. 'bttnDownloadLink"',
  7365. 'rounded_block_error"',
  7366. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7367. 'optional2--',
  7368. "//a[contains(@href,'fileswap.com/dl')]"
  7369. );
  7370. }
  7371. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7372. {
  7373. addFileHost(
  7374. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7375. 'var __error = 0|id="recaptchaPanel">',
  7376. 'FILES__DOESNT_EXIST|removed or did not exist',
  7377. 'optional--',
  7378. 'optional2--',
  7379. "//a[contains(@href,'filecloud.io/')]"
  7380. );
  7381. addFileHost(
  7382. 'ifile\\.it\/\\w+',
  7383. 'var __error = 0',
  7384. 'FILES__DOESNT_EXIST',
  7385. 'optional--',
  7386. 'optional2--',
  7387. "//a[contains(@href,'ifile.it/')]"
  7388. );
  7389. }
  7390. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7391. {
  7392. addFileHost(
  7393. 'solidfiles\\.com\/d\/\\w+',
  7394. 'id="download"|content="Download',
  7395. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7396. 'optional--',
  7397. 'optional2--',
  7398. "//a[contains(@href,'solidfiles.com/d')]"
  7399. );
  7400. }
  7401. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7402. {
  7403. addFileHost(
  7404. "(?:.\\.|)shareflare\\.net",
  7405. 'download-pnl|<div class="premium-block">',
  7406. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7407. 'optional--',
  7408. 'optional2--',
  7409. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7410. );
  7411. }
  7412. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7413. {
  7414. addFileHost(
  7415. "u18116681.shareflare\\.net",
  7416. 'download-pnl|<div class="premium-block">',
  7417. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7418. 'optional--',
  7419. 'optional2--',
  7420. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7421. );
  7422. }
  7423. if (GM_getValue("Check_uloz_dot_to_links", false))
  7424. {
  7425. addFileHost(
  7426. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7427. 'fileDownload">|fileSize">',
  7428. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7429. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7430. 'optional2--',
  7431. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7432. true
  7433. );
  7434. }
  7435. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7436. {
  7437. addFileHost(
  7438. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7439. 'file\\-list-orderby|section-filedetail">',
  7440. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7441. 'optional--',
  7442. 'optional2--',
  7443. "//a[contains(@href,'hellspy.')]"
  7444. );
  7445. }
  7446. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7447. {
  7448. addFileHost(
  7449. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7450. '<body onload="">',
  7451. 'neexistuje|not exist',
  7452. 'optional--',
  7453. 'optional2--',
  7454. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7455. );
  7456. }
  7457. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7458. {
  7459. addFileHost(
  7460. "stahovanizasms\\.cz\/\\w+",
  7461. 'download\\.png>|font-size:11px><tr>',
  7462. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7463. 'optional--',
  7464. 'optional2--',
  7465. "//a[contains(@href,'stahovanizasms.cz')]"
  7466. );
  7467. }
  7468. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7469. {
  7470. addFileHost(
  7471. "share-links\\.biz\/\\w*",
  7472. 'online\\.gif',
  7473. '(?:offline|parts)\\.gif',
  7474. 'optional--',
  7475. 'optional2--',
  7476. "//a[contains(@href,'share-links.biz')]"
  7477. );
  7478. }
  7479. if (GM_getValue("Check_4shared_dot_com_links", false))
  7480. {
  7481. addFileHost(
  7482. "4shared\\.com\/.+\/",
  7483. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7484. 'class="warn\"|big red"|GetDataBack',
  7485. 'Service Unavailable',
  7486. 'optional2--',
  7487. "//a[contains(@href,'4shared.com')]"
  7488. );
  7489. }
  7490. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7491. {
  7492. addFileHost(
  7493. "(?:www\\d+\.|)zippyshare\.com\/",
  7494. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7495. 'not exist|Status 404',
  7496. 'optional--',
  7497. 'optional2--',
  7498. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7499. );
  7500. }
  7501. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7502. {
  7503. addFileHost(
  7504. "mediafire\.com\/",
  7505. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7506. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7507. 'set to private',
  7508. 'optional2--',
  7509. "//a[contains(@href,'mediafire.com')]"
  7510. );
  7511. }
  7512. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7513. {
  7514. addFileHost(
  7515. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7516. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB',
  7517. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7518. 'optional--',
  7519. 'GB</small>',
  7520. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7521. );
  7522. }
  7523. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7524. {
  7525. addFileHost(
  7526. "ulozisko\.sk\/",
  7527. 'Detaily',
  7528. 'neexistuje',
  7529. 'optional--',
  7530. 'optional2--',
  7531. "//a[contains(@href,'ulozisko.sk')]"
  7532. );
  7533. }
  7534. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7535. {
  7536. addFileHost(
  7537. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7538. 'download.php',
  7539. 'notfound|upload\\-suborov\\.php"',
  7540. 'optional--',
  7541. 'optional2--',
  7542. "//a[contains(@href,'upnito.sk')]"
  7543. );
  7544. }
  7545. if (GM_getValue("Check_box_dot_com_links", false))
  7546. {
  7547. addFileHost(
  7548. "box\.com\/\\w+",
  7549. 'download-file-btn|id="download_button|preview-download',
  7550. 'BIyMin.png| <div class="error_message|link has been removed',
  7551. 'optional--',
  7552. 'optional2--',
  7553. "//a[contains(@href,'app.box.com')]");
  7554. }
  7555. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7556. {
  7557. addFileHost(
  7558. "uptobox\\.com\/\\w+",
  7559. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7560. '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|لا يوجد أي ملف',
  7561. 'Maintenance',
  7562. 'optional2--',
  7563. "//a[contains(@href,'uptobox.com')]"
  7564. );
  7565. }
  7566. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7567. {
  7568. addFileHost(
  7569. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7570. 'FILE DOWNLOAD<',
  7571. 'File Does Not Exist',
  7572. 'optional--',
  7573. 'optional2--',
  7574. "//a[contains(@href,'sharecash.org/download.php')]"
  7575. );
  7576. }
  7577. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7578. {
  7579. addFileHost(
  7580. "depositfiles\\.com\/folders\/\\w+",
  7581. '<div class="progressContainer">',
  7582. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7583. 'optional--',
  7584. 'optional2--',
  7585. "//a[contains(@href,'depositfiles.com/folders')]"
  7586. );
  7587. }
  7588. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7589. {
  7590. addFileHost(
  7591. "rapidfileshare\\.net/\\w+",
  7592. '<div id="upload-header-bg">',
  7593. '<div style="width:500px;text-align:left;">',
  7594. 'optional--',
  7595. 'optional2--',
  7596. "//a[contains(@href,'rapidfileshare.net/')]"
  7597. );
  7598. }
  7599. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7600. {
  7601. addFileHost(
  7602. "stiahnito\\.sk/",
  7603. '<span class="filesize right">',
  7604. '<ol class="list-purp-2">',
  7605. 'optional--',
  7606. 'optional2--',
  7607. "//a[contains(@href,'stiahnito.sk/')]"
  7608. );
  7609. }
  7610. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7611. {
  7612. addFileHost(
  7613. "rusfolder\\.(?:com|net)",
  7614. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7615. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7616. 'optional--',
  7617. 'optional2--',
  7618. "//a[contains(@href,'rusfolder')]"
  7619. );
  7620. }
  7621. if (GM_getValue("Check_fileover_dot_net_links", false))
  7622. {
  7623. addFileHost(
  7624. "fileover\\.net/\\d+",
  7625. 'id="filesize"',
  7626. 'Not found or deleted|The following file is unavailable',
  7627. 'optional--',
  7628. 'optional2--',
  7629. "//a[contains(@href,'fileover.net/')]"
  7630. );
  7631. }
  7632. if (GM_getValue("Check_catshare_dot_net_links", false))
  7633. {
  7634. addFileHost(
  7635. "catshare\\.net/\\w+",
  7636. '"icon-share',
  7637. 'alert alert-error',
  7638. 'optional--',
  7639. 'optional2--',
  7640. "//a[contains(@href,'catshare.net/')]"
  7641. );
  7642. }
  7643. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7644. {
  7645. addFileHost(
  7646. "anonfiles\\.com/\\w+",
  7647. '"download_button"',
  7648. '<legend><b>404</b>',
  7649. 'optional--',
  7650. 'optional2--',
  7651. "//a[contains(@href,'anonfiles.com')]"
  7652. );
  7653. }
  7654. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7655. {
  7656. addFileHost(
  7657. "mixturecloud\\.com/media/\\w+",
  7658. '"btn icon i_globe gray share_150',
  7659. '"s_cross_close"></span> 404:',
  7660. 'optional--',
  7661. 'optional2--',
  7662. "//a[contains(@href,'mixturecloud.com/media/')]"
  7663. );
  7664. }
  7665. if (GM_getValue("Check_akafile_dot_com_links", false))
  7666. {
  7667. addFileHost(
  7668. "akafile\\.com\/\\w+",
  7669. 'download1',
  7670. 'File Not Found',
  7671. 'optional--',
  7672. 'optional2--',
  7673. "//a[contains(@href,'akafile.com/')]"
  7674. );
  7675. }
  7676. if (GM_getValue("Check_creafile_dot_net_links", false))
  7677. {
  7678. addFileHost(
  7679. "creafile\\.net\/\\w+",
  7680. 'downloadblock',
  7681. 'errtitle',
  7682. 'optional--',
  7683. 'optional2--',
  7684. "//a[contains(@href,'creafile.net/')]"
  7685. );
  7686. }
  7687. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7688. {
  7689. addFileHost(
  7690. "hugefiles\\.net\/\\w+",
  7691. 'download1|class="btn-create-download" value="Create Download Link">',
  7692. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7693. 'optional--',
  7694. 'optional2--',
  7695. "//a[contains(@href,'hugefiles.net/')]"
  7696. );
  7697. }
  7698. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7699. {
  7700. addFileHost(
  7701. "sendmyway\\.com\/\\w+",
  7702. 'id="btn_download"',
  7703. '500px;text-align:left;"|<center><h3>',
  7704. 'optional--',
  7705. 'optional2--',
  7706. "//a[contains(@href,'sendmyway.com/')]"
  7707. );
  7708. }
  7709. if (GM_getValue("Check_upload_dot_ee_links", false))
  7710. {
  7711. addFileHost(
  7712. "upload\\.ee\/\\w+",
  7713. 'onmouseout="document.dllink.src',
  7714. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7715. 'optional--',
  7716. 'optional2--',
  7717. "//a[contains(@href,'upload.ee/')]"
  7718. );
  7719. }
  7720. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7721. {
  7722. addFileHost(
  7723. "shareplace\\.org\/\\?\\w+",
  7724. 'Download-Link',
  7725. 'Your requested file is not found|Select file to send',
  7726. 'optional--',
  7727. 'optional2--',
  7728. "//a[contains(@href,'shareplace.org/?')]"
  7729. );
  7730. }
  7731. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7732. {
  7733. addFileHost(
  7734. "uploadc\\.com\/\\w+",
  7735. 'id="prebut"',
  7736. 'File Not Found|This file has been removed due',
  7737. 'optional--',
  7738. 'optional2--',
  7739. "//a[contains(@href,'uploadc.com/')]"
  7740. );
  7741. }
  7742. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7743. {
  7744. addFileHost(
  7745. "remixshare\\.com\/\\w+",
  7746. 'id="dl2"',
  7747. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7748. 'optional--',
  7749. 'optional2--',
  7750. "//a[contains(@href,'remixshare.com/')]"
  7751. );
  7752. }
  7753. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7754. {
  7755. addFileHost(
  7756. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7757. 'Last Download :',
  7758. 'img src="\\/404.jpg"',
  7759. 'optional--',
  7760. 'optional2--',
  7761. "//a[contains(@href,'exoshare.com/download.php')]"
  7762. );
  7763. }
  7764. if (GM_getValue("Check_borncash_dot_org_links", false))
  7765. {
  7766. addFileHost(
  7767. "borncash\\.org\/download\/\\?a=\\w+",
  7768. 'class="knop_1"',
  7769. '\/error\/er00',
  7770. 'optional--',
  7771. 'optional2--',
  7772. "//a[contains(@href,'borncash.org/download/')]"
  7773. );
  7774. }
  7775. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7776. {
  7777. addFileHost(
  7778. "vidplay\.net\/\\w+",
  7779. 'solvemedia puzzle widget',
  7780. 'File not found|AVOID_IE_BUG',
  7781. 'optional--',
  7782. 'optional2--',
  7783. "//a[contains(@href,'vidplay.net')]");
  7784. }
  7785. if (GM_getValue("Check_storagon_dot_com_links", false))
  7786. {
  7787. addFileHost(
  7788. "storagon\.com\/\\w+",
  7789. 'class="icon-cloud-download"></i>|content="Download Options',
  7790. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7791. 'optional--',
  7792. 'optional2--',
  7793. "//a[contains(@href,'storagon.com')]");
  7794. }
  7795. if (GM_getValue("Check_filedais_dot_com_links", false))
  7796. {
  7797. addFileHost(
  7798. "filedais\.com\/\\w+",
  7799. 'class="btn btn-info"|name="method_free"',
  7800. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7801. 'optional--',
  7802. 'optional2--',
  7803. "//a[contains(@href,'filedais.com')]");
  7804. }
  7805. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7806. {
  7807. addFileHost(
  7808. "up.4share\.vn\/\\w+",
  7809. '<font size="2" face="Verdana">',
  7810. 'font: 13px Tahoma; color: Brown',
  7811. 'optional--',
  7812. 'optional2--',
  7813. "//a[contains(@href,'up.4share.vn')]");
  7814. }
  7815. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7816. {
  7817. addFileHost(
  7818. "share.vnn\.vn\/\\w+",
  7819. '"index,follow"|<div class="main" id="download-box">',
  7820. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7821. 'optional--',
  7822. 'optional2--',
  7823. "//a[contains(@href,'share.vnn.vn')]");
  7824. }
  7825. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7826. {
  7827. addFileHost(
  7828. "upfile\.vn\/\\w+",
  7829. 'download-timer',
  7830. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7831. 'optional--',
  7832. 'optional2--',
  7833. "//a[contains(@href,'upfile.vn')]");
  7834. }
  7835. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7836. {
  7837. addFileHost(
  7838. "aisfile\.com\/\\w+",
  7839. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7840. '<div style="width:500px;text-align:left;">|File Not Found',
  7841. 'optional--',
  7842. 'optional2--',
  7843. "//a[contains(@href,'aisfile.com')]");
  7844. }
  7845. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7846. {
  7847. addFileHost(
  7848. "usersfiles\.com\/\\w+",
  7849. 'class="btn btn-success|id="btn_download" class="btn"',
  7850. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7851. 'optional--',
  7852. 'optional2--',
  7853. "//a[contains(@href,'usersfiles.com')]");
  7854. }
  7855. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7856. {
  7857. addFileHost(
  7858. "pan.baidu\.com\/\\w+",
  7859. 'target="_blank" title=|share-personal-info',
  7860. 'share_notfound.png|background:#f9f9f9',
  7861. 'optional--',
  7862. 'optional2--',
  7863. "//a[contains(@href,'pan.baidu.com')]");
  7864. }
  7865. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7866. {
  7867. addFileHost(
  7868. "yunpan\.cn\/\\w+",
  7869. 'class="icon icon-download',
  7870. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7871. 'optional--',
  7872. 'optional2--',
  7873. "//a[contains(@href,'yunpan.cn')]");
  7874. }
  7875. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7876. {
  7877. addFileHost(
  7878. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7879. 'getElementById("downbild")|style.display',
  7880. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7881. 'optional--',
  7882. 'optional2--',
  7883. "//a[contains(@href,'file-upload.net')]");
  7884. }
  7885. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7886. {
  7887. addFileHost(
  7888. "gulfup\.com\/",
  7889. '<!-- Downlod template -->|download.gif',
  7890. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7891. 'optional--',
  7892. 'optional2--',
  7893. "//a[contains(@href,'gulfup.com')]");
  7894. }
  7895. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7896. {
  7897. addFileHost(
  7898. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7899. 'dldtable">',
  7900. 'does not exist\\.',
  7901. 'optional--',
  7902. 'optional2--',
  7903. "//a[contains(@href,'datafilehost.com')]");
  7904. }
  7905. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7906. {
  7907. addFileHost(
  7908. "dropbox\.com\/s\/\\w+",
  7909. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7910. '>Nothing Here<|>Error (404)<',
  7911. 'title>Dropbox - 509|Error (403)|Error: 429',
  7912. 'optional2--',
  7913. "//a[contains(@href,'dropbox.com')]");
  7914. }
  7915. if (GM_getValue("Check_box_dot_net_links", false))
  7916. {
  7917. addFileHost(
  7918. "box\.net\/\\w+",
  7919. 'download-file-btn|id="download_button',
  7920. 'BIyMin.png| <div class="error_message',
  7921. 'optional--',
  7922. 'optional2--',
  7923. "//a[contains(@href,'box.net')]");
  7924. }
  7925. if (GM_getValue("Check_fileband_dot_com_links", false))
  7926. {
  7927. addFileHost(
  7928. "fileband\.com\/\\w+",
  7929. 'value="download1">|name="id" value=',
  7930. '<div style="width:500px;text-align:left;">|not be found',
  7931. 'optional--',
  7932. 'optional2--',
  7933. "//a[contains(@href,'fileband.com')]");
  7934. }
  7935. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7936. {
  7937. addFileHost(
  7938. "filedropper\.com\/\\w+",
  7939. 'background:#ddd;|width:985px; ',
  7940. 'background-color:#FFFFFF;|margin-left: -400px;',
  7941. 'optional--',
  7942. 'optional2--',
  7943. "//a[contains(@href,'filedropper.com')]");
  7944. }
  7945. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7946. {
  7947. addFileHost(
  7948. "tropicshare\\.com\/files\/\\d+",
  7949. 'MB</span>|GB</span>|KB</span>',
  7950. '>FNF<|size: </span>',
  7951. 'optional--',
  7952. 'optional2--',
  7953. "//a[contains(@href,'tropicshare.com')]");
  7954. }
  7955. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7956. {
  7957. addFileHost(
  7958. "goldbytez\.com\/\\w+",
  7959. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7960. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7961. 'optional--',
  7962. 'optional2--',
  7963. "//a[contains(@href,'goldbytez.com')]");
  7964. }
  7965. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7966. {
  7967. addFileHost(
  7968. "worldbytez\.com\/\\w+",
  7969. '<div class="download_type">',
  7970. '<div style="width:500px;text-align:left;">',
  7971. 'optional--',
  7972. 'optional2--',
  7973. "//a[contains(@href,'worldbytez.com')]");
  7974. }
  7975. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7976. {
  7977. addFileHost(
  7978. "freefilehosting\.net\/\\w+",
  7979. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7980. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7981. 'optional--',
  7982. 'optional2--',
  7983. "//a[contains(@href,'freefilehosting.net')]");
  7984. }
  7985. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7986. {
  7987. addFileHost(
  7988. "ziddu\.com\/\\w+",
  7989. 'downloads.ziddu.com|downloadfilelinkicon',
  7990. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7991. 'optional--',
  7992. 'optional2--',
  7993. "//a[contains(@href,'ziddu.com')]");
  7994. }
  7995. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7996. {
  7997. addFileHost(
  7998. "exclusiveloader\.com\/\\w+",
  7999. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8000. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8001. 'optional--',
  8002. 'optional2--',
  8003. "//a[contains(@href,'exclusiveloader.com')]");
  8004. }
  8005. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8006. {
  8007. addFileHost(
  8008. "sharerapid\.cz\/\\w+",
  8009. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8010. 'error_div">|404 - Not Found',
  8011. 'optional--',
  8012. 'optional2--',
  8013. "//a[contains(@href,'sharerapid.cz')]");
  8014. }
  8015. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8016. {
  8017. addFileHost(
  8018. "sdilej\.cz\/\\w+",
  8019. 'class="page-download"',
  8020. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8021. 'optional--',
  8022. 'optional2--',
  8023. "//a[contains(@href,'sdilej.cz')]");
  8024. }
  8025. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8026. {
  8027. addFileHost(
  8028. "lafiles\.com\/\\w+",
  8029. '<div id="pay_modes">',
  8030. '<b class="err"></b>',
  8031. 'optional--',
  8032. 'optional2--',
  8033. "//a[contains(@href,'lafiles.com')]");
  8034. }
  8035. if (GM_getValue("Check_acefile_dot_net_links", false))
  8036. {
  8037. addFileHost(
  8038. "acefile\.net\/\\w+",
  8039. 'align=right nowrap><b>',
  8040. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8041. 'optional--',
  8042. 'optional2--',
  8043. "//a[contains(@href,'acefile.net')]");
  8044. }
  8045. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8046. {
  8047. addFileHost(
  8048. "megarapid\.cz\/\\w+",
  8049. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8050. 'error_div">|404 - Not Found',
  8051. 'optional--',
  8052. 'optional2--',
  8053. "//a[contains(@href,'megarapid.cz')]");
  8054. }
  8055. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8056. {
  8057. addFileHost(
  8058. "yadi\.sk\/\\w+",
  8059. 'nb-button _nb-small-button',
  8060. 'error code|Nothing found',
  8061. 'optional--',
  8062. 'optional2--',
  8063. "//a[contains(@href,'yadi.sk')]");
  8064. }
  8065. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8066. {
  8067. addFileHost(
  8068. "imdb\.com\/\\w+",
  8069. 'imdb.com',
  8070. '404 Error',
  8071. 'optional--',
  8072. 'optional2--',
  8073. "//a[contains(@href,'imdb.com')]");
  8074. } */
  8075. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8076. {
  8077. addFileHost(
  8078. "hitfile\.net\/\\w+",
  8079. 'class="download-file',
  8080. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8081. 'optional--',
  8082. 'optional2--',
  8083. "//a[contains(@href,'hitfile.net')]");
  8084. }
  8085. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8086. {
  8087. addFileHost(
  8088. "nitroflare\.com\/\\w+",
  8089. 'Report this file</a>|KB</span>',
  8090. 'file has been removed|id="error" style="display|Probably deleted',
  8091. 'optional--',
  8092. 'left;">1.1|left;">1.2|left;">1.3|left;">1.4|left;">1.5|left;">1.6|left;">1.7|left;">1.8|left;">1.9|left;">4.19',
  8093. "//a[contains(@href,'nitroflare.com')]");
  8094. }
  8095. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8096. {
  8097. addFileHost(
  8098. "up.top4top\.net\/\\w+",
  8099. 'start Downlod template',
  8100. 'start err template',
  8101. 'optional--',
  8102. 'optional2--',
  8103. "//a[contains(@href,'up.top4top.net')]");
  8104. }
  8105. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8106. {
  8107. addFileHost(
  8108. "filejoker\.net\/\\w+",
  8109. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8110. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8111. 'optional--',
  8112. 'id="download" class="premium-only">',
  8113. "//a[contains(@href,'filejoker.net')]");
  8114. }
  8115. if (GM_getValue("Check_free_dot_fr_links", false))
  8116. {
  8117. addFileHost(
  8118. "(?:dl.\\.|)free\\.fr",
  8119. 'Valider et t&eacute;l&eacute',
  8120. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8121. 'optional--',
  8122. 'optional2--',
  8123. "//a[contains(@href,'dl.free.fr')]");
  8124. }
  8125. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8126. {
  8127. addFileHost(
  8128. "gboxes\.com\/\\w+",
  8129. 'You have requested|color="red">http://www.gboxes.com',
  8130. 'File Not Found|<div style="width:500px;text-align:left;">',
  8131. 'optional--',
  8132. 'optional2--',
  8133. "//a[contains(@href,'gboxes.com')]");
  8134. }
  8135. if (GM_getValue("Check_led_dot_wf_links", false))
  8136. {
  8137. addFileHost(
  8138. "led\.wf\/\\w+",
  8139. 'logo_0.png|downloads.gif"|verifycode',
  8140. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8141. 'optional--',
  8142. 'available only for Premium users',
  8143. "//a[contains(@href,'led.wf')]");
  8144. }
  8145. if (GM_getValue("Check_lan_dot_wf_links", false))
  8146. {
  8147. addFileHost(
  8148. "lan\.wf\/\\w+",
  8149. 'logo_0.png|downloads.gif"|verifycode',
  8150. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8151. 'optional--',
  8152. 'available only for Premium users',
  8153. "//a[contains(@href,'lan.wf')]");
  8154. }
  8155. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8156. {
  8157. addFileHost(
  8158. "adlink\.wf\/\\w+",
  8159. 'logo_0.png|downloads.gif"|verifycode',
  8160. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8161. 'optional--',
  8162. 'available only for Premium users',
  8163. "//a[contains(@href,'adlink.wf')]");
  8164. }
  8165. if (GM_getValue("Check_click_dot_tf_links", false))
  8166. {
  8167. addFileHost(
  8168. "click\.tf\/\\w+",
  8169. 'logo_0.png|downloads.gif"|verifycode',
  8170. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8171. 'optional--',
  8172. 'available only for Premium users',
  8173. "//a[contains(@href,'click.tf')]");
  8174. }
  8175. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8176. {
  8177. addFileHost(
  8178. "ssh\.tf\/\\w+",
  8179. 'logo_0.png|downloads.gif"|verifycode',
  8180. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8181. 'optional--',
  8182. 'available only for Premium users',
  8183. "//a[contains(@href,'ssh.tf')]");
  8184. }
  8185. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8186. {
  8187. addFileHost(
  8188. "ssh\.yt\/\\w+",
  8189. 'logo_0.png|downloads.gif"|verifycode',
  8190. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8191. 'optional--',
  8192. 'available only for Premium users',
  8193. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8194. }
  8195. if (GM_getValue("Check_yep_dot_pm_links", false))
  8196. {
  8197. addFileHost(
  8198. "yep\.pm\/\\w+",
  8199. 'logo_0.png|downloads.gif"|verifycode',
  8200. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8201. 'optional--',
  8202. 'available only for Premium users',
  8203. "//a[contains(@href,'yep.pm')]");
  8204. }
  8205. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8206. {
  8207. addFileHost(
  8208. "kyc\.pm\/\\w+",
  8209. 'logo_0.png|downloads.gif"|verifycode',
  8210. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8211. 'optional--',
  8212. 'available only for Premium users',
  8213. "//a[contains(@href,'kyc.pm')]");
  8214. }
  8215. if (GM_getValue("Check_brupload_dot_net_links", false))
  8216. {
  8217. addFileHost(
  8218. "brupload\.net\/\\w+",
  8219. 'Download Gratuito',
  8220. '<div style="width:500px;text-align:left;">',
  8221. 'optional--',
  8222. 'optional2--',
  8223. "//a[contains(@href,'brupload.net')]");
  8224. }
  8225. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8226. {
  8227. addFileHost(
  8228. "cloudzilla\.to\/\\w+",
  8229. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8230. 'File not found|/imgs/broken.png',
  8231. 'optional--',
  8232. 'optional2--',
  8233. "//a[contains(@href,'cloudzilla.to')]");
  8234. }
  8235. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8236. {
  8237. addFileHost(
  8238. "fileparadox\.in\/\\w+",
  8239. 'CONTENT="Download File|method_free_file',
  8240. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8241. 'optional--',
  8242. 'optional2--',
  8243. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8244. } */
  8245. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8246. {
  8247. addFileHost(
  8248. "clicknupload\.com\/\\w+",
  8249. 'name="method_free',
  8250. 'File Not Found',
  8251. 'optional--',
  8252. 'optional2--',
  8253. "//a[contains(@href,'clicknupload.com')]");
  8254. }
  8255. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8256. {
  8257. addFileHost(
  8258. "clicknupload\.me\/\\w+",
  8259. 'name="method_free',
  8260. 'File Not Found',
  8261. 'optional--',
  8262. 'optional2--',
  8263. "//a[contains(@href,'clicknupload.me')]");
  8264. }
  8265. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8266. {
  8267. addFileHost(
  8268. "ex-load\.com\/\\w+",
  8269. 'name="method_free|<p>Download File:</p>',
  8270. 'Folder Not Found|File Not Found|Error 404',
  8271. 'optional--',
  8272. 'class="downprem wow bounceInLeft',
  8273. "//a[contains(@href,'ex-load.com')]");
  8274. }
  8275. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8276. {
  8277. addFileHost(
  8278. "hexupload\.com\/\\w+",
  8279. 'button" value="Free|type="submit" value=""',
  8280. 'File Not Found|<div style="width:500px;text-align:left;">',
  8281. 'optional--',
  8282. 'optional2--',
  8283. "//a[contains(@href,'hexupload.com')]");
  8284. }
  8285. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8286. {
  8287. addFileHost(
  8288. "wizupload\.com\/\\w+",
  8289. 'btn_download|class="downloadbtn"',
  8290. '>File Not Found<',
  8291. 'optional--',
  8292. 'optional2--',
  8293. "//a[contains(@href,'wizupload.com')]");
  8294. }
  8295. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8296. {
  8297. addFileHost(
  8298. "filecloud\.cc\/\\w+",
  8299. 'align="center"><input type="submit" name=',
  8300. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8301. 'optional--',
  8302. 'optional2--',
  8303. "//a[contains(@href,'filecloud.cc')]");
  8304. }
  8305. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8306. {
  8307. addFileHost(
  8308. "inclouddrive\.com\/\\w+",
  8309. 'initfreedownload',
  8310. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8311. 'optional--',
  8312. 'optional2--',
  8313. "//a[contains(@href,'inclouddrive.com')]");
  8314. }
  8315. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8316. {
  8317. addFileHost(
  8318. "radicalshare\.com\/\\w+",
  8319. 'value="download1|name="method_free"',
  8320. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8321. 'optional--',
  8322. 'optional2--',
  8323. "//a[contains(@href,'radicalshare.com')]");
  8324. }
  8325. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8326. {
  8327. addFileHost(
  8328. "sharemods\.com\/\\w+",
  8329. 'name="method_free"',
  8330. 'File Not Found<',
  8331. 'optional--',
  8332. 'optional2--',
  8333. "//a[contains(@href,'sharemods.com')]");
  8334. }
  8335. if (GM_getValue("Check_hostr_dot_co_links", false))
  8336. {
  8337. addFileHost(
  8338. "hostr\.co\/\\w+",
  8339. 'method="get"',
  8340. 'File not found<|error-page',
  8341. 'optional--',
  8342. 'optional2--',
  8343. "//a[contains(@href,'hostr.co')]");
  8344. }
  8345. if (GM_getValue("Check_filepi_dot_com_links", false))
  8346. {
  8347. addFileHost(
  8348. "filepi\.com\/\\w+",
  8349. 'id="button_start">',
  8350. 'File not found',
  8351. 'optional--',
  8352. 'optional2--',
  8353. "//a[contains(@href,'filepi.com')]");
  8354. }
  8355. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8356. {
  8357. addFileHost(
  8358. "tikfile\.com\/\\w+",
  8359. 'btn_download',
  8360. 'File Not Found|file was removed|Reason for deletion',
  8361. 'optional--',
  8362. 'optional2--',
  8363. "//a[contains(@href,'tikfile.com')]");
  8364. }
  8365. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8366. {
  8367. addFileHost(
  8368. "cloudsix\.me\/\\w+",
  8369. 'name="method_free"',
  8370. 'File Not Found|width:500px;text-align:left;">',
  8371. 'optional--',
  8372. 'optional2--',
  8373. "//a[contains(@href,'cloudsix.me')]");
  8374. }
  8375. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8376. {
  8377. addFileHost(
  8378. "neodrive\.co\/\\w+",
  8379. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8380. 'File not found|/imgs/broken.png',
  8381. 'optional--',
  8382. 'optional2--',
  8383. "//a[contains(@href,'neodrive.co')]");
  8384. }
  8385. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8386. {
  8387. addFileHost(
  8388. "chayfile\.com\/\\w+",
  8389. 'name="method_free"',
  8390. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8391. 'optional--',
  8392. 'optional2--',
  8393. "//a[contains(@href,'chayfile.com')]");
  8394. }
  8395. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8396. {
  8397. addFileHost(
  8398. "xfileload\.com\/\\w+",
  8399. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8400. '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..|הקובץ שחיפשת לא נמצא.',
  8401. 'optional--',
  8402. 'optional2--',
  8403. "//a[contains(@href,'xfileload.com')]");
  8404. }
  8405. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8406. {
  8407. addFileHost(
  8408. "rockfile\.eu\/\\w+",
  8409. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8410. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8411. 'optional--',
  8412. 'optional2--',
  8413. "//a[contains(@href,'rockfile.eu')]");
  8414. }
  8415. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8416. {
  8417. addFileHost(
  8418. "24uploading\.com\/\\w+",
  8419. 'File:|Download Speed:',
  8420. '<b>File Not Found</b>|file was removed',
  8421. 'optional--',
  8422. 'optional2--',
  8423. "//a[contains(@href,'24uploading.com')]");
  8424. }
  8425. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8426. {
  8427. addFileHost(
  8428. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8429. 'i/icon/dll.png"|>Start download<br',
  8430. 'no longer available<|i/ino.png"',
  8431. 'optional--',
  8432. 'optional2--',
  8433. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8434. }
  8435. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8436. {
  8437. addFileHost(
  8438. "jumbofile\.net\/\\w+",
  8439. 'button" class="" value="Free',
  8440. 'This File Was Deleted',
  8441. 'optional--',
  8442. 'optional2--',
  8443. "//a[contains(@href,'jumbofile.net')]");
  8444. } */
  8445. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8446. {
  8447. addFileHost(
  8448. "ozofiles\.com\/\\w+",
  8449. 'button" value="Free|name="method_free',
  8450. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8451. 'optional--',
  8452. 'optional2--',
  8453. "//a[contains(@href,'ozofiles.com')]");
  8454. }
  8455. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8456. {
  8457. addFileHost(
  8458. "loudupload\.net\/\\w+",
  8459. 'value="Get Links',
  8460. 'File Not Found',
  8461. 'optional--',
  8462. 'optional2--',
  8463. "//a[contains(@href,'loudupload.net')]");
  8464. }
  8465. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8466. {
  8467. addFileHost(
  8468. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8469. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8470. '>File Not Found<|id="no_filedownload">|>FILE NOT FOUND<|file has been deleted|No such file with this filename|style="font-size:24px;color:#E70012">',
  8471. 'optional--',
  8472. 'optional2--',
  8473. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8474. }
  8475. if (GM_getValue("Check_krotix_dot_net_links", false))
  8476. {
  8477. addFileHost(
  8478. "krotix\.net\/\\w+",
  8479. 'btn btn-warning|btn-free',
  8480. 'pageErrors|This File has been removed',
  8481. 'content="Scheduled Maintenance',
  8482. 'optional2--',
  8483. "//a[contains(@href,'krotix.net')]");
  8484. } */
  8485. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8486. {
  8487. addFileHost(
  8488. "userscloud\.com\/\\w+",
  8489. 'btn_download|class="label label-success">',
  8490. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8491. 'optional--',
  8492. 'optional2--',
  8493. "//a[contains(@href,'userscloud.com')]");
  8494. }
  8495. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8496. {
  8497. addFileHost(
  8498. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8499. 'class="button download',
  8500. 'internal server error',
  8501. 'optional--',
  8502. 'optional2--',
  8503. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8504. }
  8505. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8506. {
  8507. addFileHost(
  8508. "kb.simple-aja\.info\/\\w+",
  8509. 'class="button download',
  8510. 'internal server error|<p>404</p>',
  8511. 'optional--',
  8512. 'optional2--',
  8513. "//a[contains(@href,'kb.simple')]");
  8514. }
  8515. if (GM_getValue("Check_faststore_dot_org_links", false))
  8516. {
  8517. addFileHost(
  8518. "faststore\.org\/\\w+",
  8519. 'name="method_free',
  8520. 'File Not Found',
  8521. 'optional--',
  8522. 'optional2--',
  8523. "//a[contains(@href,'faststore.org')]");
  8524. }
  8525. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8526. {
  8527. addFileHost(
  8528. "prefiles\.com\/\\w+",
  8529. 'id="method_free',
  8530. 'File not Found',
  8531. 'optional--',
  8532. 'optional2--',
  8533. "//a[contains(@href,'prefiles.com')]");
  8534. }
  8535. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8536. {
  8537. addFileHost(
  8538. "doraupload\.com\/\\w+",
  8539. 'btn_download|name="method_free',
  8540. 'class="error-code|Could Not Be Found',
  8541. 'optional--',
  8542. 'optional2--',
  8543. "//a[contains(@href,'doraupload.com')]");
  8544. }
  8545. if (GM_getValue("Check_openload_dot_io_links", false))
  8546. {
  8547. addFileHost(
  8548. "openload\.io\/\\w+",
  8549. 'btn btn-primary|class="count">|secondsleftouter',
  8550. 'class="jumbotron">|We are sorry',
  8551. 'optional--',
  8552. 'optional2--',
  8553. "//a[contains(@href,'openload.io')]");
  8554. }
  8555. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8556. {
  8557. addFileHost(
  8558. "uploads\.xxx\/\\w+",
  8559. 'downoadForFree',
  8560. 'File not found',
  8561. 'optional--',
  8562. 'optional2--',
  8563. "//a[contains(@href,'uploads.xxx')]");
  8564. }
  8565. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8566. {
  8567. addFileHost(
  8568. "zxcfiles\.com\/\\w+",
  8569. 'class="downloadbtn',
  8570. 'File Not Found',
  8571. 'optional--',
  8572. 'optional2--',
  8573. "//a[contains(@href,'zxcfiles.com')]");
  8574. }
  8575. if (GM_getValue("Check_up07_dot_net_links", false))
  8576. {
  8577. addFileHost(
  8578. "up07\.net\/\\w+",
  8579. 'name="method_free',
  8580. 'File Not Found',
  8581. 'optional--',
  8582. 'optional2--',
  8583. "//a[contains(@href,'up07.net')]");
  8584. }
  8585. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8586. {
  8587. addFileHost(
  8588. "fileupload\.pw\/\\w+",
  8589. 'value="Free"',
  8590. 'File Not Found',
  8591. 'optional--',
  8592. 'optional2--',
  8593. "//a[contains(@href,'fileupload.pw')]");
  8594. }
  8595. if (GM_getValue("Check_4upld_dot_com_links", false))
  8596. {
  8597. addFileHost(
  8598. "4upld\.com\/\\w+",
  8599. 'alt="Download Now"|content="Download file">|btn-free-element',
  8600. '<title>Error|content="error|File not found',
  8601. 'optional--',
  8602. 'optional2--',
  8603. "//a[contains(@href,'4upld.com')]");
  8604. }
  8605. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8606. {
  8607. addFileHost(
  8608. "newfileland\.com\/\\w+",
  8609. 'name="method_free',
  8610. 'File Not Found',
  8611. 'optional--',
  8612. 'optional2--',
  8613. "//a[contains(@href,'newfileland.com')]");
  8614. } */
  8615. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8616. {
  8617. addFileHost(
  8618. "(?:.swoopshare)\\.com\/\\w+",
  8619. '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',
  8620. '<input type="file" name="f"',
  8621. 'optional--',
  8622. 'optional2--',
  8623. "//a[contains(@href,'swoopshare.com')]"
  8624. );
  8625. }
  8626. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8627. {
  8628. addFileHost(
  8629. "cloudshares\.net\/\\w+",
  8630. '"method_free|"Low Speed Download|submit" name="go',
  8631. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8632. 'optional--',
  8633. 'optional2--',
  8634. "//a[contains(@href,'cloudshares.net')]"
  8635. );
  8636. }
  8637. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8638. {
  8639. addFileHost(
  8640. "allmyvideos\.net\/\\w+",
  8641. 'Continue to Video',
  8642. 'File Not Found|class="err">Removed for',
  8643. 'optional--',
  8644. 'optional2--',
  8645. "//a[contains(@href,'allmyvideos.net')]"
  8646. );
  8647. }
  8648. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8649. {
  8650. addFileHost(
  8651. "vodlocker\.com\/\\w+",
  8652. 'Proceed to video',
  8653. 'Not Found',
  8654. 'optional--',
  8655. 'optional2--',
  8656. "//a[contains(@href,'vodlocker.com')]"
  8657. );
  8658. }
  8659. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8660. {
  8661. addFileHost(
  8662. "vidbull\.com\/\\w+",
  8663. 'Verifying Video Request',
  8664. 'File Not Found',
  8665. 'optional--',
  8666. 'optional2--',
  8667. "//a[contains(@href,'vidbull.com')]");
  8668. }
  8669. if (GM_getValue("Check_novamov_dot_com_links", false))
  8670. {
  8671. addFileHost(
  8672. "novamov\.com\/\\w+",
  8673. 'For version detection',
  8674. 'file no longer exists',
  8675. 'optional--',
  8676. 'optional2--',
  8677. "//a[contains(@href,'novamov.com')]"
  8678. );
  8679. }
  8680. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8681. {
  8682. addFileHost(
  8683. "filehoot\.com\/\\w+",
  8684. 'Continue to watch',
  8685. 'File Not Found',
  8686. 'optional--',
  8687. 'optional2--',
  8688. "//a[contains(@href,'filehoot.com')]"
  8689. );
  8690. }
  8691. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8692. {
  8693. addFileHost(
  8694. "stagevu\.com\/\\w+",
  8695. 'Video Info',
  8696. 'No video with the provided',
  8697. 'optional--',
  8698. 'optional2--',
  8699. "//a[contains(@href,'stagevu.com')]"
  8700. );
  8701. }
  8702. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8703. {
  8704. addFileHost(
  8705. "cloudtime\.to\/\\w+",
  8706. 'Download the video',
  8707. 'no longer exists',
  8708. 'optional--',
  8709. 'optional2--',
  8710. "//a[contains(@href,'cloudtime.to')]"
  8711. );
  8712. }
  8713. if (GM_getValue("Check_streamin_dot_to_links", false))
  8714. {
  8715. addFileHost(
  8716. "streamin\.to\/\\w+",
  8717. 'id="btn_download',
  8718. 'Not Found|Copyright Infringement|File Deleted',
  8719. 'optional--',
  8720. 'optional2--',
  8721. "//a[contains(@href,'streamin.to')]"
  8722. );
  8723. }
  8724. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8725. {
  8726. addFileHost(
  8727. "videoweed\.es\/\\w+",
  8728. 'version detection',
  8729. 'no longer exists',
  8730. 'optional--',
  8731. 'optional2--',
  8732. "//a[contains(@href,'videoweed.es')]"
  8733. );
  8734. }
  8735. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8736. {
  8737. addFileHost(
  8738. "nowvideo\.sx\/\\w+",
  8739. 'Download this video|value="submit">Continue',
  8740. 'no longer exists',
  8741. 'optional--',
  8742. 'optional2--',
  8743. "//a[contains(@href,'nowvideo.sx')]"
  8744. );
  8745. }
  8746. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8747. {
  8748. addFileHost(
  8749. "thevideo\.me\/\\w+",
  8750. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8751. 'File Not Found',
  8752. 'optional--',
  8753. 'optional2--',
  8754. "//a[contains(@href,'thevideo.me')]"
  8755. );
  8756. }
  8757. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8758. {
  8759. addFileHost(
  8760. "gorillavid\.in\/\\w+",
  8761. 'Wait 5 seconds',
  8762. 'File Not Found',
  8763. 'optional--',
  8764. 'optional2--',
  8765. "//a[contains(@href,'gorillavid.in')]"
  8766. );
  8767. }
  8768. if (GM_getValue("Check_thefile_dot_me_links", false))
  8769. {
  8770. addFileHost(
  8771. "thefile\.me\/\\w+",
  8772. 'Choose free or',
  8773. '',
  8774. 'optional--',
  8775. 'optional2--',
  8776. "//a[contains(@href,'thefile.me')]"
  8777. );
  8778. }
  8779. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8780. {
  8781. addFileHost(
  8782. "vidzi\.tv\/\\w+",
  8783. 'video-embed-modal row',
  8784. 'File Not Found|file was deleted',
  8785. 'optional--',
  8786. 'optional2--',
  8787. "//a[contains(@href,'vidzi.tv')]"
  8788. );
  8789. }
  8790. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8791. {
  8792. addFileHost(
  8793. "filenuke\.com\/\\w+",
  8794. 'Download File',
  8795. 'Earn with us',
  8796. 'optional--',
  8797. 'optional2--',
  8798. "//a[contains(@href,'filenuke.com')]"
  8799. );
  8800. }
  8801. if (GM_getValue("Check_vidto_dot_me_links", false))
  8802. {
  8803. addFileHost(
  8804. "vidto\.me\/\\w+",
  8805. 'Proceed to video',
  8806. 'Not Found',
  8807. 'optional--',
  8808. 'optional2--',
  8809. "//a[contains(@href,'vidto.me')]"
  8810. );
  8811. }
  8812. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8813. {
  8814. addFileHost(
  8815. "vidspot\.net\/\\w+",
  8816. 'Duration',
  8817. 'Removed for',
  8818. 'optional--',
  8819. 'optional2--',
  8820. "//a[contains(@href,'vidspot.net')]"
  8821. );
  8822. }
  8823. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8824. {
  8825. addFileHost(
  8826. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8827. 'Download File',
  8828. 'File Not Found',
  8829. 'optional--',
  8830. 'optional2--',
  8831. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8832. );
  8833. }
  8834. if (GM_getValue("Check_movpod_dot_in_links", false))
  8835. {
  8836. addFileHost(
  8837. "movpod\.in\/\\w+",
  8838. 'Continue',
  8839. 'File Not Found',
  8840. 'optional--',
  8841. 'optional2--',
  8842. "//a[contains(@href,'movpod.in')]"
  8843. );
  8844. }
  8845. /* if (GM_getValue("Check_down4files_dot_com_links", false))
  8846. {
  8847. addFileHost(
  8848. "down4files\.com\/\\w+",
  8849. 'down_table.png',
  8850. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8851. 'optional--',
  8852. 'optional2--',
  8853. "//a[contains(@href,'down4files.com')]"
  8854. );
  8855. } */
  8856. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8857. {
  8858. addFileHost(
  8859. "storefiles\.co\/\\w+",
  8860. 'btn_download',
  8861. 'No such file|>Error<|mqmaintitle">',
  8862. 'optional--',
  8863. 'optional2--',
  8864. "//a[contains(@href,'storefiles.co')]"
  8865. );
  8866. }
  8867. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8868. {
  8869. addFileHost(
  8870. "filehost\.pw\/\\w+",
  8871. 'name="method_free',
  8872. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8873. 'optional--',
  8874. 'optional2--',
  8875. "//a[contains(@href,'filehost.pw')]"
  8876. );
  8877. }
  8878. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8879. {
  8880. addFileHost(
  8881. "inafile\.com\/\\w+",
  8882. 'value="download1">|<h2>File: <font style="color:darkred">',
  8883. '<div style="width:500px;text-align:left;">|File Not Found',
  8884. 'optional--',
  8885. 'optional2--',
  8886. "//a[contains(@href,'inafile.com')]"
  8887. );
  8888. } */
  8889. if (GM_getValue("Check_uplea_dot_com_links", false))
  8890. {
  8891. addFileHost(
  8892. "uplea\.com\/\\w+",
  8893. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8894. 'expired link|ou est invalide',
  8895. 'optional--',
  8896. 'optional2--',
  8897. "//a[contains(@href,'uplea.com/dl')]",
  8898. true);
  8899. }
  8900. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8901. {
  8902. addFileHost(
  8903. "toutbox\.fr\/\\w+",
  8904. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8905. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8906. 'Serviço temporariamente indisponível',
  8907. 'optional2--',
  8908. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8909. );
  8910. }
  8911. if (GM_getValue("Check_openload_dot_co_links", false))
  8912. {
  8913. addFileHost(
  8914. "openload\.co\/\\w+",
  8915. 'id="downloadTimer">|button dlbutton',
  8916. 'jumbotron{color|got deleted|center !important',
  8917. 'optional--',
  8918. 'optional2--',
  8919. "//a[contains(@href,'openload.co')]"
  8920. );
  8921. }
  8922. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8923. {
  8924. addFileHost(
  8925. "lolabits\.es\/\\w+",
  8926. 'Descargar:',
  8927. '<title>Archivos de usuario',
  8928. 'Service Unavailable',
  8929. 'optional2--',
  8930. "//a[contains(@href,'lolabits.es')]"
  8931. );
  8932. }
  8933. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8934. {
  8935. addFileHost(
  8936. "alfafile\.net\/\\w+",
  8937. 'id="slow_download_btn',
  8938. 'class="error-box">',
  8939. 'optional--',
  8940. 'optional2--',
  8941. "//a[contains(@href,'alfafile.net')]"
  8942. );
  8943. }
  8944. if (GM_getValue("Check_multiup_dot_org_links", false))
  8945. {
  8946. addFileHost(
  8947. "multiup\.org\/\\w+",
  8948. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8949. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8950. 'optional--',
  8951. 'optional2--',
  8952. "//a[contains(@href,'multiup.org')]"
  8953. );
  8954. }
  8955. if (GM_getValue("Check_file_dot_al_links", false))
  8956. {
  8957. addFileHost(
  8958. "file\.al\/\\w+",
  8959. 'method_free',
  8960. 'style="width:500px;text-align:left;">',
  8961. 'optional--',
  8962. 'optional2--',
  8963. "//a[contains(@href,'file.al')]"
  8964. );
  8965. }
  8966. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8967. {
  8968. addFileHost(
  8969. "devilshare\.net\/\\w+",
  8970. '<div class="large-12" id="download">',
  8971. '(Link: 0 Invalid)|File Not Found',
  8972. 'optional--',
  8973. 'optional2--',
  8974. "//a[contains(@href,'devilshare.net')]"
  8975. );
  8976. }
  8977. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8978. {
  8979. addFileHost(
  8980. "dailyuploads\.net\/\\w+",
  8981. 'id="downloadBtnClickOrignal',
  8982. '<div style="width:500px;text-align:left;">',
  8983. 'optional--',
  8984. 'optional2--',
  8985. "//a[contains(@href,'dailyuploads.net')]"
  8986. );
  8987. }
  8988. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8989. {
  8990. addFileHost(
  8991. "datoteke\.com\/\\w+",
  8992. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8993. '&nbsp;File has been removed',
  8994. 'optional--',
  8995. '<title>Error - Datoteke',
  8996. "//a[contains(@href,'datoteke.com')]"
  8997. );
  8998. }
  8999. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  9000. {
  9001. addFileHost(
  9002. "tezfiles\.com\/\\w+",
  9003. 'virtual/low-speed-download',
  9004. 'class="alert alert-block|file is no longer available',
  9005. 'optional--',
  9006. 'This file is available<br>only for premium members',
  9007. "//a[contains(@href,'tezfiles.com')]"
  9008. );
  9009. } */
  9010. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  9011. {
  9012. addFileHost(
  9013. "sharehost\.eu\/\\w+",
  9014. '/?v=download_free&',
  9015. 'Errors occured|Wystąpiły błędy',
  9016. 'optional--',
  9017. 'optional2--',
  9018. "//a[contains(@href,'sharehost.eu')]"
  9019. );
  9020. }
  9021. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9022. {
  9023. addFileHost(
  9024. "pornfile\.cz\/\\w+",
  9025. 'Stáhnout soubor',
  9026. 'Soubor byl smazán',
  9027. 'optional--',
  9028. 'optional2--',
  9029. "//a[contains(@href,'pornfile.cz')]"
  9030. );
  9031. }
  9032. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9033. {
  9034. addFileHost(
  9035. "pornoid\.cz\/\\w+",
  9036. 'class="btn btn-large btn-download',
  9037. 'Soubor byl smazán',
  9038. 'optional--',
  9039. 'optional2--',
  9040. "//a[contains(@href,'pornoid.cz')]"
  9041. );
  9042. }
  9043. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9044. {
  9045. addFileHost(
  9046. "file-share\.top\/\\w+",
  9047. 'btn-success btn-lg download',
  9048. 'Stránka neexistuje|404 Not Found',
  9049. 'optional--',
  9050. 'optional2--',
  9051. "//a[contains(@href,'file-share.top')]"
  9052. );
  9053. }
  9054. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9055. {
  9056. addFileHost(
  9057. "bitster\.cz\/\\w+",
  9058. 'section" content="VIDEO"',
  9059. 'section" content=""',
  9060. 'optional--',
  9061. 'optional2--',
  9062. "//a[contains(@href,'bitster.cz')]"
  9063. );
  9064. }
  9065. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9066. {
  9067. addFileHost(
  9068. "rapidu\.net\/\\w+",
  9069. 'onclick="downloadFreeFile',
  9070. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9071. 'optional--',
  9072. 'optional2--',
  9073. "//a[contains(@href,'rapidu.net')]"
  9074. );
  9075. }
  9076. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9077. {
  9078. addFileHost(
  9079. "dinoshare\.cz\/\\w+",
  9080. 'class="download-button"',
  9081. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9082. 'optional--',
  9083. 'optional2--',
  9084. "//a[contains(@href,'dinoshare.cz')]"
  9085. );
  9086. }
  9087. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9088. {
  9089. addFileHost(
  9090. "bytewhale\.com\/\\w+",
  9091. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9092. 'var rawest = "0 MB',
  9093. 'optional--',
  9094. 'optional--',
  9095. "//a[contains(@href,'bytewhale.com')]"
  9096. );
  9097. }
  9098. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9099. {
  9100. addFileHost(
  9101. "rapidrar\.com\/\\w+",
  9102. 'value="Free Download',
  9103. '<div style="width:500px;text-align:left;">',
  9104. 'optional--',
  9105. 'optional--',
  9106. "//a[contains(@href,'rapidrar.com')]"
  9107. );
  9108. }
  9109. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9110. {
  9111. addFileHost(
  9112. "gigasize\.com\/\\w+",
  9113. 'class="estimate">',
  9114. 'class="error">',
  9115. 'optional--',
  9116. 'optional--',
  9117. "//a[contains(@href,'gigasize.com')]"
  9118. );
  9119. }
  9120. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9121. {
  9122. addFileHost(
  9123. "filesupload\.org\/\\w+",
  9124. '<a href="/download-or-watch/',
  9125. 'File not found',
  9126. 'optional--',
  9127. 'optional--',
  9128. "//a[contains(@href,'filesupload.org')]"
  9129. );
  9130. }
  9131. if (GM_getValue("Check_filecad_dot_com_links", false))
  9132. {
  9133. addFileHost(
  9134. "filecad\.com\/\\w+",
  9135. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9136. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9137. 'optional--',
  9138. 'optional--',
  9139. "//a[contains(@href,'filecad.com')]"
  9140. );
  9141. }
  9142. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9143. {
  9144. addFileHost(
  9145. "file.up09\.com\/\\w+",
  9146. 'name="method_free',
  9147. 'style="width:500px;text-align:left;">',
  9148. 'optional--',
  9149. 'optional--',
  9150. "//a[contains(@href,'file.up09.com')]"
  9151. );
  9152. }
  9153. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9154. {
  9155. addFileHost(
  9156. "lunaticfiles\.com\/\\w+",
  9157. 'name="method_free"',
  9158. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9159. 'optional--',
  9160. 'optional--',
  9161. "//a[contains(@href,'lunaticfiles.com')]"
  9162. );
  9163. }
  9164. if (GM_getValue("Check_upload_dot_af_links", false))
  9165. {
  9166. addFileHost(
  9167. "upload\.af\/\\w+",
  9168. 'id="method_free"',
  9169. '<h1>File Not Found</',
  9170. 'optional--',
  9171. 'optional--',
  9172. "//a[contains(@href,'upload.af')]"
  9173. );
  9174. }
  9175. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9176. {
  9177. addFileHost(
  9178. "filedwon\.info\/\\w+",
  9179. 'name="method_free"',
  9180. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9181. 'optional--',
  9182. 'optional--',
  9183. "//a[contains(@href,'filedwon.info')]"
  9184. );
  9185. }
  9186. if (GM_getValue("Check_uplod_dot_it_links", false))
  9187. {
  9188. addFileHost(
  9189. "uplod\.it\/\\w+",
  9190. 'value="download2">|name="method_free',
  9191. '<Title>Download </Title>',
  9192. 'optional--',
  9193. 'optional--',
  9194. "//a[contains(@href,'uplod.it')]"
  9195. );
  9196. }
  9197. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9198. {
  9199. addFileHost(
  9200. "abelhas\.pt\/\\w+",
  9201. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9202. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9203. 'optional--',
  9204. 'optional--',
  9205. "//a[contains(@href,'abelhas.pt')]"
  9206. );
  9207. }
  9208. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9209. {
  9210. addFileHost(
  9211. "disk.yandex\.com\/\\w+",
  9212. 'nb-button _nb-small-button',
  9213. 'error code|Nothing found',
  9214. 'optional--',
  9215. 'optional2--',
  9216. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9217. }
  9218.  
  9219.  
  9220. }
  9221. //start here
  9222.  
  9223. //hosts with direct download, so they must be requested for headers only
  9224. function initFileHostsHeadersOnly()
  9225. {
  9226. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9227. {
  9228. var host = new Array(5);
  9229. host[0] = linkRegex;
  9230. host[1] = isAliveRegex;
  9231. host[2] = isDeadRegex;
  9232. host[3] = xpathEx;
  9233. host[4] = ispremRegex;
  9234. http_file_hosts_headers_only.push(host);
  9235. }
  9236. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9237. {
  9238. addFileHostHeadersOnly(
  9239. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9240. 'Connection: Keep-Alive',
  9241. 'Content-Length: 3857',
  9242. "//a[contains(@href,'uloziste.com')]"
  9243. )
  9244. }
  9245. if (GM_getValue("Check_adrive_dot_com_links", false))
  9246. {
  9247. addFileHostHeadersOnly(
  9248. "adrive\\.com\/public\/\\w+",
  9249. 'Connection: keep-alive',
  9250. 'orig_ref=deleted',
  9251. "//a[contains(@href,'adrive.com')]"
  9252. )
  9253. }
  9254. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9255. {
  9256. addFileHostHeadersOnly(
  9257. "myupload\\.dk\/showfile\/\\w+",
  9258. 'Expires:',
  9259. 'squeeze1\\s+Vary',
  9260. "//a[contains(@href,'myupload.dk/showfile')]"
  9261. )
  9262. }
  9263. }
  9264. //CustomRules
  9265. //functions add...Host copied here
  9266. function addObsoleteHost(linkRegex, xpathEx)
  9267. {
  9268. var host = new Array(2);
  9269. host[0] = linkRegex;
  9270. host[1] = xpathEx;
  9271. http_file_hosts_obsolete.push(host);
  9272. }
  9273. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9274. {
  9275. var host = new Array(7);
  9276. host[0] = linkRegex;
  9277. host[1] = isAliveRegex;
  9278. host[2] = isDeadRegex;
  9279. host[3] = isUnavaRegex;
  9280. host[4] = xpathEx;
  9281. tryLoop ? host[5] = true : host[5] = false;
  9282. host[6] = ispremRegex;
  9283. http_file_hosts.push(host);
  9284. }
  9285. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9286. {
  9287. var host = new Array(5);
  9288. host[0] = linkRegex;
  9289. host[1] = isAliveRegex;
  9290. host[2] = isDeadRegex;
  9291. host[3] = xpathEx;
  9292. host[4] = ispremRegex;
  9293. http_file_hosts_headers_only.push(host);
  9294. }
  9295. //takes a fully built rules array and adds the rules to WARLC
  9296. function applyCustomRules(customRules)
  9297. {
  9298. if (!customRules) return;
  9299. var rules, r, i;
  9300. rules = customRules.rules;
  9301. for (i = 0 ; i < rules.length ; i++)
  9302. {
  9303. r = rules[i];
  9304. if (r.enabled)
  9305. {
  9306. switch (r.type)
  9307. {
  9308. case 'single':
  9309. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9310. break;
  9311. case 'headers':
  9312. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9313. break;
  9314. case 'obsolete':
  9315. addObsoleteHost(r.urlregex, r.xpath)
  9316. break;
  9317. }
  9318. }
  9319. }
  9320. }
  9321.  
  9322.  
  9323. function initFileHostsCustom()
  9324. {
  9325. if (Custom_rules && Custom_rules_text)
  9326. {
  9327. var msg = '';
  9328. if (newVersion)
  9329. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9330. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9331. msg = '60 or more days have passed since this notification.\n\n';
  9332. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9333. {
  9334. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9335. msg +=
  9336. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9337. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9338. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9339. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9340. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9341. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9342. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9343. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9344. setTimeout(function(){alert(msg)},0);
  9345. }
  9346. var customRules = parseCustomRules(Custom_rules_text);
  9347. if (customRules.warning || customRules.error)
  9348. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9349. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9350. JSON.stringify(customRules.info, null, ' '));
  9351. applyCustomRules(customRules);
  9352. }
  9353. }
  9354. //end of CustomRules processing
  9355.  
  9356.  
  9357.  
  9358. } //end of function start
  9359.  
  9360.  
  9361.  
  9362. function initClipBoardTools()
  9363. {
  9364. unsafeWindow.copyToClipboard = function(text)
  9365. {
  9366. try
  9367. {
  9368. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9369.  
  9370. var str = Components.classes["@mozilla.org/supports-string;1"].
  9371. createInstance(Components.interfaces.nsISupportsString);
  9372. if (!str) return false;
  9373.  
  9374. str.data = text;
  9375.  
  9376. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9377. createInstance(Components.interfaces.nsITransferable);
  9378. if (!trans) return false;
  9379.  
  9380. trans.addDataFlavor("text/unicode");
  9381. trans.setTransferData("text/unicode", str, text.length * 2);
  9382.  
  9383. var clipid = Components.interfaces.nsIClipboard;
  9384. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9385. if (!clip) return false;
  9386.  
  9387. clip.setData(trans, null, clipid.kGlobalClipboard);
  9388. } catch (e) {
  9389. GM_log("Error copyToClipboard : " + e);
  9390. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9391. }
  9392. }
  9393. }
  9394.  
  9395.  
  9396.  
  9397. //CustomRules
  9398.  
  9399. function escapeRegex(str)
  9400. {
  9401. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9402. }
  9403.  
  9404.  
  9405. //called internally from parseCustomRules.
  9406. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9407. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9408. function makeCustomRule(rule)
  9409. {
  9410. function makeMatchRegex(arrmatch)
  9411. {
  9412. return escapeRegex(arrmatch.join('\n'))
  9413. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9414. .replace(/\n/g,'|'); //join together
  9415. }
  9416. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9417. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9418. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9419. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9420. if (rule.baseurl)
  9421. {
  9422. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9423. for (i = 0 ; i < len ; i++)
  9424. {
  9425. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9426. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9427. {
  9428. 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'])
  9429. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9430. }
  9431. else //baseurl in the form: example.com/xxx
  9432. {
  9433. xpath.push(m[0]);
  9434. urlregex.push(escapeRegex(m[0]) + '.');
  9435. }
  9436. }
  9437. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9438. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9439. }
  9440. return rule;
  9441. } //function makeCustomRule
  9442.  
  9443.  
  9444. /*
  9445. Takes a string containing custom link checking rules.
  9446. Returns an object with fields:
  9447. info - contains notes, warnings and errors found during parsing
  9448. rules - the array of custom rules
  9449. note, warning, error - number of each of them found during parsing
  9450. Format of the input string:
  9451. One command per line. Command format: @keyword parameter
  9452. Keywords:
  9453. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9454. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9455. These keywords can be multiple (any of them will work):
  9456. @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...)
  9457. @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+
  9458. @alivelink, @deadlink - example links
  9459. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9460. Lines starting with // and empty lines are ignored.
  9461. Invalid parameters generate errors and those lines are skipped.
  9462. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9463. Example:
  9464. @customrule filehost
  9465. @baseurl filehost.com/download/
  9466. @baseurl filehost2. com net /d?=
  9467. @alivematch id="download">
  9468. @deadmatch File not found
  9469. @deadmatch File deleted
  9470. */
  9471. function parseCustomRules(rulesStr)
  9472. {
  9473. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9474. function addInfo(type, msg, ln){
  9475. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9476. customRules[type]++;
  9477. }
  9478. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9479. if (!lines) return null;
  9480. lines.push('@#customrule _'); //to save the last rule
  9481. var m, linecount = lines.length;
  9482. var keyword, param, constr, rule, err;
  9483. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9484. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9485. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9486. var constraints = {
  9487. 'baseurl': {
  9488. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9489. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9490. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9491. 'alivematch': {
  9492. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9493. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9494. 'deadmatch': {
  9495. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9496. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9497. 'unavamatch': {
  9498. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9499. 'alivelink': {
  9500. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9501. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9502. 'deadlink': {
  9503. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9504. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9505. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9506. };
  9507. for (linenum = 0 ; linenum < linecount ; linenum++)
  9508. {
  9509. //capturing groups: 1 23 4 5 6
  9510. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9511. if (m)
  9512. {
  9513. if (m[1] || !m[2])
  9514. continue; // ignore empty lines and lines starting with //
  9515. keyword = (m[4] || m[2]).toLowerCase();
  9516. param = m[6];
  9517. if (keyword == 'customrule')
  9518. {
  9519. //save the current rule if all required fields are provided
  9520. if (rule)
  9521. {
  9522. err = false;
  9523. $.each(constraints, function(kw, constraint){
  9524. var l, constr = constraint[rule.type];
  9525. if (constr)
  9526. {
  9527. l = rule[kw] ? rule[kw].length : 0;
  9528. if (l < constr.min || l > constr.max)
  9529. {
  9530. 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);
  9531. err = true;
  9532. }
  9533. }
  9534. });
  9535. if (!err)
  9536. customRules.rules.push(makeCustomRule(rule));
  9537. }
  9538. //start a new rule
  9539. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9540. {
  9541. rule = {
  9542. 'enabled': !m[3],
  9543. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9544. 'name': param
  9545. };
  9546. }
  9547. else
  9548. {
  9549. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9550. rule = null;
  9551. }
  9552. }
  9553. else //good line format, but keyword other than customrule
  9554. {
  9555. if (!rule)
  9556. {
  9557. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9558. continue;
  9559. }
  9560. if (constraints[keyword])
  9561. {
  9562. constr = constraints[keyword][rule.type];
  9563. if (constr)
  9564. {
  9565. if (constr.paramRE && !constr.paramRE.test(param))
  9566. {
  9567. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9568. continue;
  9569. }
  9570. }
  9571. else
  9572. {
  9573. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9574. continue;
  9575. }
  9576. }
  9577. //line OK, save
  9578. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9579. }
  9580. } //if (m)
  9581. else
  9582. addInfo('warning', 'Unknown line format. Line skipped.');
  9583. } //for loop
  9584. return customRules;
  9585. } //function parseCustomRules
  9586.  
  9587.  
  9588. /* ********************UPDATES********************
  9589.  
  9590. February 26, 2016
  9591. Version 1.2.5.3
  9592. fixed userscloud.com
  9593.  
  9594. February 24, 2016
  9595. Version 1.2.5.2
  9596. added yandex.com
  9597. fixed datafile.com
  9598.  
  9599. February 22, 2016
  9600. Version 1.2.5.1
  9601. added bigfile.to
  9602.  
  9603. February 20, 2016
  9604. Version 1.2.5.0
  9605. added abelhas.pt
  9606.  
  9607. February 18, 2016
  9608. Version 1.2.4.9
  9609. made change to uptobox
  9610.  
  9611. February 17, 2016
  9612. Version 1.2.4.8
  9613. fixed yadi.sk
  9614.  
  9615. February 16, 2016
  9616. Version 1.2.4.7
  9617. fixed datafile.com
  9618. fixed filecad.com
  9619. added filecore.co & filestorm.to to obsolete hosts
  9620. added upload.af, filedwon.in & uplod.it
  9621.  
  9622. February 15, 2016
  9623. Version 1.2.4.6
  9624. fixed kumpulbagi.id
  9625. added sangfile.com to obsolete hosts
  9626.  
  9627. February 14, 2016
  9628. Version 1.2.4.5
  9629. fixed yandex.ru
  9630.  
  9631. February 13, 2016
  9632. Version 1.2.4.4
  9633. added lunaticfiles.com.
  9634.  
  9635. February 09, 2016
  9636. Version 1.2.4.3
  9637. added file.up09.com.
  9638.  
  9639. February 09, 2016
  9640. Version 1.2.4.2
  9641. tezfiles.com premium links now detected.
  9642.  
  9643. February 09, 2016
  9644. Version 1.2.4.1
  9645. added seenupload.com to obsolete hosts
  9646. fixed 180upload.com to show obsolete
  9647.  
  9648. February 08, 2016
  9649. Version 1.2.4.0
  9650. added tusfiles.com
  9651. added filesupload.org
  9652. added gigasize.com
  9653. added filecad.com
  9654. fixed filecloud.io
  9655. added uploadnet.co to obsolete hosts
  9656.  
  9657. February 07,2016
  9658. Vession 1.2.3.9
  9659. fixed depositfiles.com folders
  9660. fixed turbobit.net folders
  9661.  
  9662. February 06, 2016
  9663. Version 1.2.3.8
  9664. fixed 1fichier false dead links
  9665.  
  9666. February 04, 2106
  9667. Version 1.2.3.7
  9668. added geupload and lenfile to obsolete hosts
  9669. fixed kyc.pm/depfile
  9670.  
  9671. February 03, 2016
  9672. Version 1.2.3.6
  9673. fixed some nitroflare.com dead links not being detected
  9674.  
  9675. February 01, 2016
  9676. Version 1.2.3.5
  9677. script moved to new site
  9678.  
  9679. January 20, 2016
  9680. Version 1.2.3.3
  9681. fixed some rapidgator premium link not being detected
  9682.  
  9683. January 17, 2016
  9684. Version 1.2.3.2
  9685. added bytewhale.com
  9686. added rapidrar.com
  9687.  
  9688. Version 1.2.3.1
  9689. added 180upload.com to obsolete hosts
  9690. fixed hellspy.com
  9691. added dinoshare.cz,
  9692.  
  9693. January 13, 2016
  9694. Version 1.2.3.0
  9695. added rapidu.net
  9696. added uploadboy.me
  9697. fixed euroshare.eu
  9698.  
  9699. January 12, 2016
  9700. Version 1.2.2.9
  9701. added kb.simple-aja.info
  9702.  
  9703. January 10, 2016
  9704. Version 1.2.2.8
  9705. made changes to fastshare.cz
  9706.  
  9707. January 10, 2016
  9708. Version 1.2.2.7
  9709. fixed uptobox.com
  9710.  
  9711. January 09, 2016
  9712. Version 1.2.2.6
  9713. datoteke.com now detects premium links
  9714. fixed turbobit.net
  9715. fixed uptobox.com
  9716. added pornfile.cz
  9717. added pornoid.cz
  9718. added file-share.top
  9719. added bitster.cz
  9720.  
  9721. January 05, 2016
  9722. Version 1.2.2.5
  9723. fixed salefiles.com
  9724. fixed ozofile.com
  9725.  
  9726. January 04, 2016
  9727. Version 1.2.2.4
  9728. added sharehost.eu
  9729.  
  9730. December 30, 2015
  9731. Version 1.2.2.3
  9732. added tezfiles.com
  9733.  
  9734. December 28, 2015
  9735. Version 1.2.2.2
  9736. fixed some k2s & fboom dead link not getting detected
  9737. fixed some k2s premium links not getting detected.
  9738. fixed ssh.yt not detecting some dead links
  9739. fixed ncrypt.in dead links showing yellow
  9740.  
  9741. December 20, 2015
  9742. Version 1.2.2.0
  9743. added datoteke.com
  9744.  
  9745. December 19, 2015
  9746. Version 1.2.1.9
  9747. added secured.in & linksave.in to obsolete hosts
  9748.  
  9749. December 17, 2015
  9750. Version 1.2.1.8
  9751. added german for dead links to secureupload.eu.
  9752.  
  9753. December 17, 2015
  9754. Version 1.2.1.7
  9755. added french for dead links to secureupload.eu.
  9756. fixed problem with tooltip display.
  9757.  
  9758. December 13, 2015
  9759. Version 1.2.1.6
  9760. added netload.me & fileparadox.in to obsolete hosts
  9761.  
  9762. December 09, 2015
  9763. Version 1.2.1.5
  9764. added rapidsonic.com & fileparadox.com to obsolete hosts
  9765.  
  9766. December 04, 2015
  9767. Version 1.2.1.4
  9768. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  9769.  
  9770. December 03, 2015
  9771. Version 1.2.1.3
  9772. added dailyuploads.net
  9773.  
  9774. December 02, 2015
  9775. Version 1.2.1.2
  9776. fixed hitfile.net
  9777. fixed kingfiles.net
  9778.  
  9779. November 30, 2015
  9780. Version 1.2.1.1
  9781. added filepost.com to obsolete hosts
  9782. added devilshare.net
  9783.  
  9784. November 28, 2015
  9785. Version 1.2.1.0
  9786. fixed datafile.com not detecting some premium links.
  9787.  
  9788. November 25, 2015
  9789. Version 1.2.0.9
  9790. fixed filejoker.net
  9791. fixed toutbox.fr
  9792. fixed nowvideo.sx
  9793.  
  9794. November 24, 2015
  9795. Version 1.2.0.8
  9796. fixed openload.io
  9797.  
  9798. November 20, 2015
  9799. Version 1.2.0.7
  9800. //added file.al
  9801. //fixed nitroflare.com false live links
  9802. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  9803.  
  9804. November 17, 2015
  9805. Version 1.2.0.6
  9806. added clicknupload.me
  9807.  
  9808. November 09, 2015
  9809. Version 1.2.0.5
  9810. fixed some depfile premium links not being detected
  9811.  
  9812. November 08, 2015
  9813. Version 1.2.0.4
  9814. fixed some rapidgator premium links not being detected
  9815. fixed doraupload.com
  9816.  
  9817. November 08, 2015
  9818. Version 1.2.0.3
  9819. fixed uploaded false premium
  9820.  
  9821. November 07, 2015
  9822. Version 1.2.0.2
  9823. fixed redbunker.net
  9824.  
  9825. November 05, 2015
  9826. Version 1.2.0.1
  9827. fixed app.box.com
  9828. added multiup.org (does not detect all dead links)
  9829.  
  9830. November 01, 2015
  9831. Version 1.2.0.0
  9832. added more languages to rockfile and 1fichier
  9833.  
  9834. November 01, 2015
  9835. Version 1.1.9.9
  9836. fixed rockfile.eu
  9837. changed 1fichier code (Thanks yurri)
  9838. added to obsolete hosts... (Thanks Love Buzz)
  9839. burnupload.com
  9840. cramit.in
  9841. cramitin.net
  9842. down4files.com
  9843. edoc.com
  9844. jumbofile.net
  9845. krotix.net
  9846. migahost.com
  9847. movreel.com
  9848. netload.in
  9849. newfileland.com
  9850. quickshare.cz
  9851.  
  9852. October 30, 2015
  9853. Version 1.1.9.8
  9854. added alfafile.net
  9855.  
  9856. October 26, 2015
  9857. Version 1.1.9.7
  9858. changed datafile.com and uplea.com
  9859. added lolabits.es
  9860.  
  9861. October 26, 2015
  9862. Version 1.1.9.6
  9863. added toutbox.fr
  9864.  
  9865. October 25, 2015
  9866. Version 1.1.9.5
  9867. fixed counter error
  9868.  
  9869. October 25, 2015
  9870. Version 1.1.9.4
  9871. changed uptobox.com code
  9872.  
  9873. October 21, 2015
  9874. Version 1.1.9.3
  9875. fixed uptobox.com
  9876.  
  9877. October 20, 2015
  9878. Version 1.1.9.2
  9879. bug fixes and new method of detecting premium links.
  9880.  
  9881. October 15, 2015
  9882. Version 1.1.9.1
  9883. fixed hugefiles.net false premium
  9884. changed uptobox.com code
  9885.  
  9886. October 06, 2015
  9887. Version 1.1.9.0
  9888. fixed filefactory
  9889. fixed rockfile false premium
  9890. keep2share & fileboom now detect premium links (fixed by yurii)
  9891.  
  9892. October 01, 2015
  9893. Version 1.1.8.9
  9894. fixed free.fr false premium
  9895. fixed thevideo.me false premium
  9896.  
  9897. September 28, 2015
  9898. Version 1.1.8.8
  9899. added uplea.com and openload.co
  9900.  
  9901. September 27, 2015
  9902. Version 1.1.8.7
  9903. fixed fileparadox.in false premium
  9904. added kingfiles.net to obsolete hosts
  9905. removed inafile.com from obsolete hosts
  9906.  
  9907. September 22, 2015
  9908. Version 1.1.8.6
  9909. fixed nitroflare false premium
  9910.  
  9911. September 22, 2015
  9912. Version 1.1.8.5
  9913. fixed userscloud.com false premium
  9914. fixed usersfiles.com false premium
  9915. changed arabloads.com to arabloads.net
  9916. changed nowdownloads.eu to nowdownloads.ch
  9917.  
  9918. September 21, 2015
  9919. Version 1.1.8.3
  9920. added ryushare.com to obsolete hosts.
  9921.  
  9922. September 20, 2015
  9923. Version 1.1.8.2
  9924. fixed nitroflare not showing premium links
  9925. added down4files.com,storfiles.co,filehost.pw
  9926.  
  9927. September 16, 2015
  9928. Version 1.1.8.1
  9929. added crisshare.com to obsolete hosts
  9930. fixed filemoney.com false premium
  9931. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  9932.  
  9933. September 14, 2015
  9934. Version 1.1.8.0
  9935. added to obsolete hosts...
  9936. sharebeast.com
  9937. tufiles.ru
  9938.  
  9939. September 12, 2015
  9940. Version 1.1.7.9
  9941. fixed rghost.net false premium
  9942. fixed unlimitzone.com false premium
  9943. fixed turbobit.net false live link
  9944.  
  9945. September 11, 2015
  9946. Version 1.1.7.8
  9947. Fixed filefactory.com false premium.
  9948.  
  9949. September 07, 2015
  9950. Version 1.1.7.7
  9951. fixed "depositfiles.com/en/files" links not checking
  9952.  
  9953. September 06, 2015
  9954. Version 1.1.7.6
  9955. added French code for 1fichier
  9956.  
  9957. August 29, 2015
  9958. Version 1.1.7.5
  9959. fixed depositfiles
  9960. fixed mega.co.nz/mega.nz
  9961. (fixed by yurii)
  9962.  
  9963. August 23, 2015
  9964. Version 1.1.7.4
  9965. Fixed uploadrocket (by yurii)
  9966.  
  9967. August 20, 2015
  9968. Version 1.1.7.3
  9969. fixed depfile.com false premium
  9970. fixed 1fichier false premium
  9971. fixed rapidgator false premium
  9972.  
  9973. August 08, 2015
  9974. Version 1.1.7.1
  9975. fixed unlimitzone.com, added freakshare to obsolete hosts.
  9976.  
  9977. August 07, 2015
  9978. Version 1.1.7.0
  9979. fixed...
  9980. streamin.to
  9981. thefile.me
  9982. vidzi.tv
  9983. added...
  9984. filenuke.com
  9985. vidto.me
  9986. vidspot.net
  9987. sharesix.com
  9988. sharesix.net
  9989. movpod.in,
  9990.  
  9991. August 07, 2015
  9992. Version 1.1.6.9 added...
  9993. thefile.me
  9994. vidzi.tv
  9995. videoweed.es
  9996. vodlocker.com
  9997. nowvideo.sx
  9998. cloudtime.to
  9999. thevideo.me
  10000. vidbull.com
  10001. allmyvideos.net
  10002. novamov.com
  10003. filehoot.com
  10004. stagevu.com
  10005. gorillavid.in
  10006. streamin.to
  10007.  
  10008. August 02, 2015
  10009. Version 1.1.6.8
  10010. added cloudshares.net
  10011.  
  10012. August 01, 2015
  10013. Version 1.1.6.7
  10014. fixed depfile redirectors false premium
  10015.  
  10016. July 31, 2015
  10017. Version 1.1.6.6
  10018. fixed depfile.com false premium
  10019. */