W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  1. // made change to uptobox
  2. // ==UserScript==
  3. // @name W.A.R. Links Checker Premium
  4. // @description detects live, dead and premium links.
  5. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  6. // @namespace premium version
  7. // @version 1.2.4.9
  8. // @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/JA9XQCeBLAIQD2ASnLG7UlKJS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E8A0A88fgoOnBihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  9. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  10. // @author mental
  11. // @include http://*
  12. // @include https://*
  13. // @include file:///*
  14. // @grant GM_setValue
  15. // @grant GM_getValue
  16. // @grant GM_xmlhttpRequest
  17. // @grant GM_log
  18. // @grant GM_addStyle
  19. // @grant GM_registerMenuCommand
  20. // @grant GM_getResourceText
  21. // @grant GM_info
  22. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  23. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  24. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  25. // @homepage http://usa.x10host.com/mybb
  26. // @namespace war premium
  27. // @noframes
  28. // ==/UserScript==
  29.  
  30. //separate alternative domains with "|" char (first name is considered being main)
  31. var allHostNames = [
  32. "1fichier.com|dl4free.com",
  33. "upload.af",
  34. "filedwon.info",
  35. "uplod.it",
  36. "rapidu.net",
  37. "file.up09.com",
  38. "lunaticfiles.com",
  39. "filecad.com",
  40. "filesupload.org",
  41. "gigasize.com",
  42. "bytewhale.com",
  43. "rapidrar.com",
  44. "download.cz.hellshare.com",
  45. "pornfile.cz",
  46. "dinoshare.cz",
  47. "kb.simple-aja.info",
  48. "bitster.cz",
  49. "file-share.top",
  50. "pornoid.cz",
  51. "dailyuploads.net",
  52. "sharehost.eu",
  53. "tezfiles.com",
  54. "devilshare.net",
  55. "alfafile.net",
  56. "openload.co",
  57. "multiup.org",
  58. "uplea.com",
  59. "filenuke.com",
  60. "file.al",
  61. // "inafile.com",
  62. "lolabits.es",
  63. "vidto.me",
  64. "storefiles.co",
  65. "filehost.pw",
  66. "vidspot.net",
  67. "turbobit.ru",
  68. "sharesix.com|sharesix.net",
  69. "movpod.in",
  70. "thefile.me",
  71. "datoteke.com",
  72. "vidzi.tv",
  73. "videoweed.es",
  74. "vodlocker.com",
  75. "nowvideo.sx",
  76. "cloudtime.to",
  77. "thevideo.me",
  78. "vidbull.com",
  79. "allmyvideos.net",
  80. "novamov.com",
  81. "filehoot.com",
  82. "stagevu.com",
  83. "gorillavid.in",
  84. "streamin.to",
  85. "4upld.com",
  86. "cloudshares.net",
  87. "swoopshare.com",
  88. "2shared.com",
  89. "fileupload.pw",
  90. "zxcfiles.com",
  91. "up07.net",
  92. "4shared.com",
  93. "adrive.com",
  94. "aisfile.com",
  95. "hexupload.com",
  96. "bezvadata.cz",
  97. "xkeepfile.com|Gamesena.com",
  98. "usersfiles.com",
  99. "pan.baidu.com",
  100. "radicalshare.com",
  101. "datei.to",
  102. "daten-hoster.de|filehosting.org|xtraupload.de",
  103. "demo.ovh.eu",
  104. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  105. "divshare.com",
  106. "easy-share.com|crocko.com",
  107. "easybytez.com",
  108. "edisk.cz",
  109. "euroshare.eu",
  110. "file-upload.net",
  111. "yadi.sk",
  112. "wizupload.com",
  113. "fastshare.cz",
  114. "filefactory.com",
  115. "share.vnn.vn",
  116. "yunpan.cn",
  117. "gulfup.com",
  118. "tropicshare.com",
  119. "cloudzilla.to",
  120. "inclouddrive.com",
  121. "fileflyer.com",
  122. "filerio.com|filekeen.com",
  123. "up.4share.vn",
  124. "upfile.vn",
  125. "datafilehost.com",
  126. "fileband.com",
  127. "worldbytez.com",
  128. "files.mail.ru",
  129. "filesflash.com",
  130. "box.com",
  131. "uptobox.com",
  132. "box.net",
  133. "goldbytez.com",
  134. "sdilej.cz",
  135. "ex-load.com",
  136. "filesmonster.com",
  137. "filestore.to",
  138. "hulkload.com",
  139. "filedropper.com",
  140. "free-uploading.com",
  141. "gamefront.com|filefront.com",
  142. "gettyfile.ru",
  143. "gigapeta.com",
  144. "gigasize.com",
  145. "hellshare.com",
  146. "hellspy.com",
  147. "hitfile.net",
  148. "hostuje.net",
  149. "freefilehosting.net",
  150. "free.fr",
  151. "hulkshare.com",
  152. "hyperfileshare.com",
  153. "filecloud.io|ifile.it",
  154. "ifolder.ru",
  155. "jumbofiles.com",
  156. "uploadrocket.net",
  157. "lafiles.com",
  158. "leteckaposta.cz|sharegadget.com",
  159. "letitbit.net",
  160. "load.to",
  161. "mediafire.com",
  162. "megafileupload.com",
  163. "megashares.com",
  164. "movshare.net",
  165. "muchshare.net",
  166. "myupload.dk",
  167. "narod.ru|narod.yandex.ru",
  168. "fboom.me|fileboom.me",
  169. "openfile.ru",
  170. "partage-facile.com",
  171. "plunder.com",
  172. "sharerapid.cz",
  173. "exclusiveloader.com",
  174. "acefile.net",
  175. "queenshare.com",
  176. "rapidgator.net",
  177. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  178. "oboom.com",
  179. "filepi.com",
  180. "neodrive.co",
  181. "rarefile.net",
  182. "rayfile.com",
  183. "rghost.net",
  184. "sendmyway.com",
  185. "clicknupload.com",
  186. "clicknupload.me",
  187. "sharemods.com",
  188. "hostr.co",
  189. "sendspace.com",
  190. "sharecash.org",
  191. "share-links.biz",
  192. "share-online.biz|egoshare.com",
  193. "megarapid.cz",
  194. "shareflare.net",
  195. "solidfiles.com",
  196. "led.wf",
  197. "lan.wf",
  198. "adlink.wf",
  199. "click.tf",
  200. "kyc.pm",
  201. "ssh.tf",
  202. "ssh.yt",
  203. "yep.pm",
  204. "stahovanizasms.cz",
  205. "turbobit.net",
  206. "filecloud.cc",
  207. "tikfile.com",
  208. "cloudsix.me",
  209. "turboupload.com",
  210. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  211. "ulozisko.sk",
  212. "uloziste.com",
  213. "unibytes.com",
  214. "upload-il.net|przeslij.net",
  215. "uploaded.to|ul.to",
  216. "uploading.com",
  217. "chayfile.com",
  218. "rockfile.eu",
  219. "24uploading.com",
  220. "uploadspace.pl",
  221. "upnito.sk",
  222. "usaupload.net",
  223. "veehd.com",
  224. "videobb.com",
  225. "vip-file.com",
  226. "webshare.cz",
  227. "xdisk.cz",
  228. "yunfile.com|filemarkets.com",
  229. "ziddu.com",
  230. "zippyshare.com",
  231. "rodfile.com",
  232. "wikiupload.com",
  233. "uploadstube.de",
  234. "faststore.org",
  235. "flyfiles.net",
  236. "nowdownload.ch",
  237. "prefiles.com",
  238. "axifile.com",
  239. "hackerbox.org",
  240. "amonshare.com",
  241. "data.hu",
  242. "brupload.net",
  243. "userscloud.com",
  244. "netkups.com",
  245. "xfileload.com",
  246. "kumpulbagi.com|kumpulbagi.id",
  247. "uppit.com|up.ht",
  248. "downloadani.me",
  249. "filesabc.com",
  250. "verzend.be",
  251. "4up.me",
  252. "extmatrix.com",
  253. "sendfiles.nl",
  254. "yourfilestore.com",
  255. "filebig.net",
  256. "nekaka.com",
  257. "file4safe.com",
  258. "tusfiles.net|tusfiles.com",
  259. "filemac.com",
  260. "idup.in",
  261. "fileswap.com",
  262. "ozofiles.com",
  263. "loudupload.net",
  264. "nosupload.com",
  265. "gboxes.com",
  266. "myvdrive.com|fileserving.com",
  267. "filesin.com",
  268. "novafile.com",
  269. "longfiles.com",
  270. // "uploadhero.com",
  271. "uploadbaz.com",
  272. "bitupload.com",
  273. "indowebster.com",
  274. "superload.cz",
  275. "mafiastorage.com",
  276. "4upfiles.com",
  277. "filesmelt.com",
  278. "hellupload.com",
  279. "uploadingit.com",
  280. "stiahni.si",
  281. "sendspace.pl",
  282. "fastshare.org",
  283. "filejoker.net",
  284. "filestore.com.ua",
  285. "secureupload.eu",
  286. "rapidfileshare.net",
  287. "stiahnito.sk",
  288. "rusfolder.com",
  289. "fileover.net",
  290. "catshare.net",
  291. "anonfiles.com",
  292. "mixturecloud.com",
  293. "filedais.com",
  294. // "imdb.com",
  295. "nitroflare.com",
  296. "akafile.com",
  297. "creafile.net",
  298. "hugefiles.net",
  299. "vidxden.com",
  300. "up.top4top.net",
  301. "upload.ee",
  302. "shareplace.org",
  303. "uploadc.com",
  304. "remixshare.com",
  305. "exoshare.com",
  306. "borncash.org",
  307. "junocloud.me",
  308. "expressleech.com",
  309. "2downloadz.com",
  310. "mightyupload.com",
  311. "anysend.com",
  312. "datafile.com",
  313. "upstore.net",
  314. "upsto.re",
  315. "speedy.sh",
  316. "sanshare.com",
  317. "kingfiles.net",
  318. // "uploadhero.co",
  319. "ge.tt",
  320. "filesflash.net",
  321. "salefiles.com",
  322. // "megairon.net",
  323. "datoid.cz",
  324. "cloudstor.es",
  325. "streamfile.com",
  326. "eyesfile.ca",
  327. "filemoney.com",
  328. "uploadboy.com",
  329. "uploadboy.me",
  330. "speedshare.eu",
  331. "google.com",
  332. "unlimitzone.com",
  333. "rioupload.com",
  334. "rg.to",
  335. "jumbofiles.org",
  336. "fshare.vn",
  337. "spaceforfiles.com",
  338. "up.media1fire.com",
  339. "depfile.com",
  340. "go4up.com",
  341. "dropbox.com",
  342. "redbunker.net",
  343. "divxpress.com",
  344. "mega.nz|mega.co.nz",
  345. "anafile.com",
  346. "uploadable.ch",
  347. "arabloads.net",
  348. "sharerepo.com",
  349. "sfshare.se",
  350. "files.fm",
  351. "koofile.com",
  352. "vidplay.net",
  353. "storagon.com",
  354. "doraupload.com",
  355. "openload.io",
  356. "uploads.xxx",
  357. "toutbox.fr",
  358. ];
  359.  
  360. try
  361. {
  362. //iframes excluded
  363. if (window.top != window.self)
  364. {
  365. return;
  366. }
  367. //allHostNames sites excluded
  368. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  369. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  370. ")"))
  371. {
  372. return;
  373. }
  374. }
  375. catch (e)
  376. {
  377. return;
  378. }
  379.  
  380. //separate alternative domains with "|" char (first name is considered being main)
  381. var allContainerNames = [
  382. "adf.ly",
  383. "linkcrypt.ws",
  384. "linksafe.me",
  385. // "linksave.in",
  386. "linkto.net",
  387. "madlink.sk",
  388. "multiload.cz",
  389. "mirrorcreator.com",
  390. "ncrypt.in",
  391. "redi.re",
  392. "relink.us",
  393. "safelinking.net",
  394. "theloo.katt.it",
  395. "bit.ly",
  396.  
  397. ];
  398.  
  399. //separate alternative domains with "|" char (first name is considered being main)
  400. var allObsoleteNames = [
  401. "uloz.cz",
  402. "secured.in",
  403. "linksave.in",
  404. "seenupload.com",
  405. "sangfile.com",
  406. "filepost.com|fp.io",
  407. "filestorm.to",
  408. "uploadnet.co",
  409. "180upload.com",
  410. "rapidsonic.com",
  411. "fileparadox.com",
  412. "geupload.com",
  413. "lenfile.com",
  414. "fileparadox.in",
  415. "uploadhero.co",
  416. "uploadhero.com",
  417. "newfileland.com",
  418. "quickshare.cz",
  419. "netload.in",
  420. "netload.me",
  421. "movreel.com",
  422. "migahost.com",
  423. "krotix.net",
  424. "jumbofile.net",
  425. "edoc.com",
  426. "down4files.com",
  427. "cramit.in|cramitin.net",
  428. "freakshare.com",
  429. "burnupload.com|burnupload.ihiphop.com",
  430. "freakshare.net",
  431. "daj.to",
  432. "bl.st",
  433. "2drive.net",
  434. "ryushare.com",
  435. "crisshare.com",
  436. "tufiles.ru",
  437. "uncapped-downloads.com",
  438. "sockshare.com",
  439. "ddlstorage.com",
  440. "dataport.cz",
  441. "dizzcloud.com",
  442. "sharebeast.com",
  443. "stahovadlo.cz",
  444. "shared.com",
  445. "storage.to",
  446. "putlocker.com",
  447. "lumfile.com",
  448. "lumfile.se",
  449. "lumfile.eu",
  450. "firedrive.com",
  451. "fileshare.in.ua",
  452. "filecore.co.nz",
  453. "filecore.co",
  454. "iskladka.cz",
  455. "file-rack.com",
  456. "fast-load.net",
  457. "subory.sk",
  458. "bigandfree.com",
  459. "fileop.com",
  460. "mujsoubor.cz",
  461. "sendfile.to",
  462. "superfastfile.com",
  463. "quickyshare.com",
  464. "duckload.com",
  465. "uploadstore.net",
  466. "meinupload.com",
  467. "dualshare.com",
  468. "2xupload.to|2xupload.de",
  469. "oxedion.com",
  470. "uploadline.com",
  471. "dll.bz",
  472. "movieshare.in",
  473. "milledrive.com",
  474. "quickupload.net",
  475. "safelink.in",
  476. "metadivx.com",
  477. "divxlink.com",
  478. "uploadrack.com",
  479. "teradepot.com",
  480. "dataup.to",
  481. "upit.to",
  482. "driveway.com",
  483. "eatlime.com",
  484. "a2zuploads.com",
  485. "friendlyfiles.net",
  486. "flyfile.us",
  487. "speedyshare.com",
  488. "uploadspace.eu",
  489. "keepfile.com",
  490. "piggyshare.com",
  491. "uplly.com",
  492. "filecrown.com",
  493. "6giga.com",
  494. "uploadjockey.com",
  495. "bluehost.to",
  496. "filegu.ru",
  497. "filebase.to",
  498. "up-file.com",
  499. "xvideos.com",
  500. "ufox.com",
  501. "filebling.com",
  502. "loaded.it",
  503. "uploadcell.com",
  504. "uploadshare.cz",
  505. "mangoshare.com",
  506. "filestab.com",
  507. "crazyupload.com",
  508. "gaiafile.com",
  509. "sharejunky.com",
  510. "fileho.com",
  511. "bigandfree.com",
  512. "bigfile.in",
  513. "bigshare.eu",
  514. "dahosting.org",
  515. "digisofts.net",
  516. "file4save.com",
  517. "filechip.com",
  518. "filescloud.com",
  519. "saveqube.com",
  520. "turboshare.de",
  521. "z-upload.com",
  522. "youshare.com",
  523. "jiffyupload.com",
  524. "gigeshare.com",
  525. "datenklo.net",
  526. "upload.dj",
  527. "loadfiles.in",
  528. "upit.to",
  529. "dsfileshare.com",
  530. "sharesimple.net",
  531. "4files.net",
  532. "wooupload.com",
  533. "odsiebie.com",
  534. "filenavi.com",
  535. "3oof.com",
  536. "meshwaar.com",
  537. "maxupload.com",
  538. "share.cx",
  539. "atserver.eu",
  540. "hotfiles.ws",
  541. "esnips.com",
  542. "tuxfile.com",
  543. "file2upload.net",
  544. "filebling.com",
  545. "turboshare.com",
  546. "rarhost.com",
  547. "isharehd.com",
  548. "i741.com",
  549. "dataup.de",
  550. "fofly.com",
  551. "shareonall.com",
  552. "sexuploader.com",
  553. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  554. "uploadhyper.com",
  555. "filespawn.com",
  556. "caizzii.com",
  557. "volnyweb.cz",
  558. "usershare.net",
  559. "filescash.net",
  560. "metahyper.com",
  561. "combozip.com",
  562. "x7.to",
  563. "uploadbox.com",
  564. "enterupload.com|flyupload.com",
  565. "filepoint.de",
  566. "mystream.to",
  567. "x-fs.com",
  568. "shareator.com",
  569. "srapid.eu",
  570. "sosame.cz",
  571. "filesdump.com",
  572. "2-klicks.de",
  573. "uploking.com",
  574. "silofiles.com",
  575. "upfile.in",
  576. "filehook.com",
  577. "uploadking.com",
  578. "uploadhere.com",
  579. "kewlshare.com",
  580. "rapidable.com",
  581. "uploadwaste.com",
  582. "filemup.com",
  583. "filesonic.com|sharingmatrix.com",
  584. "fileserve.com",
  585. "wupload.com",
  586. "skipfile.com",
  587. "smartuploader.com",
  588. "dualshare.com",
  589. "storeandserve.com",
  590. "mountfile.com",
  591. "transitfiles.com",
  592. "uploadstation.com",
  593. "filejungle.com",
  594. "shareshared.com",
  595. "quickyshare.com",
  596. "save.am",
  597. "petandrive.com",
  598. "file2box.com",
  599. "flyshare.cz",
  600. "yabadaba.ru",
  601. "cloudcache.cc",
  602. "yourfilehost.com",
  603. "jakfile.com",
  604. "kickload.com",
  605. "pyramidfiles.com",
  606. "refile.net",
  607. "zshare.net",
  608. "ddlani.me|ddlanime.com",
  609. "ftp2share.com",
  610. "fooget.com",
  611. "rapidhide.com",
  612. "gotupload.com",
  613. "mooload.com",
  614. "zupload.com",
  615. "mytempdir.com",
  616. "onionshare.com",
  617. "stahnu.to",
  618. "oron.com",
  619. "badongo.com",
  620. "filereactor.com",
  621. "filegaze.com",
  622. "4bytez.com",
  623. "1hostclick.com",
  624. "anonstream.com",
  625. "batshare.com",
  626. "bitroad.net",
  627. "brontofile.com",
  628. "cloudnxt.net",
  629. "cloudnator.com|shragle.com",
  630. "filesfrog.net",
  631. "coolshare.cz",
  632. "dotavi.com",
  633. "ezyfile.net",
  634. "file-bit.net",
  635. "filecosy.com",
  636. "fileduct.com|fileduct.net",
  637. "filefat.com",
  638. "filelaser.com",
  639. "filemashine.com",
  640. "fileserver.cc",
  641. "filetechnology.com",
  642. "fireuploads.net",
  643. "gigfiles.net",
  644. "holderfile.com",
  645. "ihostia.com",
  646. "k2files.com",
  647. "mojofile.com",
  648. "ovfile.com",
  649. "qshare.com",
  650. "shafiles.me",
  651. "sharefilehost.com",
  652. "shareupload.com",
  653. "stahuj.to",
  654. "ugotfile.com",
  655. "uploadboost.com",
  656. "fileom.com",
  657. "vidhog.com",
  658. "xfileshare.eu",
  659. "bzlink.us",
  660. "bulletupload.com",
  661. "bloggerarticles.com",
  662. "mojedata.sk",
  663. "sharpfile.com",
  664. "upgrand.com",
  665. "nasdilej.cz",
  666. "mediatack.cz",
  667. "share-it.to",
  668. "primeupload.com",
  669. "filebeer.info",
  670. "baberepublic",
  671. "xtu.me",
  672. "sharebase.de",
  673. "luckyshare.net",
  674. "filerobo.com",
  675. "filevelocity.com",
  676. "filezpro.com",
  677. "file4sharing.com",
  678. "cing.be",
  679. "ufile.eu",
  680. "pigsonic.com",
  681. "fileupped.com",
  682. "sharerun.com",
  683. "filesaur.com",
  684. "rapidslnare.com",
  685. "bestsharing.com",
  686. "savefiles.net",
  687. "file2share.biz",
  688. "filecache.de",
  689. "monsteruploads.eu",
  690. "b9bb.com",
  691. "aiotool.net",
  692. "jamber.info",
  693. "megaftp.com",
  694. "desiupload.net",
  695. "file27.com",
  696. "yastorage.com",
  697. "filehost.ws",
  698. "copyload.com",
  699. "venusfile.com",
  700. "aieshare.com",
  701. "terafile.co",
  702. "terafile.com",
  703. "fileza.net",
  704. "filerose.com",
  705. "squillion.com",
  706. "fileprohost.com",
  707. "bitbonus.com",
  708. "warserver.cz",
  709. "uload.to",
  710. "sharedbit.net",
  711. "megaload.it",
  712. "filewinds.com",
  713. "uploadcore.com",
  714. "syfiles.com",
  715. "eyesfile.com",
  716. "hotfile.com",
  717. "superupl.com",
  718. "oteupload.com",
  719. "henchfile.com",
  720. "filegag.com",
  721. "HenchFile.com",
  722. "filedefend.com",
  723. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  724. "megabitshare.com",
  725. "cloudzer.com",
  726. "asfile.com",
  727. "cloudzer.net",
  728. "clz.to",
  729. "extabit.com",
  730. "247upload.com",
  731. "2download.de",
  732. "4fastfile.com",
  733. "asixfiles.com",
  734. "berofile.com",
  735. "bigupload.com",
  736. "cepzo.com",
  737. "clouds.to",
  738. "cobrashare.sk",
  739. "coraldrive.net",
  740. "cyberlocker.ch",
  741. "czshare.com",
  742. "darkport.org",
  743. "dark-uploads.com",
  744. "davvas.com",
  745. "enigmashare.com",
  746. "erofly.cz",
  747. "fastsonic.net",
  748. "filebox.com",
  749. "filecity.net",
  750. "filedap.com",
  751. "filedino.com",
  752. "filedownloads.org",
  753. "filefolks.com",
  754. "fileking.co",
  755. "filemates.com",
  756. "files.to",
  757. "files2k.eu",
  758. "filesector.cc",
  759. "bitshare.com",
  760. "filesega.com",
  761. "filesend.net",
  762. "filestay.com",
  763. "filestrum.com",
  764. "fileuplo.de",
  765. "fileupup.com",
  766. "forunesia.com",
  767. "freeuploads.fr",
  768. "uploa.dk",
  769. "getthebit.com",
  770. "getzilla.net",
  771. "goldfile.eu",
  772. "good.com",
  773. "grupload.com",
  774. "hellfile.com",
  775. "hipfile.com",
  776. "hitfile.com",
  777. "hulkfile.eu|duckfile.net",
  778. "i-filez.com",
  779. "ifile.ws",
  780. "kupload.org",
  781. "packupload.com",
  782. "lemuploads.com",
  783. "limelinx.com",
  784. "maxshare.pl",
  785. "megarelease.org",
  786. "megashare.com",
  787. "minus.com",
  788. "mlfat4arab.com",
  789. "multishare.cz",
  790. "nirafile.com",
  791. "ok2upload.com",
  792. "peejeshare.com",
  793. "premiuns.org",
  794. "przeklej.net",
  795. "qkup.net",
  796. "rapidupload.sk",
  797. "rockdizfile.com",
  798. "rocketfile.net",
  799. "share-now.net",
  800. "share76.com",
  801. "sharebees.com",
  802. "sharefiles.co",
  803. "slingfile.com",
  804. "sms4file.com",
  805. "space4file.com",
  806. "tigershare.net",
  807. "toucansharing.com",
  808. "ubuntuone.com",
  809. "unextfiles.com",
  810. "upaj.pl",
  811. "upfile.biz",
  812. "uploadbin.net",
  813. "uploadic.com",
  814. "uploadinc.com",
  815. "uploading4u.eu",
  816. "uploadjet.net",
  817. "uploadorb.com",
  818. "upthe.net",
  819. "uptorch.com",
  820. "vidbox.yt",
  821. "videozer.com",
  822. "vreer.com",
  823. "wallobit.com",
  824. "zooupload.com",
  825. "privatefiles.com",
  826. "xerver.co",
  827. "BillionUploads.com",
  828. "rapidshare.com",
  829. "rapidshare.ru",
  830. "4savefile.com",
  831. "bayfiles.com",
  832. "bayfiles.net",
  833. "dodane.pl",
  834. "dotsemper.com",
  835. "egofiles.com",
  836. "epicshare.net",
  837. "fiberupload.net",
  838. "filemonkey.in",
  839. "filemonster.net",
  840. "filepom.com",
  841. "filesbb.com",
  842. "fileshareup.com",
  843. "filevice.com",
  844. "gigaup.fr",
  845. "isavelink.com",
  846. "loombo.com",
  847. "megafiles.se",
  848. "migupload.com",
  849. "mydisc.net",
  850. "nitrobits.com",
  851. "potload.com",
  852. "redload.net",
  853. "shareprofi.com",
  854. "sharesuper.info",
  855. "sinhro.net",
  856. "speedfile.cz",
  857. "speedshare.org",
  858. "storage.novoro.net",
  859. "swankshare.com",
  860. "swatupload.com",
  861. "upafile.com",
  862. "uploadmachine.com",
  863. "uploadsat.com",
  864. "upshared.com",
  865. "usefile.com",
  866. "yourfiles.to",
  867. "zomgupload.com",
  868. "ultramegabit.com",
  869. "uploadto.us",
  870. "inafile.com",
  871. "megairon.net",
  872.  
  873. ];
  874. ///////////////////////////////////////////////////////////////////////////////////////
  875. var firstRun = GM_getValue("First_run", true);
  876.  
  877. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  878. //////////////////////////////////////////////////////////////////////////////////////
  879. try
  880. {
  881. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  882. var last_known_version = GM_getValue("last_known_version", "");
  883. if (!last_known_version)
  884. {
  885. last_known_version = thisVersion;
  886. GM_setValue("last_known_version", last_known_version);
  887. }
  888. //var newVersion = !(thisVersion == last_known_version);
  889. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  890. GM_setValue("last_known_version", thisVersion);
  891. }
  892. catch (err)
  893. {
  894. var newVersion = false;
  895. }
  896.  
  897. var now = (new Date()).getTime();
  898. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  899. if (!last_custom_rules_nag)
  900. {
  901. last_custom_rules_nag = now;
  902. GM_setValue('last_custom_rules_nag', ''+now);
  903. }
  904.  
  905.  
  906. allHostNames.sort();
  907. allContainerNames.sort();
  908. allObsoleteNames.sort();
  909.  
  910. var RAND_STRING = "8QyvpOSsRG3QWq";
  911. var DEBUG_MODE = false;
  912.  
  913. var TOOLTIP_MAXWIDTH = 600; //in pixels
  914. var TOOLTIP_THUMBWIDTH = 200;
  915. var containers_processed = false;
  916.  
  917. //settings for keyboard functions start
  918. var CHECK_ALL_LINKS_KEY = "A";
  919. var CONFIGURATION_KEY = "C";
  920. var copy_to_dead_key = "D";
  921. var toggle_autocheck_key = "W";
  922. var toggle_Enable_Anonymizer_key = "Z";
  923. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  924. var first_key_keycodename = 'CTRL';
  925. var second_key_keycode = '18';
  926. var second_key_keycodename = 'ALT';
  927. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  928. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  929. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  930. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  931. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  932. //settings for keyboard functions end
  933.  
  934. //global settings start
  935. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  936. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  937. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  938. var Show_progress_stats, Display_tooltip_info, Icon_set;
  939. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  940. var Progress_box_refresh_rate;
  941. var Obsolete_file_hosts;
  942. var Custom_rules, Custom_rules_text;
  943.  
  944. var messageBox = document.createElement('b'); // top-left message box
  945.  
  946. var cLinksTotal = 0;
  947. var cLinksDead = 0;
  948. var cLinksAlive = 0;
  949. var cLinksUnava = 0;
  950. var cLinksprem = 0;
  951. var cLinksProcessed = 0;
  952.  
  953. var intervalId; //for updateProgress()
  954.  
  955. //icon resources
  956. 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//wd0yLESWK5WCoU41EScY5EmozzMqUiiU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AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  965.  
  966. 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==';
  967. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1s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lRXBYEYdsThSCsdeZlEkhYoBUqBJOioaV0V8YWLgU+Ew3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  969. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  970.  
  971. //global settings end
  972. if (window.opera && !window.console)
  973. {
  974. window.console = {};
  975.  
  976. function fn()
  977. {
  978. opera.postError(arguments);
  979. };
  980. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  981. {
  982. window.console[name] = fn;
  983. });
  984. }
  985.  
  986. //displays colored text in message box
  987. function sendMessage(text, color)
  988. {
  989. var msgDiv = document.createElement('div');
  990. msgDiv.style.color = color;
  991. msgDiv.innerHTML = text;
  992. messageBox.appendChild(msgDiv);
  993. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  994. }
  995.  
  996. function linkify(totalourls)
  997. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  998. var ikkeTilladteTags;
  999. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1000. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1001. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1002. allLinksRegex = new RegExp(allLinksRegex, "g");
  1003. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1004.  
  1005. if (Do_not_linkify_DL_links)
  1006. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1007. else
  1008. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1009.  
  1010. var regex = new RegExp(regexy);
  1011. var textNode, muligtLink;
  1012.  
  1013. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1014. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1015.  
  1016. var i = textNodes.snapshotLength;
  1017. while (i--)
  1018. {
  1019. textNode = textNodes.snapshotItem(i);
  1020.  
  1021. muligtLink = textNode.nodeValue; //all links on page
  1022.  
  1023. var myArray = null;
  1024. var span = null;
  1025. var lastLastIndex = 0;
  1026. allLinksRegex.lastIndex = 0;
  1027. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1028. {
  1029. if (textNode.parentNode.className == "adead_link") continue;
  1030. var censoredLink = muligtLink;
  1031. var span = document.createElement('span');
  1032. span.className = "adead_link";
  1033. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1034. $(span).html(censoredLink);
  1035. span.addEventListener("mouseover", displayTooltipError, false);
  1036. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1037. textNode.parentNode.replaceChild(span, textNode);
  1038. continue;
  1039. alert(censoredLink);
  1040. }
  1041. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1042. {
  1043. if (!regex.test(myArray[0])) //this link is not recognized
  1044. {
  1045.  
  1046. continue;
  1047. }
  1048. if (!span)
  1049. span = document.createElement('span');
  1050.  
  1051. var link = myArray[0];
  1052. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1053.  
  1054. var $a = $("<a>" + link + "</a>")
  1055. if (!link.match(/https?:\/\//))
  1056. {
  1057. link = 'http://' + link;
  1058. }
  1059.  
  1060. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1061. .addClass("processing_link")
  1062. .appendTo(span);
  1063. lastLastIndex = allLinksRegex.lastIndex;
  1064. }
  1065. if (span)
  1066. {
  1067. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1068. textNode.parentNode.replaceChild(span, textNode);
  1069. }
  1070. }
  1071. }
  1072.  
  1073. function add_WARLC_style()
  1074. {
  1075. if (!(document.getElementsByTagName('WARLC')[0]))
  1076. {
  1077. var meta_not_to_add_more_style = document.createElement("WARLC");
  1078. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1079. meta_not_to_add_more_style.setAttribute('name', 'description');
  1080. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1081. alive_link_png = "";
  1082. adead_link_png = "";
  1083. unava_link_png = "";
  1084. prem_link_png = "";
  1085. switch(Icon_set)
  1086. {
  1087. //no icons
  1088. case 0: break;
  1089. // cat paws
  1090. case 1: alive_link_png = PAW_ICON_GREEN;
  1091. adead_link_png = PAW_ICON_RED;
  1092. unava_link_png = PAW_ICON_YELLOW;
  1093. prem_link_png = PAW_ICON_PINK;
  1094. break;
  1095. // classic RSLC look
  1096. case 2: alive_link_png = RSLC_ICON_GREEN;
  1097. adead_link_png = RSLC_ICON_RED;
  1098. unava_link_png = RSLC_ICON_YELLOW;
  1099. prem_link_png = RSLC_ICON_PINK;
  1100. break;
  1101. // New Icons
  1102. case 3: alive_link_png = NEW_ICON_GREEN;
  1103. adead_link_png = NEW_ICON_RED;
  1104. unava_link_png = NEW_ICON_YELLOW;
  1105. prem_link_png = NEW_ICON_PINK;
  1106. break;
  1107. // cat paws
  1108. default:alive_link_png = PAW_ICON_GREEN;
  1109. adead_link_png = PAW_ICON_RED;
  1110. unava_link_png = PAW_ICON_YELLOW;
  1111. prem_link_png = PAW_ICON_PINK;
  1112. break;
  1113. }
  1114. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1115. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1116.  
  1117. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1118.  
  1119. if (Color_DL_links)
  1120. {
  1121. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1122. live_color_css = 'color:' + Live_links_color + ' !important;';
  1123. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1124. container_color_css = 'color:' + Container_links_color + ' !important;';
  1125. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1126. }
  1127. else
  1128. {
  1129. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1130. }
  1131.  
  1132. if (Show_black_background_in_DL_links)
  1133. {
  1134. black_background_css = 'background-color: black !important;';
  1135. }
  1136. else
  1137. {
  1138. black_background_css = '';
  1139. }
  1140.  
  1141. if (Show_line_through_in_dead_links)
  1142. {
  1143. line_through_css = 'text-decoration: line-through !important;';
  1144. }
  1145. else
  1146. {
  1147. line_through_css = '';
  1148. }
  1149.  
  1150. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1151. 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 + "}");
  1152. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1153. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1154. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1155. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1156. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1157. }
  1158. }
  1159.  
  1160. var warlcTooltip = null;
  1161. var mouseoverLink = null; //link href with mouse cursor over it
  1162.  
  1163. var lastX = 0;
  1164. var lastY = 0;
  1165.  
  1166. $(document).ready(initTooltip);
  1167. //inits tooltip
  1168. function initTooltip()
  1169. { warlcTooltip = document.createElement("div");
  1170. 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;");
  1171. warlcTooltip.style.visibility = "hidden";
  1172. document.body.appendChild(warlcTooltip);
  1173. }
  1174.  
  1175. //"mousemove" event handler for all links
  1176. function moveTooltip(event)
  1177. {
  1178. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1179. { //no need to reflow if the cursor moved just a little
  1180. return;
  1181. }
  1182. else
  1183. {
  1184. lastX = event.clientX;
  1185. lastY = event.clientY;
  1186. }
  1187.  
  1188. posX = event.clientX + window.pageXOffset + 10;
  1189. posY = event.clientY + window.pageYOffset;
  1190. var ttHeight = warlcTooltip.offsetHeight;
  1191. var ttFreeSpace = window.innerHeight - event.clientY;
  1192. if (ttHeight > ttFreeSpace)
  1193. { //prevents tooltip from getting out of the window
  1194. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1195. }
  1196. else
  1197. {
  1198. posY += 7;
  1199. }
  1200. warlcTooltip.style.top = posY + "px";
  1201. warlcTooltip.style.left = posX + "px";
  1202. }
  1203.  
  1204. //"mouseout" event handler for all links
  1205. function hideTooltip(){
  1206. warlcTooltip.style.visibility = "hidden";
  1207. mouseoverLink = null;
  1208. }
  1209.  
  1210.  
  1211. //"mouseover" event handler for dead links
  1212. //displays tooltip error message on dead links
  1213. function displayTooltipError()
  1214. {
  1215. mouseoverLink = this.href;
  1216. this.addEventListener("mouseout", hideTooltip);
  1217. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1218. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1219. warlcTooltip.style.minWidth = 0;
  1220. warlcTooltip.style.visibility = "visible";
  1221. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1222. {
  1223. warlcTooltip.innerHTML = this.warlc_error;
  1224. }
  1225. else
  1226. {
  1227. loadErrorInfo(this);
  1228. }
  1229. function loadErrorInfo(link)
  1230. {
  1231. var href = link.href;
  1232. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1233. GM_xmlhttpRequest({
  1234. method: 'GET',
  1235. url: href.replace(Ref_anonymize_service, ""),
  1236. headers: {
  1237. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1238. 'Accept': 'text/xml',
  1239. 'Referer': ""
  1240. },
  1241. onload: function(result) {
  1242. var res = result.responseText;
  1243. //TODO: errorRegexs -
  1244. var errorRegexs = [ //generic error messages follow
  1245. /(empty directory)/i,
  1246. /(soubor nebyl nalezen)/i,
  1247. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1248. //server specific error messages follow
  1249. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1250. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1251. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1252. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1253. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1254. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1255. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1256. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1257. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1258. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1259. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1260. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1261. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1262. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1263. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1264. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1265. /(File has been removed due to Copyright Claim)/, //filerio
  1266. ];
  1267. var errorIdx = errorRegexs.length;
  1268. var error = "Cause of error: <b>unknown</b>";
  1269. var errorCandidate = "";
  1270. while(errorIdx--)
  1271. {
  1272. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1273. if (errorCandidate != null)
  1274. {
  1275. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1276. break;
  1277. }
  1278. }
  1279. //link attributes
  1280. link.warlc_error = error;
  1281. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1282. {
  1283. warlcTooltip.innerHTML = error;
  1284. }
  1285. }
  1286. });
  1287. }
  1288. }
  1289.  
  1290. //"mouseover" event handler for alive links
  1291. //displays tooltip info (file size, file name,...) on alive links
  1292. function displayTooltipInfo()
  1293. {
  1294. mouseoverLink = this.href;
  1295. //exclude direct download filehostings
  1296. 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)/))
  1297. {
  1298. return;
  1299. }
  1300. this.addEventListener("mouseout", hideTooltip);
  1301. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1302. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1303. warlcTooltip.style.minWidth = 0;
  1304. warlcTooltip.style.visibility = "visible";
  1305. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1306. {
  1307. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1308. }
  1309. else
  1310. {
  1311. loadInfo(this);
  1312. }
  1313. function loadInfo(link)
  1314. {
  1315. var href = link.href;
  1316. GM_xmlhttpRequest({
  1317. method: 'GET',
  1318. url: href.replace(Ref_anonymize_service, ""),
  1319. headers: {
  1320. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1321. 'Accept': 'text/xml',
  1322. 'Referer': ""
  1323. },
  1324. onload: function(result) {
  1325. var res = result.responseText;
  1326. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1327. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1328. /fl" title="(.+?)">/, //edisk
  1329. /<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
  1330. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1331. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1332. /title="download (.+?)">/, //sendspace
  1333. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1334. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1335. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1336. /d0FileName = "(.+?)";/, //letitbit
  1337. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1338. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1339. /fname" value="(.+?)">/, //syfiles, grupload,
  1340. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1341. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1342. /Complete name : (.+?)<br \/>/, //bezvadata
  1343. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1344. ];
  1345. var nameIdx = nameRegexs.length;
  1346. // [sizeRegexs]
  1347. // / \ \?
  1348. // prefix (size) postfix
  1349. // / \
  1350. // val quant
  1351. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1352. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1353. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1354. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1355. var postSizeRegex = '(?:\\))?';
  1356. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1357. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1358. ];
  1359. var sizeIdx = sizeRegexs.length;
  1360. //
  1361. //
  1362. var tooltip = "File Name: <b>";
  1363. var fileName = "unknown";
  1364. var nameCandidate = "";
  1365. while(nameIdx--)
  1366. {
  1367. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1368. if (nameCandidate != null)
  1369. {
  1370. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1371. break;
  1372. }
  1373. }
  1374. tooltip += fileName + "</b><br>File Size: <b>";
  1375. var fileSize = "unknown";
  1376. var sizeCandidate = "";
  1377. while(sizeIdx--)
  1378. {
  1379. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1380. if (sizeCandidate != null)
  1381. {
  1382. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1383. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1384. {
  1385. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1386. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1387. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1388. }
  1389. break;
  1390. }
  1391. }
  1392. tooltip += fileSize + "</b>";
  1393. // PROTOTYPE
  1394. // video thumbnails
  1395. if (href.match('hellshare'))
  1396. {
  1397. var thumbs;
  1398. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1399. if (thumbs)
  1400. {
  1401. tooltip += '<br>';
  1402. var j = Math.min(thumbs.length, 9);
  1403. for (var i = 0; i < j; i++)
  1404. {
  1405. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1406. }
  1407. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1408. }
  1409. }
  1410. if (href.match('czshare'))
  1411. {
  1412. var thumbs;
  1413. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1414. if (thumbs)
  1415. {
  1416. var thumbsServer = thumbs[1];
  1417. var thumbsId = thumbs[2];
  1418. tooltip += '<br>';
  1419. for (var i = 1; i < 9; i++)
  1420. {
  1421. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1422. }
  1423. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1424. }
  1425. }
  1426. if (href.match('bezvadata'))
  1427. {
  1428. var thumbs;
  1429. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1430. if (thumbs)
  1431. {
  1432. tooltip += '<br>';
  1433. var j = Math.min(thumbs.length, 9);
  1434. for (var i = 0; i < j; i++)
  1435. {
  1436. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1437. }
  1438. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1439. }
  1440. }
  1441. link.warlc_tooltipcache = tooltip;
  1442. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1443. {
  1444. warlcTooltip.innerHTML = tooltip;
  1445. }
  1446. }
  1447. });
  1448. }
  1449. }
  1450.  
  1451. function setVariables()
  1452. {
  1453. if (firstRun)
  1454. {
  1455. GM_log('First run, applying default settings...');
  1456. GM_setValue("Icon_set",1);
  1457. GM_setValue("Display_tooltip_info",true);
  1458. GM_setValue("Show_black_background_in_DL_links",false);
  1459. GM_setValue("Show_line_through_in_dead_links",false);
  1460. GM_setValue("Display_full_links_in_link_containers",false);
  1461. GM_setValue("Allow_spaces_in_DL_links",false);
  1462. GM_setValue("Autocheck",true);
  1463. GM_setValue("Enable_Anonymizer",false);
  1464. GM_setValue("Do_not_linkify_DL_links",false);
  1465. GM_setValue("Show_progress_stats",true);
  1466. GM_setValue("Keyboard_functions",true);
  1467. GM_setValue("Obsolete_file_hosts",false);
  1468. GM_setValue("Color_DL_links",true);
  1469. GM_setValue("Live_links_color","Green");
  1470. GM_setValue("Dead_links_color","#FF3300");
  1471. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1472. GM_setValue("Container_links_color","DarkKhaki");
  1473. GM_setValue("Premium_links_color","DeepPink");
  1474. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1475. GM_setValue("Custom_rules",false);
  1476. GM_setValue("Custom_rules_text","");
  1477. GM_setValue("First_run", false);
  1478. }
  1479. //hidden settings
  1480. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1481. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1482. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1483. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1484. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1485. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1486. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1487. //hidden settings end
  1488.  
  1489. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1490. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1491. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1492. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1493. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1494. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1495. Autocheck = GM_getValue("Autocheck", true);
  1496. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1497. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1498. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1499. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1500. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1501. Color_DL_links = GM_getValue("Color_DL_links", true);
  1502. Live_links_color = GM_getValue("Live_links_color", "Green");
  1503. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1504. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1505. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1506. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1507. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1508. Custom_rules = GM_getValue("Custom_rules", false);
  1509. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1510. }
  1511.  
  1512.  
  1513. // Delinkifies the links
  1514. // params:
  1515. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1516. // e.g. 'uloz.to/xs68skxl8')
  1517. function delinkifySnapshot(snapshot)
  1518. {
  1519. var n = snapshot.snapshotLength;
  1520.  
  1521. while (n--)
  1522. {
  1523. thisLink = snapshot.snapshotItem(n);
  1524.  
  1525. var spanElm = document.createElement("span");
  1526. spanElm.className = thisLink.className;
  1527. spanElm.innerHTML = thisLink.innerHTML;
  1528.  
  1529. if (Display_tooltip_info)
  1530. {
  1531. spanElm.href = thisLink.href;
  1532. switch (thisLink.className){
  1533. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1534. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1535. case "unava_link": //reserved
  1536. default:
  1537. }
  1538. }
  1539. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1540. }
  1541. }
  1542.  
  1543. function processContainers()
  1544. {
  1545. var redirectorTypes = { "HTTP_302": 0,
  1546. "INNER_LINK": 1,
  1547. "THELOO_KATT_IT": 2,
  1548. "CING_BE": 3,
  1549. "ADF_LY": 4};
  1550. var cMultiloadTotal = 0;
  1551. var cMultiloadProcessed = 0;
  1552.  
  1553. var cMirrorcreatorComTotal = 0;
  1554. var cMirrorcreatorComProcessed = 0;
  1555.  
  1556. var hostRestrictionRegex = "";
  1557. var multiloadComRestriction = "";
  1558. var multiloadComRestrictionRegex;
  1559.  
  1560. //
  1561. //HANDLING REDIRECTORS START
  1562. //
  1563.  
  1564. var redirectors = new Array();
  1565. initRedirectors();
  1566.  
  1567. var redirectorsCount = redirectors.length;
  1568.  
  1569. if (redirectorsCount > 0)
  1570. {
  1571. var allRedirectorsRegex = "";
  1572.  
  1573. //linkify redirector links
  1574. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1575. {
  1576. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1577. }
  1578. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1579. linkify(allRedirectorsRegex);
  1580. //
  1581. //process redirector links
  1582. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1583. {
  1584. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1585. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1586.  
  1587. cLinksTotal += redirectors[redirIdx].cTotal;
  1588. var linkIdx = redirectors[redirIdx].cTotal;
  1589.  
  1590. while(linkIdx--)
  1591. {
  1592. switch(redirectors[redirIdx].type)
  1593. {
  1594. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1595. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1596. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1597. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1598. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1599. default:
  1600. }
  1601. }
  1602. }
  1603. //
  1604. }
  1605.  
  1606. //HTTP_302
  1607. function processRedirectorLink(link, redirectorId)
  1608. {
  1609. link.className = 'container_link';
  1610.  
  1611. GM_xmlhttpRequest({
  1612. method: 'HEAD',
  1613. url: link.href,
  1614. headers: {
  1615. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1616. 'Accept': 'text/xml',
  1617. 'Referer': ""
  1618. },
  1619. onload: function(result) {
  1620. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1621. {
  1622. processRedirectorLink(link, redirectorId);
  1623. }
  1624. else
  1625. {
  1626. redirectors[redirectorId].cProcessed++;
  1627. link.href = result.finalUrl;
  1628. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1629. checkLinks('container_link');
  1630. }
  1631. },
  1632. onerror: function(result) { //probably caused by unresponsive filehosting
  1633. redirectors[redirectorId].cProcessed++;
  1634. link.className = 'unava_link';
  1635. cLinksProcessed++;
  1636. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1637. checkLinks('container_link');
  1638. }
  1639. });
  1640. }
  1641. //INNER_LINK
  1642. function processRedirectorLinkEx(link, redirectorId)
  1643. {
  1644. link.className = 'container_link';
  1645. GM_xmlhttpRequest({
  1646. method: 'GET',
  1647. url: link.href,
  1648. headers: {
  1649. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1650. 'Accept': 'text/xml',
  1651. 'Referer': ""
  1652. },
  1653. onload: function(result) {
  1654. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1655. redirectors[redirectorId].cProcessed++;
  1656. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1657. checkLinks('container_link');
  1658. }
  1659. });
  1660. }
  1661. //theloo.katt.it (wrapped safelinking.net)
  1662. function processThelooKattItLink(link, redirectorId)
  1663. {
  1664. link.className = 'container_link';
  1665. GM_xmlhttpRequest({
  1666. method: 'GET',
  1667. url: link.href,
  1668. headers: {
  1669. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1670. 'Accept': 'text/xml',
  1671. 'Referer': ""
  1672. },
  1673. onload: function(result) {
  1674. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1675. redirectors[redirectorId].cProcessed++;
  1676. //the inner links are safelinking.net links, so lets proceed with it
  1677. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1678. {
  1679. processRedirectorLink(link, 0);
  1680. }
  1681. }
  1682. });
  1683. }
  1684. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1685. function processAdfLyLink(link, redirectorId)
  1686. {
  1687. link.className = 'container_link';
  1688. GM_xmlhttpRequest({
  1689. method: 'GET',
  1690. url: link.href,
  1691. headers: {
  1692. 'User-agent': 'Mozilla/4.0',
  1693. 'Accept': 'text/xml',
  1694. 'Referer': ""
  1695. },
  1696. onload: function(result) {
  1697. if (result.finalUrl.match('/locked/'))
  1698. {
  1699. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1700. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1701. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1702. }
  1703. else
  1704. {
  1705. // GM_log('Processing... ' + link.href);
  1706. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1707. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1708. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1709. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1710. //confirm advert
  1711. GM_xmlhttpRequest(
  1712. {
  1713. method: 'POST',
  1714. url: 'http://adf.ly/l.php',
  1715. headers: {
  1716. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1717. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1718. 'Referer': link.href
  1719. },
  1720. data: users + '&lt=' + logToken,
  1721. onload: function(result) {
  1722. //retrieve final url from .../go/... link
  1723. GM_xmlhttpRequest({
  1724. method: 'GET',
  1725. url: directLink,
  1726. headers: {
  1727. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1728. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1729. 'Referer': link.href
  1730. },
  1731. onload: function(result) {
  1732. link.href = result.finalUrl;
  1733. redirectors[redirectorId].cProcessed++;
  1734. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1735. checkLinks('container_link');
  1736. }
  1737. });
  1738. }
  1739. });
  1740. }
  1741. }
  1742. });
  1743. function proceedOK()
  1744. {
  1745. }
  1746. }
  1747. //MULTILOAD.CZ START
  1748. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1749. {
  1750. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1751. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1752.  
  1753. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1754.  
  1755. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1756. hostRestrictionRegex += 'hellshare|';
  1757. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1758. hostRestrictionRegex += 'downloadhellshare|';
  1759. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1760. hostRestrictionRegex += 'share-rapid\\.com|';
  1761. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1762. hostRestrictionRegex += 'quickshare\\.cz|';
  1763. if (GM_getValue("Check_czshare_dot_com_links", false))
  1764. hostRestrictionRegex += 'czshare\\.com|';
  1765. if (GM_getValue("Check_uloz_dot_to_links", false))
  1766. hostRestrictionRegex += 'uloz\\.to|';
  1767. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1768. hostRestrictionRegex += 'hellspy|';
  1769. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1770. hostRestrictionRegex += 'multishare\\.cz|';
  1771.  
  1772. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1773.  
  1774. linkify(mlRegex);
  1775.  
  1776. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1777. var mlCount = mlSnapshot.snapshotLength;
  1778.  
  1779. if (mlCount > 0)
  1780. {
  1781. cMultiloadTotal += mlCount;
  1782.  
  1783. mlIdx = mlCount - 1;
  1784. do
  1785. {
  1786. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1787. }
  1788. while(mlIdx--)
  1789. }
  1790. }
  1791. //MULTILOAD.CZ END
  1792.  
  1793.  
  1794.  
  1795. function processMultiloadLink(mlLink)
  1796. {
  1797. GM_xmlhttpRequest({
  1798. method: 'GET',
  1799. url: mlLink.href,
  1800. headers: {
  1801. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1802. 'Accept': 'text/xml',
  1803. 'Referer': ""
  1804. },
  1805. onload: function(result) {
  1806. var res = result.responseText;
  1807.  
  1808. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1809. 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;
  1810. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1811. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1812.  
  1813. var blocks; // blocks of links
  1814. var blockIdx;
  1815.  
  1816. mlLink.className = '';
  1817.  
  1818. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1819. {
  1820. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1821. return;
  1822. }
  1823.  
  1824. blocks = res.match(innerBlockRegex);
  1825.  
  1826. if (blocks == null) //no links found, cancel further processing
  1827. {
  1828. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1829. cMultiloadProcessed++;
  1830. if (cMultiloadTotal <= cMultiloadProcessed)
  1831. {
  1832. startBulkCheck('container_link');
  1833. start('container_link');
  1834. }
  1835. return;
  1836. }
  1837.  
  1838. blockIdx = blocks.length;
  1839.  
  1840. if (Display_full_links_in_link_containers)
  1841. {
  1842. var ulElm = document.createElement('ul');
  1843. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1844.  
  1845. while(blockIdx--)
  1846. {
  1847. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1848. {
  1849. continue;
  1850. }
  1851.  
  1852. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1853.  
  1854. var linkIdx = innerLinks.length;
  1855. while (linkIdx--)
  1856. {
  1857. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1858.  
  1859. var liElm = document.createElement('li');
  1860.  
  1861. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1862. {
  1863. liElm.appendChild(document.createTextNode(innerLink));
  1864. }
  1865. else
  1866. {
  1867. var aElm = document.createElement('a');
  1868. aElm.innerHTML = innerLink;
  1869. aElm.href = innerLink;
  1870. aElm.className = 'container_link';
  1871.  
  1872. liElm.appendChild(aElm);
  1873. }
  1874.  
  1875. ulElm.appendChild(liElm);
  1876. cLinksTotal++;
  1877. }
  1878. }
  1879.  
  1880. mlLink.parentNode.appendChild(ulElm);
  1881. }
  1882. else //compact view
  1883. {
  1884. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1885.  
  1886. while(blockIdx--)
  1887. {
  1888. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1889. {
  1890. continue;
  1891. }
  1892.  
  1893. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1894.  
  1895. var linkIdx = innerLinks.length;
  1896. while (linkIdx--)
  1897. {
  1898. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1899.  
  1900. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1901. {
  1902. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1903. }
  1904. else
  1905. {
  1906. var aElm = document.createElement('a');
  1907.  
  1908. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1909.  
  1910. //abbreviate host name
  1911. switch(hostName + ""){
  1912.  
  1913. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1914. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1915. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1916. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1917. case 'multishare': aElm.innerHTML = 'MS'; break;
  1918. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1919. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1920. case 'czshare': aElm.innerHTML = 'CS'; break;
  1921. default: aElm.innerHTML = 'xx';
  1922.  
  1923. }
  1924.  
  1925. aElm.href = innerLink;
  1926. aElm.className = 'container_link';
  1927.  
  1928. mlLink.parentNode.appendChild(aElm);
  1929. cLinksTotal++;
  1930. }
  1931. }
  1932.  
  1933. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1934.  
  1935. }
  1936. }
  1937.  
  1938. cMultiloadProcessed++;
  1939. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1940. {
  1941. if (Do_not_linkify_DL_links)
  1942. {
  1943. delinkifySnapshot(mlSnapshot);
  1944. }
  1945. startBulkCheck('container_link');
  1946. start('container_link');
  1947. }
  1948. }
  1949. });
  1950. }
  1951.  
  1952.  
  1953. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1954. {
  1955. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1956. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1957. var mcShortHostNames =
  1958. '?? 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';
  1959. // 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
  1960. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1961. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1962. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1963. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1964.  
  1965. linkify(mcRegex);
  1966.  
  1967. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1968. var mcCount = mcSnapshot.snapshotLength;
  1969.  
  1970. cMirrorcreatorComTotal = mcCount;
  1971.  
  1972. if (mcCount > 0)
  1973. {
  1974. mcShortHostNames = mcShortHostNames.split(' ');
  1975. mcIdx = mcCount;
  1976. while(mcIdx--)
  1977. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1978. }
  1979.  
  1980. }
  1981. //MIRRORCREATOR.CZ END
  1982.  
  1983.  
  1984. //mirrorcreator.com checking works like this:
  1985. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1986. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1987. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1988. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1989. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1990. function processMirrorcreatorLink(mcLink)
  1991. {
  1992. var mcURL = mcLink.href.match(mcRegex);
  1993. if(!mcURL || !mcURL[1]) return;
  1994. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1995. GM_xmlhttpRequest({
  1996. method: 'GET',
  1997. url: mcURL,
  1998. headers: {
  1999. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2000. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2001. 'Referer': ""
  2002. },
  2003. onload: function(mcLinkResult) {
  2004. var mcLinkRes = mcLinkResult.responseText;
  2005.  
  2006. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2007. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2008.  
  2009. var mcRedirectors;
  2010. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2011. var m = mcLinkRes.match(mcLinkBlockRegex);
  2012. if (m)
  2013. mcHostsFound = m.length;
  2014. else
  2015. { //no files inside container
  2016. processMirrorcreatorFoundHosts(mcLink, []);
  2017. return;
  2018. }
  2019.  
  2020. var mcRedirectorURL, idx, timedOut = false;
  2021.  
  2022. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2023. GM_xmlhttpRequest({
  2024. method: 'GET',
  2025. url: mcRedirectorURL,
  2026. headers: {
  2027. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2028. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2029. 'Referer': ""
  2030. },
  2031. onload: function(mcHostResult) {
  2032. if (timedOut) return; //too late, the list is already displayed
  2033. var mcHostRes = mcHostResult.responseText;
  2034. var mcHost = mcHostRes.match(mcHostRegex);
  2035. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2036. if (mcHost && idx!=-1)
  2037. {
  2038. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2039. mcHostsRetrieved++;
  2040. mcHostsToProcess++;
  2041. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2042. {
  2043. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2044. mcHostsToProcess = 0;
  2045. }
  2046. }
  2047. } //end of onload: function
  2048. }); //end of GM_xmlhttpRequest call
  2049. };//end of var gmxhrFunc
  2050.  
  2051. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2052. { //load individual redirector pages
  2053. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2054. mcHostURLs.push(mcRedirectorURL);
  2055. mcRedirectorIDs.push(mcRedirectors[2]);
  2056. gmxhrFunc(mcRedirectorURL);
  2057. } //end of while block
  2058.  
  2059. setTimeout(function(){ //in case the last page fails to load and call the function
  2060. timedOut = true;
  2061. if (mcHostsToProcess)
  2062. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2063. }, 60000);
  2064.  
  2065. } //end of onload function
  2066. }); //end of GM_xmlhttpRequest call
  2067. } //end of function processMirrorcreatorLink
  2068.  
  2069.  
  2070. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2071. {
  2072. var aEl, liEl, docFrag;
  2073. var hostName, mcRedirectorID, trimFilename = false;
  2074. var i = mcHostURLs.length;
  2075. if (i == 0)
  2076. {
  2077. trimFilename = true;
  2078. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2079. }
  2080. else
  2081. {
  2082. if (Display_full_links_in_link_containers)
  2083. { //full view
  2084. var wrapperEl = document.createElement('span');
  2085. wrapperEl.style.display = 'block';
  2086. var ulistEl = document.createElement('ul');
  2087. ulistEl.className = 'container_list';
  2088. while (i--)
  2089. {
  2090. liEl = document.createElement('li');
  2091. aEl = document.createElement('a');
  2092. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2093. aEl.href = mcHostURLs[i];
  2094. aEl.className = 'container_link';
  2095. liEl.appendChild(aEl);
  2096. ulistEl.appendChild(liEl);
  2097. }
  2098. wrapperEl.appendChild(ulistEl);
  2099. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2100. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2101. }
  2102. else
  2103. { //compact view
  2104. trimFilename = true;
  2105. docFrag = document.createDocumentFragment();
  2106. docFrag.appendChild(document.createTextNode(' |'));
  2107. while (i--)
  2108. {
  2109. mcRedirectorID = mcRedirectorIDs[i];
  2110. hostName = mcHostURLs[i];
  2111. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2112. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2113. else
  2114. hostName = mcShortHostNames[mcRedirectorID];
  2115. aEl = document.createElement('a');
  2116. aEl.href = mcHostURLs[i];
  2117. aEl.className = 'container_link';
  2118. aEl.appendChild(document.createTextNode(hostName));
  2119. docFrag.appendChild(aEl);
  2120. docFrag.appendChild(document.createTextNode('|'));
  2121. }
  2122. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2123. } //end of else block
  2124. } //end of else block
  2125. mcLink.className = '';
  2126. if (trimFilename)
  2127. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2128. cMirrorcreatorComProcessed++;
  2129. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2130. {
  2131. if (Do_not_linkify_DL_links)
  2132. delinkifySnapshot(mcSnapshot);
  2133. startBulkCheck('container_link');
  2134. start('container_link');
  2135. }
  2136. } //end of function processMirrorcreatorFoundHosts
  2137.  
  2138. containers_processed = true;
  2139.  
  2140.  
  2141. function initRedirectors()
  2142. {
  2143. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2144. {
  2145. var redirector = new Object();
  2146. redirector.linkRegex = linkRegex;
  2147. redirector.xpath = xpathEx; //xpath expression
  2148. redirector.cProcessed = 0; //processed links count
  2149. redirector.cTotal = 0; //total links count
  2150. redirector.type = redirType; //redirectorTypes enum
  2151. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2152. redirectors.push(redirector);
  2153. }
  2154. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2155. {
  2156. addRedirector(
  2157. 'safelinking\\.net\/d\/\\w+',
  2158. "//a[contains(@href,'safelinking.net/d/')]",
  2159. redirectorTypes.HTTP_302,
  2160. null);
  2161. }
  2162. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2163. {
  2164. addRedirector(
  2165. 'linksafe\\.me\/d\/\\w+',
  2166. "//a[contains(@href,'linksafe.me/d/')]",
  2167. redirectorTypes.HTTP_302,
  2168. null);
  2169. }
  2170. if (GM_getValue("Check_linkto_dot_net_links", false))
  2171. {
  2172. addRedirector(
  2173. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2174. "//a[contains(@href,'linkto.net/?')]",
  2175. redirectorTypes.INNER_LINK,
  2176. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2177. }
  2178. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2179. {
  2180. addRedirector(
  2181. '(?:the)?loo\\.katt\\.it\/\\w+',
  2182. "//a[contains(@href,'loo.katt.it/')]",
  2183. redirectorTypes.THELOO_KATT_IT,
  2184. /Proceed to URL - <a href="(.+?)">/);
  2185. }
  2186. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2187. {
  2188. addRedirector(
  2189. 'madlink\\.sk\/\\w+',
  2190. "//a[contains(@href,'madlink.sk/')]",
  2191. redirectorTypes.INNER_LINK,
  2192. /name="url" value="(.+?)\s*"\/>/);
  2193. }
  2194. if (GM_getValue("Check_adf_dot_ly_links", false))
  2195. {
  2196. addRedirector(
  2197. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2198. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2199. redirectorTypes.ADF_LY,
  2200. null);
  2201. }
  2202. if (GM_getValue("Check_redi_dot_re_links", false))
  2203. {
  2204. addRedirector(
  2205. 'redi\\.re\/\\w+',
  2206. "//a[contains(@href,'redi.re/')]",
  2207. redirectorTypes.HTTP_302,
  2208. null);
  2209. }
  2210. if (GM_getValue("Check_bit_dot_ly_links", false))
  2211. {
  2212. addRedirector(
  2213. 'bit\\.ly\/\\w+',
  2214. "//a[contains(@href,'bit.ly/')]",
  2215. redirectorTypes.HTTP_302,
  2216. null);
  2217. }
  2218. }
  2219.  
  2220. }
  2221.  
  2222. var bulkHosts = new Array();
  2223. var bulkHostNames = new Array();
  2224. function initBulkCheck()
  2225. {
  2226. /////////////////////////////
  2227. // Inits filehost object
  2228. /////////////////////////////
  2229. // params :
  2230. // hostName -- [string] host name (multiple domains separated with coma)
  2231. // linkRegex -- [string] link regex
  2232. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2233. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2234. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2235. // corrReplWhat -- [regex] link correction regex (replace)
  2236. // corrReplWith -- [string]
  2237. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2238. //
  2239. // apiUrl -- [string] web linkchecker or API URL
  2240. // postData -- [string] POSTDATA of xmlhttprequest
  2241. // resLinkRegex -- [regex]
  2242. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2243. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2244. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2245. // func -- [function] bulkcheck handler, genBulkCheck if null
  2246. //
  2247. //////////////////////////////
  2248. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2249. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2250. {
  2251. var fileHost = new Object();
  2252.  
  2253. fileHost.linkRegex = linkRegex;
  2254. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2255. fileHost.xpath = xpath;
  2256. fileHost.cFound = 0; //found links counter
  2257. fileHost.links = new Array(); //found links
  2258. if (blockSize == null)
  2259. {
  2260. fileHost.blockSize = 50;
  2261. }
  2262. else
  2263. {
  2264. fileHost.blockSize = blockSize;
  2265. }
  2266. fileHost.corrMatch = corrMatch;
  2267. fileHost.corrReplWhat = corrReplWhat;
  2268. fileHost.corrReplWith = corrReplWith;
  2269. if (splitSeparator == null)
  2270. {
  2271. fileHost.splitSeparator = "\r\n";
  2272. }
  2273. else
  2274. {
  2275. fileHost.splitSeparator = splitSeparator;
  2276. }
  2277. fileHost.apiUrl = apiUrl;
  2278. fileHost.postData = postData;
  2279. fileHost.resLinkRegex = resLinkRegex;
  2280. fileHost.resLiveRegex = resLiveRegex;
  2281. fileHost.resDeadRegex = resDeadRegex;
  2282. fileHost.resUnavaRegex = resUnavaRegex;
  2283. if (func == null)
  2284. {
  2285. fileHost.func = genBulkCheck;
  2286. }
  2287. else
  2288. {
  2289. fileHost.func = func;
  2290. }
  2291. bulkHosts.push(fileHost);
  2292. var names = hostName.split(',');
  2293. var i = names.length;
  2294. while(i--)
  2295. {
  2296. bulkHostNames[names[i]] = fileHost;
  2297. }
  2298. }
  2299. var genType1 = [
  2300. "rodfile.com", "downloadani.me", //"migahost.com",
  2301. "rarefile.net",
  2302. "filesabc.com",
  2303. "verzend.be",
  2304. // "movreel.com",
  2305. "4up.me",
  2306. "file4safe.com", "filemac.com", "4upfiles.com",
  2307. "idup.in", "novafile.com", "longfiles.com",
  2308. "bitupload.com",
  2309. "uploadbaz.com"
  2310. ];
  2311. var genType2 = [ "queenshare.com",
  2312. "hulkload.com",
  2313. "amonshare.com", //"edoc.com",
  2314. ];
  2315. //xfilesharing 1.0
  2316. function addGenericType1()
  2317. {
  2318. var i = genType1.length;
  2319. while(i--)
  2320. {
  2321. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2322. {
  2323. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2324. addHost(
  2325. genType1[i].match(/[\w-]+/)[0], //hostname
  2326. regexSafe + "\/\\w+", //linkregex
  2327. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2328. null, //blocksize
  2329. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2330. null, //corrreplwhat
  2331. null, //corrreplwith
  2332. null, //separator
  2333. "http://" + genType1[i] + "/checkfiles.html", //api url
  2334. "op=checkfiles&process=Check+URLs&list=", //postdata
  2335. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2336. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2337. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2338. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2339. null //function delegate
  2340. )
  2341. }
  2342. }
  2343. }
  2344. //xfilesharing 2.0
  2345. function addGenericType2()
  2346. {
  2347. var i = genType2.length;
  2348. while(i--)
  2349. {
  2350. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2351. {
  2352. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2353. addHost(
  2354. genType2[i].match(/[\w-]+/)[0], //hostname
  2355. regexSafe + "\/\\w+", //linkregex
  2356. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2357. null, //blocksize
  2358. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2359. null, //corrreplwhat
  2360. null, //corrreplwith
  2361. null, //separator
  2362. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2363. "op=checkfiles&process=Check+URLs&list=", //postdata
  2364. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2365. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2366. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2367. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2368. null //function delegate
  2369. )
  2370. }
  2371. }
  2372. }
  2373. // TEMPLATE
  2374. // if (GM_getValue("Check__dot_com_links", false))
  2375. // {
  2376. // addHost(
  2377. // "", //hostname
  2378. // "", //linkregex
  2379. // "//a[contains(@href,'.com/')]", //xpath
  2380. // null, //blocksize
  2381. // null, //corrmatch
  2382. // null, //corrreplwhat
  2383. // null, //corrreplwith
  2384. // null, //separator
  2385. // "", //api url
  2386. // "", //postdata
  2387. // /()/, //linkregex
  2388. // //liveregex
  2389. // //deadregex
  2390. // //unavaregex
  2391. // null //function delegate
  2392. // )
  2393. // }
  2394. addGenericType1();
  2395. addGenericType2();
  2396.  
  2397. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2398. {
  2399. addHost(
  2400. "myvdrive,fileserving", //hostname
  2401. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2402. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2403. null, //blocksize
  2404. null, //corrmatch
  2405. null, //corrreplwhat
  2406. null, //corrreplwith
  2407. null, //separator
  2408. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2409. "links=", //postdata
  2410. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2411. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2412. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2413. null, //unavaregex
  2414. null //function delegate
  2415. )
  2416. }
  2417. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2418. {
  2419. addHost(
  2420. "hackerbox", //hostname
  2421. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2422. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2423. null, //blocksize
  2424. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2425. null, //corrreplwhat
  2426. null, //corrreplwith
  2427. null, //separator
  2428. "http://host.hackerbox.org/checkfiles.html", //api url
  2429. "op=checkfiles&process=Check+URLs&list=", //postdata
  2430. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2431. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2432. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2433. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2434. null //function delegate
  2435. )
  2436. }
  2437. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2438. {
  2439. addHost(
  2440. "hellshare", //hostname
  2441. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2442. "//a[contains(@href,'hellshare.')]", //xpath
  2443. 48, //blocksize
  2444. null, //corrmatch
  2445. null, //corrreplwhat
  2446. null, //corrreplwith
  2447. null, //separator
  2448. null, //api url
  2449. null, //postdata
  2450. null, //linkregex
  2451. null, //liveregex
  2452. null, //deadregex
  2453. null, //unavaregex
  2454. hellshareBulkCheck //function delegate
  2455. )
  2456. }
  2457. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2458. {
  2459. addHost(
  2460. "ncrypt", //hostname
  2461. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2462. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2463. 100000, //blocksize
  2464. null, //corrmatch
  2465. null, //corrreplwhat
  2466. null, //corrreplwith
  2467. null, //separator
  2468. null,
  2469. null,
  2470. null,
  2471. null,
  2472. null,
  2473. null,
  2474. ncryptBulkCheck //function delegate
  2475. )
  2476. }
  2477. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2478. {
  2479. addHost(
  2480. "uploadrocket", //hostname
  2481. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2482. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2483. null, //blocksize
  2484. null, //corrmatch
  2485. null, //corrreplwhat
  2486. null, //corrreplwith
  2487. "\n", //separator
  2488. 'http://uploadrocket.net/?op=checkfiles',
  2489. 'op=checkfiles&process=Check+URLs&list=',
  2490. /uploadrocket.net\/(\w+)/,
  2491. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2492. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2493. null,
  2494. null //function delegate
  2495. )
  2496. }
  2497. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2498. {
  2499. addHost(
  2500. "k2s,keep2s,keep2share",
  2501. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2502. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2503. 100000, //blocksize
  2504. null, //corrmatch
  2505. null, //corrreplwhat
  2506. null, //corrreplwith
  2507. null, //separator
  2508. null,
  2509. null,
  2510. null,
  2511. null,
  2512. null,
  2513. null,
  2514. k2sBulkCheck //function delegate
  2515. )
  2516. }
  2517. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2518. {
  2519. addHost(
  2520. "tezfiles",
  2521. "(?:tezfiles\\.com)\/\\w+",
  2522. "//a[contains(@href,'tezfiles.com')]",
  2523. 100000, //blocksize
  2524. null, //corrmatch
  2525. null, //corrreplwhat
  2526. null, //corrreplwith
  2527. null, //separator
  2528. null,
  2529. null,
  2530. null,
  2531. null,
  2532. null,
  2533. null,
  2534. k2sBulkCheck //function delegate
  2535. )
  2536. }
  2537. if (GM_getValue("Check_fboom_dot_me_links", false))
  2538. {
  2539. addHost(
  2540. "fboom,fileboom",
  2541. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2542. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2543. 100000, //blocksize
  2544. null, //corrmatch
  2545. null, //corrreplwhat
  2546. null, //corrreplwith
  2547. null, //separator
  2548. null,
  2549. null,
  2550. null,
  2551. null,
  2552. null,
  2553. null,
  2554. fboomBulkCheck //function delegate
  2555. )
  2556. }
  2557. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2558. {
  2559. addHost(
  2560. "1fichier,dl4free",
  2561. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2562. "//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/?')]",
  2563. 100000, //blocksize
  2564. null, //corrmatch
  2565. null, //corrreplwhat
  2566. null, //corrreplwith
  2567. null, //separator
  2568. null,
  2569. null,
  2570. null,
  2571. null,
  2572. null,
  2573. null,
  2574. dl4free_1fichier_BulkCheck //function delegate
  2575. )
  2576. }
  2577. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2578. {
  2579. addHost(
  2580. "depositfiles,dfiles",
  2581. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2582. "//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/')]",
  2583. 100000, //blocksize
  2584. null, //corrmatch
  2585. null, //corrreplwhat
  2586. null, //corrreplwith
  2587. null, //separator
  2588. null,
  2589. null,
  2590. null,
  2591. null,
  2592. null,
  2593. null,
  2594. depositfilesBulkCheck //function delegate
  2595. )
  2596. }
  2597. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2598. {
  2599. addHost(
  2600. "filesflash", //hostname
  2601. "filesflash\\.com\/\\w+", //linkregex
  2602. "//a[contains(@href,'filesflash.com')]", //xpath
  2603. null, //blocksize
  2604. null, //corrmatch
  2605. /http:\/\//, //corrreplwhat
  2606. '', //corrreplwith
  2607. null, //separator
  2608. 'http://filesflash.com/checklinks.php',
  2609. 'submit=Go&links=',
  2610. /filesflash\.com\/(\w+)/,
  2611. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2612. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2613. null,
  2614. null //function delegate
  2615. )
  2616. }
  2617. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2618. {
  2619. addHost(
  2620. "jumbofiles", //hostname
  2621. "jumbofiles\\.com\/\\w+", //linkregex
  2622. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2623. null, //blocksize
  2624. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2625. null, //corrreplwhat
  2626. null, //corrreplwith
  2627. null, //separator
  2628. "http://jumbofiles.com/checkfiles.html", //api url
  2629. "op=checkfiles&process=Check+URLs&list=", //postdata
  2630. /(jumbofiles\.com\/\w+)/, //linkregex
  2631. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2632. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2633. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2634. null //function delegate
  2635. )
  2636. }
  2637. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2638. {
  2639. addHost(
  2640. "edisk", //hostname
  2641. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2642. "//a[contains(@href,'edisk.')]", //xpath
  2643. null, //blocksize
  2644. null, //corrmatch
  2645. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2646. 'edisk.cz/stahni', //corrreplwith
  2647. null, //separator
  2648. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2649. 'submitBtn=Zkontrolovat&checkFiles=',
  2650. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2651. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2652. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2653. null,
  2654. null //function delegate
  2655. )
  2656. }
  2657. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2658. {
  2659. GM_xmlhttpRequest( //age check skip
  2660. {
  2661. method: 'POST',
  2662. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2663. headers: {
  2664. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2665. 'Content-type': 'application/x-www-form-urlencoded',
  2666. 'Referer': ""
  2667. }
  2668. });
  2669. addHost(
  2670. "bezvadata", //hostname
  2671. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2672. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2673. null, //blocksize
  2674. null, //corrmatch
  2675. null, //corrreplwhat
  2676. null, //corrreplwith
  2677. null, //separator
  2678. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2679. 'zkontrolovat=Zkontrolovat&odkazy=',
  2680. /(bezvadata\.cz\/stahnout\/\d+)/,
  2681. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2682. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2683. null,
  2684. null //function delegate
  2685. )
  2686. }
  2687. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2688. {
  2689. addHost(
  2690. "linkcrypt", //hostname
  2691. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2692. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2693. 100000, //blocksize
  2694. null, //corrmatch
  2695. null, //corrreplwhat
  2696. null, //corrreplwith
  2697. null, //separator
  2698. null,
  2699. null,
  2700. null,
  2701. null,
  2702. null,
  2703. null,
  2704. linkcryptBulkCheck //function delegate
  2705. )
  2706. }
  2707. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2708. {
  2709. addHost(
  2710. "linksave", //hostname
  2711. "linksave\\.in\/\\w+", //linkregex
  2712. "//a[contains(@href,'linksave.in')]", //xpath
  2713. 100000, //blocksize
  2714. null, //corrmatch
  2715. null, //corrreplwhat
  2716. null, //corrreplwith
  2717. null, //separator
  2718. null,
  2719. null,
  2720. null,
  2721. null,
  2722. null,
  2723. null,
  2724. linksaveBulkCheck //function delegate
  2725. )
  2726. } */
  2727. if (GM_getValue("Check_videobb_dot_com_links", false))
  2728. {
  2729. addHost(
  2730. "videobb", //hostname
  2731. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2732. "//a[contains(@href,'videobb.com')]", //xpath
  2733. null, //blocksize
  2734. null, //corrmatch
  2735. /watch_video\.php\?v=/, //corrreplwhat
  2736. 'video/', //corrreplwith
  2737. null, //separator
  2738. 'http://www.videobb.com/link_checker.php',
  2739. 'links=',
  2740. /videobb\.com\/video\/(\w+)/,
  2741. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2742. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2743. null,
  2744. null //function delegate
  2745. )
  2746. }
  2747. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2748. {
  2749. addHost(
  2750. "cramit,cramitin", //hostname
  2751. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2752. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2753. null, //blocksize
  2754. null, //corrmatch
  2755. null, //corrreplwhat
  2756. null, //corrreplwith
  2757. null, //separator
  2758. 'http://cramit.in/checkfiles.html',
  2759. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2760. /(cramit(?:\.in|in\.net)\/\w+)/,
  2761. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2762. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2763. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2764. null //function delegate
  2765. )
  2766. }
  2767. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2768. {
  2769. addHost(
  2770. "turbobit", //hostname
  2771. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2772. "//a[contains(@href,'turbobit.')]", //xpath
  2773. null, //blocksize
  2774. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2775. null, //corrreplwhat
  2776. null, //corrreplwith
  2777. "\n", //separator
  2778. 'http://turbobit.net/linkchecker/csv',
  2779. 'links_to_check=',
  2780. /(turbobit\.(?:net|pl)\/\w+)/,
  2781. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2782. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2783. null,
  2784. null //function delegate
  2785. )
  2786. } */
  2787. if (GM_getValue("Check_filerio_dot_com_links", false))
  2788. {
  2789. addHost(
  2790. "filekeen,filerio", //hostname
  2791. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2792. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2793. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2794. null, //blocksize
  2795. null, //corrmatch
  2796. null, //corrreplwhat
  2797. null, //corrreplwith
  2798. null, //separator
  2799. 'http://filerio.in/checkfiles.html',
  2800. 'op=checkfiles&process=Check+URLs&list=',
  2801. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2802. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2803. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2804. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2805. null //function delegate
  2806. )
  2807. }
  2808. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2809. {
  2810. addHost(
  2811. "share-online,egoshare", //hostname
  2812. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2813. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2814. null, //blocksize
  2815. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2816. null, //corrreplwhat
  2817. null, //corrreplwith
  2818. "\n", //separator
  2819. 'http://api.share-online.biz/linkcheck.php',
  2820. 'links=',
  2821. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2822. /\w+;OK/g,
  2823. /\w+;(?:NOTFOUND|DELETED)/g,
  2824. null,
  2825. null //function delegate
  2826. )
  2827. }
  2828. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2829. {
  2830. addHost(
  2831. "quickshare", //hostname
  2832. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2833. "//a[contains(@href,'quickshare.cz')]", //xpath
  2834. null, //blocksize
  2835. null, //corrmatch
  2836. null, //corrreplwhat
  2837. null, //corrreplwith
  2838. null, //separator
  2839. 'http://www.quickshare.cz/nastroje/link-checker',
  2840. 'linky=',
  2841. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2842. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2843. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2844. null,
  2845. null //function delegate
  2846. )
  2847. } */
  2848. if (GM_getValue("Check_oboom_dot_com_links", false))
  2849. {
  2850. addHost(
  2851. "oboom", //hostname
  2852. "oboom\\.com\/#?\\w{8}", //linkregex
  2853. "//a[contains(@href,'oboom.com/')]", //xpath
  2854. null, //blocksize
  2855. /oboom\.com\/#?(\w{8})/, //corrmatch
  2856. null, //corrreplwhat
  2857. null, //corrreplwith
  2858. null, //separator
  2859. null,
  2860. null,
  2861. null,
  2862. null, //liveregex
  2863. null, //deadregex
  2864. null,
  2865. oboomBulk //function delegate
  2866. )
  2867. }
  2868. if (GM_getValue("Check_mega_dot_nz_links", false))
  2869. {
  2870. addHost(
  2871. "mega",
  2872. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2873. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2874. 100000, //blocksize
  2875. null, //corrmatch
  2876. null, //corrreplwhat
  2877. null, //corrreplwith
  2878. null, //separator
  2879. null,
  2880. null,
  2881. null,
  2882. null,
  2883. null,
  2884. null,
  2885. megaBulkCheck //function delegate
  2886. )
  2887. }
  2888.  
  2889. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2890.  
  2891. if (GM_getValue("Check_extabit_dot_com_links", false))
  2892. {
  2893. addHost(
  2894. "extabit", //hostname
  2895. "extabit\\.com\/file\/\\w+", //linkregex
  2896. "//a[contains(@href,'extabit.com')]", //xpath
  2897. null, //blocksize
  2898. null, //corrmatch
  2899. null, //corrreplwhat
  2900. null, //corrreplwith
  2901. "\n", //separator
  2902. "http://extabit.com/linkchecker.jsp", //api url
  2903. "url=", //postdata
  2904. /extabit\.com\/(file\/\w+)/, //linkregex
  2905. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2906. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2907. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2908. extabitBulkCheck //function delegate
  2909. )
  2910. }
  2911. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2912. {
  2913. addHost(
  2914. "junocloud", //hostname
  2915. "junocloud\\.me\/\\w+", //linkregex
  2916. "//a[contains(@href,'junocloud.me')]", //xpath
  2917. null, //blocksize
  2918. null, //corrmatch
  2919. null, //corrreplwhat
  2920. null, //corrreplwith
  2921. "\n", //separator
  2922. "http://junocloud.me/checkfiles.html", //api url
  2923. "op=checkfiles&process=Check+URLs&list=", //postdata
  2924. /(junocloud\.me\/\w+)/, //linkregex
  2925. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2926. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2927. null, //unavaregex
  2928. null //function delegate
  2929. )
  2930. }
  2931. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2932. {
  2933. addHost(
  2934. "webshare", //hostname
  2935. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2936. "//a[contains(@href,'webshare.cz')]", //xpath
  2937. 100000, //blocksize
  2938. null, //corrmatch
  2939. null, //corrreplwhat
  2940. null, //corrreplwith
  2941. null, //separator
  2942. null, //api url
  2943. null, //postdata
  2944. null, //linkregex
  2945. null, //liveregex
  2946. null, //deadregex
  2947. null, //unavaregex
  2948. webshareBulkCheck //function delegate
  2949. )
  2950. }
  2951. /////////////////////////////
  2952. // Common function delegate to send links to get checked by host linkchecker
  2953. /////////////////////////////
  2954. // If you define a new delegate, you may use following properties
  2955. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2956. // this.apiUrl [string] API or web linkchecker URL
  2957. // this.postData [string] POSTDATA for POST request
  2958. // this.resLiveRegex [regex] matches live substrings in the request response
  2959. // this.resDeadRegex [regex] matches dead substrings in the request response
  2960. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2961. //
  2962. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2963. //
  2964. // See the code below for standard bulkcheck handling reference.
  2965. //////////////////////////////
  2966. function genBulkCheck()
  2967. {
  2968. var blockIdx = this.links.length;
  2969. while (blockIdx--)
  2970. {
  2971. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2972. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2973. }
  2974. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2975. {
  2976. GM_xmlhttpRequest(
  2977. {
  2978. method: 'POST',
  2979. url: api,
  2980. headers: {
  2981. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2982. 'Content-type': 'application/x-www-form-urlencoded',
  2983. 'Referer': api,
  2984. 'X-Requested-With': 'XMLHttpRequest'
  2985. },
  2986. data: postData + encodeURIComponent(links),
  2987. onload: function (result)
  2988. {
  2989. var res = result.responseText;
  2990. // GM_log(res);
  2991. var i;
  2992.  
  2993. var livelinks = res.match(liveRegex);
  2994. var deadlinks = res.match(deadRegex);
  2995. // GM_log(livelinks);
  2996. // GM_log(deadlinks);
  2997. if (livelinks != null)
  2998. {
  2999. i = livelinks.length - 1;
  3000. do
  3001. {
  3002. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3003. }
  3004. while (i--);
  3005. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3006. }
  3007.  
  3008. if (deadlinks != null)
  3009. {
  3010. i = deadlinks.length - 1;
  3011. do
  3012. {
  3013. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3014. }
  3015. while (i--);
  3016. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3017. }
  3018.  
  3019. if (unavaRegex != null)
  3020. {
  3021. var unavalinks = res.match(unavaRegex);
  3022. if (unavalinks)
  3023. {
  3024. i = unavalinks.length - 1;
  3025. do
  3026. {
  3027. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3028. }
  3029. while (i--);
  3030. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3031. }
  3032. }
  3033. }
  3034. });
  3035. }
  3036. }
  3037. //specialized bulkchecking handlers follow
  3038. function webshareBulkCheck()
  3039. {
  3040. var arr = this.links[0].split("\r\n");
  3041. var i = arr.length;
  3042. while(i--)
  3043. {
  3044. postRequest(arr[i]);
  3045. }
  3046. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3047. function postRequest(wsLink)
  3048. {
  3049. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3050. GM_xmlhttpRequest(
  3051. {
  3052. method: 'POST',
  3053. url: "http://webshare.cz/api/file_info/",
  3054. headers: {
  3055. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3056. 'Content-type': 'application/x-www-form-urlencoded',
  3057. 'Referer': "",
  3058. },
  3059. data: "wst=&ident=" + id,
  3060. onload: function (result)
  3061. {
  3062. var res = result.responseText;
  3063. if (res.match(/<name>.+?<\/name>/))
  3064. {
  3065. DisplayTheCheckedLinks([id], 'alive_link');
  3066. }
  3067. else
  3068. {
  3069. DisplayTheCheckedLinks([id], 'adead_link');
  3070. }
  3071. }
  3072. });
  3073. }
  3074. }
  3075. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3076. //extabit also doesn't like requests in fast succession, so some delays are added.
  3077. function extabitBulkCheck()
  3078. {
  3079. var timeoutDelay = 0;
  3080. var blockIdx = this.links.length;
  3081. while (blockIdx--)
  3082. {
  3083. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3084. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3085. }
  3086. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3087. {
  3088. GM_xmlhttpRequest(
  3089. {
  3090. method: 'POST',
  3091. url: api,
  3092. headers: {
  3093. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3094. 'Content-type': 'application/x-www-form-urlencoded',
  3095. 'Referer': api,
  3096. 'X-Requested-With': 'XMLHttpRequest'
  3097. },
  3098. data: postData + encodeURIComponent(links),
  3099. onload: function (result)
  3100. {
  3101. var res = result.responseText;
  3102. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3103. {
  3104. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3105. {
  3106. //GM_log(tryID + ': ' + link);
  3107. GM_xmlhttpRequest(
  3108. {
  3109. method: 'GET',
  3110. url: link,
  3111. 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': ""},
  3112. onload: function(result2)
  3113. {
  3114. var res2 = result2.responseText;
  3115. var res2Status = result.status;
  3116. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3117. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3118. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3119. {
  3120. if (tryID < 7)
  3121. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3122. else
  3123. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3124. }
  3125. }
  3126. });
  3127. }
  3128. //split the hrefs and check them one by one
  3129. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3130. links = links.split('\n');
  3131. var i = links.length;
  3132. while (i--)
  3133. {
  3134. if (links[i])
  3135. {
  3136. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3137. timeoutDelay += 500;
  3138. }
  3139. }
  3140. return;
  3141. }
  3142. var i;
  3143.  
  3144. var livelinks = res.match(liveRegex);
  3145. var deadlinks = res.match(deadRegex);
  3146. if (livelinks != null)
  3147. {
  3148. i = livelinks.length - 1;
  3149. do
  3150. {
  3151. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3152. }
  3153. while (i--);
  3154. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3155. }
  3156.  
  3157. if (deadlinks != null)
  3158. {
  3159. i = deadlinks.length - 1;
  3160. do
  3161. {
  3162. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3163. }
  3164. while (i--);
  3165. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3166. }
  3167.  
  3168. if (unavaRegex != null)
  3169. {
  3170. var unavalinks = res.match(unavaRegex);
  3171. if (unavalinks)
  3172. {
  3173. i = unavalinks.length - 1;
  3174. do
  3175. {
  3176. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3177. }
  3178. while (i--);
  3179. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3180. }
  3181. }
  3182. }
  3183. });
  3184. }
  3185. }
  3186. function k2sBulkCheck()
  3187. {
  3188. var arr = this.links[0].split("\r\n");
  3189. var i = arr.length;
  3190. c=0;
  3191. arrIDs=[];
  3192. while(i--)
  3193. {
  3194. id = arr[i].match(/\/file\/(\w+)/)[1];
  3195. if (id=='info')
  3196. {
  3197. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3198. continue;
  3199. }
  3200. k2salreadyexist=false;
  3201. for (j=0;j<arrIDs.length;j++)
  3202. {
  3203. if (arrIDs[j]==id)
  3204. {
  3205. k2salreadyexist=true;
  3206. break;
  3207. }
  3208. }
  3209. if (k2salreadyexist) continue;
  3210. arrIDs.push(id);
  3211. c++;
  3212. setTimeout(k2sRequest,c*500,arr[i]);
  3213. }
  3214. }
  3215. function k2sRequest(K2SLink)
  3216. {
  3217. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3218. GM_xmlhttpRequest(
  3219. {
  3220. method: 'GET',
  3221. url: K2SLink,
  3222. headers: {
  3223. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3224. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3225. 'Referer': ''
  3226. },
  3227. onload: function (result)
  3228. {
  3229. var res = result.responseText;
  3230. K2Dom='k2s.cc';
  3231. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3232. K2SLink2='http://'+K2Dom+'/file/'+id;
  3233.  
  3234. 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'))
  3235. {
  3236. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3237. return;
  3238. }
  3239. if (res.match('method="post">Displaying'))
  3240. {
  3241. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3242. return;
  3243. }
  3244. if (res.match('Premium only'))
  3245. {
  3246. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3247. return;
  3248. }
  3249. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3250. {
  3251. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3252. slID=slow_id.exec(res)[1];
  3253. GM_xmlhttpRequest(
  3254. {
  3255. method: 'POST',
  3256. url: K2SLink2,
  3257. headers: {
  3258. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3259. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3260. 'Content-Type': 'application/x-www-form-urlencoded',
  3261. 'Referer': K2SLink
  3262. },
  3263. data: 'slow_id='+slID+'&yt0=',
  3264. onload: function (result)
  3265. {
  3266. var newres = result.responseText;
  3267. newoversizedtest=new RegExp("Free user can't download large files.");
  3268. if (newoversizedtest.test(newres))
  3269. {
  3270. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3271. return;
  3272. }
  3273. else
  3274. {
  3275. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3276. return;
  3277. }
  3278. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3279. return;
  3280. }
  3281. });
  3282. /////////////////////end additional check for oversized links
  3283. return;
  3284. }
  3285. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3286. return;
  3287. },
  3288. onerror: function ()
  3289. {
  3290. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3291. return;
  3292. }
  3293. });
  3294. }
  3295. function fboomBulkCheck()
  3296. {
  3297. var arr = this.links[0].split("\r\n");
  3298. var i = arr.length;
  3299. c=0;
  3300. arrIDs=[];
  3301. while(i--)
  3302. {
  3303. id = arr[i].match(/\/file\/(\w+)/)[1];
  3304. if (id=='info')
  3305. {
  3306. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3307. continue;
  3308. }
  3309. fbalreadyexist=false;
  3310. for (j=0;j<arrIDs.length;j++)
  3311. {
  3312. if (arrIDs[j]==id)
  3313. {
  3314. fbalreadyexist=true;
  3315. break;
  3316. }
  3317. }
  3318. if (fbalreadyexist) continue;
  3319. arrIDs.push(id);
  3320. c++;
  3321. setTimeout(fboomRequest,c*500,arr[i]);
  3322. }
  3323. }
  3324. function fboomRequest(FBoomLink)
  3325. {
  3326. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3327. FBoomLink2='http://fboom.me/file/'+id;
  3328. GM_xmlhttpRequest(
  3329. {
  3330. method: 'GET',
  3331. url: FBoomLink,
  3332. headers: {
  3333. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3334. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3335. 'Referer': ''
  3336. },
  3337. onload: function (result)
  3338. {
  3339. var res = result.responseText;
  3340. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3341. {
  3342. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3343. return;
  3344. }
  3345. if (res.match('method="post">Displaying'))
  3346. {
  3347. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3348. return;
  3349. }
  3350. if (res.match('only for premium members'))
  3351. {
  3352. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3353. return;
  3354. }
  3355. if (res.match('id="download-free" href="#"'))
  3356. {
  3357. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3358. slID=slow_id.exec(res)[1];
  3359. GM_xmlhttpRequest(
  3360. {
  3361. method: 'POST',
  3362. url: FBoomLink2,
  3363. headers: {
  3364. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3365. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3366. 'Content-Type': 'application/x-www-form-urlencoded',
  3367. 'Referer': FBoomLink
  3368. },
  3369. data: 'slow_id='+slID,
  3370. onload: function (result)
  3371. {
  3372. var newres = result.responseText;
  3373. newoversizedtest=new RegExp("Downloading is not possible");
  3374. if (newoversizedtest.test(newres))
  3375. {
  3376. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3377. return;
  3378. }
  3379. else
  3380. {
  3381. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3382. return;
  3383. }
  3384. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3385. return;
  3386. }
  3387. });
  3388. /////////////////////end additional check for oversized links
  3389. return;
  3390. }
  3391. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3392. return;
  3393. },
  3394. onerror: function ()
  3395. {
  3396. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3397. return;
  3398. }
  3399. });
  3400. }
  3401. function dl4free_1fichier_BulkCheck()
  3402. {
  3403. var arr = this.links[0].split("\r\n");
  3404. var i = arr.length;
  3405. while(i--)
  3406. {
  3407. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3408. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3409. gethead_dl4free_1fichier(arr[i]);
  3410. }
  3411. }
  3412. function gethead_dl4free_1fichier(link)
  3413. {
  3414. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3415. GM_xmlhttpRequest(
  3416. {
  3417. method: 'HEAD',
  3418. url: link,
  3419. headers: {
  3420. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3421. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3422. 'Referer': ''
  3423. },
  3424. onload: function (result)
  3425. {
  3426. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3427. {
  3428. DisplayTheCheckedLinks([id], 'alive_link');
  3429. return;
  3430. }
  3431. else
  3432. {
  3433. getlink_dl4free_1fichier(link);
  3434. }
  3435. return;
  3436. },
  3437. onerror: function ()
  3438. {
  3439. DisplayTheCheckedLinks([id], 'unava_link');
  3440. }
  3441. });
  3442. }
  3443. function getlink_dl4free_1fichier(link)
  3444. {
  3445. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3446. GM_xmlhttpRequest(
  3447. {
  3448. method: 'GET',
  3449. url: link,
  3450. headers: {
  3451. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3452. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3453. 'Referer': ''
  3454. },
  3455. onload: function (result)
  3456. {
  3457. var res = result.responseText;
  3458. 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');
  3459. if (deadRegex.test(res))
  3460. {
  3461. DisplayTheCheckedLinks([id], 'adead_link');
  3462. return;
  3463. }
  3464. premiumRegex=new RegExp('only for premium users');
  3465. if (premiumRegex.test(res))
  3466. {
  3467. DisplayTheCheckedLinks([id], 'prem_link');
  3468. return;
  3469. }
  3470. 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="');
  3471. if (liveRegex.test(res))
  3472. {
  3473. DisplayTheCheckedLinks([id], 'alive_link');
  3474. return;
  3475. }
  3476. DisplayTheCheckedLinks([id], 'unava_link');
  3477. },
  3478. onerror: function ()
  3479. {
  3480. DisplayTheCheckedLinks([id], 'unava_link');
  3481. }
  3482. });
  3483. }
  3484. function depositfilesBulkCheck()
  3485. {
  3486. var arr = this.links[0].split("\r\n");
  3487. var i = arr.length;
  3488. var seqno = Math.floor(Math.random()*1000000000);
  3489. while(i--)
  3490. {
  3491. DFpostRequest(arr[i]);
  3492. }
  3493. }
  3494. function DFpostRequest(DFLink)
  3495. {
  3496. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3497. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3498. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3499. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3500. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3501. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3502. GM_xmlhttpRequest(
  3503. {
  3504. method: "GET",
  3505. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3506. headers: {
  3507. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3508. 'Content-Type': 'application/x-www-form-urlencoded',
  3509. 'Referer': ""
  3510. },
  3511. onload: function (result)
  3512. {
  3513. var res = result.responseText;
  3514. if (res.match('(?:no_file|file_ban)'))
  3515. {
  3516. DisplayTheCheckedLinks([id], 'adead_link');
  3517. return;
  3518. }
  3519. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3520. {
  3521. DisplayTheCheckedLinks([id], 'alive_link');
  3522. return;
  3523. }
  3524. DisplayTheCheckedLinks([id], 'unava_link');
  3525. }
  3526. });
  3527. }
  3528.  
  3529. function megaBulkCheck()
  3530. {
  3531. var arr = this.links[0].split("\r\n");
  3532. var i = arr.length;
  3533. var seqno = Math.floor(Math.random()*1000000000);
  3534. while(i--)
  3535. {
  3536. postRequest(arr[i]);
  3537. }
  3538. function postRequest(megaLink)
  3539. {
  3540. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3541. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3542. GM_xmlhttpRequest(
  3543. {
  3544. method: "POST",
  3545. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3546. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3547. headers: {
  3548. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3549. 'Content-Type': 'application/xml',
  3550. 'Referer': "https://mega.co.nz/"
  3551. },
  3552. onload: function (result)
  3553. {
  3554. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3555. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3556. {
  3557.  
  3558. DisplayTheCheckedLinks([id], 'adead_link');
  3559. }
  3560. if (res.at)
  3561. {
  3562. DisplayTheCheckedLinks([id], 'alive_link');
  3563. }
  3564. if (res.e == "ETEMPUNAVAIL")
  3565. {
  3566. DisplayTheCheckedLinks([id], 'unava_link');
  3567. }
  3568. }
  3569. });
  3570. }
  3571.  
  3572. }
  3573.  
  3574. function oboomBulk() {
  3575. var a = [], b = [], c = [];
  3576. var array = this.links;
  3577.  
  3578. GM_xmlhttpRequest({
  3579. method: 'GET',
  3580. url: 'https://www.oboom.com/1/guestsession',
  3581. headers: {
  3582. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3583. 'Content-type': 'application/x-www-form-urlencoded',
  3584. 'Referer': 'https://www.oboom.com',
  3585. 'X-Requested-With': 'XMLHttpRequest'
  3586. },
  3587. onload: function(result) {
  3588. var blockIdx = array.length;
  3589. var token = JSON.parse(result.responseText)[1];
  3590. while (blockIdx--) {
  3591. startCheck(array[blockIdx].split('\r\n'), token);
  3592. }
  3593. }
  3594. });
  3595.  
  3596. function startCheck(links, token) {
  3597. GM_xmlhttpRequest({
  3598. method: 'POST',
  3599. url: "https://api.oboom.com/1/info",
  3600. headers: {
  3601. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3602. 'Content-type': 'application/x-www-form-urlencoded',
  3603. 'Referer': 'https://www.oboom.com/',
  3604. 'X-Requested-With': 'XMLHttpRequest'
  3605. },
  3606. data: "token=" + token + "&items=" + links.join(","),
  3607. onload: function(result) {
  3608. var res = JSON.parse(result.responseText)[1];
  3609. var i = res.length, s;
  3610.  
  3611. while (i--) {
  3612. s = res[i].state;
  3613. if (s == 'online') a.push(res[i].id);
  3614. 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);
  3615. else c.push(res[i].id);
  3616. }
  3617.  
  3618. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3619. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3620. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3621. }
  3622. });
  3623. }
  3624. }
  3625. /* function linksaveBulkCheck()
  3626. {
  3627. var arr = this.links[0].split("\r\n");
  3628. var i = arr.length;
  3629. while(i--)
  3630. {
  3631. postRequest(arr[i]);
  3632. }
  3633. function postRequest(lsLink)
  3634. {
  3635. GM_xmlhttpRequest(
  3636. {
  3637. method: "GET",
  3638. url: lsLink + '-t.jpg',
  3639. headers: {
  3640. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3641. 'Accept': 'text/xml',
  3642. 'Referer': ""
  3643. },
  3644. onload: function (result)
  3645. {
  3646. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3647. if (imgLen == 965) //online
  3648. {
  3649. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3650. }
  3651.  
  3652. if (imgLen == 972) //offline
  3653. {
  3654. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3655. }
  3656. if (imgLen == 978) //unava
  3657. {
  3658. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3659. }
  3660. }
  3661. });
  3662. }
  3663.  
  3664. } */
  3665. function linkcryptBulkCheck()
  3666. {
  3667. var arr = this.links[0].split("\r\n");
  3668. var i = arr.length;
  3669. while(i--)
  3670. {
  3671. postRequest(arr[i]);
  3672. }
  3673. function postRequest(lcLink)
  3674. {
  3675. GM_xmlhttpRequest(
  3676. {
  3677. method: "GET",
  3678. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3679. headers: {
  3680. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3681. 'Accept': 'text/xml',
  3682. 'Referer': ""
  3683. },
  3684. onload: function (result)
  3685. {
  3686. var res = result.responseText;
  3687. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3688. {
  3689. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3690. return;
  3691. }
  3692. if (res.match(/folderStatus>1/)) //Online status
  3693. {
  3694. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3695. }
  3696. else
  3697. {
  3698. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3699. }
  3700. }
  3701. });
  3702. }
  3703. }
  3704.  
  3705. function megashareBulkCheck()
  3706. {
  3707. var arr = this.links[0].split("\r\n");
  3708. var i = arr.length;
  3709. while(i--)
  3710. {
  3711. postRequest(arr[i]);
  3712. }
  3713. function postRequest(msLink)
  3714. {
  3715. GM_xmlhttpRequest(
  3716. {
  3717. method: "GET",
  3718. url: msLink,
  3719. headers: {
  3720. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3721. 'Content-Type': 'application/x-www-form-urlencoded',
  3722. 'Referer': ""
  3723. },
  3724. onload: function (result)
  3725. {
  3726. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3727. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3728. if ((prZVal == null) || (btn3Name == null))
  3729. {
  3730. return;
  3731. }
  3732. GM_xmlhttpRequest(
  3733. {
  3734. method: "POST",
  3735. url: msLink,
  3736. headers: {
  3737. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3738. 'Content-Type': 'application/x-www-form-urlencoded',
  3739. 'Referer': ""
  3740. },
  3741. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3742. onload: function (result)
  3743. {
  3744. var res = result.responseText;
  3745. if (res.match(/<div id="err">/))
  3746. {
  3747. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3748. }
  3749. else
  3750. {
  3751. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3752. }
  3753. }
  3754. });
  3755. }
  3756. });
  3757. }
  3758. }
  3759. function ncryptBulkCheck()
  3760. {
  3761. var arr = this.links[0].split("\r\n");
  3762. var i = arr.length;
  3763. while(i--)
  3764. {
  3765. postRequest(arr[i]);
  3766. }
  3767. function postRequest(ncryptLink)
  3768. {
  3769. GM_xmlhttpRequest(
  3770. {
  3771. method: "POST",
  3772. url: 'http://ncrypt.in/api_status.php',
  3773. headers: {
  3774. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3775. 'Content-Type': 'application/x-www-form-urlencoded',
  3776. 'Referer': ""
  3777. },
  3778. data: 'link=' + encodeURI(ncryptLink),
  3779. onload: function (result)
  3780. {
  3781. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3782. switch(foldStatus + ""){
  3783. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3784. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3785. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3786. }
  3787. }
  3788. });
  3789. }
  3790. }
  3791. function hellshareBulkCheck()
  3792. {
  3793. var links = this.links;
  3794. GM_xmlhttpRequest(
  3795. {
  3796. method: "GET",
  3797. url: 'http://www.hellshare.com',
  3798. headers: {
  3799. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3800. 'Accept': 'text/xml',
  3801. 'Referer': ""
  3802. },
  3803. onload: function (result)
  3804. {
  3805. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3806.  
  3807. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3808. if (domain == 'sk')
  3809. loc = 'check=Skontrolova%C5%A5&links=';
  3810. if (domain == 'com')
  3811. loc = 'check=Check+availability&links=';
  3812. if (domain == 'hu')
  3813. loc = 'check=Kontrol%C3%A1lj&links=';
  3814. if (domain == 'pl')
  3815. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3816.  
  3817. genBulkCheck.call({ links: links,
  3818. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3819. postData: loc,
  3820. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3821. 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,
  3822. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3823. resUnavaRegex: null
  3824. });
  3825. }
  3826. });
  3827. }
  3828. /**
  3829. * Displays check result
  3830. * @param {Array} Array of links or link fragments.
  3831. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3832. */
  3833. function DisplayTheCheckedLinks(links, resultStatus)
  3834. {
  3835. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3836. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3837. if (Do_not_linkify_DL_links)
  3838. { //TODO into separate jQuery function
  3839. $links.replaceWith(function(){
  3840. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3841. });
  3842. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3843. }
  3844. $links.removeClass().addClass(resultStatus);
  3845. $links.each(function() {
  3846. this.href = Ref_anonymize_service + $(this).attr("href");
  3847. });
  3848. switch(resultStatus)
  3849. {
  3850. case "alive_link": cLinksAlive += $links.length;
  3851. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3852. break;
  3853. case "adead_link": cLinksDead += $links.length;
  3854. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3855. break;
  3856. case "prem_link": cLinksprem += $links.length;
  3857. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3858. break;
  3859. case "unava_link": cLinksUnava += $links.length; break;
  3860. default:
  3861. }
  3862. cLinksProcessed += $links.length;
  3863. }
  3864. }
  3865. // starts bulkchecking
  3866. //
  3867. // params
  3868. // filterId [string] restricts link detection with passed id attribute
  3869. function startBulkCheck(filterId)
  3870. {
  3871. var cHosts = bulkHosts.length;
  3872. if (cHosts == 0) //no filehostings selected
  3873. return;
  3874. // STEP 1 linkify the links
  3875. var linkifyRegex = '';
  3876. var hostIdx = cHosts;
  3877. while(hostIdx--)
  3878. {
  3879. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3880. }
  3881. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3882. linkify(linkifyRegex);
  3883. //
  3884. //STEP 2 detect link objects
  3885. var xpathAll = '';
  3886. var hostIdx = cHosts;
  3887. while(hostIdx--)
  3888. {
  3889. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3890. }
  3891. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3892. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3893. if (filterId != null) //insert id restriction in the xpath
  3894. {
  3895. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3896. }
  3897. else
  3898. {
  3899. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3900. }
  3901. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3902. if (filterId == null)
  3903. {
  3904. cLinksTotal += links.snapshotLength;
  3905. }
  3906. //
  3907. //STEP 3 bind links with hostings
  3908. var linkIdx = links.snapshotLength;
  3909. var href = null;
  3910. if (linkIdx == 0) // no links found
  3911. return;
  3912. var name;
  3913. while (linkIdx--)
  3914. {
  3915. href = links.snapshotItem(linkIdx).href;
  3916. try // DO NOT REMOVE, filters crap that went through xpath detection
  3917. {
  3918. name = gimmeHostName(href);
  3919. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3920. bulkHostNames[name].links.push(href);
  3921. }
  3922. catch(e)
  3923. {
  3924.  
  3925. }
  3926. }
  3927. //
  3928. //STEP 4 process the links for each filehosting
  3929. var hostIdx = cHosts;
  3930. var host;
  3931. var m,n;
  3932. var arr;
  3933. while (hostIdx--)
  3934. {
  3935. host = bulkHosts[hostIdx];
  3936. arr = host.links;
  3937. if (arr.length == 0) //no links for this hosting, skip
  3938. {
  3939. continue;
  3940. }
  3941. //links match corrections
  3942. if (host.corrMatch != null)
  3943. {
  3944. var idx = arr.length;
  3945. while (idx--)
  3946. {
  3947. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3948. }
  3949. }
  3950. //links replace corrections
  3951. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3952. {
  3953. var idx = arr.length;
  3954. while (idx--)
  3955. {
  3956. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3957. }
  3958. }
  3959. m = arr.length;
  3960. n = host.blockSize;
  3961. if (m > n)
  3962. {
  3963. //insert block separators (RAND_STRING) into the array
  3964. for(var i = n; i < m; i += n + 1)
  3965. {
  3966. arr.splice(i, 0, RAND_STRING);
  3967. }
  3968. }
  3969.  
  3970. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3971. apiUrl: host.apiUrl,
  3972. postData: host.postData,
  3973. resLinkRegex: host.resLinkRegex,
  3974. resLiveRegex: host.resLiveRegex,
  3975. resDeadRegex: host.resDeadRegex,
  3976. resUnavaRegex: host.resUnavaRegex
  3977. });
  3978. //clean up
  3979. arr.length = 0;
  3980. }
  3981. //
  3982.  
  3983. function gimmeHostName(link)
  3984. {
  3985. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3986. }
  3987. }
  3988. function checkLinks(filterId)
  3989. {
  3990. startBulkCheck(filterId);
  3991. start(filterId);
  3992. }
  3993.  
  3994. /**
  3995. * Initialises progress box including event binding and CSS
  3996. */
  3997. function initProgressBox()
  3998. {
  3999. if ($("#warlc-progressbox").length > 0)
  4000. return;
  4001. //progressbox css change size and color of progress box
  4002. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4003. "; opacity:" + (Progress_box_opacity / 100) +
  4004. "; bottom:" + Progress_box_pos_bottom +
  4005. "px; right:" + Progress_box_pos_right +
  4006. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4007. \
  4008. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4009. \
  4010. .warlc-progressitem {}\
  4011. \
  4012. .alive {color:#00FF7F; " + Live_links_color +
  4013. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4014. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4015. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4016. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4017. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4018. );
  4019. //
  4020. $('body').append(' <div id="warlc-progressbox">\
  4021. <div class="warlc-progressbar"></div>\
  4022. <span class="warlc-progressitem alive"></span> - \
  4023. <span class="warlc-progressitem dead"></span> - \
  4024. <span class="warlc-progressitem unava"></span> - \
  4025. <span class="warlc-progressitem prem"></span> - \
  4026. <span class="warlc-progressitem processing"></span>\
  4027. </div>');
  4028. $('#warlc-progressbox').hide().click(function(){
  4029. clearInterval(intervalId);
  4030. $(this).hide();
  4031. return false;
  4032. });
  4033. $(".warlc-progressbar").progressbar({complete: function(){
  4034. $(this).fadeOut();
  4035. clearInterval(intervalId); //stop refreshing the stats
  4036. }
  4037. })
  4038. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4039. }
  4040. /**
  4041. * Updates progress data in progress box
  4042. */
  4043. function updateProgress()
  4044. {
  4045. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4046. if (cLinksTotal) // some links were detected on page
  4047. {
  4048. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4049. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4050. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4051. if ((cLinksTotal - cLinksProcessed) == 0)
  4052. {
  4053. $progressItems.first().text(cLinksAlive)
  4054. .next().text(cLinksDead)
  4055. .next().text(cLinksUnava)
  4056. .next().text(cLinksprem)
  4057. .next().remove();
  4058. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4059. $('#warlc-progressbox div:first-child').remove();
  4060. }
  4061. else
  4062. {
  4063. $progressItems.first().text(cLinksAlive)
  4064. .next().text(cLinksDead)
  4065. .next().text(cLinksUnava)
  4066. .next().text(cLinksprem)
  4067. .next().text(cLinksTotal - cLinksProcessed);
  4068. }
  4069. }
  4070. }
  4071.  
  4072. function check_all_links()
  4073. {
  4074. add_WARLC_style();
  4075.  
  4076. if (Show_progress_stats)
  4077. {
  4078. initProgressBox();
  4079. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4080. }
  4081.  
  4082. startBulkCheck(null);
  4083. start(null);
  4084.  
  4085. if (!containers_processed)
  4086. {
  4087. processContainers();
  4088. }
  4089. }
  4090.  
  4091. //Copies all found dead links to clipboard - right now for Scriptish only
  4092. function copy_dead_to_clipboard()
  4093. {
  4094. initClipBoardTools();
  4095.  
  4096. var deadlinksxpath = "//.[@class='adead_link']";
  4097.  
  4098. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4099. var foundlinkstext = '';
  4100.  
  4101. var foundlinkIdx = foundlinks.snapshotLength;
  4102.  
  4103. while(foundlinkIdx--)
  4104. {
  4105. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4106. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4107. }
  4108.  
  4109. unsafeWindow.copyToClipboard(foundlinkstext);
  4110. }
  4111.  
  4112. function toggle_autocheck()
  4113. {
  4114. var currentState = GM_getValue("Autocheck", false);
  4115. GM_setValue("Autocheck", !currentState);
  4116.  
  4117. if (currentState == true)
  4118. {
  4119. sendMessage('Autocheck disabled', 'red');
  4120. }
  4121. else
  4122. {
  4123. sendMessage('Autocheck enabled', 'SpringGreen');
  4124. }
  4125. }
  4126. function toggle_Enable_Anonymizer()
  4127. {
  4128. var currentState = GM_getValue("Enable_Anonymizer", false);
  4129. GM_setValue("Enable_Anonymizer", !currentState);
  4130.  
  4131. if (currentState == true)
  4132. {
  4133. GM_setValue("Ref_anonymize_service", "");
  4134. sendMessage('Anonymizer Disabled', 'red');
  4135. }
  4136. else
  4137. {
  4138. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4139. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4140. }
  4141. }
  4142.  
  4143. function KeyDownHandler(event)
  4144. {
  4145. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4146. if (event.ctrlKey && event.altKey)
  4147. {
  4148. switch(kcode)
  4149. {
  4150. case 65 : check_all_links(); break;
  4151. case 67 : configuration(); break;
  4152. case 68 : copy_dead_to_clipboard(); break;
  4153. case 87 : toggle_autocheck(); break;
  4154. case 90 : toggle_Enable_Anonymizer(); break;
  4155. }
  4156. }
  4157. }
  4158.  
  4159. //
  4160. //
  4161. // SCRIPT EXECUTION START POINT
  4162. //
  4163. //
  4164. // Safari specific GM_getResourceText override
  4165. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4166. {
  4167. GM_getResourceText = function(res) {
  4168. var $cssText = GM_getValue("jquery_css", "");
  4169. if ($cssText == "")
  4170. {
  4171. GM_xmlhttpRequest(
  4172. {
  4173. method: 'GET',
  4174. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4175. onload: function (result)
  4176. {
  4177. GM_setValue("jquery_css", result.responseText);
  4178. window.location.reload();
  4179. }
  4180. });
  4181. }
  4182. else
  4183. {
  4184. return $cssText;
  4185. }
  4186. }
  4187. }
  4188. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4189. GM_addStyle(jQueryUICSS);
  4190. //init the stuff
  4191. setVariables();
  4192. initBulkCheck();
  4193. //init info boxes
  4194. messageBox.style.position = 'fixed';
  4195. messageBox.style.top = '20px';
  4196. messageBox.style.left = '10px';
  4197. messageBox.style.opacity = '0.85';
  4198. messageBox.style.background = 'DimGray';
  4199. messageBox.style.fontSize = '36px';
  4200. document.body.appendChild(messageBox);
  4201.  
  4202. //register GM menu commands & keyboard shortcut event handler
  4203. if (Keyboard_functions)
  4204. {
  4205. $(document).keydown(KeyDownHandler);
  4206. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4207. 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);
  4208. }
  4209. else
  4210. {
  4211. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4212. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4213. }
  4214.  
  4215. //start linkchecking
  4216. if (Autocheck)
  4217. {
  4218. $(document).ready(check_all_links);
  4219. }
  4220.  
  4221. //
  4222. //
  4223. // SCRIPT EXECUTION END POINT
  4224. //
  4225. //
  4226.  
  4227. //shows configuration box
  4228. function configuration()
  4229. {
  4230.  
  4231. //prevent multiple creating of config window
  4232. if ($("#hideshow").length)
  4233. {
  4234. $("#hideshow").show();
  4235. return;
  4236. }
  4237.  
  4238. var configcss = '\
  4239. .popup_block .popup fieldset{\
  4240. padding: 1%;\
  4241. border-style: solid;\
  4242. border-width: 1px;\
  4243. border-color: gray;\
  4244. margin-bottom: 1px;\
  4245. }\
  4246. #h3hideshowtitle{\
  4247. font-size: 2em;\
  4248. }\
  4249. #h3hideshow{\
  4250. font-size: 1.5em;\
  4251. }\
  4252. #imghideshow {\
  4253. border: none;\
  4254. }\
  4255. #plusimage{\
  4256. display:inline;\
  4257. }\
  4258. #hideshow {\
  4259. position: fixed;\
  4260. width: 100%;\
  4261. height: 100%;\
  4262. top: 0;\
  4263. left: 0;\
  4264. font-size:12px;\
  4265. z-index:2147483645;\
  4266. text-align:left;\
  4267. }\
  4268. #fade {\
  4269. background: #000;\
  4270. position: fixed;\
  4271. width: 100%;\
  4272. height: 100%;\
  4273. opacity: .80;\
  4274. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4275. left: 0;\
  4276. z-index: 10;\
  4277. }\
  4278. .popup_block {\
  4279. font-family:verdana;\
  4280. color:black;\
  4281. background: #ddd;\
  4282. padding: 10px 20px;\
  4283. border: 2px solid DarkOrange;\
  4284. float: left;\
  4285. width: 700px;\
  4286. position: absolute;\
  4287. top: 7%;\
  4288. left: 50%;\
  4289. bottom: 7%;\
  4290. margin: 0 0 0 -350px;\
  4291. -moz-border-radius:10px;\
  4292. z-index: 100;\
  4293. \
  4294. }\
  4295. .popup_block .popup {\
  4296. float: left;\
  4297. width: 100%;\
  4298. background: #fff;\
  4299. margin: 10px 0;\
  4300. padding: 0px 0 0px;\
  4301. border-left: 1px solid #bbb;\
  4302. border-top: 1px solid #bbb;\
  4303. border-right: 1px solid #bbb;\
  4304. }\
  4305. #h3hideshow{\
  4306. margin: 1px 0 0px;\
  4307. padding: 1px 10px;\
  4308. border-bottom: 1px solid #bbb;\
  4309. font-size: 1.5em;\
  4310. font-weight: normal;\
  4311. cursor:pointer;\
  4312. background:#DDDDDD none repeat scroll 0 0;\
  4313. }\
  4314. #h3hideshow:hover{\
  4315. background:#C0BEBE none repeat scroll 0 0;\
  4316. }\
  4317. #h3hideshowtitle{\
  4318. margin: 2px 0 0px;\
  4319. padding: 7px 10px;\
  4320. border-bottom: 1px solid #bbb;\
  4321. font-size: 1.5em;\
  4322. font-weight: normal;\
  4323. }\
  4324. .popup_block .popup a {\
  4325. color:DarkSkyBlue;\
  4326. text-decoration:none;\
  4327. }\
  4328. .popup p {\
  4329. padding: 1px 10px;\
  4330. margin: 0px 0;\
  4331. -x-system-font:none;\
  4332. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4333. font-size:10pt;\
  4334. font-size-adjust:none;\
  4335. font-stretch:normal;\
  4336. font-style:normal;\
  4337. font-variant:normal;\
  4338. font-weight:normal;\
  4339. line-height:normal;\
  4340. }\
  4341. #sites {\
  4342. padding: 1px 10px;\
  4343. margin: 0px 0;display:inline-block;width:16em;\
  4344. }\
  4345. #dev_ver {\
  4346. color: #00FF00;\
  4347. background: Black;\
  4348. text-align: right;\
  4349. }\
  4350. #sites_suspended {\
  4351. padding: 1px 10px;\
  4352. margin: 0px 0;display:inline-block;width:16em;\
  4353. text-decoration: line-through;\
  4354. }\
  4355. .popup img.cntrl {\
  4356. position: absolute;\
  4357. right: -15px;\
  4358. top: -15px;\
  4359. }\
  4360. #bulk {\
  4361. font-size:8pt;\
  4362. color:orange;\
  4363. padding: 1px 10px;\
  4364. margin: 0px 0;\
  4365. display:inline-block;\
  4366. width:100px;\
  4367. }\
  4368. #note {\
  4369. font-size:7pt;\
  4370. color:gray;\
  4371. padding: 1px 10px;\
  4372. margin: 0px 0;display:inline-block;\
  4373. min-width:100px;\
  4374. }\
  4375. #rednote {\
  4376. font-size:7pt;\
  4377. color:red;\
  4378. padding: 1px 10px;\
  4379. margin: 0px 0;display:inline-block;\
  4380. }\
  4381. #configinfo {\
  4382. font-size:8pt;\
  4383. color:gray;\
  4384. padding: 1px 10px;\
  4385. margin: 0px 0;display:inline-block;width:60em;\
  4386. }\
  4387. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4388. color:black;\
  4389. border-style: solid;\
  4390. border-width: 1px;\
  4391. border-color: gray;\
  4392. }\
  4393. #h3hideshowcontent {\
  4394. min-height:220px;\
  4395. max-height:220px;\
  4396. overflow:auto;\
  4397. display: none;\
  4398. padding: 10px 10px;\
  4399. }\
  4400. #specinfo{\
  4401. font-size:14px;\
  4402. }\
  4403. .warlc-ui-tab {\
  4404. height:300px;\
  4405. overflow:auto;\
  4406. }\
  4407. #warlcsitelist2, #warlcsitelist1 {\
  4408. height:220px;\
  4409. border-top: 1px solid #ddd;\
  4410. padding-top: 5px;\
  4411. overflow:auto;\
  4412. }\
  4413. input:hover+label {\
  4414. background:#F1F77C;\
  4415. font-size:110%;\
  4416. }\
  4417. ';
  4418.  
  4419. GM_addStyle(configcss);
  4420.  
  4421. var customRulesRefHTML =
  4422. '\
  4423. <br>\
  4424. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4425. <b>@keyword</b> <i>parameter</i>\
  4426. <br><br>\
  4427. 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. \
  4428. <br><br>\
  4429. 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.\
  4430. 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.\
  4431. 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.\
  4432. 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,\
  4433. but all commands until the next valid @customrule are ignored.<br><br>\
  4434. Available forms and types:\
  4435. <ul>\
  4436. <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.\
  4437. <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.\
  4438. <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.\
  4439. <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.\
  4440. </ul>\
  4441. Other available commands:<br>\
  4442. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4443. <ul>\
  4444. <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.\
  4445. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4446. <ul>examples:<br>\
  4447. <li>good: <i>filehost.com/download/</i><br>\
  4448. <li>good: <i>download.filehost.net/?d=</i><br>\
  4449. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4450. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4451. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4452. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4453. <li>bad: <i>filehost.com</i> - no slash<br>\
  4454. </ul>\
  4455. \
  4456. <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.\
  4457. 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 \
  4458. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4459. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4460. 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.)\
  4461. Two spaces again match any whitespace.\
  4462. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4463. Two spaces again match any whitespace.\
  4464. <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. \
  4465. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4466. </ul>\
  4467. \
  4468. ';
  4469.  
  4470. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4471. var configurationinnerHTML =
  4472. '<div id="fade"></div>\
  4473. <div class="popup_block">\
  4474. <div class="popup">\
  4475. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK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I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/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>\
  4477. <div id="warlc-conf-tabs">\
  4478. <ul>\
  4479. <li><a href="#tabs-1">Filehostings</a></li>\
  4480. <li><a href="#tabs-2">Containers</a></li>\
  4481. <li><a href="#tabs-5">Custom rules</a></li>\
  4482. <li><a href="#tabs-3">Settings</a></li>\
  4483. <li><a href="#tabs-4">About</a></li>\
  4484. </ul>\
  4485. <div id="tabs-1" class="warlc-ui-tab">\
  4486. <div class="warlc-ui-buttonset">\
  4487. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4488. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4489. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4490. </div><br>\
  4491. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4492. <div id="warlcsitelist1"><span>Empty</span></div>\
  4493. </div>\
  4494. <div id="tabs-2" class="warlc-ui-tab">\
  4495. <div class="warlc-ui-buttonset">\
  4496. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4497. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4498. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4499. </div><br>\
  4500. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4501. <div id="warlcsitelist2"><span>Empty</span></div>\
  4502. </div>\
  4503. <div id="tabs-5" class="warlc-ui-tab">\
  4504. <div class="warlcsettings">\
  4505. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4506. <br>\
  4507. <div>Edit custom rules: \
  4508. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4509. <div id="customRulesReference" style="display:none;">'
  4510. + customRulesRefHTML + '\
  4511. </div>\
  4512. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4513. </div>\
  4514. </div>\
  4515. </div>\
  4516. <div id="tabs-3" class="warlc-ui-tab">\
  4517. <div class="warlcsettings">\
  4518. <fieldset>\
  4519. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4520. <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>\
  4521. </fieldset>\
  4522. <fieldset>\
  4523. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4524. <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>\
  4525. <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>\
  4526. <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>\
  4527. <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>\
  4528. <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>\
  4529. <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>\
  4530. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4531. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4532. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4533. <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>\
  4534. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4535. <fieldset>\
  4536. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4537. <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>\
  4538. <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>\
  4539. <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>\
  4540. </fieldset>\
  4541. </fieldset>\
  4542. <fieldset>\
  4543. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4544. </fieldset>\
  4545. <fieldset>\
  4546. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4547. </fieldset>\
  4548. <fieldset>\
  4549. <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>\
  4550. </fieldset>\
  4551. <fieldset>\
  4552. <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>\
  4553. </fieldset>\
  4554. </div>\
  4555. </div>\
  4556. <div id="tabs-4" class="warlc-ui-tab">\
  4557. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4558. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4559. <br />\
  4560. <p><b>Currently supported:</b><br>\
  4561. Filehostings: ' + allHostNames.length + '<br />\
  4562. Containers: ' + allContainerNames.length + '<br />\
  4563. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4564. <br />\
  4565. <p><b>Based on:</b><br>\
  4566. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4567. <br />\
  4568. <p><b>Uses:</b></p>\
  4569. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4570. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4571. <br />\
  4572. <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>\
  4573. </div>\
  4574. </div>\
  4575. </div>\
  4576. </div>';
  4577. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4578. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4579. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4580. var elmHostList = document.getElementById("warlcsitelist1");
  4581. var elmContainerList = document.getElementById("warlcsitelist2");
  4582. buildSettings();
  4583. buildSitelist("", allHostNames, elmHostList);
  4584. buildSitelist("", allContainerNames, elmContainerList);
  4585. if (DEBUG_MODE)
  4586. {
  4587. //log all sites availability status
  4588. diagSites();
  4589. }
  4590. //handler for checkbox state change
  4591. function changeConfiguration(e)
  4592. {
  4593. var element = e.target;
  4594.  
  4595. if (element.type == 'checkbox')
  4596. {
  4597. if (element.checked == 1)
  4598. {
  4599. GM_setValue(element.id, true);
  4600. }
  4601. else
  4602. {
  4603. GM_setValue(element.id, false);
  4604. }
  4605.  
  4606. }
  4607. setVariables();
  4608. }
  4609.  
  4610. //Selects all filehosting checkboxes
  4611. function selectAll()
  4612. {
  4613. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4614. .each(function(index, element){GM_setValue(this.id, true)});
  4615. }
  4616.  
  4617. //Deselects all filehosting checkboxes
  4618. function selectNone()
  4619. {
  4620. $(":checkbox:visible:checked").prop("checked",false)
  4621. .each(function(index, element){GM_setValue(this.id, false)});
  4622. }
  4623.  
  4624. //Inverts filehosting checkboxes selection
  4625. function selectInvert()
  4626. {
  4627. var $checked = $(":checkbox:visible:checked");
  4628. var $unchecked = $(":checkbox:visible:not(:checked)");
  4629. $unchecked.prop("checked",true)
  4630. .each(function(index, element){GM_setValue(this.id, true)});
  4631. $checked.prop("checked",false)
  4632. .each(function(index, element){GM_setValue(this.id, false)});
  4633. }
  4634. //toggles anonymizer on off
  4635. function Enable_Anonymizer()
  4636. {
  4637. var $checked = $(":checkbox:visible:checked");
  4638. var $unchecked = $(":checkbox:visible:not(:checked)");
  4639. $unchecked.prop("checked",true)
  4640. .each(function(index, element){GM_setValue(this.id, true)});
  4641. $checked.prop("checked",false)
  4642. .each(function(index, element){GM_setValue(this.id, false)});
  4643. }
  4644.  
  4645. function changeRefAnonymizer(){
  4646. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4647. }
  4648.  
  4649. //Sets live links color
  4650. function changeColorLive()
  4651. {
  4652. var inColorLive = document.getElementById("inputColorLive");
  4653. inColorLive.style.background = inColorLive.value;
  4654. GM_setValue("Live_links_color", inColorLive.value);
  4655. }
  4656.  
  4657. //Sets dead links color
  4658. function changeColorDead()
  4659. {
  4660. var inColorDead = document.getElementById("inputColorDead");
  4661. inColorDead.style.background = inColorDead.value;
  4662. GM_setValue("Dead_links_color", inColorDead.value);
  4663. }
  4664.  
  4665. //Sets temp. unavailable links color
  4666. function changeColorTemp()
  4667. {
  4668. var inColorTemp = document.getElementById("inputColorTemp");
  4669. inColorTemp.style.background = inColorTemp.value;
  4670. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4671. }
  4672.  
  4673. //Sets temp. unavailable links color
  4674. function changeColorCont()
  4675. {
  4676. var inColorCont = document.getElementById("inputColorCont");
  4677. inColorCont.style.background = inColorCont.value;
  4678. GM_setValue("Container_links_color", inColorCont.value);
  4679. }
  4680. //Sets premium. links color
  4681. function changeColorprem()
  4682. {
  4683. var inColorprem = document.getElementById("inputColorprem");
  4684. inColorprem.style.background = inColorprem.value;
  4685. GM_setValue("Premium_links_color", inColorprem.value);
  4686. }
  4687.  
  4688. //Diagnose sites for availability
  4689. function diagSites()
  4690. {
  4691. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4692.  
  4693. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4694. {
  4695. if (boxes[i].type == "checkbox")
  4696. {
  4697. checkAvailability(boxes[i]);
  4698. }
  4699. }
  4700.  
  4701. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4702.  
  4703. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4704. {
  4705. if (boxes[i].type == "checkbox")
  4706. {
  4707. checkAvailability(boxes[i]);
  4708. }
  4709. }
  4710.  
  4711. function checkAvailability(cbElm)
  4712. {
  4713. var cb = cbElm;
  4714. GM_xmlhttpRequest(
  4715. {
  4716. method: 'HEAD',
  4717. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4718. headers: {
  4719. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4720. 'Accept': 'text/xml',
  4721. 'Referer': ""
  4722. },
  4723. onload: function (result)
  4724. {
  4725. if (result.status != 200)
  4726. {
  4727. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4728. }
  4729. },
  4730. onerror: function (result)
  4731. {
  4732. if (result.status != 200)
  4733. {
  4734. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4735. }
  4736. }
  4737. });
  4738. }
  4739. }
  4740. function buildSettings()
  4741. {
  4742. $(".warlcsettings :checkbox").each(function(){
  4743. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4744. .click(function(e){
  4745. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4746. setVariables();
  4747. });
  4748. })
  4749. }
  4750. //Dynamic build of host list
  4751. //param search [string] searches for hostnames matching search substring
  4752. //param siteNames [array] array of site names
  4753. //param targetNode [DOM Node] where the list should be built
  4754. // first child node is replaced
  4755. function buildSitelist(search, siteNames, targetNode)
  4756. {
  4757. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4758. var $targetNode = $(targetNode).empty();
  4759. var searchedSite = "";
  4760. $.each(siteNames, function(i, site){
  4761. if (searchedSite = site.match(searchRegex))
  4762. {
  4763. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4764. //ensuring backward compatibility with the rest of code, to be refactored later
  4765. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4766. //
  4767. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4768. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4769. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4770. );
  4771. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4772. .change(changeConfiguration);
  4773. $targetNode.append('<br />');
  4774. }
  4775. });
  4776. $targetNode.append("<hr>");
  4777. //obsolete hosts checkbox
  4778. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4779. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4780. .change(changeConfiguration);
  4781. $targetNode.append('<br />');
  4782. var foundName = "";
  4783. $.each(allObsoleteNames, function(i, site){
  4784. if (foundName = allObsoleteNames[i].match(searchRegex))
  4785. {
  4786. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4787. }
  4788. })
  4789. }
  4790. var hostSearchBox = document.getElementById("hostSearchBox");
  4791. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4792. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4793. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4794. $(".warlc-ui-select-all").click(selectAll).button();
  4795. $(".warlc-ui-select-none").click(selectNone).button();
  4796. $(".warlc-ui-select-invert").click(selectInvert).button();
  4797. $(".warlc-ui-buttonset").buttonset();
  4798. var inColorLive = document.getElementById("inputColorLive");
  4799. inColorLive.addEventListener('keyup', changeColorLive, false);
  4800.  
  4801. var inColorDead = document.getElementById("inputColorDead");
  4802. inColorDead.addEventListener('keyup', changeColorDead, false);
  4803.  
  4804. var inColorTemp = document.getElementById("inputColorTemp");
  4805. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4806.  
  4807. var inColorCont = document.getElementById("inputColorCont");
  4808. inColorCont.addEventListener('keyup', changeColorCont, false);
  4809. var inColorprem = document.getElementById("inputColorprem");
  4810. inColorprem.addEventListener('keyup', changeColorprem, false);
  4811. $("#refAnonymizer").change(changeRefAnonymizer);
  4812. //buttons and edit boxes init end
  4813.  
  4814. //icon sets radio buttons
  4815. var radioButtons = document.getElementsByName("warlciconset");
  4816. radioButtons[Icon_set].checked = "checked";
  4817.  
  4818. radioButtons[0].addEventListener("change", updateIconSet);
  4819. radioButtons[1].addEventListener("change", updateIconSet);
  4820. radioButtons[2].addEventListener("change", updateIconSet);
  4821. radioButtons[3].addEventListener("change", updateIconSet);
  4822. function updateIconSet()
  4823. {
  4824. GM_setValue("Icon_set", this.value * 1);
  4825. }
  4826. //
  4827. $('#showCustomRulesReference').click(function(e){
  4828. e.preventDefault();
  4829. $('#customRulesReference').toggle();
  4830. });
  4831. $('#Custom_rules_text')
  4832. .val(Custom_rules_text)
  4833. .change(saveCustomRules);
  4834. function saveCustomRules(e)
  4835. {
  4836. var cr = parseCustomRules(this.value);
  4837. if (cr.info.length)
  4838. 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, ' '));
  4839. GM_setValue('Custom_rules_text', this.value);
  4840. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4841. }
  4842. }
  4843.  
  4844. //begin standard link checking algorithm
  4845. function start(filterId)
  4846. {
  4847. var doNotLinkify = Do_not_linkify_DL_links;
  4848.  
  4849. // USER SELECTED FILE HOSTS INITIALIZATION START
  4850. var http_file_hosts = new Array(); //standard hostings
  4851. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4852. var http_file_hosts_obsolete = new Array(); //dead hostings
  4853. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4854.  
  4855. initFileHosts();
  4856. initFileHostsHeadersOnly();
  4857. initFileHostsCustom(); //CustomRules
  4858. // USER SELECTED FILE HOSTS INITIALIZATION END
  4859.  
  4860. // LINKIFICATION START
  4861. var totalxpath = '';
  4862. var totalxpathcoded = '';
  4863. var totalxpathobsolete = '';
  4864. var totalxpathheadersonly = '';
  4865. var totalourls = '';
  4866.  
  4867. var filehostLen = http_file_hosts.length;
  4868. var filehostCodedLen = http_file_hosts_coded.length;
  4869. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4870. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4871.  
  4872. var filehostIdx = filehostLen;
  4873. var filehostCodedIdx = filehostCodedLen;
  4874. var filehostObsoleteIdx = filehostObsoleteLen;
  4875. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4876.  
  4877. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4878. return;
  4879.  
  4880. while (filehostIdx--)
  4881. {
  4882. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4883. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4884. }
  4885.  
  4886. while (filehostCodedIdx--)
  4887. {
  4888. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4889. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4890. }
  4891.  
  4892. while (filehostObsoleteIdx--)
  4893. {
  4894. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4895. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4896. }
  4897.  
  4898. while (filehostHeadersOnlyIdx--)
  4899. {
  4900. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4901. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4902. }
  4903.  
  4904. totalourls = totalourls.replace(/\|$/g, "");
  4905. //TODO: further refactoring needed
  4906. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4907. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4908. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4909. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4910. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4911. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4912. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4913. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4914. if (filterId != null) //insert id restriction in the xpath
  4915. {
  4916. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4917. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4918. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4919. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4920. }
  4921. else
  4922. {
  4923. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4924. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4925. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4926. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4927. }
  4928. linkify(totalourls);
  4929. //LINKIFICATION END
  4930. //ENCRYPTED LINKS PROCESSING START
  4931. if (http_file_hosts_coded.length > 0)
  4932. {
  4933. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4934.  
  4935. // decrypt coded links (redirects, link protectors etc.)
  4936. if (linksCoded.snapshotLength > 0)
  4937. {
  4938. var link;
  4939. var reallinkreg;
  4940. var reallinkcorrection;
  4941.  
  4942. if (filterId == null)
  4943. {
  4944. cLinksTotal += linksCoded.snapshotLength;
  4945. }
  4946.  
  4947. var y = linksCoded.snapshotLength - 1;
  4948. do
  4949. {
  4950. // linksCoded.snapshotItem(y).id = 'processing_link';
  4951. link = linksCoded.snapshotItem(y);
  4952. filehostIdx = filehostCodedLen;
  4953. while (filehostIdx--)
  4954. {
  4955. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4956. {
  4957. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4958. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4959. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4960.  
  4961. decurl(link, reallinkreg, reallinkcorrection);
  4962. break;
  4963. }
  4964. }
  4965. }
  4966. while (y--);
  4967. }
  4968. }
  4969. //ENCRYPTED LINKS PROCESSING END
  4970.  
  4971. //STANDARD LINKCHECKING START
  4972. if (http_file_hosts.length > 0)
  4973. {
  4974. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4975.  
  4976. if (filterId == null)
  4977. {
  4978. cLinksTotal += lianks.snapshotLength;
  4979. }
  4980.  
  4981. if (lianks.snapshotLength > 0)
  4982. {
  4983. var link;
  4984.  
  4985. var URL = "";
  4986. var name = "";
  4987. var isAliveRegex = "";
  4988. var isDeadRegex = "";
  4989. var isUnavaRegex = "";
  4990. var ispremRegex = "";
  4991. var tryLoop = false;
  4992.  
  4993. var y = lianks.snapshotLength;
  4994.  
  4995. while (y--)
  4996. {
  4997. link = lianks.snapshotItem(y);
  4998.  
  4999. filehostIdx = filehostLen;
  5000. while (filehostIdx--)
  5001. {
  5002. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5003. {
  5004. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5005. isAliveRegex = http_file_hosts[filehostIdx][1];
  5006. isDeadRegex = http_file_hosts[filehostIdx][2];
  5007. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5008. ispremRegex = http_file_hosts[filehostIdx][6];
  5009. tryLoop = http_file_hosts[filehostIdx][5];
  5010.  
  5011. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5012.  
  5013. break;
  5014. }
  5015. }
  5016. }
  5017. }
  5018. }
  5019. //STANDARD LINKCHECKING END
  5020. //OBSOLETE FILE HOSTS PROCESSING START
  5021. if (filehostObsoleteLen > 0)
  5022. {
  5023. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5024.  
  5025. var obsoleteLink;
  5026.  
  5027. //check links
  5028. if (obsoletelinks.snapshotLength > 0)
  5029. {
  5030. var y = obsoletelinks.snapshotLength;
  5031.  
  5032. if (filterId == null)
  5033. {
  5034. cLinksTotal += y;
  5035. }
  5036.  
  5037. while (y--)
  5038. {
  5039. obsoleteLink = obsoletelinks.snapshotItem(y);
  5040.  
  5041. if (Display_tooltip_info)
  5042. {
  5043. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5044. }
  5045. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5046. }
  5047. }
  5048. }
  5049. //OBSOLETE FILE HOSTS PROCESSING END
  5050.  
  5051. //DIRECT LINKCHECKING START
  5052. if (http_file_hosts_headers_only.length > 0)
  5053. {
  5054. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5055.  
  5056. //check links
  5057. if (links.snapshotLength > 0)
  5058. {
  5059. var link;
  5060. var isAliveRegex;
  5061. var isDeadRegex;
  5062. var ispremRegex;
  5063.  
  5064. var y = links.snapshotLength;
  5065.  
  5066.  
  5067. if (filterId == null)
  5068. {
  5069. cLinksTotal += y;
  5070. }
  5071.  
  5072. while (y--)
  5073. {
  5074. // links.snapshotItem(y).id = 'processing_link';
  5075. link = links.snapshotItem(y);
  5076. filehostIdx = filehostHeadersOnlyLen;
  5077. while (filehostIdx--)
  5078. {
  5079. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5080. {
  5081. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5082. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5083. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5084. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5085.  
  5086. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5087.  
  5088. break;
  5089. }
  5090. }
  5091. }
  5092.  
  5093. }
  5094. }
  5095. //DIRECT LINKCHECKING END
  5096.  
  5097.  
  5098. //finds the real url on the page, replaces link.href with it and calls geturl
  5099. function decurl(link, reallinkreg, reallinkcorrection)
  5100. {
  5101.  
  5102. GM_xmlhttpRequest(
  5103. {
  5104. method: 'GET',
  5105. url: link.href,
  5106. headers: {
  5107. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5108. 'Accept': 'text/xml',
  5109. 'Referer': ""
  5110. },
  5111. onload: function (result)
  5112. {
  5113. // cLinksProcessed++;
  5114.  
  5115. var reallink = result.responseText.match(reallinkreg)[0];
  5116. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5117.  
  5118. link.href = reallink;
  5119.  
  5120. var i = http_file_hosts.length - 1;
  5121. do
  5122. {
  5123. if ((reallink.match(http_file_hosts[i][0])))
  5124. {
  5125. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5126. var isAliveRegex = http_file_hosts[i][1];
  5127. var isDeadRegex = http_file_hosts[i][2];
  5128. var isUnavaRegex = http_file_hosts[i][3];
  5129. var ispremRegex = http_file_hosts[i][4];
  5130.  
  5131. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5132.  
  5133. break;
  5134. }
  5135. }
  5136. while (i--);
  5137. }
  5138. });
  5139. }
  5140.  
  5141. function randUA()
  5142. {
  5143. //TODO
  5144. }
  5145. //Processes link
  5146. //
  5147. // [string] link link URL
  5148. // [string] isAliveRegex alive link regex
  5149. // [string] isDeadRegex dead link regex
  5150. // [string] isUnavaRegex unavailable link regex
  5151. // [string] ispremRegex premium link regex
  5152. // [boolean] tryLoop repeats request until succeeded
  5153. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5154. {
  5155. GM_xmlhttpRequest(
  5156. {
  5157. method: 'GET',
  5158. url: link.href,
  5159. headers: {
  5160. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5161. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5162. 'Referer': ""
  5163. },
  5164. onload: function (result)
  5165. {
  5166. var res = result.responseText;
  5167. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5168. {
  5169. displayTheCheckedLink(link, 'alive_link');
  5170. return;
  5171. }
  5172.  
  5173. if (res.match(isAliveRegex))
  5174. {
  5175. displayTheCheckedLink(link, 'alive_link');
  5176. return;
  5177. }
  5178.  
  5179. if (res.match(isDeadRegex))
  5180. {
  5181. displayTheCheckedLink(link, 'adead_link');
  5182. return;
  5183. }
  5184.  
  5185. if (isUnavaRegex && res.match(isUnavaRegex))
  5186. {
  5187. displayTheCheckedLink(link, 'unava_link');
  5188. return;
  5189. }
  5190. if (res.match(ispremRegex))
  5191. {
  5192. displayTheCheckedLink(link, 'prem_link');
  5193. return;
  5194. }
  5195.  
  5196. var resStatus = result.status;
  5197.  
  5198. if (resStatus == 404)
  5199. {
  5200. displayTheCheckedLink(link, 'adead_link');
  5201. }
  5202. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5203. {
  5204. if (tryLoop)
  5205. {
  5206. //wait 1-5 seconds and repeat the request
  5207. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5208. }
  5209. else
  5210. {
  5211. displayTheCheckedLink(link, 'unava_link');
  5212. }
  5213.  
  5214. return;
  5215. }
  5216. },
  5217. onerror: function ()
  5218. {
  5219. displayTheCheckedLink(link, 'unava_link');
  5220. }
  5221. });
  5222. }
  5223.  
  5224. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5225. {
  5226. GM_xmlhttpRequest(
  5227. {
  5228. method: 'HEAD',
  5229. url: link.href,
  5230. headers: {
  5231. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5232. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5233. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5234. 'Referer': ""
  5235. },
  5236. onload: function (result)
  5237. {
  5238. var resStatus = result.status;
  5239. var resHeaders = "";
  5240. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5241. {
  5242. displayTheCheckedLink(link, 'adead_link');
  5243. return;
  5244. }
  5245.  
  5246. resHeaders = result.responseHeaders;
  5247.  
  5248. if (resHeaders.match(isDeadRegex))
  5249. {
  5250. displayTheCheckedLink(link, 'adead_link');
  5251. return;
  5252. }
  5253.  
  5254. if (resHeaders.match(isAliveRegex))
  5255. {
  5256. displayTheCheckedLink(link, 'alive_link');
  5257. return;
  5258. }
  5259. if (resHeaders.match(ispremRegex))
  5260. {
  5261. displayTheCheckedLink(link, 'prem_link');
  5262. return;
  5263. }
  5264. },
  5265. onerror: function ()
  5266. {
  5267. displayTheCheckedLink(link, 'unava_link');
  5268. }
  5269. });
  5270. }
  5271.  
  5272. //Delinkfifies the <a> element object
  5273. function delinkifyLink(link)
  5274. {
  5275. var spanElm = document.createElement("span");
  5276. spanElm.className = link.className;
  5277. spanElm.innerHTML = link.innerHTML;
  5278.  
  5279. if (Display_tooltip_info)
  5280. {
  5281. spanElm.href = link.href;
  5282. spanElm.warlc_error = link.warlc_error;
  5283. switch (link.className){
  5284. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5285. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5286. case "unava_link": //reserved
  5287. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5288. default:
  5289. }
  5290. }
  5291. link.parentNode.replaceChild(spanElm, link);
  5292. }
  5293.  
  5294. //Assigns result status to the <a> element object and calls delinkifying eventually
  5295. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5296. function displayTheCheckedLink(link, resultStatus)
  5297. {
  5298. link.className = resultStatus;
  5299. link.href = Ref_anonymize_service + link.href;
  5300. if (Display_tooltip_info)
  5301. {
  5302. switch (resultStatus){
  5303. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5304. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5305. case "unava_link": //reserved
  5306. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5307. default:
  5308. }
  5309. }
  5310. if (doNotLinkify)
  5311. {
  5312. delinkifyLink(link);
  5313. }
  5314. cLinksProcessed++;
  5315.  
  5316. if (resultStatus == "alive_link")
  5317. {
  5318. cLinksAlive++;
  5319. return;
  5320. }
  5321.  
  5322. if (resultStatus == "adead_link")
  5323. {
  5324. cLinksDead++;
  5325. return;
  5326. }
  5327.  
  5328. if (resultStatus == "unava_link")
  5329. {
  5330. cLinksUnava++;
  5331. }
  5332. if (resultStatus == "prem_link")
  5333. {
  5334. cLinksprem++;
  5335. return;
  5336. }
  5337. }
  5338.  
  5339.  
  5340. function initFileHosts()
  5341. {
  5342.  
  5343. function addObsoleteHost(linkRegex, xpathEx)
  5344. {
  5345. var host = new Array(2);
  5346. host[0] = linkRegex;
  5347. host[1] = xpathEx;
  5348. http_file_hosts_obsolete.push(host);
  5349. }
  5350.  
  5351. //obsolete file hosts init start
  5352. if (Obsolete_file_hosts)
  5353. {
  5354. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5355. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5356. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5357. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5358. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5359. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5360. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5361. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5362. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5363. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5364. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5365. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5366. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5367. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5368. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5369. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5370. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5371. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5372. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5373. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5374. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5375. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5376. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5377. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5378. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5379. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5380. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5381. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5382. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5383. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5384. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5385. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5386. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5387. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5388. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5389. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5390. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5391. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5392. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5393. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5394. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5395. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5396. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5397. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5398. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5399. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5400. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5401. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5402. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5403. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5404. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5405. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5406. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5407. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5408. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5409. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5410. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5411. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5412. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5413. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5414. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5415. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5416. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5417. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5418. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5419. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5420. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5421. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5422. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5423. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5424. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5425. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5426. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5427. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5428. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5429. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5430. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5431. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5432. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5433. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5434. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5435. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5436. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5437. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5438. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5439. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5440. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5441. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5442. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5443. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5444. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5445. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5446. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5447. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5448. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5449. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5450. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5451. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5452. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5453. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5454. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5455. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5456. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5457. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5458. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5459. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5460. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5461. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5462. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5463. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5464. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5465. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5466. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5467. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5468. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5469. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5470. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5471. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5472. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5473. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5474. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5475. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5476. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5477. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5478. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5479. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5480. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5481. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5482. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5483. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5484. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5485. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5486. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5487. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5488. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5489. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5490. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5491. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5492. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5493. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5494. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5495. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5496. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5497. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5498. 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')]");
  5499. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5500. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5501. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5502. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5503. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5504. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5505. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5506. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5507. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5508. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5509. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5510. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5511. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5512. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5513. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5514. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5515. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5516. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5517. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5518. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5519. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5520. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5521. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5522. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5523. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5524. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5525. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5526. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5527. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5528. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5529. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5530. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5531. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5532. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5533. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5534. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5535. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5536. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5537. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5538. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5539. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5540. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5541. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5542. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5543. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5544. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5545. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5546. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5547. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5548. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5549. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5550. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5551. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5552. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5553. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5554. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5555. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5556. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5557. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5558. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5559. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5560. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5561. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5562. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5563. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5564. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5565. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5566. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5567. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5568. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5569. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5570. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5571. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5572. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5573. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5574. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5575. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5576. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5577. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5578. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5579. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5580. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5581. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5582. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5583. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5584. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5585. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5586. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5587. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5588. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5589. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5590. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5591. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5592. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5593. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5594. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5595. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5596. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5597. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5598. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5599. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5600. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5601. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5602. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5603. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5604. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5605. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5606. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5607. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5608. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5609. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5610. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5611. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5612. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5613. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5614. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5615. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5616. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5617. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5618. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5619. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5620. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5621. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5622. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5623. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5624. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5625. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5626. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5627. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5628. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5629. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5630. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5631. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5632. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5633. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5634. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5635. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5636. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5637. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5638. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5639. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5640. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5641. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5642. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5643. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5644. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5645. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5646. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5647. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5648. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5649. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5650. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5651. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5652. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5653. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5654. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5655. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5656. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5657. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5658. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5659. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5660. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5661. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5662. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5663. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5664. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5665. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5666. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5667. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5668. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5669. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5670. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5671. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5672. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5673. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5674. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5675. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5676. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5677. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5678. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5679. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5680. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5681. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5682. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5683. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5684. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5685. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5686. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5687. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5688. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5689. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5690. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5691. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5692. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5693. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5694. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5695. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5696. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5697. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5698. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5699. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5700. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5701. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5702. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5703. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5704. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5705. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5706. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5707. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5708. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5709. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5710. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5711. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5712. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5713. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5714. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5715. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5716. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5717. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5718. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5719. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5720. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5721. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5722. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5723. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5724. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5725. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5726. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5727. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5728. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5729. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5730. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5731. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5732. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5733. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5734. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5735. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5736. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5737. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5738. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5739. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5740. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5741. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5742. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5743. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5744. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5745. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5746. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5747. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5748. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5749. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5750. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5751. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5752. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5753. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5754. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5755. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5756. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5757. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5758. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5759. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5760. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5761. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5762. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5763. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5764. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5765. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5766. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5767. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5768. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5769. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5770. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5771. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5772. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5773. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5774. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5775. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5776. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5777. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5778. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5779. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5780. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5781. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5782. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5783. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5784. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5785. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5786. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5787. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5788. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5789. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5790. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5791. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5792. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5793. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5794. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5795. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5796. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5797. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5798. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5799. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5800. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5801. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5802. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5803. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5804. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5805. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5806. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5807. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5808. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5809. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5810. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5811. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5812. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5813. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5814. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5815. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5816. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5817. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5818. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5819. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5820. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5821. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5822. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5823. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5824. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5825. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5826. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5827. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5828. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5829. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5830. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5831. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5832. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5833. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5834. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5835. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5836. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5837. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5838. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5839. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5840. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5841. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5842. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm​.to/')]");
  5843. // obsolete start
  5844. }
  5845. //obsolete file hosts init end
  5846. //Add Host Example
  5847. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5848. {
  5849. addFileHost(
  5850. "datafile\.com\/\\w+",
  5851. 'var captchaPanel|<link href="/css/files_download.css"',
  5852. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5853. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5854. '<style type="text/css">',
  5855. "//a[contains(@href,'datafile.com')]",
  5856. true);
  5857. } */
  5858.  
  5859. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5860. {
  5861. var host = new Array(7);
  5862. host[0] = linkRegex;
  5863. host[1] = isAliveRegex;
  5864. host[2] = isDeadRegex;
  5865. host[3] = isUnavaRegex;
  5866. host[6] = ispremRegex;
  5867. host[4] = xpathEx;
  5868. tryLoop ? host[5] = true : host[5] = false;
  5869. http_file_hosts.push(host);
  5870. }
  5871. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5872. {
  5873. addFileHost(
  5874. "megafileupload\.com\/..\/file\/",
  5875. 'downloadbtn',
  5876. 'is not found',
  5877. 'optional--',
  5878. 'optional2--',
  5879. "//a[contains(@href,'megafileupload.com')]");
  5880. }
  5881. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5882. {
  5883. addFileHost(
  5884. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5885. 'download\\.gif"',
  5886. 'p_point">',
  5887. 'optional--',
  5888. 'optional2--',
  5889. "//a[contains(@href,'demo.ovh.eu')]");
  5890. }
  5891. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5892. {
  5893. addFileHost(
  5894. "xkeepfile\.com\/\\w+",
  5895. 'File has been found|Click here to download',
  5896. 'File cannot be found|class="error">',
  5897. 'optional--',
  5898. 'optional2--',
  5899. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5900. }
  5901. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5902. {
  5903. addFileHost(
  5904. "safelinking\\.net\/p\/\\w+",
  5905. 'color:green;"',
  5906. 'color:(?:red|orange);"',
  5907. 'color:(?:grey|brown);"',
  5908. 'optional2--',
  5909. "//a[contains(@href,'safelinking.net/p/')]",
  5910. true);
  5911. }
  5912. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5913. {
  5914. addFileHost(
  5915. "fastshare\\.cz\/\\d+\/\\w*",
  5916. 'dwntable">|speed-low',
  5917. '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',
  5918. 'optional--',
  5919. 'optional2--',
  5920. "//a[contains(@href,'fastshare.cz')]");
  5921. }
  5922. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5923. {
  5924. addFileHost(
  5925. "[fF]ast[sS]hare\\.org\/download",
  5926. 'Download ">',
  5927. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5928. 'optional--',
  5929. 'optional2--',
  5930. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5931. }
  5932. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5933. {
  5934. addFileHost(
  5935. "partage-facile\.com\/\\w+",
  5936. 'class="title"><strong>|colspan="2"',
  5937. 'Page introuvable|class="alert-message',
  5938. 'optional--',
  5939. 'optional2--',
  5940. "//a[contains(@href,'partage-facile.com')]");
  5941. }
  5942. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5943. {
  5944. addFileHost(
  5945. "rapidgator\\.net\/file\/\\w+",
  5946. '/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',
  5947. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5948. 'optional--',
  5949. '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',
  5950. "//a[contains(@href,'rapidgator.net/file')]",
  5951. true
  5952. );
  5953. }
  5954. if (GM_getValue("Check_relink_dot_us_links", false))
  5955. {
  5956. addFileHost(
  5957. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5958. 'online_detail\\.png" alt="Status',
  5959. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5960. 'unknown_detail\\.png" alt="Status',
  5961. 'optional2--',
  5962. "//a[contains(@href,'relink.us/')]"
  5963. );
  5964. }
  5965. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5966. {
  5967. addFileHost(
  5968. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5969. 'div id="dl"',
  5970. 'Sie haben den Link falsch',
  5971. 'optional--',
  5972. 'optional2--',
  5973. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5974. );
  5975. }
  5976. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5977. {
  5978. addFileHost(
  5979. "flyfiles\\.net\/\\w+",
  5980. 'download_button"|"Download file"',
  5981. 'File not found!|Файл не найден',
  5982. 'optional--',
  5983. 'optional2--',
  5984. "//a[contains(@href,'flyfiles.net/')]"
  5985. );
  5986. }
  5987. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5988. {
  5989. addFileHost(
  5990. "wikiupload\\.com\/\\w+",
  5991. 'download-button">',
  5992. 'Sorry, File not found',
  5993. 'optional--',
  5994. 'optional2--',
  5995. "//a[contains(@href,'wikiupload.com/')]"
  5996. );
  5997. }
  5998. if (GM_getValue("Check_hostuje_dot_net_links", false))
  5999. {
  6000. addFileHost(
  6001. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6002. 'file\\.php">|Pobierz Plik',
  6003. 'Podany plik nie zosta',
  6004. 'optional--',
  6005. 'optional2--',
  6006. "//a[contains(@href,'hostuje.net/file')]"
  6007. );
  6008. }
  6009. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6010. {
  6011. addFileHost(
  6012. "gettyfile\\.ru\/\\d+",
  6013. 'download\\.gif border',
  6014. '<center><font size="3">',
  6015. 'optional--',
  6016. 'optional2--',
  6017. "//a[contains(@href,'gettyfile.ru/')]"
  6018. );
  6019. }
  6020. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6021. {
  6022. addFileHost(
  6023. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6024. 'download\\-file">',
  6025. 'col-1">\\s*<h1>',
  6026. 'optional--',
  6027. 'optional2--',
  6028. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6029. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6030. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6031. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6032. );
  6033. }
  6034. if (GM_getValue("Check_data_dot_hu_links", false))
  6035. {
  6036. addFileHost(
  6037. "data\\.hu\/get\/\\d+\/",
  6038. 'download_box_button',
  6039. 'missing\\.php',
  6040. 'optional--',
  6041. 'optional2--',
  6042. "//a[contains(@href,'data.hu/get')]",
  6043. true
  6044. );
  6045. }
  6046. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6047. {
  6048. addFileHost(
  6049. "filesmelt\\.com\/dl\/\\w+",
  6050. '(Your download is ready|Download File)',
  6051. 'Sorry, but your',
  6052. 'optional--',
  6053. 'optional2--',
  6054. "//a[contains(@href,'filesmelt.com/dl')]"
  6055. );
  6056. }
  6057. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6058. {
  6059. addFileHost(
  6060. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6061. 'premiumBtn"',
  6062. 'errorMessage"',
  6063. 'optional--',
  6064. 'optional2--',
  6065. "//a[contains(@href,'indowebster.com/download')]"
  6066. );
  6067. }
  6068. if (GM_getValue("Check_superload_dot_cz_links", false))
  6069. {
  6070. addFileHost(
  6071. "superload\\.cz\/dl\/\\w+",
  6072. 'icon-download">',
  6073. 'soubor nebyl nalezen',
  6074. 'optional--',
  6075. 'optional2--',
  6076. "//a[contains(@href,'superload.cz/dl')]"
  6077. );
  6078. }
  6079. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6080. {
  6081. addFileHost(
  6082. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6083. 'op" value="download',
  6084. 'class="err">|width:500px;text-align:left;">',
  6085. 'optional--',
  6086. 'optional2--',
  6087. "//a[contains(@href,'hulkfile.')]"
  6088. );
  6089. }
  6090. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6091. {
  6092. addFileHost(
  6093. "easybytez\\.com\/\\w+",
  6094. 'op" value="download',
  6095. 'stop_error\\.gif',
  6096. 'optional--',
  6097. 'optional2--',
  6098. "//a[contains(@href,'easybytez.com/')]"
  6099. );
  6100. }
  6101. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6102. {
  6103. addFileHost(
  6104. "filestore\\.com\\.ua\/\\?d=\\w+",
  6105. 'tdrow1>',
  6106. 'class=warn',
  6107. 'optional--',
  6108. 'optional2--',
  6109. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6110. );
  6111. }
  6112. if (GM_getValue("Check_netkups_dot_com_links", false))
  6113. {
  6114. addFileHost(
  6115. "netkups\\.com\/\\?d=\\w+",
  6116. 'submit">Continue',
  6117. 'page">File not found|deleted due to inactivity',
  6118. 'optional--',
  6119. 'optional2--',
  6120. "//a[contains(@href,'netkups.com/?d=')]"
  6121. );
  6122. }
  6123. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6124. {
  6125. addFileHost(
  6126. "openfile\\.ru\/(?:video\/|)\\d+",
  6127. 'videobox_left">',
  6128. 'blog_title">|not found on this server',
  6129. 'optional--',
  6130. 'optional2--',
  6131. "//a[contains(@href,'openfile.ru/')]"
  6132. );
  6133. }
  6134. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6135. {
  6136. addFileHost(
  6137. "extmatrix\\.com\/files\/\\w+",
  6138. 'div class="success"',
  6139. 'div class="error"',
  6140. 'optional--',
  6141. 'optional2--',
  6142. "//a[contains(@href,'extmatrix.com/files')]"
  6143. );
  6144. }
  6145. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6146. {
  6147. addFileHost(
  6148. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6149. 'content_lnkDownload',
  6150. 'error\\.aspx\\?',
  6151. 'optional--',
  6152. 'optional2--',
  6153. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6154. );
  6155. }
  6156. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6157. {
  6158. addFileHost(
  6159. "yourfilestore\\.com\/download\/\\d+\/",
  6160. 'download_data">',
  6161. 'may have been deleted|<h1>Sorry!<\/h1>',
  6162. 'optional--',
  6163. 'optional2--',
  6164. "//a[contains(@href,'yourfilestore.com/download')]"
  6165. );
  6166. }
  6167. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6168. {
  6169. addFileHost(
  6170. "nekaka\\.com\/d\/[\\w-]+",
  6171. 'downloadForm">',
  6172. 'invalid file link',
  6173. 'optional--',
  6174. 'optional2--',
  6175. "//a[contains(@href,'nekaka.com/d')]"
  6176. );
  6177. }
  6178. if (GM_getValue("Check_filebig_dot_net_links", false))
  6179. {
  6180. addFileHost(
  6181. "filebig\\.net\/files\/\\w+",
  6182. 'downloadFile">',
  6183. '<p>File not found<\/p>',
  6184. 'optional--',
  6185. 'optional2--',
  6186. "//a[contains(@href,'filebig.net/files')]"
  6187. );
  6188. }
  6189. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6190. {
  6191. addFileHost(
  6192. "files\\.filefront\\.com\/\/;\\d+;;",
  6193. 'downloadLink">',
  6194. 'File not found, you',
  6195. 'optional--',
  6196. 'optional2--',
  6197. "//a[contains(@href,'files.filefront.com')]"
  6198. );
  6199.  
  6200. addFileHost(
  6201. "gamefront\\.com\/files\/\\d+",
  6202. 'downloadLink">',
  6203. 'File not found, you',
  6204. 'optional--',
  6205. 'optional2--',
  6206. "//a[contains(@href,'gamefront.com/files')]"
  6207. );
  6208. }
  6209. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6210. {
  6211. addFileHost(
  6212. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6213. 'dnlLnk"',
  6214. 'already been deleted',
  6215. 'optional--',
  6216. 'optional2--',
  6217. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6218. );
  6219. }
  6220. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6221. {
  6222. addFileHost(
  6223. "hellupload\\.com\/\\w+",
  6224. '<h3>Download File<br',
  6225. 'id="podstrona">|AVOID_IE_BUG',
  6226. 'optional--',
  6227. 'optional2--',
  6228. "//a[contains(@href,'hellupload.com/')]"
  6229. );
  6230. }
  6231. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6232. {
  6233. addFileHost(
  6234. "free\\-uploading\\.com\/\\w+",
  6235. 'op" value="download',
  6236. 'class="err">|width:500px;text-align:left;">',
  6237. 'optional--',
  6238. 'optional2--',
  6239. "//a[contains(@href,'free-uploading.com/')]"
  6240. );
  6241. }
  6242. if (GM_getValue("Check_fileape_dot_com_links", false))
  6243. {
  6244. addFileHost(
  6245. "fileape\\.com\/download\\-",
  6246. 'button_dl\\.png',
  6247. 'does not exist\\.',
  6248. 'optional--',
  6249. 'optional2--',
  6250. "//a[contains(@href,'fileape.com/')]"
  6251. );
  6252. }
  6253. if (GM_getValue("Check_uppit_dot_com_links", false))
  6254. {
  6255. addFileHost(
  6256. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6257. 'op" value="download',
  6258. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6259. 'optional--',
  6260. 'optional2--',
  6261. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6262. true
  6263. );
  6264. }
  6265. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6266. {
  6267. addFileHost(
  6268. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6269. 'op" value="download',
  6270. '>File Not Found<',
  6271. 'optional--',
  6272. 'optional2--',
  6273. "//a[contains(@href,'nosupload.com')]",
  6274. true
  6275. );
  6276. }
  6277. if (GM_getValue("Check_filesin_dot_com_links", false))
  6278. {
  6279. addFileHost(
  6280. "filesin\\.com\/\\w+\/download\\.html",
  6281. 'download_area">',
  6282. 'error_note">',
  6283. 'optional--',
  6284. 'optional2--',
  6285. "//a[contains(@href,'filesin.com/')]",
  6286. true
  6287. );
  6288. }
  6289. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6290. {
  6291. addFileHost(
  6292. "nowdownload\\.ch\/dl\/\\w+",
  6293. 'alert-success"',
  6294. 'This file does not exist!',
  6295. 'The file is being transfered',
  6296. 'optional2--',
  6297. "//a[contains(@href,'nowdownload.ch/dl')]"
  6298. );
  6299. }
  6300. if (GM_getValue("Check_axifile_dot_com_links", false))
  6301. {
  6302. addFileHost(
  6303. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6304. 'Dbutton_big"',
  6305. 'download\\-error\\.php',
  6306. 'optional--',
  6307. 'optional2--',
  6308. "//a[contains(@href,'axifile.com/')]"
  6309. );
  6310. }
  6311. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6312. {
  6313. addFileHost(
  6314. "hulkshare\.com\/\\w+",
  6315. 'download\.sam\.png|This is a private file|id="filename',
  6316. 'File does not exist|fingerprint protected copyright',
  6317. 'optional--',
  6318. 'optional2--',
  6319. "//a[contains(@href,'hulkshare.com')]"
  6320. );
  6321. }
  6322. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6323. {
  6324. addFileHost(
  6325. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6326. 'col-1">\\s*<s',
  6327. 'col-1">\\s*<h',
  6328. 'optional--',
  6329. 'optional2--',
  6330. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6331. );
  6332. }
  6333. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6334. {
  6335. addFileHost(
  6336. "turbobit\\.(?:net|pl)",
  6337. 'id="download-gate-info|id="file-list',
  6338. 'afterWait()|no files in this folder',
  6339. 'optional--',
  6340. 'optional2--',
  6341. "//a[contains(@href,'turbobit.net')]"
  6342. );
  6343. }
  6344. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6345. {
  6346. addFileHost(
  6347. "hitfile\\.net\/download\/folder\/\\d+",
  6348. 'content">\\s*<s',
  6349. 'content">\\s*<h',
  6350. 'optional--',
  6351. 'optional2--',
  6352. "//a[contains(@href,'hitfile.net/download/folder')]"
  6353. );
  6354. }
  6355. if (GM_getValue("Check_movshare_dot_net_links", false))
  6356. {
  6357. addFileHost(
  6358. "movshare\\.net\\/video\\/\\w+",
  6359. 'optional--"',
  6360. 'no longer exists',
  6361. 'optional--',
  6362. 'optional2--',
  6363. "//a[contains(@href,'movshare.net/video')]"
  6364. );
  6365. }
  6366. if (GM_getValue("Check_plunder_dot_com_links", false))
  6367. {
  6368. addFileHost(
  6369. "plunder\.com\/\\w+",
  6370. 'x\/download\\.gif',
  6371. '404 - File or directory not found.',
  6372. 'optional--',
  6373. 'optional2--',
  6374. "//a[contains(@href,'plunder.com')]"
  6375. );
  6376. }
  6377. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6378. {
  6379. addFileHost(
  6380. "mafiastorage\\.com\/\\w+",
  6381. 'op" value="download',
  6382. 'class="err">|style="width:500px;text-align:left;"',
  6383. 'optional--',
  6384. 'optional2--',
  6385. "//a[contains(@href,'mafiastorage.com/')]"
  6386. );
  6387. }
  6388. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6389. {
  6390. addFileHost(
  6391. "uploadspace\.pl\/plik\\w+",
  6392. 'Downloading .+? \\|',
  6393. 'Downloading a file',
  6394. 'optional--',
  6395. 'optional2--',
  6396. "//a[contains(@href,'uploadspace.pl/plik')]"
  6397. );
  6398. }
  6399. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6400. {
  6401. addFileHost(
  6402. "uploadingit\\.com\/file\/\\w+",
  6403. 'downloadTitle">',
  6404. 'deleteContent">',
  6405. 'optional--',
  6406. 'optional2--',
  6407. "//a[contains(@href,'uploadingit.com/file')]"
  6408. );
  6409. }
  6410. if (GM_getValue("Check_rghost_dot_net_links", false))
  6411. {
  6412. addFileHost(
  6413. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6414. 'download_link|btn large download',
  6415. 'file is restricted|File is deleted|503 Service Unavailable',
  6416. 'optional--',
  6417. 'optional2--',
  6418. "//a[contains(@href,'rghost.')]"
  6419. );
  6420. }
  6421. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6422. {
  6423. addFileHost(
  6424. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6425. '">Staženo:\\s*<\/span>',
  6426. 'Soubor, který hledáte nenalezen',
  6427. 'optional--',
  6428. 'optional2--',
  6429. "//a[contains(@href,'xdisk.cz/')]"
  6430. );
  6431. }
  6432. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6433. {
  6434. addFileHost(
  6435. "expressleech\.com\/\\w+",
  6436. 'src="/img/Download.gif"|var _gaq =',
  6437. 'var rr =|403 Forbidden',
  6438. 'optional--',
  6439. 'optional2--',
  6440. "//a[contains(@href,'expressleech.com')]");
  6441. }
  6442. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6443. {
  6444. addFileHost(
  6445. "2downloadz\.com\/\\w+",
  6446. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6447. 'color="#006DCC|File error',
  6448. 'optional--',
  6449. 'optional2--',
  6450. "//a[contains(@href,'2downloadz.com')]");
  6451. }
  6452. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6453. {
  6454. addFileHost(
  6455. "mightyupload\.com\/\\w+",
  6456. 'background:#ccc;text-align|CONTENT="Download File"',
  6457. 'style="background:#eee|var rr =|File Not Found',
  6458. 'error-code">1010',
  6459. 'optional2--',
  6460. "//a[contains(@href,'mightyupload.com')]");
  6461. }
  6462. if (GM_getValue("Check_anysend_dot_com_links", false))
  6463. {
  6464. addFileHost(
  6465. "anysend\.com\/\\w+",
  6466. 'var openCalled=false;|content="noindex"',
  6467. '_trackPageview',
  6468. 'optional--',
  6469. 'optional2--',
  6470. "//a[contains(@href,'anysend.com')]");
  6471. }
  6472. if (GM_getValue("Check_datafile_dot_com_links", false))
  6473. {
  6474. addFileHost(
  6475. "datafile\.com\/\\w+",
  6476. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6477. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6478. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance|Unknown Error',
  6479. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">', //<style type="text/css">
  6480. "//a[contains(@href,'datafile.com')]",
  6481. true);
  6482. }
  6483. if (GM_getValue("Check_upstore_dot_net_links", false))
  6484. {
  6485. addFileHost(
  6486. "upstore\.net\/\\w+",
  6487. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6488. 'File not found|onload="redirect|class="error">',
  6489. 'optional--',
  6490. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6491. "//a[contains(@href,'upstore.net')]");
  6492. }
  6493. if (GM_getValue("Check_upsto_dot_re_links", false))
  6494. {
  6495. addFileHost(
  6496. "upsto\.re\/\\w+",
  6497. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6498. 'File not found|onload="redirect|class="error">',
  6499. 'optional--',
  6500. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6501. "//a[contains(@href,'upsto.re')]");
  6502. }
  6503. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6504. {
  6505. addFileHost(
  6506. "speedy\.sh\/\\w+",
  6507. 'bgcolor=#eeeeee|class="addthis',
  6508. 'File not found|downloadfilenamenotfound>',
  6509. 'optional--',
  6510. 'optional2--',
  6511. "//a[contains(@href,'speedy.sh')]");
  6512. }
  6513. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6514. {
  6515. addFileHost(
  6516. "sanshare\.com\/\\w+",
  6517. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6518. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6519. 'optional--',
  6520. 'optional2--',
  6521. "//a[contains(@href,'sanshare.com')]");
  6522. }
  6523. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6524. {
  6525. addFileHost(
  6526. "kingfiles\.net\/\\w+",
  6527. 'method_free',
  6528. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6529. 'optional--',
  6530. 'optional2--',
  6531. "//a[contains(@href,'kingfiles.net')]");
  6532. }
  6533. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6534. {
  6535. addFileHost(
  6536. "uploadhero\\.co\/dl\/\\w+",
  6537. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6538. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6539. 'optional--',
  6540. 'optional2--',
  6541. "//a[contains(@href,'uploadhero.co/dl')]"
  6542. );
  6543. } */
  6544. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6545. {
  6546. addFileHost(
  6547. "secureupload\\.eu\/\\w+",
  6548. 'Downloading',
  6549. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6550. 'optional--',
  6551. 'optional2--',
  6552. "//a[contains(@href,'secureupload.eu')]"
  6553. );
  6554. }
  6555. if (GM_getValue("Check_ge_dot_tt_links", false))
  6556. {
  6557. addFileHost(
  6558. "ge\.tt\/\\w+",
  6559. 'downloads pic',
  6560. 'is NOT the same as',
  6561. 'optional--',
  6562. 'optional2--',
  6563. "//a[contains(@href,'ge.tt')]");
  6564. }
  6565. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6566. {
  6567. addFileHost(
  6568. "filefactory\.com\/\\w+",
  6569. 'div id="file_holder"|download.css',
  6570. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6571. 'Server Maintenance|temporarily overloaded',
  6572. 'Premium Account Required',
  6573. "//a[contains(@href,'filefactory.com')]");
  6574. }
  6575. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6576. {
  6577. addFileHost(
  6578. "filesflash\.net\/\\w+",
  6579. 'align:right">Filename:',
  6580. 'class="msg">',
  6581. 'optional--',
  6582. 'optional2--',
  6583. "//a[contains(@href,'filesflash.net')]");
  6584. }
  6585. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6586. {
  6587. addFileHost(
  6588. "rapidgator\\.net\/folder\/\\w+",
  6589. 'href="/folder/',
  6590. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6591. 'optional--',
  6592. 'optional2--',
  6593. "//a[contains(@href,'rapidgator.net/folder')]",
  6594. true
  6595. );
  6596. }
  6597. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6598. {
  6599. addFileHost(
  6600. "salefiles\.com\/\\w+",
  6601. 'name="method_free',
  6602. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6603. 'optional--',
  6604. 'optional2--',
  6605. "//a[contains(@href,'salefiles.com')]");
  6606. }
  6607. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6608. {
  6609. addFileHost(
  6610. "megairon\.net\/\\w+",
  6611. 'border: 5px #ffeb90 solid;',
  6612. 'CONTENT="Download File ">|var rr =',
  6613. 'error-code">523',
  6614. 'optional2--',
  6615. "//a[contains(@href,'megairon.net')]",
  6616. true);
  6617. } */
  6618. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6619. {
  6620. addFileHost(
  6621. "datoid\.cz\/\\w+",
  6622. 'btn-download|class="icon-download-large"',
  6623. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6624. 'optional--',
  6625. 'optional2--',
  6626. "//a[contains(@href,'datoid.cz')]");
  6627. }
  6628. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6629. {
  6630. addFileHost(
  6631. "stiahni\.si\/\\w+",
  6632. 'report_icon.png"|slow-download-button',
  6633. 'none.png|deleted|<h2>Error 500</h2>',
  6634. 'optional--',
  6635. 'optional2--',
  6636. "//a[contains(@href,'stiahni.si')]");
  6637. }
  6638. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6639. {
  6640. addFileHost(
  6641. "cloudstor\.es\/\\w+",
  6642. '"btn_download"',
  6643. '404: Page Not Found',
  6644. 'optional--',
  6645. 'optional2--',
  6646. "//a[contains(@href,'cloudstor.es')]");
  6647. }
  6648. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6649. {
  6650. addFileHost(
  6651. "streamfile\.com\/\\w+",
  6652. 'class="btn',
  6653. 'class="green-btn',
  6654. 'optional--',
  6655. 'optional2--',
  6656. "//a[contains(@href,'streamfile.com')]");
  6657. }
  6658. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6659. {
  6660. addFileHost(
  6661. "eyesfile\.ca\/\\w+",
  6662. 'value="Get Link',
  6663. 'var rr =',
  6664. 'optional--',
  6665. 'optional2--',
  6666. "//a[contains(@href,'eyesfile.ca')]");
  6667. }
  6668. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6669. {
  6670. addFileHost(
  6671. "filemoney\.com\/\\w+",
  6672. 'og:title',
  6673. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6674. 'error-code">1010',
  6675. 'optional2--',
  6676. "//a[contains(@href,'filemoney.com')]");
  6677. }
  6678. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6679. {
  6680. addFileHost(
  6681. "uploadboy\.com\/\\w+",
  6682. 'width="740">|method_free',
  6683. 'var rr =|background:#ffffff|not be found|file was removed',
  6684. 'optional--',
  6685. 'optional2--',
  6686. "//a[contains(@href,'uploadboy.com')]");
  6687. }
  6688. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6689. {
  6690. addFileHost(
  6691. "uploadboy\.com\/\\w+",
  6692. 'width="740">|method_free',
  6693. 'var rr =|background:#ffffff|not be found|file was removed',
  6694. 'optional--',
  6695. 'optional2--',
  6696. "//a[contains(@href,'uploadboy.me')]");
  6697. }
  6698. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6699. {
  6700. addFileHost(
  6701. "speedshare\.eu\/\\w+",
  6702. 'favicon.png|color:#3d87c0|cross.png"',
  6703. 'var rr =|File Not Found|style="background:#eee',
  6704. 'optional--',
  6705. 'optional2--',
  6706. "//a[contains(@href,'speedshare.eu')]");
  6707. }
  6708. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6709. {
  6710. addFileHost(
  6711. "unlimitzone\.com\/\\w+",
  6712. 'name="method_free',
  6713. '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',
  6714. 'optional--',
  6715. 'optional2--',
  6716. "//a[contains(@href,'unlimitzone.com')]");
  6717. }
  6718. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6719. {
  6720. addFileHost(
  6721. "rioupload\.com\/\\w+",
  6722. 'sell.jpg',
  6723. 'var rr =',
  6724. 'optional--',
  6725. 'optional2--',
  6726. "//a[contains(@href,'rioupload.com')]");
  6727. }
  6728. if (GM_getValue("Check_rg_dot_to_links", false))
  6729. {
  6730. addFileHost(
  6731. "rg\.to\/\\w+",
  6732. '/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',
  6733. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6734. 'optional--',
  6735. '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',
  6736. "//a[contains(@href,'rg.to')]");
  6737. }
  6738. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6739. {
  6740. addFileHost(
  6741. "jumbofiles\.org\/\\w+",
  6742. 'H71C5.png|class="downloadtitle">',
  6743. 'var swfu|ViewSourceBIN.png',
  6744. 'optional--',
  6745. 'optional2--',
  6746. "//a[contains(@href,'jumbofiles.org')]");
  6747. }
  6748. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6749. {
  6750. addFileHost(
  6751. "fshare\\.vn\/file\/\\w+",
  6752. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6753. 'không tồn tại|class="color_red m_t_50"',
  6754. 'optional--',
  6755. 'optional2--',
  6756. "//a[contains(@href,'fshare.vn/file')]",
  6757. true
  6758. );
  6759. }
  6760. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6761. {
  6762. addFileHost(
  6763. "spaceforfiles\.com\/\\w+",
  6764. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6765. 'var rr =|AVOID_IE_BUG',
  6766. 'optional--',
  6767. 'optional2--',
  6768. "//a[contains(@href,'spaceforfiles.com')]");
  6769. }
  6770. if (GM_getValue("Check_google_dot_com_links", false))
  6771. {
  6772. addFileHost(
  6773. "google\\.com\/file\/\\w+",
  6774. 'content="!">|color:#2d2d2d',
  6775. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6776. 'optional--',
  6777. 'optional2--',
  6778. "//a[contains(@href,'google.com/file')]",
  6779. true
  6780. );
  6781. }
  6782. if (GM_getValue("Check_google_dot_com_links", false))
  6783. {
  6784. addFileHost(
  6785. "docs.google.com\/\\w+",
  6786. 'content="!">|color:#2d2d2d',
  6787. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6788. 'optional--',
  6789. 'optional2--',
  6790. "//a[contains(@href,'docs.google.com')]",
  6791. true
  6792. );
  6793. }
  6794. if (GM_getValue("Check_google_dot_com_links", false))
  6795. {
  6796. addFileHost(
  6797. "drive.google.com\/\\w+",
  6798. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6799. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6800. 'optional--',
  6801. 'optional2--',
  6802. "//a[contains(@href,'drive.google.com')]",
  6803. true
  6804. );
  6805. }
  6806. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6807. {
  6808. addFileHost(
  6809. "up.media1fire\.com\/\\w+",
  6810. 'class="addthis_|value="download',
  6811. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6812. 'optional--',
  6813. 'optional2--',
  6814. "//a[contains(@href,'up.media1fire.com')]");
  6815. }
  6816. if (GM_getValue("Check_depfile_dot_com_links", false))
  6817. {
  6818. addFileHost(
  6819. "depfile\.com\/\\w+",
  6820. 'logo_0.png|downloads.gif"|verifycode',
  6821. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6822. 'optional--',
  6823. 'available only for Premium users',
  6824. "//a[contains(@href,'depfile.com')]");
  6825. }
  6826. if (GM_getValue("Check_go4up_dot_com_links", false))
  6827. {
  6828. addFileHost(
  6829. "go4up\.com\/\\w+",
  6830. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6831. '<title>GO4UP|dmca',
  6832. 'optional--',
  6833. 'optional2--',
  6834. "//a[contains(@href,'go4up.com')]");
  6835. }
  6836. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6837. {
  6838. addFileHost(
  6839. "redbunker\.net\/\\w+",
  6840. 'name="method_free"',
  6841. 'color="red">Unknow / Bilinmiyor<',
  6842. 'optional--',
  6843. '2.3 GB',
  6844. "//a[contains(@href,'redbunker.net')]");
  6845. }
  6846. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6847. {
  6848. addFileHost(
  6849. "divxpress\.com\/\\w+",
  6850. 'btn_download|logo.png"',
  6851. 'AVOID_IE_BUG|var rr =',
  6852. 'optional--',
  6853. 'optional2--',
  6854. "//a[contains(@href,'divxpress.com')]");
  6855. }
  6856. if (GM_getValue("Check_anafile_dot_com_links", false))
  6857. {
  6858. addFileHost(
  6859. "anafile\.com\/\\w+",
  6860. 'width="881" valign="top|color="#800080"|name="go"',
  6861. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6862. 'optional--',
  6863. 'optional2--',
  6864. "//a[contains(@href,'anafile.com')]");
  6865. }
  6866. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6867. {
  6868. addFileHost(
  6869. "uploadable\\.ch\/file\/\\w+",
  6870. 'captcha.js"|payment.js"|class="btn_download"',
  6871. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6872. 'optional--',
  6873. 'optional2--',
  6874. "//a[contains(@href,'uploadable.ch/file')]",
  6875. true
  6876. );
  6877. }
  6878. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6879. {
  6880. addFileHost(
  6881. "arabloads\.net\/\\w+",
  6882. 'name="method_free"|name="method_premium"',
  6883. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6884. 'optional--',
  6885. 'optional2--',
  6886. "//a[contains(@href,'arabloads.net')]");
  6887. }
  6888. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6889. {
  6890. addFileHost(
  6891. "sharerepo\.com\/\\w+",
  6892. 'name="method_free"',
  6893. 'var public_on=|The file you were looking for could not be found',
  6894. 'optional--',
  6895. 'optional2--',
  6896. "//a[contains(@href,'sharerepo.com')]");
  6897. }
  6898. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6899. {
  6900. addFileHost(
  6901. "sfshare\.se\/\\w+",
  6902. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6903. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6904. 'optional--',
  6905. 'optional2--',
  6906. "//a[contains(@href,'sfshare.se')]");
  6907. }
  6908. if (GM_getValue("Check_files_dot_fm_links", false))
  6909. {
  6910. addFileHost(
  6911. "files\.fm\/\\w+",
  6912. 'dl.png"|background-color: transparent',
  6913. 'margin: 40px 40px|background: none;',
  6914. 'optional--',
  6915. 'optional2--',
  6916. "//a[contains(@href,'files.fm')]");
  6917. }
  6918. if (GM_getValue("Check_koofile_dot_com_links", false))
  6919. {
  6920. addFileHost(
  6921. "koofile\.com\/\\w+",
  6922. 'value="download1">|name="method_free"',
  6923. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6924. 'optional--',
  6925. 'optional2--',
  6926. "//a[contains(@href,'koofile.com')]");
  6927. }
  6928. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6929. {
  6930. addFileHost(
  6931. "vidxden\\.com\/\\w+",
  6932. 'Continue to Video"',
  6933. 'No such file',
  6934. 'optional--',
  6935. 'optional2--',
  6936. "//a[contains(@href,'vidxden.com')]"
  6937. );
  6938. }
  6939. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6940. {
  6941. addFileHost(
  6942. "muchshare\\.net\/\\w+",
  6943. 'id="btn_download"',
  6944. 'File Not Found|width: 500px; text-align: left;',
  6945. 'optional--',
  6946. 'optional2--',
  6947. "//a[contains(@href,'muchshare.net')]"
  6948. );
  6949. }
  6950. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6951. {
  6952. addFileHost(
  6953. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6954. 'Details zur Datei|Details page',
  6955. 'Jetzt hochladen|upload now',
  6956. 'optional--',
  6957. 'optional2--',
  6958. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6959. );
  6960. }
  6961. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6962. {
  6963. addFileHost(
  6964. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6965. 'downloadbtn"',
  6966. 'DL_FileNotFound',
  6967. 'optional--',
  6968. 'optional2--',
  6969. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6970. );
  6971. }
  6972. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6973. {
  6974. addFileHost(
  6975. "fileflyer\.com\/view\/\\w+",
  6976. '(?:dwl|locked)btn"',
  6977. 'error.gif"|link">Removed|removedlink">',
  6978. 'optional--',
  6979. 'optional2--',
  6980. "//a[contains(@href,'fileflyer.com')]"
  6981. );
  6982. }
  6983. if (GM_getValue("Check_filestore_dot_to_links", false))
  6984. {
  6985. addFileHost(
  6986. "filestore\.to\/\\?d=\\w+",
  6987. '"downloading"',
  6988. 'Datei wurde nicht gefunden',
  6989. 'optional--',
  6990. 'optional2--',
  6991. "//a[contains(@href,'filestore.to')]"
  6992. );
  6993. }
  6994. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6995. {
  6996. addFileHost(
  6997. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6998. 'fz24">Download|class="pl15">',
  6999. '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',
  7000. 'optional--',
  7001. 'optional2--',
  7002. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7003. );
  7004. }
  7005. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  7006. {
  7007. addFileHost(
  7008. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7009. 'File size:',
  7010. 'file is not found',
  7011. 'optional--',
  7012. 'optional2--',
  7013. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7014. );
  7015. } */
  7016. if (GM_getValue("Check_datei_dot_to_links", false))
  7017. {
  7018. addFileHost(
  7019. "datei\\.to\/\\??\\w+",
  7020. 'icon_downloaden\\.png|>Download starten<',
  7021. 'Datei wurde nicht gefunden|icon_deleted.png',
  7022. 'optional--',
  7023. 'optional2--',
  7024. "//a[contains(@href,'datei.to')]"
  7025. );
  7026. }
  7027. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7028. {
  7029. addFileHost(
  7030. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7031. '<body class="body" id="body">|value="Slow Download"',
  7032. '<body class="body" >',
  7033. 'optional--',
  7034. 'optional2--',
  7035. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7036. );
  7037. }
  7038. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7039. {
  7040. addFileHost(
  7041. "uploadhero\\.com\/dl\/\\w+",
  7042. 'content-dl">',
  7043. 'men_file_lost\\.jpg"',
  7044. 'optional--',
  7045. 'optional2--',
  7046. "//a[contains(@href,'uploadhero.com/dl')]"
  7047. );
  7048. } */
  7049. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7050. {
  7051. addFileHost(
  7052. "unibytes\\.com\/[\\w\.]+",
  7053. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7054. 'File not found|Файл не найден|',
  7055. 'optional--',
  7056. 'optional2--',
  7057. "//a[contains(@href,'unibytes.com')]"
  7058. );
  7059. }
  7060. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7061. {
  7062. addFileHost(
  7063. "www\\.hellshare\\.com\/\\d+",
  7064. 'tab\\-details"',
  7065. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7066. 'optional--',
  7067. 'optional2--',
  7068. "//a[contains(@href,'www.hellshare.com')]"
  7069. );
  7070. }
  7071. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7072. {
  7073. addFileHost(
  7074. "www\\.download.cz.hellshare\\.com\/\\w+",
  7075. 'tab\\-details"',
  7076. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7077. 'optional--',
  7078. 'optional2--',
  7079. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7080. );
  7081. }
  7082. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7083. {
  7084. addFileHost(
  7085. "quickshare\\.cz\/slozka-\\d+",
  7086. 'Počet souborů: <strong>[1-9]',
  7087. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7088. 'optional--',
  7089. 'optional2--',
  7090. "//a[contains(@href,'quickshare.cz/slozka')]"
  7091. );
  7092. } */
  7093. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7094. {
  7095. addFileHost(
  7096. "filefactory\\.com\/f\/\\w+",
  7097. 'folderFileList">',
  7098. 'table class="items"|Pointer" class="red">',
  7099. 'optional--',
  7100. 'optional2--',
  7101. "//a[contains(@href,'filefactory.com/f/')]"
  7102. );
  7103. }
  7104. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7105. {
  7106. addFileHost(
  7107. "netfolder\\.in\/\\w+",
  7108. 'list" value="http',
  7109. 'InPage_Error">|list" value=""',
  7110. 'optional--',
  7111. 'optional2--',
  7112. "//a[contains(@href,'netfolder.in')]"
  7113. );
  7114. } */
  7115. if (GM_getValue("Check_load_dot_to_links", false))
  7116. {
  7117. addFileHost(
  7118. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7119. '"download_table_left">Size',
  7120. 'Can\'t find file',
  7121. 'optional--',
  7122. 'optional2--',
  7123. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7124. );
  7125. }
  7126. if (GM_getValue("Check_divshare_dot_com_links", false))
  7127. {
  7128. addFileHost(
  7129. "divshare\\.com\/download\/",
  7130. 'download_new\.png',
  7131. 'have been removed',
  7132. 'optional--',
  7133. 'optional2--',
  7134. "//a[contains(@href,'divshare.com')]"
  7135. );
  7136. }
  7137. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7138. {
  7139. addFileHost(
  7140. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7141. 'class="nazev-souboru',
  7142. '<div class="background margin-top vlevo" style="width: 600px;">',
  7143. 'optional--',
  7144. 'optional2--',
  7145. "//a[contains(@href,'euroshare.eu/file')]"
  7146. );
  7147. }
  7148. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7149. {
  7150. addFileHost(
  7151. 'files\\.mail\\.ru/(?:\\w*)',
  7152. 'fileList',
  7153. 'errorMessage',
  7154. 'optional--',
  7155. 'optional2--',
  7156. "//a[contains(@href,'files.mail.ru')]"
  7157. );
  7158. }
  7159. if (GM_getValue("Check_megashares_dot_com_links", false))
  7160. {
  7161. addFileHost(
  7162. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7163. 'Filesize',
  7164. 'Invalid|deleted|Could not download file',
  7165. 'slots|scheduled maintenance',
  7166. 'optional2--',
  7167. "//a[contains(@href,'megashares.com/')]"
  7168. );
  7169. }
  7170. if (GM_getValue("Check_narod_dot_ru_links", false))
  7171. {
  7172. addFileHost(
  7173. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7174. 'b-submit|action="resource.download"',
  7175. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7176. 'Внутренняя ошибка сервиса',
  7177. 'optional2--',
  7178. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7179. );
  7180. }
  7181. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7182. {
  7183. addFileHost(
  7184. "rayfile\\.com\/",
  7185. 'FILEtitleTXT',
  7186. 'blueRow',
  7187. 'optional--',
  7188. 'optional2--',
  7189. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7190. );
  7191. }
  7192. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7193. {
  7194. addFileHost(
  7195. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7196. 'button_green_body"',
  7197. 'error">',
  7198. 'optional--',
  7199. 'optional2--',
  7200. "//a[contains(@href,'filesmonster.com/download')]"
  7201. );
  7202. }
  7203. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7204. {
  7205. addFileHost(
  7206. 'usaupload\\.net\/d\/(?:\w*)',
  7207. '<strong>File size:</strong>',
  7208. 'is not available',
  7209. 'optional--',
  7210. 'optional2--',
  7211. "//a[contains(@href,'usaupload.net/d/')]"
  7212. );
  7213. }
  7214. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7215. {
  7216. addFileHost(
  7217. 'sendspace\\.com\/file\/\\w+',
  7218. 'file_description',
  7219. 'msg error"',
  7220. 'optional--',
  7221. 'optional2--',
  7222. "//a[contains(@href,'sendspace.com/file')]"
  7223. );
  7224. }
  7225. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7226. {
  7227. addFileHost(
  7228. 'sendspace\\.pl\/file\/\\w+',
  7229. 'download_file"',
  7230. 'Podany plik nie',
  7231. 'optional--',
  7232. 'optional2--',
  7233. "//a[contains(@href,'sendspace.pl/file')]"
  7234. );
  7235. }
  7236. if (GM_getValue("Check_uploading_dot_com_links", false))
  7237. {
  7238. addFileHost(
  7239. 'uploading\\.com\/(?:files\/)?\\w+',
  7240. 'free_method">',
  7241. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7242. 'optional--',
  7243. 'optional2--',
  7244. "//a[contains(@href,'uploading.com')]"
  7245. );
  7246. }
  7247. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7248. {
  7249. addFileHost(
  7250. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7251. 'fileId"',
  7252. 'error">',
  7253. 'optional--',
  7254. 'optional2--',
  7255. "//a[contains(@href,'gigasize.com/get')]"
  7256. );
  7257. }
  7258. if (GM_getValue("Check_good_dot_com_links", false))
  7259. {
  7260. addFileHost(
  7261. 'good\\.net\/(?:_|dl)',
  7262. 'Free Download',
  7263. 'Not Found',
  7264. 'Forbidden',
  7265. 'optional2--',
  7266. "//a[contains(@href,'good.net')]"
  7267. );
  7268. }
  7269. if (GM_getValue("Check_2shared_dot_com_links", false))
  7270. {
  7271. addFileHost(
  7272. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7273. 'File size',
  7274. 'File not found|is not valid|/images/important.gif',
  7275. 'optional--',
  7276. 'optional2--',
  7277. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7278. );
  7279. }
  7280. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7281. {
  7282. addFileHost(
  7283. 'turboupload\\.com\/\\w*',
  7284. 'You have requested',
  7285. 'File Not Found',
  7286. 'optional--',
  7287. 'optional2--',
  7288. "//a[contains(@href,'turboupload.com')]"
  7289. );
  7290. }
  7291. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7292. {
  7293. addFileHost(
  7294. 'gigapeta\\.com\/dl\/',
  7295. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7296. '404|page_error',
  7297. 'optional--',
  7298. 'optional2--',
  7299. "//a[contains(@href,'gigapeta.com/dl')]"
  7300. );
  7301. }
  7302. if (GM_getValue("Check_veehd_dot_com_links", false))
  7303. {
  7304. addFileHost(
  7305. 'veehd\.com\/video\/.*?',
  7306. 'No sound|Download video',
  7307. 'Featured Videos',
  7308. 'optional--',
  7309. 'optional2--',
  7310. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7311. );
  7312. }
  7313. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7314. {
  7315. addFileHost(
  7316. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7317. 'fast_download_form">|submit_sms_download',
  7318. '<p style="text-align:center">',
  7319. 'optional--',
  7320. 'optional2--',
  7321. "//a[contains(@href,'vip-file.com/download')]"
  7322. );
  7323. }
  7324. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7325. {
  7326. addFileHost(
  7327. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7328. 'download\\-pnl ',
  7329. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7330. 'optional--',
  7331. 'optional2--',
  7332. "//a[contains(@href,'letitbit.net/download')]"
  7333. );
  7334. }
  7335. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7336. {
  7337. addFileHost(
  7338. 'ifolder\.ru\/\\d+',
  7339. 'file-info',
  7340. 'ui-state-error',
  7341. 'optional--',
  7342. 'optional2--',
  7343. "//a[contains(@href,'ifolder.ru')]"
  7344. );
  7345. }
  7346. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7347. {
  7348. addFileHost(
  7349. 'fileswap\\.com\/dl\/\\w+',
  7350. 'bttnDownloadLink"',
  7351. 'rounded_block_error"',
  7352. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7353. 'optional2--',
  7354. "//a[contains(@href,'fileswap.com/dl')]"
  7355. );
  7356. }
  7357. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7358. {
  7359. addFileHost(
  7360. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7361. 'var __error = 0|id="recaptchaPanel">',
  7362. 'FILES__DOESNT_EXIST|removed or did not exist',
  7363. 'optional--',
  7364. 'optional2--',
  7365. "//a[contains(@href,'filecloud.io/')]"
  7366. );
  7367. addFileHost(
  7368. 'ifile\\.it\/\\w+',
  7369. 'var __error = 0',
  7370. 'FILES__DOESNT_EXIST',
  7371. 'optional--',
  7372. 'optional2--',
  7373. "//a[contains(@href,'ifile.it/')]"
  7374. );
  7375. }
  7376. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7377. {
  7378. addFileHost(
  7379. 'solidfiles\\.com\/d\/\\w+',
  7380. 'id="download"|content="Download',
  7381. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7382. 'optional--',
  7383. 'optional2--',
  7384. "//a[contains(@href,'solidfiles.com/d')]"
  7385. );
  7386. }
  7387. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7388. {
  7389. addFileHost(
  7390. "(?:.\\.|)shareflare\\.net",
  7391. 'download-pnl|<div class="premium-block">',
  7392. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7393. 'optional--',
  7394. 'optional2--',
  7395. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7396. );
  7397. }
  7398. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7399. {
  7400. addFileHost(
  7401. "u18116681.shareflare\\.net",
  7402. 'download-pnl|<div class="premium-block">',
  7403. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7404. 'optional--',
  7405. 'optional2--',
  7406. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7407. );
  7408. }
  7409. if (GM_getValue("Check_uloz_dot_to_links", false))
  7410. {
  7411. addFileHost(
  7412. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7413. 'fileDownload">|fileSize">',
  7414. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7415. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7416. 'optional2--',
  7417. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7418. true
  7419. );
  7420. }
  7421. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7422. {
  7423. addFileHost(
  7424. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7425. 'file\\-list-orderby|section-filedetail">',
  7426. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7427. 'optional--',
  7428. 'optional2--',
  7429. "//a[contains(@href,'hellspy.')]"
  7430. );
  7431. }
  7432. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7433. {
  7434. addFileHost(
  7435. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7436. '<body onload="">',
  7437. 'neexistuje|not exist',
  7438. 'optional--',
  7439. 'optional2--',
  7440. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7441. );
  7442. }
  7443. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7444. {
  7445. addFileHost(
  7446. "stahovanizasms\\.cz\/\\w+",
  7447. 'download\\.png>|font-size:11px><tr>',
  7448. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7449. 'optional--',
  7450. 'optional2--',
  7451. "//a[contains(@href,'stahovanizasms.cz')]"
  7452. );
  7453. }
  7454. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7455. {
  7456. addFileHost(
  7457. "share-links\\.biz\/\\w*",
  7458. 'online\\.gif',
  7459. '(?:offline|parts)\\.gif',
  7460. 'optional--',
  7461. 'optional2--',
  7462. "//a[contains(@href,'share-links.biz')]"
  7463. );
  7464. }
  7465. if (GM_getValue("Check_4shared_dot_com_links", false))
  7466. {
  7467. addFileHost(
  7468. "4shared\\.com\/.+\/",
  7469. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7470. 'class="warn\"|big red"|GetDataBack',
  7471. 'Service Unavailable',
  7472. 'optional2--',
  7473. "//a[contains(@href,'4shared.com')]"
  7474. );
  7475. }
  7476. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7477. {
  7478. addFileHost(
  7479. "(?:www\\d+\.|)zippyshare\.com\/",
  7480. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7481. 'not exist|Status 404',
  7482. 'optional--',
  7483. 'optional2--',
  7484. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7485. );
  7486. }
  7487. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7488. {
  7489. addFileHost(
  7490. "mediafire\.com\/",
  7491. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7492. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7493. 'set to private',
  7494. 'optional2--',
  7495. "//a[contains(@href,'mediafire.com')]"
  7496. );
  7497. }
  7498. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7499. {
  7500. addFileHost(
  7501. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7502. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB',
  7503. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7504. 'optional--',
  7505. 'GB</small>',
  7506. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7507. );
  7508. }
  7509. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7510. {
  7511. addFileHost(
  7512. "ulozisko\.sk\/",
  7513. 'Detaily',
  7514. 'neexistuje',
  7515. 'optional--',
  7516. 'optional2--',
  7517. "//a[contains(@href,'ulozisko.sk')]"
  7518. );
  7519. }
  7520. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7521. {
  7522. addFileHost(
  7523. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7524. 'download.php',
  7525. 'notfound|upload\\-suborov\\.php"',
  7526. 'optional--',
  7527. 'optional2--',
  7528. "//a[contains(@href,'upnito.sk')]"
  7529. );
  7530. }
  7531. if (GM_getValue("Check_box_dot_com_links", false))
  7532. {
  7533. addFileHost(
  7534. "box\.com\/\\w+",
  7535. 'download-file-btn|id="download_button|preview-download',
  7536. 'BIyMin.png| <div class="error_message|link has been removed',
  7537. 'optional--',
  7538. 'optional2--',
  7539. "//a[contains(@href,'app.box.com')]");
  7540. }
  7541. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7542. {
  7543. addFileHost(
  7544. "uptobox\\.com\/\\w+",
  7545. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7546. '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|لا يوجد أي ملف',
  7547. 'Maintenance',
  7548. 'optional2--',
  7549. "//a[contains(@href,'uptobox.com')]"
  7550. );
  7551. }
  7552. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7553. {
  7554. addFileHost(
  7555. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7556. 'FILE DOWNLOAD<',
  7557. 'File Does Not Exist',
  7558. 'optional--',
  7559. 'optional2--',
  7560. "//a[contains(@href,'sharecash.org/download.php')]"
  7561. );
  7562. }
  7563. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7564. {
  7565. addFileHost(
  7566. "depositfiles\\.com\/folders\/\\w+",
  7567. '<div class="progressContainer">',
  7568. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7569. 'optional--',
  7570. 'optional2--',
  7571. "//a[contains(@href,'depositfiles.com/folders')]"
  7572. );
  7573. }
  7574. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7575. {
  7576. addFileHost(
  7577. "rapidfileshare\\.net/\\w+",
  7578. '<div id="upload-header-bg">',
  7579. '<div style="width:500px;text-align:left;">',
  7580. 'optional--',
  7581. 'optional2--',
  7582. "//a[contains(@href,'rapidfileshare.net/')]"
  7583. );
  7584. }
  7585. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7586. {
  7587. addFileHost(
  7588. "stiahnito\\.sk/",
  7589. '<span class="filesize right">',
  7590. '<ol class="list-purp-2">',
  7591. 'optional--',
  7592. 'optional2--',
  7593. "//a[contains(@href,'stiahnito.sk/')]"
  7594. );
  7595. }
  7596. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7597. {
  7598. addFileHost(
  7599. "rusfolder\\.(?:com|net)",
  7600. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7601. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7602. 'optional--',
  7603. 'optional2--',
  7604. "//a[contains(@href,'rusfolder')]"
  7605. );
  7606. }
  7607. if (GM_getValue("Check_fileover_dot_net_links", false))
  7608. {
  7609. addFileHost(
  7610. "fileover\\.net/\\d+",
  7611. 'id="filesize"',
  7612. 'Not found or deleted|The following file is unavailable',
  7613. 'optional--',
  7614. 'optional2--',
  7615. "//a[contains(@href,'fileover.net/')]"
  7616. );
  7617. }
  7618. if (GM_getValue("Check_catshare_dot_net_links", false))
  7619. {
  7620. addFileHost(
  7621. "catshare\\.net/\\w+",
  7622. '"icon-share',
  7623. 'alert alert-error',
  7624. 'optional--',
  7625. 'optional2--',
  7626. "//a[contains(@href,'catshare.net/')]"
  7627. );
  7628. }
  7629. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7630. {
  7631. addFileHost(
  7632. "anonfiles\\.com/\\w+",
  7633. '"download_button"',
  7634. '<legend><b>404</b>',
  7635. 'optional--',
  7636. 'optional2--',
  7637. "//a[contains(@href,'anonfiles.com')]"
  7638. );
  7639. }
  7640. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7641. {
  7642. addFileHost(
  7643. "mixturecloud\\.com/media/\\w+",
  7644. '"btn icon i_globe gray share_150',
  7645. '"s_cross_close"></span> 404:',
  7646. 'optional--',
  7647. 'optional2--',
  7648. "//a[contains(@href,'mixturecloud.com/media/')]"
  7649. );
  7650. }
  7651. if (GM_getValue("Check_akafile_dot_com_links", false))
  7652. {
  7653. addFileHost(
  7654. "akafile\\.com\/\\w+",
  7655. 'download1',
  7656. 'File Not Found',
  7657. 'optional--',
  7658. 'optional2--',
  7659. "//a[contains(@href,'akafile.com/')]"
  7660. );
  7661. }
  7662. if (GM_getValue("Check_creafile_dot_net_links", false))
  7663. {
  7664. addFileHost(
  7665. "creafile\\.net\/\\w+",
  7666. 'downloadblock',
  7667. 'errtitle',
  7668. 'optional--',
  7669. 'optional2--',
  7670. "//a[contains(@href,'creafile.net/')]"
  7671. );
  7672. }
  7673. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7674. {
  7675. addFileHost(
  7676. "hugefiles\\.net\/\\w+",
  7677. 'download1|class="btn-create-download" value="Create Download Link">',
  7678. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7679. 'optional--',
  7680. 'optional2--',
  7681. "//a[contains(@href,'hugefiles.net/')]"
  7682. );
  7683. }
  7684. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7685. {
  7686. addFileHost(
  7687. "sendmyway\\.com\/\\w+",
  7688. 'id="btn_download"',
  7689. '500px;text-align:left;"|<center><h3>',
  7690. 'optional--',
  7691. 'optional2--',
  7692. "//a[contains(@href,'sendmyway.com/')]"
  7693. );
  7694. }
  7695. if (GM_getValue("Check_upload_dot_ee_links", false))
  7696. {
  7697. addFileHost(
  7698. "upload\\.ee\/\\w+",
  7699. 'onmouseout="document.dllink.src',
  7700. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7701. 'optional--',
  7702. 'optional2--',
  7703. "//a[contains(@href,'upload.ee/')]"
  7704. );
  7705. }
  7706. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7707. {
  7708. addFileHost(
  7709. "shareplace\\.org\/\\?\\w+",
  7710. 'Download-Link',
  7711. 'Your requested file is not found|Select file to send',
  7712. 'optional--',
  7713. 'optional2--',
  7714. "//a[contains(@href,'shareplace.org/?')]"
  7715. );
  7716. }
  7717. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7718. {
  7719. addFileHost(
  7720. "uploadc\\.com\/\\w+",
  7721. 'id="prebut"',
  7722. 'File Not Found|This file has been removed due',
  7723. 'optional--',
  7724. 'optional2--',
  7725. "//a[contains(@href,'uploadc.com/')]"
  7726. );
  7727. }
  7728. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7729. {
  7730. addFileHost(
  7731. "remixshare\\.com\/\\w+",
  7732. 'id="dl2"',
  7733. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7734. 'optional--',
  7735. 'optional2--',
  7736. "//a[contains(@href,'remixshare.com/')]"
  7737. );
  7738. }
  7739. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7740. {
  7741. addFileHost(
  7742. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7743. 'Last Download :',
  7744. 'img src="\\/404.jpg"',
  7745. 'optional--',
  7746. 'optional2--',
  7747. "//a[contains(@href,'exoshare.com/download.php')]"
  7748. );
  7749. }
  7750. if (GM_getValue("Check_borncash_dot_org_links", false))
  7751. {
  7752. addFileHost(
  7753. "borncash\\.org\/download\/\\?a=\\w+",
  7754. 'class="knop_1"',
  7755. '\/error\/er00',
  7756. 'optional--',
  7757. 'optional2--',
  7758. "//a[contains(@href,'borncash.org/download/')]"
  7759. );
  7760. }
  7761. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7762. {
  7763. addFileHost(
  7764. "vidplay\.net\/\\w+",
  7765. 'solvemedia puzzle widget',
  7766. 'File not found|AVOID_IE_BUG',
  7767. 'optional--',
  7768. 'optional2--',
  7769. "//a[contains(@href,'vidplay.net')]");
  7770. }
  7771. if (GM_getValue("Check_storagon_dot_com_links", false))
  7772. {
  7773. addFileHost(
  7774. "storagon\.com\/\\w+",
  7775. 'class="icon-cloud-download"></i>|content="Download Options',
  7776. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7777. 'optional--',
  7778. 'optional2--',
  7779. "//a[contains(@href,'storagon.com')]");
  7780. }
  7781. if (GM_getValue("Check_filedais_dot_com_links", false))
  7782. {
  7783. addFileHost(
  7784. "filedais\.com\/\\w+",
  7785. 'class="btn btn-info"|name="method_free"',
  7786. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7787. 'optional--',
  7788. 'optional2--',
  7789. "//a[contains(@href,'filedais.com')]");
  7790. }
  7791. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7792. {
  7793. addFileHost(
  7794. "up.4share\.vn\/\\w+",
  7795. '<font size="2" face="Verdana">',
  7796. 'font: 13px Tahoma; color: Brown',
  7797. 'optional--',
  7798. 'optional2--',
  7799. "//a[contains(@href,'up.4share.vn')]");
  7800. }
  7801. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7802. {
  7803. addFileHost(
  7804. "share.vnn\.vn\/\\w+",
  7805. '"index,follow"|<div class="main" id="download-box">',
  7806. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7807. 'optional--',
  7808. 'optional2--',
  7809. "//a[contains(@href,'share.vnn.vn')]");
  7810. }
  7811. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7812. {
  7813. addFileHost(
  7814. "upfile\.vn\/\\w+",
  7815. 'download-timer',
  7816. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7817. 'optional--',
  7818. 'optional2--',
  7819. "//a[contains(@href,'upfile.vn')]");
  7820. }
  7821. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7822. {
  7823. addFileHost(
  7824. "aisfile\.com\/\\w+",
  7825. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7826. '<div style="width:500px;text-align:left;">|File Not Found',
  7827. 'optional--',
  7828. 'optional2--',
  7829. "//a[contains(@href,'aisfile.com')]");
  7830. }
  7831. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7832. {
  7833. addFileHost(
  7834. "usersfiles\.com\/\\w+",
  7835. 'class="btn btn-success|id="btn_download" class="btn"',
  7836. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7837. 'optional--',
  7838. 'optional2--',
  7839. "//a[contains(@href,'usersfiles.com')]");
  7840. }
  7841. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7842. {
  7843. addFileHost(
  7844. "pan.baidu\.com\/\\w+",
  7845. 'target="_blank" title=|share-personal-info',
  7846. 'share_notfound.png|background:#f9f9f9',
  7847. 'optional--',
  7848. 'optional2--',
  7849. "//a[contains(@href,'pan.baidu.com')]");
  7850. }
  7851. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7852. {
  7853. addFileHost(
  7854. "yunpan\.cn\/\\w+",
  7855. 'class="icon icon-download',
  7856. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7857. 'optional--',
  7858. 'optional2--',
  7859. "//a[contains(@href,'yunpan.cn')]");
  7860. }
  7861. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7862. {
  7863. addFileHost(
  7864. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7865. 'getElementById("downbild")|style.display',
  7866. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7867. 'optional--',
  7868. 'optional2--',
  7869. "//a[contains(@href,'file-upload.net')]");
  7870. }
  7871. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7872. {
  7873. addFileHost(
  7874. "gulfup\.com\/",
  7875. '<!-- Downlod template -->|download.gif',
  7876. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7877. 'optional--',
  7878. 'optional2--',
  7879. "//a[contains(@href,'gulfup.com')]");
  7880. }
  7881. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7882. {
  7883. addFileHost(
  7884. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7885. 'dldtable">',
  7886. 'does not exist\\.',
  7887. 'optional--',
  7888. 'optional2--',
  7889. "//a[contains(@href,'datafilehost.com')]");
  7890. }
  7891. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7892. {
  7893. addFileHost(
  7894. "dropbox\.com\/s\/\\w+",
  7895. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7896. '>Nothing Here<|>Error (404)<',
  7897. 'title>Dropbox - 509|Error (403)|Error: 429',
  7898. 'optional2--',
  7899. "//a[contains(@href,'dropbox.com')]");
  7900. }
  7901. if (GM_getValue("Check_box_dot_net_links", false))
  7902. {
  7903. addFileHost(
  7904. "box\.net\/\\w+",
  7905. 'download-file-btn|id="download_button',
  7906. 'BIyMin.png| <div class="error_message',
  7907. 'optional--',
  7908. 'optional2--',
  7909. "//a[contains(@href,'box.net')]");
  7910. }
  7911. if (GM_getValue("Check_fileband_dot_com_links", false))
  7912. {
  7913. addFileHost(
  7914. "fileband\.com\/\\w+",
  7915. 'value="download1">|name="id" value=',
  7916. '<div style="width:500px;text-align:left;">|not be found',
  7917. 'optional--',
  7918. 'optional2--',
  7919. "//a[contains(@href,'fileband.com')]");
  7920. }
  7921. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7922. {
  7923. addFileHost(
  7924. "filedropper\.com\/\\w+",
  7925. 'background:#ddd;|width:985px; ',
  7926. 'background-color:#FFFFFF;|margin-left: -400px;',
  7927. 'optional--',
  7928. 'optional2--',
  7929. "//a[contains(@href,'filedropper.com')]");
  7930. }
  7931. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7932. {
  7933. addFileHost(
  7934. "tropicshare\\.com\/files\/\\d+",
  7935. 'MB</span>|GB</span>|KB</span>',
  7936. '>FNF<|size: </span>',
  7937. 'optional--',
  7938. 'optional2--',
  7939. "//a[contains(@href,'tropicshare.com')]");
  7940. }
  7941. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7942. {
  7943. addFileHost(
  7944. "goldbytez\.com\/\\w+",
  7945. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7946. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7947. 'optional--',
  7948. 'optional2--',
  7949. "//a[contains(@href,'goldbytez.com')]");
  7950. }
  7951. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7952. {
  7953. addFileHost(
  7954. "worldbytez\.com\/\\w+",
  7955. '<div class="download_type">',
  7956. '<div style="width:500px;text-align:left;">',
  7957. 'optional--',
  7958. 'optional2--',
  7959. "//a[contains(@href,'worldbytez.com')]");
  7960. }
  7961. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7962. {
  7963. addFileHost(
  7964. "freefilehosting\.net\/\\w+",
  7965. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7966. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7967. 'optional--',
  7968. 'optional2--',
  7969. "//a[contains(@href,'freefilehosting.net')]");
  7970. }
  7971. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7972. {
  7973. addFileHost(
  7974. "ziddu\.com\/\\w+",
  7975. 'downloads.ziddu.com|downloadfilelinkicon',
  7976. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7977. 'optional--',
  7978. 'optional2--',
  7979. "//a[contains(@href,'ziddu.com')]");
  7980. }
  7981. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7982. {
  7983. addFileHost(
  7984. "exclusiveloader\.com\/\\w+",
  7985. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7986. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7987. 'optional--',
  7988. 'optional2--',
  7989. "//a[contains(@href,'exclusiveloader.com')]");
  7990. }
  7991. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7992. {
  7993. addFileHost(
  7994. "sharerapid\.cz\/\\w+",
  7995. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7996. 'error_div">|404 - Not Found',
  7997. 'optional--',
  7998. 'optional2--',
  7999. "//a[contains(@href,'sharerapid.cz')]");
  8000. }
  8001. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8002. {
  8003. addFileHost(
  8004. "sdilej\.cz\/\\w+",
  8005. 'class="page-download"',
  8006. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8007. 'optional--',
  8008. 'optional2--',
  8009. "//a[contains(@href,'sdilej.cz')]");
  8010. }
  8011. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8012. {
  8013. addFileHost(
  8014. "lafiles\.com\/\\w+",
  8015. '<div id="pay_modes">',
  8016. '<b class="err"></b>',
  8017. 'optional--',
  8018. 'optional2--',
  8019. "//a[contains(@href,'lafiles.com')]");
  8020. }
  8021. if (GM_getValue("Check_acefile_dot_net_links", false))
  8022. {
  8023. addFileHost(
  8024. "acefile\.net\/\\w+",
  8025. 'align=right nowrap><b>',
  8026. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8027. 'optional--',
  8028. 'optional2--',
  8029. "//a[contains(@href,'acefile.net')]");
  8030. }
  8031. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8032. {
  8033. addFileHost(
  8034. "megarapid\.cz\/\\w+",
  8035. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8036. 'error_div">|404 - Not Found',
  8037. 'optional--',
  8038. 'optional2--',
  8039. "//a[contains(@href,'megarapid.cz')]");
  8040. }
  8041. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8042. {
  8043. addFileHost(
  8044. "yadi\.sk\/\\w+",
  8045. 'nb-button _nb-small-button',
  8046. 'error code|Nothing found',
  8047. 'optional--',
  8048. 'optional2--',
  8049. "//a[contains(@href,'yadi.sk')]");
  8050. }
  8051. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8052. {
  8053. addFileHost(
  8054. "imdb\.com\/\\w+",
  8055. 'imdb.com',
  8056. '404 Error',
  8057. 'optional--',
  8058. 'optional2--',
  8059. "//a[contains(@href,'imdb.com')]");
  8060. } */
  8061. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8062. {
  8063. addFileHost(
  8064. "hitfile\.net\/\\w+",
  8065. 'class="download-file',
  8066. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8067. 'optional--',
  8068. 'optional2--',
  8069. "//a[contains(@href,'hitfile.net')]");
  8070. }
  8071. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8072. {
  8073. addFileHost(
  8074. "nitroflare\.com\/\\w+",
  8075. 'Report this file</a>|KB</span>',
  8076. 'file has been removed|id="error" style="display|Probably deleted',
  8077. 'optional--',
  8078. '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',
  8079. "//a[contains(@href,'nitroflare.com')]");
  8080. }
  8081. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8082. {
  8083. addFileHost(
  8084. "up.top4top\.net\/\\w+",
  8085. 'start Downlod template',
  8086. 'start err template',
  8087. 'optional--',
  8088. 'optional2--',
  8089. "//a[contains(@href,'up.top4top.net')]");
  8090. }
  8091. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8092. {
  8093. addFileHost(
  8094. "filejoker\.net\/\\w+",
  8095. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8096. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8097. 'optional--',
  8098. 'id="download" class="premium-only">',
  8099. "//a[contains(@href,'filejoker.net')]");
  8100. }
  8101. if (GM_getValue("Check_free_dot_fr_links", false))
  8102. {
  8103. addFileHost(
  8104. "(?:dl.\\.|)free\\.fr",
  8105. 'Valider et t&eacute;l&eacute',
  8106. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8107. 'optional--',
  8108. 'optional2--',
  8109. "//a[contains(@href,'dl.free.fr')]");
  8110. }
  8111. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8112. {
  8113. addFileHost(
  8114. "gboxes\.com\/\\w+",
  8115. 'You have requested|color="red">http://www.gboxes.com',
  8116. 'File Not Found|<div style="width:500px;text-align:left;">',
  8117. 'optional--',
  8118. 'optional2--',
  8119. "//a[contains(@href,'gboxes.com')]");
  8120. }
  8121. if (GM_getValue("Check_led_dot_wf_links", false))
  8122. {
  8123. addFileHost(
  8124. "led\.wf\/\\w+",
  8125. 'logo_0.png|downloads.gif"|verifycode',
  8126. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8127. 'optional--',
  8128. 'available only for Premium users',
  8129. "//a[contains(@href,'led.wf')]");
  8130. }
  8131. if (GM_getValue("Check_lan_dot_wf_links", false))
  8132. {
  8133. addFileHost(
  8134. "lan\.wf\/\\w+",
  8135. 'logo_0.png|downloads.gif"|verifycode',
  8136. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8137. 'optional--',
  8138. 'available only for Premium users',
  8139. "//a[contains(@href,'lan.wf')]");
  8140. }
  8141. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8142. {
  8143. addFileHost(
  8144. "adlink\.wf\/\\w+",
  8145. 'logo_0.png|downloads.gif"|verifycode',
  8146. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8147. 'optional--',
  8148. 'available only for Premium users',
  8149. "//a[contains(@href,'adlink.wf')]");
  8150. }
  8151. if (GM_getValue("Check_click_dot_tf_links", false))
  8152. {
  8153. addFileHost(
  8154. "click\.tf\/\\w+",
  8155. 'logo_0.png|downloads.gif"|verifycode',
  8156. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8157. 'optional--',
  8158. 'available only for Premium users',
  8159. "//a[contains(@href,'click.tf')]");
  8160. }
  8161. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8162. {
  8163. addFileHost(
  8164. "ssh\.tf\/\\w+",
  8165. 'logo_0.png|downloads.gif"|verifycode',
  8166. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8167. 'optional--',
  8168. 'available only for Premium users',
  8169. "//a[contains(@href,'ssh.tf')]");
  8170. }
  8171. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8172. {
  8173. addFileHost(
  8174. "ssh\.yt\/\\w+",
  8175. 'logo_0.png|downloads.gif"|verifycode',
  8176. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8177. 'optional--',
  8178. 'available only for Premium users',
  8179. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8180. }
  8181. if (GM_getValue("Check_yep_dot_pm_links", false))
  8182. {
  8183. addFileHost(
  8184. "yep\.pm\/\\w+",
  8185. 'logo_0.png|downloads.gif"|verifycode',
  8186. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8187. 'optional--',
  8188. 'available only for Premium users',
  8189. "//a[contains(@href,'yep.pm')]");
  8190. }
  8191. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8192. {
  8193. addFileHost(
  8194. "kyc\.pm\/\\w+",
  8195. 'logo_0.png|downloads.gif"|verifycode',
  8196. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8197. 'optional--',
  8198. 'available only for Premium users',
  8199. "//a[contains(@href,'kyc.pm')]");
  8200. }
  8201. if (GM_getValue("Check_brupload_dot_net_links", false))
  8202. {
  8203. addFileHost(
  8204. "brupload\.net\/\\w+",
  8205. 'Download Gratuito',
  8206. '<div style="width:500px;text-align:left;">',
  8207. 'optional--',
  8208. 'optional2--',
  8209. "//a[contains(@href,'brupload.net')]");
  8210. }
  8211. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8212. {
  8213. addFileHost(
  8214. "cloudzilla\.to\/\\w+",
  8215. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8216. 'File not found|/imgs/broken.png',
  8217. 'optional--',
  8218. 'optional2--',
  8219. "//a[contains(@href,'cloudzilla.to')]");
  8220. }
  8221. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8222. {
  8223. addFileHost(
  8224. "fileparadox\.in\/\\w+",
  8225. 'CONTENT="Download File|method_free_file',
  8226. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8227. 'optional--',
  8228. 'optional2--',
  8229. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8230. } */
  8231. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8232. {
  8233. addFileHost(
  8234. "clicknupload\.com\/\\w+",
  8235. 'name="method_free',
  8236. 'File Not Found',
  8237. 'optional--',
  8238. 'optional2--',
  8239. "//a[contains(@href,'clicknupload.com')]");
  8240. }
  8241. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8242. {
  8243. addFileHost(
  8244. "clicknupload\.me\/\\w+",
  8245. 'name="method_free',
  8246. 'File Not Found',
  8247. 'optional--',
  8248. 'optional2--',
  8249. "//a[contains(@href,'clicknupload.me')]");
  8250. }
  8251. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8252. {
  8253. addFileHost(
  8254. "ex-load\.com\/\\w+",
  8255. 'name="method_free|<p>Download File:</p>',
  8256. 'Folder Not Found|File Not Found|Error 404',
  8257. 'optional--',
  8258. 'class="downprem wow bounceInLeft',
  8259. "//a[contains(@href,'ex-load.com')]");
  8260. }
  8261. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8262. {
  8263. addFileHost(
  8264. "hexupload\.com\/\\w+",
  8265. 'button" value="Free|type="submit" value=""',
  8266. 'File Not Found|<div style="width:500px;text-align:left;">',
  8267. 'optional--',
  8268. 'optional2--',
  8269. "//a[contains(@href,'hexupload.com')]");
  8270. }
  8271. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8272. {
  8273. addFileHost(
  8274. "wizupload\.com\/\\w+",
  8275. 'btn_download|class="downloadbtn"',
  8276. '>File Not Found<',
  8277. 'optional--',
  8278. 'optional2--',
  8279. "//a[contains(@href,'wizupload.com')]");
  8280. }
  8281. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8282. {
  8283. addFileHost(
  8284. "filecloud\.cc\/\\w+",
  8285. 'align="center"><input type="submit" name=',
  8286. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8287. 'optional--',
  8288. 'optional2--',
  8289. "//a[contains(@href,'filecloud.cc')]");
  8290. }
  8291. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8292. {
  8293. addFileHost(
  8294. "inclouddrive\.com\/\\w+",
  8295. 'initfreedownload',
  8296. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8297. 'optional--',
  8298. 'optional2--',
  8299. "//a[contains(@href,'inclouddrive.com')]");
  8300. }
  8301. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8302. {
  8303. addFileHost(
  8304. "radicalshare\.com\/\\w+",
  8305. 'value="download1|name="method_free"',
  8306. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8307. 'optional--',
  8308. 'optional2--',
  8309. "//a[contains(@href,'radicalshare.com')]");
  8310. }
  8311. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8312. {
  8313. addFileHost(
  8314. "sharemods\.com\/\\w+",
  8315. 'name="method_free"',
  8316. 'File Not Found<',
  8317. 'optional--',
  8318. 'optional2--',
  8319. "//a[contains(@href,'sharemods.com')]");
  8320. }
  8321. if (GM_getValue("Check_hostr_dot_co_links", false))
  8322. {
  8323. addFileHost(
  8324. "hostr\.co\/\\w+",
  8325. 'method="get"',
  8326. 'File not found<|error-page',
  8327. 'optional--',
  8328. 'optional2--',
  8329. "//a[contains(@href,'hostr.co')]");
  8330. }
  8331. if (GM_getValue("Check_filepi_dot_com_links", false))
  8332. {
  8333. addFileHost(
  8334. "filepi\.com\/\\w+",
  8335. 'id="button_start">',
  8336. 'File not found',
  8337. 'optional--',
  8338. 'optional2--',
  8339. "//a[contains(@href,'filepi.com')]");
  8340. }
  8341. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8342. {
  8343. addFileHost(
  8344. "tikfile\.com\/\\w+",
  8345. 'btn_download',
  8346. 'File Not Found|file was removed|Reason for deletion',
  8347. 'optional--',
  8348. 'optional2--',
  8349. "//a[contains(@href,'tikfile.com')]");
  8350. }
  8351. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8352. {
  8353. addFileHost(
  8354. "cloudsix\.me\/\\w+",
  8355. 'name="method_free"',
  8356. 'File Not Found|width:500px;text-align:left;">',
  8357. 'optional--',
  8358. 'optional2--',
  8359. "//a[contains(@href,'cloudsix.me')]");
  8360. }
  8361. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8362. {
  8363. addFileHost(
  8364. "neodrive\.co\/\\w+",
  8365. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8366. 'File not found|/imgs/broken.png',
  8367. 'optional--',
  8368. 'optional2--',
  8369. "//a[contains(@href,'neodrive.co')]");
  8370. }
  8371. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8372. {
  8373. addFileHost(
  8374. "chayfile\.com\/\\w+",
  8375. 'name="method_free"',
  8376. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8377. 'optional--',
  8378. 'optional2--',
  8379. "//a[contains(@href,'chayfile.com')]");
  8380. }
  8381. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8382. {
  8383. addFileHost(
  8384. "xfileload\.com\/\\w+",
  8385. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8386. '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..|הקובץ שחיפשת לא נמצא.',
  8387. 'optional--',
  8388. 'optional2--',
  8389. "//a[contains(@href,'xfileload.com')]");
  8390. }
  8391. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8392. {
  8393. addFileHost(
  8394. "rockfile\.eu\/\\w+",
  8395. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8396. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8397. 'optional--',
  8398. 'optional2--',
  8399. "//a[contains(@href,'rockfile.eu')]");
  8400. }
  8401. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8402. {
  8403. addFileHost(
  8404. "24uploading\.com\/\\w+",
  8405. 'File:|Download Speed:',
  8406. '<b>File Not Found</b>|file was removed',
  8407. 'optional--',
  8408. 'optional2--',
  8409. "//a[contains(@href,'24uploading.com')]");
  8410. }
  8411. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8412. {
  8413. addFileHost(
  8414. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8415. 'i/icon/dll.png"|>Start download<br',
  8416. 'no longer available<|i/ino.png"',
  8417. 'optional--',
  8418. 'optional2--',
  8419. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8420. }
  8421. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8422. {
  8423. addFileHost(
  8424. "jumbofile\.net\/\\w+",
  8425. 'button" class="" value="Free',
  8426. 'This File Was Deleted',
  8427. 'optional--',
  8428. 'optional2--',
  8429. "//a[contains(@href,'jumbofile.net')]");
  8430. } */
  8431. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8432. {
  8433. addFileHost(
  8434. "ozofiles\.com\/\\w+",
  8435. 'button" value="Free|name="method_free',
  8436. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8437. 'optional--',
  8438. 'optional2--',
  8439. "//a[contains(@href,'ozofiles.com')]");
  8440. }
  8441. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8442. {
  8443. addFileHost(
  8444. "loudupload\.net\/\\w+",
  8445. 'value="Get Links',
  8446. 'File Not Found',
  8447. 'optional--',
  8448. 'optional2--',
  8449. "//a[contains(@href,'loudupload.net')]");
  8450. }
  8451. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8452. {
  8453. addFileHost(
  8454. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8455. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8456. '>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">',
  8457. 'optional--',
  8458. 'optional2--',
  8459. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8460. }
  8461. if (GM_getValue("Check_krotix_dot_net_links", false))
  8462. {
  8463. addFileHost(
  8464. "krotix\.net\/\\w+",
  8465. 'btn btn-warning|btn-free',
  8466. 'pageErrors|This File has been removed',
  8467. 'content="Scheduled Maintenance',
  8468. 'optional2--',
  8469. "//a[contains(@href,'krotix.net')]");
  8470. } */
  8471. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8472. {
  8473. addFileHost(
  8474. "userscloud\.com\/\\w+",
  8475. 'btn_download',
  8476. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8477. 'optional--',
  8478. 'optional2--',
  8479. "//a[contains(@href,'userscloud.com')]");
  8480. }
  8481. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8482. {
  8483. addFileHost(
  8484. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8485. 'class="button download',
  8486. 'internal server error',
  8487. 'optional--',
  8488. 'optional2--',
  8489. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8490. }
  8491. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8492. {
  8493. addFileHost(
  8494. "kb.simple-aja\.info\/\\w+",
  8495. 'class="button download',
  8496. 'internal server error|<p>404</p>',
  8497. 'optional--',
  8498. 'optional2--',
  8499. "//a[contains(@href,'kb.simple')]");
  8500. }
  8501. if (GM_getValue("Check_faststore_dot_org_links", false))
  8502. {
  8503. addFileHost(
  8504. "faststore\.org\/\\w+",
  8505. 'name="method_free',
  8506. 'File Not Found',
  8507. 'optional--',
  8508. 'optional2--',
  8509. "//a[contains(@href,'faststore.org')]");
  8510. }
  8511. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8512. {
  8513. addFileHost(
  8514. "prefiles\.com\/\\w+",
  8515. 'id="method_free',
  8516. 'File not Found',
  8517. 'optional--',
  8518. 'optional2--',
  8519. "//a[contains(@href,'prefiles.com')]");
  8520. }
  8521. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8522. {
  8523. addFileHost(
  8524. "doraupload\.com\/\\w+",
  8525. 'btn_download|name="method_free',
  8526. 'class="error-code|Could Not Be Found',
  8527. 'optional--',
  8528. 'optional2--',
  8529. "//a[contains(@href,'doraupload.com')]");
  8530. }
  8531. if (GM_getValue("Check_openload_dot_io_links", false))
  8532. {
  8533. addFileHost(
  8534. "openload\.io\/\\w+",
  8535. 'btn btn-primary|class="count">|secondsleftouter',
  8536. 'class="jumbotron">|We are sorry',
  8537. 'optional--',
  8538. 'optional2--',
  8539. "//a[contains(@href,'openload.io')]");
  8540. }
  8541. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8542. {
  8543. addFileHost(
  8544. "uploads\.xxx\/\\w+",
  8545. 'downoadForFree',
  8546. 'File not found',
  8547. 'optional--',
  8548. 'optional2--',
  8549. "//a[contains(@href,'uploads.xxx')]");
  8550. }
  8551. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8552. {
  8553. addFileHost(
  8554. "zxcfiles\.com\/\\w+",
  8555. 'class="downloadbtn',
  8556. 'File Not Found',
  8557. 'optional--',
  8558. 'optional2--',
  8559. "//a[contains(@href,'zxcfiles.com')]");
  8560. }
  8561. if (GM_getValue("Check_up07_dot_net_links", false))
  8562. {
  8563. addFileHost(
  8564. "up07\.net\/\\w+",
  8565. 'name="method_free',
  8566. 'File Not Found',
  8567. 'optional--',
  8568. 'optional2--',
  8569. "//a[contains(@href,'up07.net')]");
  8570. }
  8571. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8572. {
  8573. addFileHost(
  8574. "fileupload\.pw\/\\w+",
  8575. 'value="Free"',
  8576. 'File Not Found',
  8577. 'optional--',
  8578. 'optional2--',
  8579. "//a[contains(@href,'fileupload.pw')]");
  8580. }
  8581. if (GM_getValue("Check_4upld_dot_com_links", false))
  8582. {
  8583. addFileHost(
  8584. "4upld\.com\/\\w+",
  8585. 'alt="Download Now"|content="Download file">|btn-free-element',
  8586. '<title>Error|content="error|File not found',
  8587. 'optional--',
  8588. 'optional2--',
  8589. "//a[contains(@href,'4upld.com')]");
  8590. }
  8591. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8592. {
  8593. addFileHost(
  8594. "newfileland\.com\/\\w+",
  8595. 'name="method_free',
  8596. 'File Not Found',
  8597. 'optional--',
  8598. 'optional2--',
  8599. "//a[contains(@href,'newfileland.com')]");
  8600. } */
  8601. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8602. {
  8603. addFileHost(
  8604. "(?:.swoopshare)\\.com\/\\w+",
  8605. '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',
  8606. '<input type="file" name="f"',
  8607. 'optional--',
  8608. 'optional2--',
  8609. "//a[contains(@href,'swoopshare.com')]"
  8610. );
  8611. }
  8612. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8613. {
  8614. addFileHost(
  8615. "cloudshares\.net\/\\w+",
  8616. '"method_free|"Low Speed Download|submit" name="go',
  8617. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8618. 'optional--',
  8619. 'optional2--',
  8620. "//a[contains(@href,'cloudshares.net')]"
  8621. );
  8622. }
  8623. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8624. {
  8625. addFileHost(
  8626. "allmyvideos\.net\/\\w+",
  8627. 'Continue to Video',
  8628. 'File Not Found|class="err">Removed for',
  8629. 'optional--',
  8630. 'optional2--',
  8631. "//a[contains(@href,'allmyvideos.net')]"
  8632. );
  8633. }
  8634. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8635. {
  8636. addFileHost(
  8637. "vodlocker\.com\/\\w+",
  8638. 'Proceed to video',
  8639. 'Not Found',
  8640. 'optional--',
  8641. 'optional2--',
  8642. "//a[contains(@href,'vodlocker.com')]"
  8643. );
  8644. }
  8645. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8646. {
  8647. addFileHost(
  8648. "vidbull\.com\/\\w+",
  8649. 'Verifying Video Request',
  8650. 'File Not Found',
  8651. 'optional--',
  8652. 'optional2--',
  8653. "//a[contains(@href,'vidbull.com')]");
  8654. }
  8655. if (GM_getValue("Check_novamov_dot_com_links", false))
  8656. {
  8657. addFileHost(
  8658. "novamov\.com\/\\w+",
  8659. 'For version detection',
  8660. 'file no longer exists',
  8661. 'optional--',
  8662. 'optional2--',
  8663. "//a[contains(@href,'novamov.com')]"
  8664. );
  8665. }
  8666. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8667. {
  8668. addFileHost(
  8669. "filehoot\.com\/\\w+",
  8670. 'Continue to watch',
  8671. 'File Not Found',
  8672. 'optional--',
  8673. 'optional2--',
  8674. "//a[contains(@href,'filehoot.com')]"
  8675. );
  8676. }
  8677. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8678. {
  8679. addFileHost(
  8680. "stagevu\.com\/\\w+",
  8681. 'Video Info',
  8682. 'No video with the provided',
  8683. 'optional--',
  8684. 'optional2--',
  8685. "//a[contains(@href,'stagevu.com')]"
  8686. );
  8687. }
  8688. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8689. {
  8690. addFileHost(
  8691. "cloudtime\.to\/\\w+",
  8692. 'Download the video',
  8693. 'no longer exists',
  8694. 'optional--',
  8695. 'optional2--',
  8696. "//a[contains(@href,'cloudtime.to')]"
  8697. );
  8698. }
  8699. if (GM_getValue("Check_streamin_dot_to_links", false))
  8700. {
  8701. addFileHost(
  8702. "streamin\.to\/\\w+",
  8703. 'id="btn_download',
  8704. 'Not Found|Copyright Infringement|File Deleted',
  8705. 'optional--',
  8706. 'optional2--',
  8707. "//a[contains(@href,'streamin.to')]"
  8708. );
  8709. }
  8710. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8711. {
  8712. addFileHost(
  8713. "videoweed\.es\/\\w+",
  8714. 'version detection',
  8715. 'no longer exists',
  8716. 'optional--',
  8717. 'optional2--',
  8718. "//a[contains(@href,'videoweed.es')]"
  8719. );
  8720. }
  8721. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8722. {
  8723. addFileHost(
  8724. "nowvideo\.sx\/\\w+",
  8725. 'Download this video|value="submit">Continue',
  8726. 'no longer exists',
  8727. 'optional--',
  8728. 'optional2--',
  8729. "//a[contains(@href,'nowvideo.sx')]"
  8730. );
  8731. }
  8732. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8733. {
  8734. addFileHost(
  8735. "thevideo\.me\/\\w+",
  8736. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8737. 'File Not Found',
  8738. 'optional--',
  8739. 'optional2--',
  8740. "//a[contains(@href,'thevideo.me')]"
  8741. );
  8742. }
  8743. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8744. {
  8745. addFileHost(
  8746. "gorillavid\.in\/\\w+",
  8747. 'Wait 5 seconds',
  8748. 'File Not Found',
  8749. 'optional--',
  8750. 'optional2--',
  8751. "//a[contains(@href,'gorillavid.in')]"
  8752. );
  8753. }
  8754. if (GM_getValue("Check_thefile_dot_me_links", false))
  8755. {
  8756. addFileHost(
  8757. "thefile\.me\/\\w+",
  8758. 'Choose free or',
  8759. '',
  8760. 'optional--',
  8761. 'optional2--',
  8762. "//a[contains(@href,'thefile.me')]"
  8763. );
  8764. }
  8765. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8766. {
  8767. addFileHost(
  8768. "vidzi\.tv\/\\w+",
  8769. 'video-embed-modal row',
  8770. 'File Not Found|file was deleted',
  8771. 'optional--',
  8772. 'optional2--',
  8773. "//a[contains(@href,'vidzi.tv')]"
  8774. );
  8775. }
  8776. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8777. {
  8778. addFileHost(
  8779. "filenuke\.com\/\\w+",
  8780. 'Download File',
  8781. 'Earn with us',
  8782. 'optional--',
  8783. 'optional2--',
  8784. "//a[contains(@href,'filenuke.com')]"
  8785. );
  8786. }
  8787. if (GM_getValue("Check_vidto_dot_me_links", false))
  8788. {
  8789. addFileHost(
  8790. "vidto\.me\/\\w+",
  8791. 'Proceed to video',
  8792. 'Not Found',
  8793. 'optional--',
  8794. 'optional2--',
  8795. "//a[contains(@href,'vidto.me')]"
  8796. );
  8797. }
  8798. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8799. {
  8800. addFileHost(
  8801. "vidspot\.net\/\\w+",
  8802. 'Duration',
  8803. 'Removed for',
  8804. 'optional--',
  8805. 'optional2--',
  8806. "//a[contains(@href,'vidspot.net')]"
  8807. );
  8808. }
  8809. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8810. {
  8811. addFileHost(
  8812. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8813. 'Download File',
  8814. 'File Not Found',
  8815. 'optional--',
  8816. 'optional2--',
  8817. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8818. );
  8819. }
  8820. if (GM_getValue("Check_movpod_dot_in_links", false))
  8821. {
  8822. addFileHost(
  8823. "movpod\.in\/\\w+",
  8824. 'Continue',
  8825. 'File Not Found',
  8826. 'optional--',
  8827. 'optional2--',
  8828. "//a[contains(@href,'movpod.in')]"
  8829. );
  8830. }
  8831. /* if (GM_getValue("Check_down4files_dot_com_links", false))
  8832. {
  8833. addFileHost(
  8834. "down4files\.com\/\\w+",
  8835. 'down_table.png',
  8836. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8837. 'optional--',
  8838. 'optional2--',
  8839. "//a[contains(@href,'down4files.com')]"
  8840. );
  8841. } */
  8842. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8843. {
  8844. addFileHost(
  8845. "storefiles\.co\/\\w+",
  8846. 'btn_download',
  8847. 'No such file|>Error<|mqmaintitle">',
  8848. 'optional--',
  8849. 'optional2--',
  8850. "//a[contains(@href,'storefiles.co')]"
  8851. );
  8852. }
  8853. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8854. {
  8855. addFileHost(
  8856. "filehost\.pw\/\\w+",
  8857. 'name="method_free',
  8858. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8859. 'optional--',
  8860. 'optional2--',
  8861. "//a[contains(@href,'filehost.pw')]"
  8862. );
  8863. }
  8864. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8865. {
  8866. addFileHost(
  8867. "inafile\.com\/\\w+",
  8868. 'value="download1">|<h2>File: <font style="color:darkred">',
  8869. '<div style="width:500px;text-align:left;">|File Not Found',
  8870. 'optional--',
  8871. 'optional2--',
  8872. "//a[contains(@href,'inafile.com')]"
  8873. );
  8874. } */
  8875. if (GM_getValue("Check_uplea_dot_com_links", false))
  8876. {
  8877. addFileHost(
  8878. "uplea\.com\/\\w+",
  8879. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8880. 'expired link|ou est invalide',
  8881. 'optional--',
  8882. 'optional2--',
  8883. "//a[contains(@href,'uplea.com/dl')]",
  8884. true);
  8885. }
  8886. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8887. {
  8888. addFileHost(
  8889. "toutbox\.fr\/\\w+",
  8890. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8891. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8892. 'Serviço temporariamente indisponível',
  8893. 'optional2--',
  8894. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8895. );
  8896. }
  8897. if (GM_getValue("Check_openload_dot_co_links", false))
  8898. {
  8899. addFileHost(
  8900. "openload\.co\/\\w+",
  8901. 'id="downloadTimer">|button dlbutton',
  8902. 'jumbotron{color|got deleted|center !important',
  8903. 'optional--',
  8904. 'optional2--',
  8905. "//a[contains(@href,'openload.co')]"
  8906. );
  8907. }
  8908. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8909. {
  8910. addFileHost(
  8911. "lolabits\.es\/\\w+",
  8912. 'Descargar:',
  8913. '<title>Archivos de usuario',
  8914. 'Service Unavailable',
  8915. 'optional2--',
  8916. "//a[contains(@href,'lolabits.es')]"
  8917. );
  8918. }
  8919. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8920. {
  8921. addFileHost(
  8922. "alfafile\.net\/\\w+",
  8923. 'id="slow_download_btn',
  8924. 'class="error-box">',
  8925. 'optional--',
  8926. 'optional2--',
  8927. "//a[contains(@href,'alfafile.net')]"
  8928. );
  8929. }
  8930. if (GM_getValue("Check_multiup_dot_org_links", false))
  8931. {
  8932. addFileHost(
  8933. "multiup\.org\/\\w+",
  8934. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8935. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8936. 'optional--',
  8937. 'optional2--',
  8938. "//a[contains(@href,'multiup.org')]"
  8939. );
  8940. }
  8941. if (GM_getValue("Check_file_dot_al_links", false))
  8942. {
  8943. addFileHost(
  8944. "file\.al\/\\w+",
  8945. 'method_free',
  8946. 'style="width:500px;text-align:left;">',
  8947. 'optional--',
  8948. 'optional2--',
  8949. "//a[contains(@href,'file.al')]"
  8950. );
  8951. }
  8952. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8953. {
  8954. addFileHost(
  8955. "devilshare\.net\/\\w+",
  8956. '<div class="large-12" id="download">',
  8957. '(Link: 0 Invalid)|File Not Found',
  8958. 'optional--',
  8959. 'optional2--',
  8960. "//a[contains(@href,'devilshare.net')]"
  8961. );
  8962. }
  8963. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8964. {
  8965. addFileHost(
  8966. "dailyuploads\.net\/\\w+",
  8967. 'id="downloadBtnClickOrignal',
  8968. '<div style="width:500px;text-align:left;">',
  8969. 'optional--',
  8970. 'optional2--',
  8971. "//a[contains(@href,'dailyuploads.net')]"
  8972. );
  8973. }
  8974. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8975. {
  8976. addFileHost(
  8977. "datoteke\.com\/\\w+",
  8978. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8979. '&nbsp;File has been removed',
  8980. 'optional--',
  8981. '<title>Error - Datoteke',
  8982. "//a[contains(@href,'datoteke.com')]"
  8983. );
  8984. }
  8985. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  8986. {
  8987. addFileHost(
  8988. "tezfiles\.com\/\\w+",
  8989. 'virtual/low-speed-download',
  8990. 'class="alert alert-block|file is no longer available',
  8991. 'optional--',
  8992. 'This file is available<br>only for premium members',
  8993. "//a[contains(@href,'tezfiles.com')]"
  8994. );
  8995. } */
  8996. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8997. {
  8998. addFileHost(
  8999. "sharehost\.eu\/\\w+",
  9000. '/?v=download_free&',
  9001. 'Errors occured|Wystąpiły błędy',
  9002. 'optional--',
  9003. 'optional2--',
  9004. "//a[contains(@href,'sharehost.eu')]"
  9005. );
  9006. }
  9007. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9008. {
  9009. addFileHost(
  9010. "pornfile\.cz\/\\w+",
  9011. 'Stáhnout soubor',
  9012. 'Soubor byl smazán',
  9013. 'optional--',
  9014. 'optional2--',
  9015. "//a[contains(@href,'pornfile.cz')]"
  9016. );
  9017. }
  9018. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9019. {
  9020. addFileHost(
  9021. "pornoid\.cz\/\\w+",
  9022. 'class="btn btn-large btn-download',
  9023. 'Soubor byl smazán',
  9024. 'optional--',
  9025. 'optional2--',
  9026. "//a[contains(@href,'pornoid.cz')]"
  9027. );
  9028. }
  9029. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9030. {
  9031. addFileHost(
  9032. "file-share\.top\/\\w+",
  9033. 'btn-success btn-lg download',
  9034. 'Stránka neexistuje|404 Not Found',
  9035. 'optional--',
  9036. 'optional2--',
  9037. "//a[contains(@href,'file-share.top')]"
  9038. );
  9039. }
  9040. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9041. {
  9042. addFileHost(
  9043. "bitster\.cz\/\\w+",
  9044. 'section" content="VIDEO"',
  9045. 'section" content=""',
  9046. 'optional--',
  9047. 'optional2--',
  9048. "//a[contains(@href,'bitster.cz')]"
  9049. );
  9050. }
  9051. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9052. {
  9053. addFileHost(
  9054. "rapidu\.net\/\\w+",
  9055. 'onclick="downloadFreeFile',
  9056. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9057. 'optional--',
  9058. 'optional2--',
  9059. "//a[contains(@href,'rapidu.net')]"
  9060. );
  9061. }
  9062. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9063. {
  9064. addFileHost(
  9065. "dinoshare\.cz\/\\w+",
  9066. 'class="download-button"',
  9067. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9068. 'optional--',
  9069. 'optional2--',
  9070. "//a[contains(@href,'dinoshare.cz')]"
  9071. );
  9072. }
  9073. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9074. {
  9075. addFileHost(
  9076. "bytewhale\.com\/\\w+",
  9077. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9078. 'var rawest = "0 MB',
  9079. 'optional--',
  9080. 'optional--',
  9081. "//a[contains(@href,'bytewhale.com')]"
  9082. );
  9083. }
  9084. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9085. {
  9086. addFileHost(
  9087. "rapidrar\.com\/\\w+",
  9088. 'value="Free Download',
  9089. '<div style="width:500px;text-align:left;">',
  9090. 'optional--',
  9091. 'optional--',
  9092. "//a[contains(@href,'rapidrar.com')]"
  9093. );
  9094. }
  9095. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9096. {
  9097. addFileHost(
  9098. "gigasize\.com\/\\w+",
  9099. 'class="estimate">',
  9100. 'class="error">',
  9101. 'optional--',
  9102. 'optional--',
  9103. "//a[contains(@href,'gigasize.com')]"
  9104. );
  9105. }
  9106. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9107. {
  9108. addFileHost(
  9109. "filesupload\.org\/\\w+",
  9110. '<a href="/download-or-watch/',
  9111. 'File not found',
  9112. 'optional--',
  9113. 'optional--',
  9114. "//a[contains(@href,'filesupload.org')]"
  9115. );
  9116. }
  9117. if (GM_getValue("Check_filecad_dot_com_links", false))
  9118. {
  9119. addFileHost(
  9120. "filecad\.com\/\\w+",
  9121. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9122. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9123. 'optional--',
  9124. 'optional--',
  9125. "//a[contains(@href,'filecad.com')]"
  9126. );
  9127. }
  9128. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9129. {
  9130. addFileHost(
  9131. "file.up09\.com\/\\w+",
  9132. 'name="method_free',
  9133. 'style="width:500px;text-align:left;">',
  9134. 'optional--',
  9135. 'optional--',
  9136. "//a[contains(@href,'file.up09.com')]"
  9137. );
  9138. }
  9139. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9140. {
  9141. addFileHost(
  9142. "lunaticfiles\.com\/\\w+",
  9143. 'name="method_free"',
  9144. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9145. 'optional--',
  9146. 'optional--',
  9147. "//a[contains(@href,'lunaticfiles.com')]"
  9148. );
  9149. }
  9150. if (GM_getValue("Check_upload_dot_af_links", false))
  9151. {
  9152. addFileHost(
  9153. "upload\.af\/\\w+",
  9154. 'id="method_free"',
  9155. '<h1>File Not Found</',
  9156. 'optional--',
  9157. 'optional--',
  9158. "//a[contains(@href,'upload.af')]"
  9159. );
  9160. }
  9161. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9162. {
  9163. addFileHost(
  9164. "filedwon\.info\/\\w+",
  9165. 'name="method_free"',
  9166. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9167. 'optional--',
  9168. 'optional--',
  9169. "//a[contains(@href,'filedwon.info')]"
  9170. );
  9171. }
  9172. if (GM_getValue("Check_uplod_dot_it_links", false))
  9173. {
  9174. addFileHost(
  9175. "uplod\.it\/\\w+",
  9176. 'value="download2">|name="method_free',
  9177. '<Title>Download </Title>',
  9178. 'optional--',
  9179. 'optional--',
  9180. "//a[contains(@href,'uplod.it')]"
  9181. );
  9182. }
  9183.  
  9184. }
  9185. //start here
  9186.  
  9187. //hosts with direct download, so they must be requested for headers only
  9188. function initFileHostsHeadersOnly()
  9189. {
  9190. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9191. {
  9192. var host = new Array(5);
  9193. host[0] = linkRegex;
  9194. host[1] = isAliveRegex;
  9195. host[2] = isDeadRegex;
  9196. host[3] = xpathEx;
  9197. host[4] = ispremRegex;
  9198. http_file_hosts_headers_only.push(host);
  9199. }
  9200. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9201. {
  9202. addFileHostHeadersOnly(
  9203. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9204. 'Connection: Keep-Alive',
  9205. 'Content-Length: 3857',
  9206. "//a[contains(@href,'uloziste.com')]"
  9207. )
  9208. }
  9209. if (GM_getValue("Check_adrive_dot_com_links", false))
  9210. {
  9211. addFileHostHeadersOnly(
  9212. "adrive\\.com\/public\/\\w+",
  9213. 'Connection: keep-alive',
  9214. 'orig_ref=deleted',
  9215. "//a[contains(@href,'adrive.com')]"
  9216. )
  9217. }
  9218. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9219. {
  9220. addFileHostHeadersOnly(
  9221. "myupload\\.dk\/showfile\/\\w+",
  9222. 'Expires:',
  9223. 'squeeze1\\s+Vary',
  9224. "//a[contains(@href,'myupload.dk/showfile')]"
  9225. )
  9226. }
  9227. }
  9228. //CustomRules
  9229. //functions add...Host copied here
  9230. function addObsoleteHost(linkRegex, xpathEx)
  9231. {
  9232. var host = new Array(2);
  9233. host[0] = linkRegex;
  9234. host[1] = xpathEx;
  9235. http_file_hosts_obsolete.push(host);
  9236. }
  9237. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9238. {
  9239. var host = new Array(7);
  9240. host[0] = linkRegex;
  9241. host[1] = isAliveRegex;
  9242. host[2] = isDeadRegex;
  9243. host[3] = isUnavaRegex;
  9244. host[4] = xpathEx;
  9245. tryLoop ? host[5] = true : host[5] = false;
  9246. host[6] = ispremRegex;
  9247. http_file_hosts.push(host);
  9248. }
  9249. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9250. {
  9251. var host = new Array(5);
  9252. host[0] = linkRegex;
  9253. host[1] = isAliveRegex;
  9254. host[2] = isDeadRegex;
  9255. host[3] = xpathEx;
  9256. host[4] = ispremRegex;
  9257. http_file_hosts_headers_only.push(host);
  9258. }
  9259. //takes a fully built rules array and adds the rules to WARLC
  9260. function applyCustomRules(customRules)
  9261. {
  9262. if (!customRules) return;
  9263. var rules, r, i;
  9264. rules = customRules.rules;
  9265. for (i = 0 ; i < rules.length ; i++)
  9266. {
  9267. r = rules[i];
  9268. if (r.enabled)
  9269. {
  9270. switch (r.type)
  9271. {
  9272. case 'single':
  9273. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9274. break;
  9275. case 'headers':
  9276. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9277. break;
  9278. case 'obsolete':
  9279. addObsoleteHost(r.urlregex, r.xpath)
  9280. break;
  9281. }
  9282. }
  9283. }
  9284. }
  9285.  
  9286.  
  9287. function initFileHostsCustom()
  9288. {
  9289. if (Custom_rules && Custom_rules_text)
  9290. {
  9291. var msg = '';
  9292. if (newVersion)
  9293. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9294. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9295. msg = '60 or more days have passed since this notification.\n\n';
  9296. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9297. {
  9298. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9299. msg +=
  9300. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9301. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9302. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9303. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9304. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9305. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9306. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9307. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9308. setTimeout(function(){alert(msg)},0);
  9309. }
  9310. var customRules = parseCustomRules(Custom_rules_text);
  9311. if (customRules.warning || customRules.error)
  9312. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9313. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9314. JSON.stringify(customRules.info, null, ' '));
  9315. applyCustomRules(customRules);
  9316. }
  9317. }
  9318. //end of CustomRules processing
  9319.  
  9320.  
  9321.  
  9322. } //end of function start
  9323.  
  9324.  
  9325.  
  9326. function initClipBoardTools()
  9327. {
  9328. unsafeWindow.copyToClipboard = function(text)
  9329. {
  9330. try
  9331. {
  9332. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9333.  
  9334. var str = Components.classes["@mozilla.org/supports-string;1"].
  9335. createInstance(Components.interfaces.nsISupportsString);
  9336. if (!str) return false;
  9337.  
  9338. str.data = text;
  9339.  
  9340. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9341. createInstance(Components.interfaces.nsITransferable);
  9342. if (!trans) return false;
  9343.  
  9344. trans.addDataFlavor("text/unicode");
  9345. trans.setTransferData("text/unicode", str, text.length * 2);
  9346.  
  9347. var clipid = Components.interfaces.nsIClipboard;
  9348. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9349. if (!clip) return false;
  9350.  
  9351. clip.setData(trans, null, clipid.kGlobalClipboard);
  9352. } catch (e) {
  9353. GM_log("Error copyToClipboard : " + e);
  9354. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9355. }
  9356. }
  9357. }
  9358.  
  9359.  
  9360.  
  9361. //CustomRules
  9362.  
  9363. function escapeRegex(str)
  9364. {
  9365. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9366. }
  9367.  
  9368.  
  9369. //called internally from parseCustomRules.
  9370. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9371. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9372. function makeCustomRule(rule)
  9373. {
  9374. function makeMatchRegex(arrmatch)
  9375. {
  9376. return escapeRegex(arrmatch.join('\n'))
  9377. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9378. .replace(/\n/g,'|'); //join together
  9379. }
  9380. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9381. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9382. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9383. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9384. if (rule.baseurl)
  9385. {
  9386. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9387. for (i = 0 ; i < len ; i++)
  9388. {
  9389. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9390. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9391. {
  9392. 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'])
  9393. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9394. }
  9395. else //baseurl in the form: example.com/xxx
  9396. {
  9397. xpath.push(m[0]);
  9398. urlregex.push(escapeRegex(m[0]) + '.');
  9399. }
  9400. }
  9401. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9402. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9403. }
  9404. return rule;
  9405. } //function makeCustomRule
  9406.  
  9407.  
  9408. /*
  9409. Takes a string containing custom link checking rules.
  9410. Returns an object with fields:
  9411. info - contains notes, warnings and errors found during parsing
  9412. rules - the array of custom rules
  9413. note, warning, error - number of each of them found during parsing
  9414. Format of the input string:
  9415. One command per line. Command format: @keyword parameter
  9416. Keywords:
  9417. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9418. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9419. These keywords can be multiple (any of them will work):
  9420. @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...)
  9421. @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+
  9422. @alivelink, @deadlink - example links
  9423. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9424. Lines starting with // and empty lines are ignored.
  9425. Invalid parameters generate errors and those lines are skipped.
  9426. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9427. Example:
  9428. @customrule filehost
  9429. @baseurl filehost.com/download/
  9430. @baseurl filehost2. com net /d?=
  9431. @alivematch id="download">
  9432. @deadmatch File not found
  9433. @deadmatch File deleted
  9434. */
  9435. function parseCustomRules(rulesStr)
  9436. {
  9437. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9438. function addInfo(type, msg, ln){
  9439. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9440. customRules[type]++;
  9441. }
  9442. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9443. if (!lines) return null;
  9444. lines.push('@#customrule _'); //to save the last rule
  9445. var m, linecount = lines.length;
  9446. var keyword, param, constr, rule, err;
  9447. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9448. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9449. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9450. var constraints = {
  9451. 'baseurl': {
  9452. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9453. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9454. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9455. 'alivematch': {
  9456. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9457. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9458. 'deadmatch': {
  9459. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9460. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9461. 'unavamatch': {
  9462. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9463. 'alivelink': {
  9464. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9465. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9466. 'deadlink': {
  9467. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9468. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9469. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9470. };
  9471. for (linenum = 0 ; linenum < linecount ; linenum++)
  9472. {
  9473. //capturing groups: 1 23 4 5 6
  9474. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9475. if (m)
  9476. {
  9477. if (m[1] || !m[2])
  9478. continue; // ignore empty lines and lines starting with //
  9479. keyword = (m[4] || m[2]).toLowerCase();
  9480. param = m[6];
  9481. if (keyword == 'customrule')
  9482. {
  9483. //save the current rule if all required fields are provided
  9484. if (rule)
  9485. {
  9486. err = false;
  9487. $.each(constraints, function(kw, constraint){
  9488. var l, constr = constraint[rule.type];
  9489. if (constr)
  9490. {
  9491. l = rule[kw] ? rule[kw].length : 0;
  9492. if (l < constr.min || l > constr.max)
  9493. {
  9494. 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);
  9495. err = true;
  9496. }
  9497. }
  9498. });
  9499. if (!err)
  9500. customRules.rules.push(makeCustomRule(rule));
  9501. }
  9502. //start a new rule
  9503. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9504. {
  9505. rule = {
  9506. 'enabled': !m[3],
  9507. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9508. 'name': param
  9509. };
  9510. }
  9511. else
  9512. {
  9513. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9514. rule = null;
  9515. }
  9516. }
  9517. else //good line format, but keyword other than customrule
  9518. {
  9519. if (!rule)
  9520. {
  9521. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9522. continue;
  9523. }
  9524. if (constraints[keyword])
  9525. {
  9526. constr = constraints[keyword][rule.type];
  9527. if (constr)
  9528. {
  9529. if (constr.paramRE && !constr.paramRE.test(param))
  9530. {
  9531. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9532. continue;
  9533. }
  9534. }
  9535. else
  9536. {
  9537. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9538. continue;
  9539. }
  9540. }
  9541. //line OK, save
  9542. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9543. }
  9544. } //if (m)
  9545. else
  9546. addInfo('warning', 'Unknown line format. Line skipped.');
  9547. } //for loop
  9548. return customRules;
  9549. } //function parseCustomRules
  9550.  
  9551.  
  9552. /* ********************UPDATES********************
  9553.  
  9554. February 17, 2016
  9555. Version 1.2.4.8
  9556. fixed yadi.sk
  9557.  
  9558. February 16, 2016
  9559. Version 1.2.4.7
  9560. fixed datafile.com
  9561. fixed filecad.com
  9562. added filecore.co & filestorm.to to obsolete hosts
  9563. added upload.af, filedwon.in & uplod.it
  9564.  
  9565. February 15, 2016
  9566. Version 1.2.4.6
  9567. fixed kumpulbagi.id
  9568. added sangfile.com to obsolete hosts
  9569.  
  9570. February 14, 2016
  9571. Version 1.2.4.5
  9572. fixed yandex.ru
  9573.  
  9574. February 13, 2016
  9575. Version 1.2.4.4
  9576. added lunaticfiles.com.
  9577.  
  9578. February 09, 2016
  9579. Version 1.2.4.3
  9580. added file.up09.com.
  9581.  
  9582. February 09, 2016
  9583. Version 1.2.4.2
  9584. tezfiles.com premium links now detected.
  9585.  
  9586. February 09, 2016
  9587. Version 1.2.4.1
  9588. added seenupload.com to obsolete hosts
  9589. fixed 180upload.com to show obsolete
  9590.  
  9591. February 08, 2016
  9592. Version 1.2.4.0
  9593. added tusfiles.com
  9594. added filesupload.org
  9595. added gigasize.com
  9596. added filecad.com
  9597. fixed filecloud.io
  9598. added uploadnet.co to obsolete hosts
  9599.  
  9600. February 07,2016
  9601. Vession 1.2.3.9
  9602. fixed depositfiles.com folders
  9603. fixed turbobit.net folders
  9604.  
  9605. February 06, 2016
  9606. Version 1.2.3.8
  9607. fixed 1fichier false dead links
  9608.  
  9609. February 04, 2106
  9610. Version 1.2.3.7
  9611. added geupload and lenfile to obsolete hosts
  9612. fixed kyc.pm/depfile
  9613.  
  9614. February 03, 2016
  9615. Version 1.2.3.6
  9616. fixed some nitroflare.com dead links not being detected
  9617.  
  9618. February 01, 2016
  9619. Version 1.2.3.5
  9620. script moved to new site
  9621.  
  9622. January 20, 2016
  9623. Version 1.2.3.3
  9624. fixed some rapidgator premium link not being detected
  9625.  
  9626. January 17, 2016
  9627. Version 1.2.3.2
  9628. added bytewhale.com
  9629. added rapidrar.com
  9630.  
  9631. Version 1.2.3.1
  9632. added 180upload.com to obsolete hosts
  9633. fixed hellspy.com
  9634. added dinoshare.cz,
  9635.  
  9636. January 13, 2016
  9637. Version 1.2.3.0
  9638. added rapidu.net
  9639. added uploadboy.me
  9640. fixed euroshare.eu
  9641.  
  9642. January 12, 2016
  9643. Version 1.2.2.9
  9644. added kb.simple-aja.info
  9645.  
  9646. January 10, 2016
  9647. Version 1.2.2.8
  9648. made changes to fastshare.cz
  9649.  
  9650. January 10, 2016
  9651. Version 1.2.2.7
  9652. fixed uptobox.com
  9653.  
  9654. January 09, 2016
  9655. Version 1.2.2.6
  9656. datoteke.com now detects premium links
  9657. fixed turbobit.net
  9658. fixed uptobox.com
  9659. added pornfile.cz
  9660. added pornoid.cz
  9661. added file-share.top
  9662. added bitster.cz
  9663.  
  9664. January 05, 2016
  9665. Version 1.2.2.5
  9666. fixed salefiles.com
  9667. fixed ozofile.com
  9668.  
  9669. January 04, 2016
  9670. Version 1.2.2.4
  9671. added sharehost.eu
  9672.  
  9673. December 30, 2015
  9674. Version 1.2.2.3
  9675. added tezfiles.com
  9676.  
  9677. December 28, 2015
  9678. Version 1.2.2.2
  9679. fixed some k2s & fboom dead link not getting detected
  9680. fixed some k2s premium links not getting detected.
  9681. fixed ssh.yt not detecting some dead links
  9682. fixed ncrypt.in dead links showing yellow
  9683.  
  9684. December 20, 2015
  9685. Version 1.2.2.0
  9686. added datoteke.com
  9687.  
  9688. December 19, 2015
  9689. Version 1.2.1.9
  9690. added secured.in & linksave.in to obsolete hosts
  9691.  
  9692. December 17, 2015
  9693. Version 1.2.1.8
  9694. added german for dead links to secureupload.eu.
  9695.  
  9696. December 17, 2015
  9697. Version 1.2.1.7
  9698. added french for dead links to secureupload.eu.
  9699. fixed problem with tooltip display.
  9700.  
  9701. December 13, 2015
  9702. Version 1.2.1.6
  9703. added netload.me & fileparadox.in to obsolete hosts
  9704.  
  9705. December 09, 2015
  9706. Version 1.2.1.5
  9707. added rapidsonic.com & fileparadox.com to obsolete hosts
  9708.  
  9709. December 04, 2015
  9710. Version 1.2.1.4
  9711. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  9712.  
  9713. December 03, 2015
  9714. Version 1.2.1.3
  9715. added dailyuploads.net
  9716.  
  9717. December 02, 2015
  9718. Version 1.2.1.2
  9719. fixed hitfile.net
  9720. fixed kingfiles.net
  9721.  
  9722. November 30, 2015
  9723. Version 1.2.1.1
  9724. added filepost.com to obsolete hosts
  9725. added devilshare.net
  9726.  
  9727. November 28, 2015
  9728. Version 1.2.1.0
  9729. fixed datafile.com not detecting some premium links.
  9730.  
  9731. November 25, 2015
  9732. Version 1.2.0.9
  9733. fixed filejoker.net
  9734. fixed toutbox.fr
  9735. fixed nowvideo.sx
  9736.  
  9737. November 24, 2015
  9738. Version 1.2.0.8
  9739. fixed openload.io
  9740.  
  9741. November 20, 2015
  9742. Version 1.2.0.7
  9743. //added file.al
  9744. //fixed nitroflare.com false live links
  9745. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  9746.  
  9747. November 17, 2015
  9748. Version 1.2.0.6
  9749. added clicknupload.me
  9750.  
  9751. November 09, 2015
  9752. Version 1.2.0.5
  9753. fixed some depfile premium links not being detected
  9754.  
  9755. November 08, 2015
  9756. Version 1.2.0.4
  9757. fixed some rapidgator premium links not being detected
  9758. fixed doraupload.com
  9759.  
  9760. November 08, 2015
  9761. Version 1.2.0.3
  9762. fixed uploaded false premium
  9763.  
  9764. November 07, 2015
  9765. Version 1.2.0.2
  9766. fixed redbunker.net
  9767.  
  9768. November 05, 2015
  9769. Version 1.2.0.1
  9770. fixed app.box.com
  9771. added multiup.org (does not detect all dead links)
  9772.  
  9773. November 01, 2015
  9774. Version 1.2.0.0
  9775. added more languages to rockfile and 1fichier
  9776.  
  9777. November 01, 2015
  9778. Version 1.1.9.9
  9779. fixed rockfile.eu
  9780. changed 1fichier code (Thanks yurri)
  9781. added to obsolete hosts... (Thanks Love Buzz)
  9782. burnupload.com
  9783. cramit.in
  9784. cramitin.net
  9785. down4files.com
  9786. edoc.com
  9787. jumbofile.net
  9788. krotix.net
  9789. migahost.com
  9790. movreel.com
  9791. netload.in
  9792. newfileland.com
  9793. quickshare.cz
  9794.  
  9795. October 30, 2015
  9796. Version 1.1.9.8
  9797. added alfafile.net
  9798.  
  9799. October 26, 2015
  9800. Version 1.1.9.7
  9801. changed datafile.com and uplea.com
  9802. added lolabits.es
  9803.  
  9804. October 26, 2015
  9805. Version 1.1.9.6
  9806. added toutbox.fr
  9807.  
  9808. October 25, 2015
  9809. Version 1.1.9.5
  9810. fixed counter error
  9811.  
  9812. October 25, 2015
  9813. Version 1.1.9.4
  9814. changed uptobox.com code
  9815.  
  9816. October 21, 2015
  9817. Version 1.1.9.3
  9818. fixed uptobox.com
  9819.  
  9820. October 20, 2015
  9821. Version 1.1.9.2
  9822. bug fixes and new method of detecting premium links.
  9823.  
  9824. October 15, 2015
  9825. Version 1.1.9.1
  9826. fixed hugefiles.net false premium
  9827. changed uptobox.com code
  9828.  
  9829. October 06, 2015
  9830. Version 1.1.9.0
  9831. fixed filefactory
  9832. fixed rockfile false premium
  9833. keep2share & fileboom now detect premium links (fixed by yurii)
  9834.  
  9835. October 01, 2015
  9836. Version 1.1.8.9
  9837. fixed free.fr false premium
  9838. fixed thevideo.me false premium
  9839.  
  9840. September 28, 2015
  9841. Version 1.1.8.8
  9842. added uplea.com and openload.co
  9843.  
  9844. September 27, 2015
  9845. Version 1.1.8.7
  9846. fixed fileparadox.in false premium
  9847. added kingfiles.net to obsolete hosts
  9848. removed inafile.com from obsolete hosts
  9849.  
  9850. September 22, 2015
  9851. Version 1.1.8.6
  9852. fixed nitroflare false premium
  9853.  
  9854. September 22, 2015
  9855. Version 1.1.8.5
  9856. fixed userscloud.com false premium
  9857. fixed usersfiles.com false premium
  9858. changed arabloads.com to arabloads.net
  9859. changed nowdownloads.eu to nowdownloads.ch
  9860.  
  9861. September 21, 2015
  9862. Version 1.1.8.3
  9863. added ryushare.com to obsolete hosts.
  9864.  
  9865. September 20, 2015
  9866. Version 1.1.8.2
  9867. fixed nitroflare not showing premium links
  9868. added down4files.com,storfiles.co,filehost.pw
  9869.  
  9870. September 16, 2015
  9871. Version 1.1.8.1
  9872. added crisshare.com to obsolete hosts
  9873. fixed filemoney.com false premium
  9874. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  9875.  
  9876. September 14, 2015
  9877. Version 1.1.8.0
  9878. added to obsolete hosts...
  9879. sharebeast.com
  9880. tufiles.ru
  9881.  
  9882. September 12, 2015
  9883. Version 1.1.7.9
  9884. fixed rghost.net false premium
  9885. fixed unlimitzone.com false premium
  9886. fixed turbobit.net false live link
  9887.  
  9888. September 11, 2015
  9889. Version 1.1.7.8
  9890. Fixed filefactory.com false premium.
  9891.  
  9892. September 07, 2015
  9893. Version 1.1.7.7
  9894. fixed "depositfiles.com/en/files" links not checking
  9895.  
  9896. September 06, 2015
  9897. Version 1.1.7.6
  9898. added French code for 1fichier
  9899.  
  9900. August 29, 2015
  9901. Version 1.1.7.5
  9902. fixed depositfiles
  9903. fixed mega.co.nz/mega.nz
  9904. (fixed by yurii)
  9905.  
  9906. August 23, 2015
  9907. Version 1.1.7.4
  9908. Fixed uploadrocket (by yurii)
  9909.  
  9910. August 20, 2015
  9911. Version 1.1.7.3
  9912. fixed depfile.com false premium
  9913. fixed 1fichier false premium
  9914. fixed rapidgator false premium
  9915.  
  9916. August 08, 2015
  9917. Version 1.1.7.1
  9918. fixed unlimitzone.com, added freakshare to obsolete hosts.
  9919.  
  9920. August 07, 2015
  9921. Version 1.1.7.0
  9922. fixed...
  9923. streamin.to
  9924. thefile.me
  9925. vidzi.tv
  9926. added...
  9927. filenuke.com
  9928. vidto.me
  9929. vidspot.net
  9930. sharesix.com
  9931. sharesix.net
  9932. movpod.in,
  9933.  
  9934. August 07, 2015
  9935. Version 1.1.6.9 added...
  9936. thefile.me
  9937. vidzi.tv
  9938. videoweed.es
  9939. vodlocker.com
  9940. nowvideo.sx
  9941. cloudtime.to
  9942. thevideo.me
  9943. vidbull.com
  9944. allmyvideos.net
  9945. novamov.com
  9946. filehoot.com
  9947. stagevu.com
  9948. gorillavid.in
  9949. streamin.to
  9950.  
  9951. August 02, 2015
  9952. Version 1.1.6.8
  9953. added cloudshares.net
  9954.  
  9955. August 01, 2015
  9956. Version 1.1.6.7
  9957. fixed depfile redirectors false premium
  9958.  
  9959. July 31, 2015
  9960. Version 1.1.6.6
  9961. fixed depfile.com false premium
  9962. */