W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  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.5.0
  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. "abelhas.pt",
  35. "filedwon.info",
  36. "uplod.it",
  37. "rapidu.net",
  38. "file.up09.com",
  39. "lunaticfiles.com",
  40. "filecad.com",
  41. "filesupload.org",
  42. "gigasize.com",
  43. "bytewhale.com",
  44. "rapidrar.com",
  45. "download.cz.hellshare.com",
  46. "pornfile.cz",
  47. "dinoshare.cz",
  48. "kb.simple-aja.info",
  49. "bitster.cz",
  50. "file-share.top",
  51. "pornoid.cz",
  52. "dailyuploads.net",
  53. "sharehost.eu",
  54. "tezfiles.com",
  55. "devilshare.net",
  56. "alfafile.net",
  57. "openload.co",
  58. "multiup.org",
  59. "uplea.com",
  60. "filenuke.com",
  61. "file.al",
  62. // "inafile.com",
  63. "lolabits.es",
  64. "vidto.me",
  65. "storefiles.co",
  66. "filehost.pw",
  67. "vidspot.net",
  68. "turbobit.ru",
  69. "sharesix.com|sharesix.net",
  70. "movpod.in",
  71. "thefile.me",
  72. "datoteke.com",
  73. "vidzi.tv",
  74. "videoweed.es",
  75. "vodlocker.com",
  76. "nowvideo.sx",
  77. "cloudtime.to",
  78. "thevideo.me",
  79. "vidbull.com",
  80. "allmyvideos.net",
  81. "novamov.com",
  82. "filehoot.com",
  83. "stagevu.com",
  84. "gorillavid.in",
  85. "streamin.to",
  86. "4upld.com",
  87. "cloudshares.net",
  88. "swoopshare.com",
  89. "2shared.com",
  90. "fileupload.pw",
  91. "zxcfiles.com",
  92. "up07.net",
  93. "4shared.com",
  94. "adrive.com",
  95. "aisfile.com",
  96. "hexupload.com",
  97. "bezvadata.cz",
  98. "xkeepfile.com|Gamesena.com",
  99. "usersfiles.com",
  100. "pan.baidu.com",
  101. "radicalshare.com",
  102. "datei.to",
  103. "daten-hoster.de|filehosting.org|xtraupload.de",
  104. "demo.ovh.eu",
  105. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  106. "divshare.com",
  107. "easy-share.com|crocko.com",
  108. "easybytez.com",
  109. "edisk.cz",
  110. "euroshare.eu",
  111. "file-upload.net",
  112. "yadi.sk",
  113. "wizupload.com",
  114. "fastshare.cz",
  115. "filefactory.com",
  116. "share.vnn.vn",
  117. "yunpan.cn",
  118. "gulfup.com",
  119. "tropicshare.com",
  120. "cloudzilla.to",
  121. "inclouddrive.com",
  122. "fileflyer.com",
  123. "filerio.com|filekeen.com",
  124. "up.4share.vn",
  125. "upfile.vn",
  126. "datafilehost.com",
  127. "fileband.com",
  128. "worldbytez.com",
  129. "files.mail.ru",
  130. "filesflash.com",
  131. "box.com",
  132. "uptobox.com",
  133. "box.net",
  134. "goldbytez.com",
  135. "sdilej.cz",
  136. "ex-load.com",
  137. "filesmonster.com",
  138. "filestore.to",
  139. "hulkload.com",
  140. "filedropper.com",
  141. "free-uploading.com",
  142. "gamefront.com|filefront.com",
  143. "gettyfile.ru",
  144. "gigapeta.com",
  145. "gigasize.com",
  146. "hellshare.com",
  147. "hellspy.com",
  148. "hitfile.net",
  149. "hostuje.net",
  150. "freefilehosting.net",
  151. "free.fr",
  152. "hulkshare.com",
  153. "hyperfileshare.com",
  154. "filecloud.io|ifile.it",
  155. "ifolder.ru",
  156. "jumbofiles.com",
  157. "uploadrocket.net",
  158. "lafiles.com",
  159. "leteckaposta.cz|sharegadget.com",
  160. "letitbit.net",
  161. "load.to",
  162. "mediafire.com",
  163. "megafileupload.com",
  164. "megashares.com",
  165. "movshare.net",
  166. "muchshare.net",
  167. "myupload.dk",
  168. "narod.ru|narod.yandex.ru",
  169. "fboom.me|fileboom.me",
  170. "openfile.ru",
  171. "partage-facile.com",
  172. "plunder.com",
  173. "sharerapid.cz",
  174. "exclusiveloader.com",
  175. "acefile.net",
  176. "queenshare.com",
  177. "rapidgator.net",
  178. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  179. "oboom.com",
  180. "filepi.com",
  181. "neodrive.co",
  182. "rarefile.net",
  183. "rayfile.com",
  184. "rghost.net",
  185. "sendmyway.com",
  186. "clicknupload.com",
  187. "clicknupload.me",
  188. "sharemods.com",
  189. "hostr.co",
  190. "sendspace.com",
  191. "sharecash.org",
  192. "share-links.biz",
  193. "share-online.biz|egoshare.com",
  194. "megarapid.cz",
  195. "shareflare.net",
  196. "solidfiles.com",
  197. "led.wf",
  198. "lan.wf",
  199. "adlink.wf",
  200. "click.tf",
  201. "kyc.pm",
  202. "ssh.tf",
  203. "ssh.yt",
  204. "yep.pm",
  205. "stahovanizasms.cz",
  206. "turbobit.net",
  207. "filecloud.cc",
  208. "tikfile.com",
  209. "cloudsix.me",
  210. "turboupload.com",
  211. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  212. "ulozisko.sk",
  213. "uloziste.com",
  214. "unibytes.com",
  215. "upload-il.net|przeslij.net",
  216. "uploaded.to|ul.to",
  217. "uploading.com",
  218. "chayfile.com",
  219. "rockfile.eu",
  220. "24uploading.com",
  221. "uploadspace.pl",
  222. "upnito.sk",
  223. "usaupload.net",
  224. "veehd.com",
  225. "videobb.com",
  226. "vip-file.com",
  227. "webshare.cz",
  228. "xdisk.cz",
  229. "yunfile.com|filemarkets.com",
  230. "ziddu.com",
  231. "zippyshare.com",
  232. "rodfile.com",
  233. "wikiupload.com",
  234. "uploadstube.de",
  235. "faststore.org",
  236. "flyfiles.net",
  237. "nowdownload.ch",
  238. "prefiles.com",
  239. "axifile.com",
  240. "hackerbox.org",
  241. "amonshare.com",
  242. "data.hu",
  243. "brupload.net",
  244. "userscloud.com",
  245. "netkups.com",
  246. "xfileload.com",
  247. "kumpulbagi.com|kumpulbagi.id",
  248. "uppit.com|up.ht",
  249. "downloadani.me",
  250. "filesabc.com",
  251. "verzend.be",
  252. "4up.me",
  253. "extmatrix.com",
  254. "sendfiles.nl",
  255. "yourfilestore.com",
  256. "filebig.net",
  257. "nekaka.com",
  258. "file4safe.com",
  259. "tusfiles.net|tusfiles.com",
  260. "filemac.com",
  261. "idup.in",
  262. "fileswap.com",
  263. "ozofiles.com",
  264. "loudupload.net",
  265. "nosupload.com",
  266. "gboxes.com",
  267. "myvdrive.com|fileserving.com",
  268. "filesin.com",
  269. "novafile.com",
  270. "longfiles.com",
  271. // "uploadhero.com",
  272. "uploadbaz.com",
  273. "bitupload.com",
  274. "indowebster.com",
  275. "superload.cz",
  276. "mafiastorage.com",
  277. "4upfiles.com",
  278. "filesmelt.com",
  279. "hellupload.com",
  280. "uploadingit.com",
  281. "stiahni.si",
  282. "sendspace.pl",
  283. "fastshare.org",
  284. "filejoker.net",
  285. "filestore.com.ua",
  286. "secureupload.eu",
  287. "rapidfileshare.net",
  288. "stiahnito.sk",
  289. "rusfolder.com",
  290. "fileover.net",
  291. "catshare.net",
  292. "anonfiles.com",
  293. "mixturecloud.com",
  294. "filedais.com",
  295. // "imdb.com",
  296. "nitroflare.com",
  297. "akafile.com",
  298. "creafile.net",
  299. "hugefiles.net",
  300. "vidxden.com",
  301. "up.top4top.net",
  302. "upload.ee",
  303. "shareplace.org",
  304. "uploadc.com",
  305. "remixshare.com",
  306. "exoshare.com",
  307. "borncash.org",
  308. "junocloud.me",
  309. "expressleech.com",
  310. "2downloadz.com",
  311. "mightyupload.com",
  312. "anysend.com",
  313. "datafile.com",
  314. "upstore.net",
  315. "upsto.re",
  316. "speedy.sh",
  317. "sanshare.com",
  318. "kingfiles.net",
  319. // "uploadhero.co",
  320. "ge.tt",
  321. "filesflash.net",
  322. "salefiles.com",
  323. // "megairon.net",
  324. "datoid.cz",
  325. "cloudstor.es",
  326. "streamfile.com",
  327. "eyesfile.ca",
  328. "filemoney.com",
  329. "uploadboy.com",
  330. "uploadboy.me",
  331. "speedshare.eu",
  332. "google.com",
  333. "unlimitzone.com",
  334. "rioupload.com",
  335. "rg.to",
  336. "jumbofiles.org",
  337. "fshare.vn",
  338. "spaceforfiles.com",
  339. "up.media1fire.com",
  340. "depfile.com",
  341. "go4up.com",
  342. "dropbox.com",
  343. "redbunker.net",
  344. "divxpress.com",
  345. "mega.nz|mega.co.nz",
  346. "anafile.com",
  347. "uploadable.ch",
  348. "arabloads.net",
  349. "sharerepo.com",
  350. "sfshare.se",
  351. "files.fm",
  352. "koofile.com",
  353. "vidplay.net",
  354. "storagon.com",
  355. "doraupload.com",
  356. "openload.io",
  357. "uploads.xxx",
  358. "toutbox.fr",
  359. ];
  360.  
  361. try
  362. {
  363. //iframes excluded
  364. if (window.top != window.self)
  365. {
  366. return;
  367. }
  368. //allHostNames sites excluded
  369. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  370. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  371. ")"))
  372. {
  373. return;
  374. }
  375. }
  376. catch (e)
  377. {
  378. return;
  379. }
  380.  
  381. //separate alternative domains with "|" char (first name is considered being main)
  382. var allContainerNames = [
  383. "adf.ly",
  384. "linkcrypt.ws",
  385. "linksafe.me",
  386. // "linksave.in",
  387. "linkto.net",
  388. "madlink.sk",
  389. "multiload.cz",
  390. "mirrorcreator.com",
  391. "ncrypt.in",
  392. "redi.re",
  393. "relink.us",
  394. "safelinking.net",
  395. "theloo.katt.it",
  396. "bit.ly",
  397.  
  398. ];
  399.  
  400. //separate alternative domains with "|" char (first name is considered being main)
  401. var allObsoleteNames = [
  402. "uloz.cz",
  403. "secured.in",
  404. "linksave.in",
  405. "seenupload.com",
  406. "sangfile.com",
  407. "filepost.com|fp.io",
  408. "filestorm.to",
  409. "uploadnet.co",
  410. "180upload.com",
  411. "rapidsonic.com",
  412. "fileparadox.com",
  413. "geupload.com",
  414. "lenfile.com",
  415. "fileparadox.in",
  416. "uploadhero.co",
  417. "uploadhero.com",
  418. "newfileland.com",
  419. "quickshare.cz",
  420. "netload.in",
  421. "netload.me",
  422. "movreel.com",
  423. "migahost.com",
  424. "krotix.net",
  425. "jumbofile.net",
  426. "edoc.com",
  427. "down4files.com",
  428. "cramit.in|cramitin.net",
  429. "freakshare.com",
  430. "burnupload.com|burnupload.ihiphop.com",
  431. "freakshare.net",
  432. "daj.to",
  433. "bl.st",
  434. "2drive.net",
  435. "ryushare.com",
  436. "crisshare.com",
  437. "tufiles.ru",
  438. "uncapped-downloads.com",
  439. "sockshare.com",
  440. "ddlstorage.com",
  441. "dataport.cz",
  442. "dizzcloud.com",
  443. "sharebeast.com",
  444. "stahovadlo.cz",
  445. "shared.com",
  446. "storage.to",
  447. "putlocker.com",
  448. "lumfile.com",
  449. "lumfile.se",
  450. "lumfile.eu",
  451. "firedrive.com",
  452. "fileshare.in.ua",
  453. "filecore.co.nz",
  454. "filecore.co",
  455. "iskladka.cz",
  456. "file-rack.com",
  457. "fast-load.net",
  458. "subory.sk",
  459. "bigandfree.com",
  460. "fileop.com",
  461. "mujsoubor.cz",
  462. "sendfile.to",
  463. "superfastfile.com",
  464. "quickyshare.com",
  465. "duckload.com",
  466. "uploadstore.net",
  467. "meinupload.com",
  468. "dualshare.com",
  469. "2xupload.to|2xupload.de",
  470. "oxedion.com",
  471. "uploadline.com",
  472. "dll.bz",
  473. "movieshare.in",
  474. "milledrive.com",
  475. "quickupload.net",
  476. "safelink.in",
  477. "metadivx.com",
  478. "divxlink.com",
  479. "uploadrack.com",
  480. "teradepot.com",
  481. "dataup.to",
  482. "upit.to",
  483. "driveway.com",
  484. "eatlime.com",
  485. "a2zuploads.com",
  486. "friendlyfiles.net",
  487. "flyfile.us",
  488. "speedyshare.com",
  489. "uploadspace.eu",
  490. "keepfile.com",
  491. "piggyshare.com",
  492. "uplly.com",
  493. "filecrown.com",
  494. "6giga.com",
  495. "uploadjockey.com",
  496. "bluehost.to",
  497. "filegu.ru",
  498. "filebase.to",
  499. "up-file.com",
  500. "xvideos.com",
  501. "ufox.com",
  502. "filebling.com",
  503. "loaded.it",
  504. "uploadcell.com",
  505. "uploadshare.cz",
  506. "mangoshare.com",
  507. "filestab.com",
  508. "crazyupload.com",
  509. "gaiafile.com",
  510. "sharejunky.com",
  511. "fileho.com",
  512. "bigandfree.com",
  513. "bigfile.in",
  514. "bigshare.eu",
  515. "dahosting.org",
  516. "digisofts.net",
  517. "file4save.com",
  518. "filechip.com",
  519. "filescloud.com",
  520. "saveqube.com",
  521. "turboshare.de",
  522. "z-upload.com",
  523. "youshare.com",
  524. "jiffyupload.com",
  525. "gigeshare.com",
  526. "datenklo.net",
  527. "upload.dj",
  528. "loadfiles.in",
  529. "upit.to",
  530. "dsfileshare.com",
  531. "sharesimple.net",
  532. "4files.net",
  533. "wooupload.com",
  534. "odsiebie.com",
  535. "filenavi.com",
  536. "3oof.com",
  537. "meshwaar.com",
  538. "maxupload.com",
  539. "share.cx",
  540. "atserver.eu",
  541. "hotfiles.ws",
  542. "esnips.com",
  543. "tuxfile.com",
  544. "file2upload.net",
  545. "filebling.com",
  546. "turboshare.com",
  547. "rarhost.com",
  548. "isharehd.com",
  549. "i741.com",
  550. "dataup.de",
  551. "fofly.com",
  552. "shareonall.com",
  553. "sexuploader.com",
  554. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  555. "uploadhyper.com",
  556. "filespawn.com",
  557. "caizzii.com",
  558. "volnyweb.cz",
  559. "usershare.net",
  560. "filescash.net",
  561. "metahyper.com",
  562. "combozip.com",
  563. "x7.to",
  564. "uploadbox.com",
  565. "enterupload.com|flyupload.com",
  566. "filepoint.de",
  567. "mystream.to",
  568. "x-fs.com",
  569. "shareator.com",
  570. "srapid.eu",
  571. "sosame.cz",
  572. "filesdump.com",
  573. "2-klicks.de",
  574. "uploking.com",
  575. "silofiles.com",
  576. "upfile.in",
  577. "filehook.com",
  578. "uploadking.com",
  579. "uploadhere.com",
  580. "kewlshare.com",
  581. "rapidable.com",
  582. "uploadwaste.com",
  583. "filemup.com",
  584. "filesonic.com|sharingmatrix.com",
  585. "fileserve.com",
  586. "wupload.com",
  587. "skipfile.com",
  588. "smartuploader.com",
  589. "dualshare.com",
  590. "storeandserve.com",
  591. "mountfile.com",
  592. "transitfiles.com",
  593. "uploadstation.com",
  594. "filejungle.com",
  595. "shareshared.com",
  596. "quickyshare.com",
  597. "save.am",
  598. "petandrive.com",
  599. "file2box.com",
  600. "flyshare.cz",
  601. "yabadaba.ru",
  602. "cloudcache.cc",
  603. "yourfilehost.com",
  604. "jakfile.com",
  605. "kickload.com",
  606. "pyramidfiles.com",
  607. "refile.net",
  608. "zshare.net",
  609. "ddlani.me|ddlanime.com",
  610. "ftp2share.com",
  611. "fooget.com",
  612. "rapidhide.com",
  613. "gotupload.com",
  614. "mooload.com",
  615. "zupload.com",
  616. "mytempdir.com",
  617. "onionshare.com",
  618. "stahnu.to",
  619. "oron.com",
  620. "badongo.com",
  621. "filereactor.com",
  622. "filegaze.com",
  623. "4bytez.com",
  624. "1hostclick.com",
  625. "anonstream.com",
  626. "batshare.com",
  627. "bitroad.net",
  628. "brontofile.com",
  629. "cloudnxt.net",
  630. "cloudnator.com|shragle.com",
  631. "filesfrog.net",
  632. "coolshare.cz",
  633. "dotavi.com",
  634. "ezyfile.net",
  635. "file-bit.net",
  636. "filecosy.com",
  637. "fileduct.com|fileduct.net",
  638. "filefat.com",
  639. "filelaser.com",
  640. "filemashine.com",
  641. "fileserver.cc",
  642. "filetechnology.com",
  643. "fireuploads.net",
  644. "gigfiles.net",
  645. "holderfile.com",
  646. "ihostia.com",
  647. "k2files.com",
  648. "mojofile.com",
  649. "ovfile.com",
  650. "qshare.com",
  651. "shafiles.me",
  652. "sharefilehost.com",
  653. "shareupload.com",
  654. "stahuj.to",
  655. "ugotfile.com",
  656. "uploadboost.com",
  657. "fileom.com",
  658. "vidhog.com",
  659. "xfileshare.eu",
  660. "bzlink.us",
  661. "bulletupload.com",
  662. "bloggerarticles.com",
  663. "mojedata.sk",
  664. "sharpfile.com",
  665. "upgrand.com",
  666. "nasdilej.cz",
  667. "mediatack.cz",
  668. "share-it.to",
  669. "primeupload.com",
  670. "filebeer.info",
  671. "baberepublic",
  672. "xtu.me",
  673. "sharebase.de",
  674. "luckyshare.net",
  675. "filerobo.com",
  676. "filevelocity.com",
  677. "filezpro.com",
  678. "file4sharing.com",
  679. "cing.be",
  680. "ufile.eu",
  681. "pigsonic.com",
  682. "fileupped.com",
  683. "sharerun.com",
  684. "filesaur.com",
  685. "rapidslnare.com",
  686. "bestsharing.com",
  687. "savefiles.net",
  688. "file2share.biz",
  689. "filecache.de",
  690. "monsteruploads.eu",
  691. "b9bb.com",
  692. "aiotool.net",
  693. "jamber.info",
  694. "megaftp.com",
  695. "desiupload.net",
  696. "file27.com",
  697. "yastorage.com",
  698. "filehost.ws",
  699. "copyload.com",
  700. "venusfile.com",
  701. "aieshare.com",
  702. "terafile.co",
  703. "terafile.com",
  704. "fileza.net",
  705. "filerose.com",
  706. "squillion.com",
  707. "fileprohost.com",
  708. "bitbonus.com",
  709. "warserver.cz",
  710. "uload.to",
  711. "sharedbit.net",
  712. "megaload.it",
  713. "filewinds.com",
  714. "uploadcore.com",
  715. "syfiles.com",
  716. "eyesfile.com",
  717. "hotfile.com",
  718. "superupl.com",
  719. "oteupload.com",
  720. "henchfile.com",
  721. "filegag.com",
  722. "HenchFile.com",
  723. "filedefend.com",
  724. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  725. "megabitshare.com",
  726. "cloudzer.com",
  727. "asfile.com",
  728. "cloudzer.net",
  729. "clz.to",
  730. "extabit.com",
  731. "247upload.com",
  732. "2download.de",
  733. "4fastfile.com",
  734. "asixfiles.com",
  735. "berofile.com",
  736. "bigupload.com",
  737. "cepzo.com",
  738. "clouds.to",
  739. "cobrashare.sk",
  740. "coraldrive.net",
  741. "cyberlocker.ch",
  742. "czshare.com",
  743. "darkport.org",
  744. "dark-uploads.com",
  745. "davvas.com",
  746. "enigmashare.com",
  747. "erofly.cz",
  748. "fastsonic.net",
  749. "filebox.com",
  750. "filecity.net",
  751. "filedap.com",
  752. "filedino.com",
  753. "filedownloads.org",
  754. "filefolks.com",
  755. "fileking.co",
  756. "filemates.com",
  757. "files.to",
  758. "files2k.eu",
  759. "filesector.cc",
  760. "bitshare.com",
  761. "filesega.com",
  762. "filesend.net",
  763. "filestay.com",
  764. "filestrum.com",
  765. "fileuplo.de",
  766. "fileupup.com",
  767. "forunesia.com",
  768. "freeuploads.fr",
  769. "uploa.dk",
  770. "getthebit.com",
  771. "getzilla.net",
  772. "goldfile.eu",
  773. "good.com",
  774. "grupload.com",
  775. "hellfile.com",
  776. "hipfile.com",
  777. "hitfile.com",
  778. "hulkfile.eu|duckfile.net",
  779. "i-filez.com",
  780. "ifile.ws",
  781. "kupload.org",
  782. "packupload.com",
  783. "lemuploads.com",
  784. "limelinx.com",
  785. "maxshare.pl",
  786. "megarelease.org",
  787. "megashare.com",
  788. "minus.com",
  789. "mlfat4arab.com",
  790. "multishare.cz",
  791. "nirafile.com",
  792. "ok2upload.com",
  793. "peejeshare.com",
  794. "premiuns.org",
  795. "przeklej.net",
  796. "qkup.net",
  797. "rapidupload.sk",
  798. "rockdizfile.com",
  799. "rocketfile.net",
  800. "share-now.net",
  801. "share76.com",
  802. "sharebees.com",
  803. "sharefiles.co",
  804. "slingfile.com",
  805. "sms4file.com",
  806. "space4file.com",
  807. "tigershare.net",
  808. "toucansharing.com",
  809. "ubuntuone.com",
  810. "unextfiles.com",
  811. "upaj.pl",
  812. "upfile.biz",
  813. "uploadbin.net",
  814. "uploadic.com",
  815. "uploadinc.com",
  816. "uploading4u.eu",
  817. "uploadjet.net",
  818. "uploadorb.com",
  819. "upthe.net",
  820. "uptorch.com",
  821. "vidbox.yt",
  822. "videozer.com",
  823. "vreer.com",
  824. "wallobit.com",
  825. "zooupload.com",
  826. "privatefiles.com",
  827. "xerver.co",
  828. "BillionUploads.com",
  829. "rapidshare.com",
  830. "rapidshare.ru",
  831. "4savefile.com",
  832. "bayfiles.com",
  833. "bayfiles.net",
  834. "dodane.pl",
  835. "dotsemper.com",
  836. "egofiles.com",
  837. "epicshare.net",
  838. "fiberupload.net",
  839. "filemonkey.in",
  840. "filemonster.net",
  841. "filepom.com",
  842. "filesbb.com",
  843. "fileshareup.com",
  844. "filevice.com",
  845. "gigaup.fr",
  846. "isavelink.com",
  847. "loombo.com",
  848. "megafiles.se",
  849. "migupload.com",
  850. "mydisc.net",
  851. "nitrobits.com",
  852. "potload.com",
  853. "redload.net",
  854. "shareprofi.com",
  855. "sharesuper.info",
  856. "sinhro.net",
  857. "speedfile.cz",
  858. "speedshare.org",
  859. "storage.novoro.net",
  860. "swankshare.com",
  861. "swatupload.com",
  862. "upafile.com",
  863. "uploadmachine.com",
  864. "uploadsat.com",
  865. "upshared.com",
  866. "usefile.com",
  867. "yourfiles.to",
  868. "zomgupload.com",
  869. "ultramegabit.com",
  870. "uploadto.us",
  871. "inafile.com",
  872. "megairon.net",
  873.  
  874. ];
  875. ///////////////////////////////////////////////////////////////////////////////////////
  876. var firstRun = GM_getValue("First_run", true);
  877.  
  878. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  879. //////////////////////////////////////////////////////////////////////////////////////
  880. try
  881. {
  882. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  883. var last_known_version = GM_getValue("last_known_version", "");
  884. if (!last_known_version)
  885. {
  886. last_known_version = thisVersion;
  887. GM_setValue("last_known_version", last_known_version);
  888. }
  889. //var newVersion = !(thisVersion == last_known_version);
  890. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  891. GM_setValue("last_known_version", thisVersion);
  892. }
  893. catch (err)
  894. {
  895. var newVersion = false;
  896. }
  897.  
  898. var now = (new Date()).getTime();
  899. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  900. if (!last_custom_rules_nag)
  901. {
  902. last_custom_rules_nag = now;
  903. GM_setValue('last_custom_rules_nag', ''+now);
  904. }
  905.  
  906.  
  907. allHostNames.sort();
  908. allContainerNames.sort();
  909. allObsoleteNames.sort();
  910.  
  911. var RAND_STRING = "8QyvpOSsRG3QWq";
  912. var DEBUG_MODE = false;
  913.  
  914. var TOOLTIP_MAXWIDTH = 600; //in pixels
  915. var TOOLTIP_THUMBWIDTH = 200;
  916. var containers_processed = false;
  917.  
  918. //settings for keyboard functions start
  919. var CHECK_ALL_LINKS_KEY = "A";
  920. var CONFIGURATION_KEY = "C";
  921. var copy_to_dead_key = "D";
  922. var toggle_autocheck_key = "W";
  923. var toggle_Enable_Anonymizer_key = "Z";
  924. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  925. var first_key_keycodename = 'CTRL';
  926. var second_key_keycode = '18';
  927. var second_key_keycodename = 'ALT';
  928. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  929. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  930. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  931. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  932. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  933. //settings for keyboard functions end
  934.  
  935. //global settings start
  936. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  937. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  938. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  939. var Show_progress_stats, Display_tooltip_info, Icon_set;
  940. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  941. var Progress_box_refresh_rate;
  942. var Obsolete_file_hosts;
  943. var Custom_rules, Custom_rules_text;
  944.  
  945. var messageBox = document.createElement('b'); // top-left message box
  946.  
  947. var cLinksTotal = 0;
  948. var cLinksDead = 0;
  949. var cLinksAlive = 0;
  950. var cLinksUnava = 0;
  951. var cLinksprem = 0;
  952. var cLinksProcessed = 0;
  953.  
  954. var intervalId; //for updateProgress()
  955.  
  956. //icon resources
  957. 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//wd0yLESWK5WCoU41E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fPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  966.  
  967. 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==';
  968. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsust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Otsq3QAIsd2020VlRXBYEYdsThSCsdeZlEkhYoBUqBJOioaV0V8YWLgU+Ew3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  970. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  971.  
  972. //global settings end
  973. if (window.opera && !window.console)
  974. {
  975. window.console = {};
  976.  
  977. function fn()
  978. {
  979. opera.postError(arguments);
  980. };
  981. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  982. {
  983. window.console[name] = fn;
  984. });
  985. }
  986.  
  987. //displays colored text in message box
  988. function sendMessage(text, color)
  989. {
  990. var msgDiv = document.createElement('div');
  991. msgDiv.style.color = color;
  992. msgDiv.innerHTML = text;
  993. messageBox.appendChild(msgDiv);
  994. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  995. }
  996.  
  997. function linkify(totalourls)
  998. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  999. var ikkeTilladteTags;
  1000. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1001. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1002. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1003. allLinksRegex = new RegExp(allLinksRegex, "g");
  1004. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1005.  
  1006. if (Do_not_linkify_DL_links)
  1007. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1008. else
  1009. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1010.  
  1011. var regex = new RegExp(regexy);
  1012. var textNode, muligtLink;
  1013.  
  1014. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1015. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1016.  
  1017. var i = textNodes.snapshotLength;
  1018. while (i--)
  1019. {
  1020. textNode = textNodes.snapshotItem(i);
  1021.  
  1022. muligtLink = textNode.nodeValue; //all links on page
  1023.  
  1024. var myArray = null;
  1025. var span = null;
  1026. var lastLastIndex = 0;
  1027. allLinksRegex.lastIndex = 0;
  1028. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1029. {
  1030. if (textNode.parentNode.className == "adead_link") continue;
  1031. var censoredLink = muligtLink;
  1032. var span = document.createElement('span');
  1033. span.className = "adead_link";
  1034. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1035. $(span).html(censoredLink);
  1036. span.addEventListener("mouseover", displayTooltipError, false);
  1037. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1038. textNode.parentNode.replaceChild(span, textNode);
  1039. continue;
  1040. alert(censoredLink);
  1041. }
  1042. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1043. {
  1044. if (!regex.test(myArray[0])) //this link is not recognized
  1045. {
  1046.  
  1047. continue;
  1048. }
  1049. if (!span)
  1050. span = document.createElement('span');
  1051.  
  1052. var link = myArray[0];
  1053. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1054.  
  1055. var $a = $("<a>" + link + "</a>")
  1056. if (!link.match(/https?:\/\//))
  1057. {
  1058. link = 'http://' + link;
  1059. }
  1060.  
  1061. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1062. .addClass("processing_link")
  1063. .appendTo(span);
  1064. lastLastIndex = allLinksRegex.lastIndex;
  1065. }
  1066. if (span)
  1067. {
  1068. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1069. textNode.parentNode.replaceChild(span, textNode);
  1070. }
  1071. }
  1072. }
  1073.  
  1074. function add_WARLC_style()
  1075. {
  1076. if (!(document.getElementsByTagName('WARLC')[0]))
  1077. {
  1078. var meta_not_to_add_more_style = document.createElement("WARLC");
  1079. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1080. meta_not_to_add_more_style.setAttribute('name', 'description');
  1081. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1082. alive_link_png = "";
  1083. adead_link_png = "";
  1084. unava_link_png = "";
  1085. prem_link_png = "";
  1086. switch(Icon_set)
  1087. {
  1088. //no icons
  1089. case 0: break;
  1090. // cat paws
  1091. case 1: alive_link_png = PAW_ICON_GREEN;
  1092. adead_link_png = PAW_ICON_RED;
  1093. unava_link_png = PAW_ICON_YELLOW;
  1094. prem_link_png = PAW_ICON_PINK;
  1095. break;
  1096. // classic RSLC look
  1097. case 2: alive_link_png = RSLC_ICON_GREEN;
  1098. adead_link_png = RSLC_ICON_RED;
  1099. unava_link_png = RSLC_ICON_YELLOW;
  1100. prem_link_png = RSLC_ICON_PINK;
  1101. break;
  1102. // New Icons
  1103. case 3: alive_link_png = NEW_ICON_GREEN;
  1104. adead_link_png = NEW_ICON_RED;
  1105. unava_link_png = NEW_ICON_YELLOW;
  1106. prem_link_png = NEW_ICON_PINK;
  1107. break;
  1108. // cat paws
  1109. default:alive_link_png = PAW_ICON_GREEN;
  1110. adead_link_png = PAW_ICON_RED;
  1111. unava_link_png = PAW_ICON_YELLOW;
  1112. prem_link_png = PAW_ICON_PINK;
  1113. break;
  1114. }
  1115. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1116. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1117.  
  1118. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1119.  
  1120. if (Color_DL_links)
  1121. {
  1122. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1123. live_color_css = 'color:' + Live_links_color + ' !important;';
  1124. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1125. container_color_css = 'color:' + Container_links_color + ' !important;';
  1126. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1127. }
  1128. else
  1129. {
  1130. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1131. }
  1132.  
  1133. if (Show_black_background_in_DL_links)
  1134. {
  1135. black_background_css = 'background-color: black !important;';
  1136. }
  1137. else
  1138. {
  1139. black_background_css = '';
  1140. }
  1141.  
  1142. if (Show_line_through_in_dead_links)
  1143. {
  1144. line_through_css = 'text-decoration: line-through !important;';
  1145. }
  1146. else
  1147. {
  1148. line_through_css = '';
  1149. }
  1150.  
  1151. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1152. 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 + "}");
  1153. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1154. GM_addStyle(".processing_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_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1156. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1157. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1158. }
  1159. }
  1160.  
  1161. var warlcTooltip = null;
  1162. var mouseoverLink = null; //link href with mouse cursor over it
  1163.  
  1164. var lastX = 0;
  1165. var lastY = 0;
  1166.  
  1167. $(document).ready(initTooltip);
  1168. //inits tooltip
  1169. function initTooltip()
  1170. { warlcTooltip = document.createElement("div");
  1171. 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;");
  1172. warlcTooltip.style.visibility = "hidden";
  1173. document.body.appendChild(warlcTooltip);
  1174. }
  1175.  
  1176. //"mousemove" event handler for all links
  1177. function moveTooltip(event)
  1178. {
  1179. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1180. { //no need to reflow if the cursor moved just a little
  1181. return;
  1182. }
  1183. else
  1184. {
  1185. lastX = event.clientX;
  1186. lastY = event.clientY;
  1187. }
  1188.  
  1189. posX = event.clientX + window.pageXOffset + 10;
  1190. posY = event.clientY + window.pageYOffset;
  1191. var ttHeight = warlcTooltip.offsetHeight;
  1192. var ttFreeSpace = window.innerHeight - event.clientY;
  1193. if (ttHeight > ttFreeSpace)
  1194. { //prevents tooltip from getting out of the window
  1195. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1196. }
  1197. else
  1198. {
  1199. posY += 7;
  1200. }
  1201. warlcTooltip.style.top = posY + "px";
  1202. warlcTooltip.style.left = posX + "px";
  1203. }
  1204.  
  1205. //"mouseout" event handler for all links
  1206. function hideTooltip(){
  1207. warlcTooltip.style.visibility = "hidden";
  1208. mouseoverLink = null;
  1209. }
  1210.  
  1211.  
  1212. //"mouseover" event handler for dead links
  1213. //displays tooltip error message on dead links
  1214. function displayTooltipError()
  1215. {
  1216. mouseoverLink = this.href;
  1217. this.addEventListener("mouseout", hideTooltip);
  1218. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1219. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1220. warlcTooltip.style.minWidth = 0;
  1221. warlcTooltip.style.visibility = "visible";
  1222. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1223. {
  1224. warlcTooltip.innerHTML = this.warlc_error;
  1225. }
  1226. else
  1227. {
  1228. loadErrorInfo(this);
  1229. }
  1230. function loadErrorInfo(link)
  1231. {
  1232. var href = link.href;
  1233. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1234. GM_xmlhttpRequest({
  1235. method: 'GET',
  1236. url: href.replace(Ref_anonymize_service, ""),
  1237. headers: {
  1238. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1239. 'Accept': 'text/xml',
  1240. 'Referer': ""
  1241. },
  1242. onload: function(result) {
  1243. var res = result.responseText;
  1244. //TODO: errorRegexs -
  1245. var errorRegexs = [ //generic error messages follow
  1246. /(empty directory)/i,
  1247. /(soubor nebyl nalezen)/i,
  1248. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1249. //server specific error messages follow
  1250. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1251. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1252. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1253. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1254. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1255. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1256. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1257. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1258. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1259. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1260. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1261. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1262. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1263. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1264. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1265. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1266. /(File has been removed due to Copyright Claim)/, //filerio
  1267. ];
  1268. var errorIdx = errorRegexs.length;
  1269. var error = "Cause of error: <b>unknown</b>";
  1270. var errorCandidate = "";
  1271. while(errorIdx--)
  1272. {
  1273. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1274. if (errorCandidate != null)
  1275. {
  1276. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1277. break;
  1278. }
  1279. }
  1280. //link attributes
  1281. link.warlc_error = error;
  1282. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1283. {
  1284. warlcTooltip.innerHTML = error;
  1285. }
  1286. }
  1287. });
  1288. }
  1289. }
  1290.  
  1291. //"mouseover" event handler for alive links
  1292. //displays tooltip info (file size, file name,...) on alive links
  1293. function displayTooltipInfo()
  1294. {
  1295. mouseoverLink = this.href;
  1296. //exclude direct download filehostings
  1297. 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)/))
  1298. {
  1299. return;
  1300. }
  1301. this.addEventListener("mouseout", hideTooltip);
  1302. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1303. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1304. warlcTooltip.style.minWidth = 0;
  1305. warlcTooltip.style.visibility = "visible";
  1306. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1307. {
  1308. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1309. }
  1310. else
  1311. {
  1312. loadInfo(this);
  1313. }
  1314. function loadInfo(link)
  1315. {
  1316. var href = link.href;
  1317. GM_xmlhttpRequest({
  1318. method: 'GET',
  1319. url: href.replace(Ref_anonymize_service, ""),
  1320. headers: {
  1321. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1322. 'Accept': 'text/xml',
  1323. 'Referer': ""
  1324. },
  1325. onload: function(result) {
  1326. var res = result.responseText;
  1327. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1328. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1329. /fl" title="(.+?)">/, //edisk
  1330. /<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
  1331. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1332. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1333. /title="download (.+?)">/, //sendspace
  1334. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1335. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1336. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1337. /d0FileName = "(.+?)";/, //letitbit
  1338. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1339. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1340. /fname" value="(.+?)">/, //syfiles, grupload,
  1341. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1342. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1343. /Complete name : (.+?)<br \/>/, //bezvadata
  1344. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1345. ];
  1346. var nameIdx = nameRegexs.length;
  1347. // [sizeRegexs]
  1348. // / \ \?
  1349. // prefix (size) postfix
  1350. // / \
  1351. // val quant
  1352. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1353. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1354. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1355. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1356. var postSizeRegex = '(?:\\))?';
  1357. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1358. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1359. ];
  1360. var sizeIdx = sizeRegexs.length;
  1361. //
  1362. //
  1363. var tooltip = "File Name: <b>";
  1364. var fileName = "unknown";
  1365. var nameCandidate = "";
  1366. while(nameIdx--)
  1367. {
  1368. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1369. if (nameCandidate != null)
  1370. {
  1371. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1372. break;
  1373. }
  1374. }
  1375. tooltip += fileName + "</b><br>File Size: <b>";
  1376. var fileSize = "unknown";
  1377. var sizeCandidate = "";
  1378. while(sizeIdx--)
  1379. {
  1380. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1381. if (sizeCandidate != null)
  1382. {
  1383. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1384. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1385. {
  1386. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1387. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1388. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1389. }
  1390. break;
  1391. }
  1392. }
  1393. tooltip += fileSize + "</b>";
  1394. // PROTOTYPE
  1395. // video thumbnails
  1396. if (href.match('hellshare'))
  1397. {
  1398. var thumbs;
  1399. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1400. if (thumbs)
  1401. {
  1402. tooltip += '<br>';
  1403. var j = Math.min(thumbs.length, 9);
  1404. for (var i = 0; i < j; i++)
  1405. {
  1406. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1407. }
  1408. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1409. }
  1410. }
  1411. if (href.match('czshare'))
  1412. {
  1413. var thumbs;
  1414. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1415. if (thumbs)
  1416. {
  1417. var thumbsServer = thumbs[1];
  1418. var thumbsId = thumbs[2];
  1419. tooltip += '<br>';
  1420. for (var i = 1; i < 9; i++)
  1421. {
  1422. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1423. }
  1424. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1425. }
  1426. }
  1427. if (href.match('bezvadata'))
  1428. {
  1429. var thumbs;
  1430. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1431. if (thumbs)
  1432. {
  1433. tooltip += '<br>';
  1434. var j = Math.min(thumbs.length, 9);
  1435. for (var i = 0; i < j; i++)
  1436. {
  1437. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1438. }
  1439. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1440. }
  1441. }
  1442. link.warlc_tooltipcache = tooltip;
  1443. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1444. {
  1445. warlcTooltip.innerHTML = tooltip;
  1446. }
  1447. }
  1448. });
  1449. }
  1450. }
  1451.  
  1452. function setVariables()
  1453. {
  1454. if (firstRun)
  1455. {
  1456. GM_log('First run, applying default settings...');
  1457. GM_setValue("Icon_set",1);
  1458. GM_setValue("Display_tooltip_info",true);
  1459. GM_setValue("Show_black_background_in_DL_links",false);
  1460. GM_setValue("Show_line_through_in_dead_links",false);
  1461. GM_setValue("Display_full_links_in_link_containers",false);
  1462. GM_setValue("Allow_spaces_in_DL_links",false);
  1463. GM_setValue("Autocheck",true);
  1464. GM_setValue("Enable_Anonymizer",false);
  1465. GM_setValue("Do_not_linkify_DL_links",false);
  1466. GM_setValue("Show_progress_stats",true);
  1467. GM_setValue("Keyboard_functions",true);
  1468. GM_setValue("Obsolete_file_hosts",false);
  1469. GM_setValue("Color_DL_links",true);
  1470. GM_setValue("Live_links_color","Green");
  1471. GM_setValue("Dead_links_color","#FF3300");
  1472. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1473. GM_setValue("Container_links_color","DarkKhaki");
  1474. GM_setValue("Premium_links_color","DeepPink");
  1475. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1476. GM_setValue("Custom_rules",false);
  1477. GM_setValue("Custom_rules_text","");
  1478. GM_setValue("First_run", false);
  1479. }
  1480. //hidden settings
  1481. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1482. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1483. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1484. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1485. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1486. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1487. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1488. //hidden settings end
  1489.  
  1490. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1491. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1492. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1493. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1494. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1495. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1496. Autocheck = GM_getValue("Autocheck", true);
  1497. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1498. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1499. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1500. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1501. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1502. Color_DL_links = GM_getValue("Color_DL_links", true);
  1503. Live_links_color = GM_getValue("Live_links_color", "Green");
  1504. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1505. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1506. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1507. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1508. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1509. Custom_rules = GM_getValue("Custom_rules", false);
  1510. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1511. }
  1512.  
  1513.  
  1514. // Delinkifies the links
  1515. // params:
  1516. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1517. // e.g. 'uloz.to/xs68skxl8')
  1518. function delinkifySnapshot(snapshot)
  1519. {
  1520. var n = snapshot.snapshotLength;
  1521.  
  1522. while (n--)
  1523. {
  1524. thisLink = snapshot.snapshotItem(n);
  1525.  
  1526. var spanElm = document.createElement("span");
  1527. spanElm.className = thisLink.className;
  1528. spanElm.innerHTML = thisLink.innerHTML;
  1529.  
  1530. if (Display_tooltip_info)
  1531. {
  1532. spanElm.href = thisLink.href;
  1533. switch (thisLink.className){
  1534. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1535. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1536. case "unava_link": //reserved
  1537. default:
  1538. }
  1539. }
  1540. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1541. }
  1542. }
  1543.  
  1544. function processContainers()
  1545. {
  1546. var redirectorTypes = { "HTTP_302": 0,
  1547. "INNER_LINK": 1,
  1548. "THELOO_KATT_IT": 2,
  1549. "CING_BE": 3,
  1550. "ADF_LY": 4};
  1551. var cMultiloadTotal = 0;
  1552. var cMultiloadProcessed = 0;
  1553.  
  1554. var cMirrorcreatorComTotal = 0;
  1555. var cMirrorcreatorComProcessed = 0;
  1556.  
  1557. var hostRestrictionRegex = "";
  1558. var multiloadComRestriction = "";
  1559. var multiloadComRestrictionRegex;
  1560.  
  1561. //
  1562. //HANDLING REDIRECTORS START
  1563. //
  1564.  
  1565. var redirectors = new Array();
  1566. initRedirectors();
  1567.  
  1568. var redirectorsCount = redirectors.length;
  1569.  
  1570. if (redirectorsCount > 0)
  1571. {
  1572. var allRedirectorsRegex = "";
  1573.  
  1574. //linkify redirector links
  1575. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1576. {
  1577. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1578. }
  1579. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1580. linkify(allRedirectorsRegex);
  1581. //
  1582. //process redirector links
  1583. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1584. {
  1585. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1586. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1587.  
  1588. cLinksTotal += redirectors[redirIdx].cTotal;
  1589. var linkIdx = redirectors[redirIdx].cTotal;
  1590.  
  1591. while(linkIdx--)
  1592. {
  1593. switch(redirectors[redirIdx].type)
  1594. {
  1595. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1596. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1597. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1598. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1599. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1600. default:
  1601. }
  1602. }
  1603. }
  1604. //
  1605. }
  1606.  
  1607. //HTTP_302
  1608. function processRedirectorLink(link, redirectorId)
  1609. {
  1610. link.className = 'container_link';
  1611.  
  1612. GM_xmlhttpRequest({
  1613. method: 'HEAD',
  1614. url: link.href,
  1615. headers: {
  1616. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1617. 'Accept': 'text/xml',
  1618. 'Referer': ""
  1619. },
  1620. onload: function(result) {
  1621. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1622. {
  1623. processRedirectorLink(link, redirectorId);
  1624. }
  1625. else
  1626. {
  1627. redirectors[redirectorId].cProcessed++;
  1628. link.href = result.finalUrl;
  1629. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1630. checkLinks('container_link');
  1631. }
  1632. },
  1633. onerror: function(result) { //probably caused by unresponsive filehosting
  1634. redirectors[redirectorId].cProcessed++;
  1635. link.className = 'unava_link';
  1636. cLinksProcessed++;
  1637. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1638. checkLinks('container_link');
  1639. }
  1640. });
  1641. }
  1642. //INNER_LINK
  1643. function processRedirectorLinkEx(link, redirectorId)
  1644. {
  1645. link.className = 'container_link';
  1646. GM_xmlhttpRequest({
  1647. method: 'GET',
  1648. url: link.href,
  1649. headers: {
  1650. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1651. 'Accept': 'text/xml',
  1652. 'Referer': ""
  1653. },
  1654. onload: function(result) {
  1655. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1656. redirectors[redirectorId].cProcessed++;
  1657. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1658. checkLinks('container_link');
  1659. }
  1660. });
  1661. }
  1662. //theloo.katt.it (wrapped safelinking.net)
  1663. function processThelooKattItLink(link, redirectorId)
  1664. {
  1665. link.className = 'container_link';
  1666. GM_xmlhttpRequest({
  1667. method: 'GET',
  1668. url: link.href,
  1669. headers: {
  1670. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1671. 'Accept': 'text/xml',
  1672. 'Referer': ""
  1673. },
  1674. onload: function(result) {
  1675. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1676. redirectors[redirectorId].cProcessed++;
  1677. //the inner links are safelinking.net links, so lets proceed with it
  1678. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1679. {
  1680. processRedirectorLink(link, 0);
  1681. }
  1682. }
  1683. });
  1684. }
  1685. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1686. function processAdfLyLink(link, redirectorId)
  1687. {
  1688. link.className = 'container_link';
  1689. GM_xmlhttpRequest({
  1690. method: 'GET',
  1691. url: link.href,
  1692. headers: {
  1693. 'User-agent': 'Mozilla/4.0',
  1694. 'Accept': 'text/xml',
  1695. 'Referer': ""
  1696. },
  1697. onload: function(result) {
  1698. if (result.finalUrl.match('/locked/'))
  1699. {
  1700. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1701. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1702. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1703. }
  1704. else
  1705. {
  1706. // GM_log('Processing... ' + link.href);
  1707. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1708. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1709. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1710. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1711. //confirm advert
  1712. GM_xmlhttpRequest(
  1713. {
  1714. method: 'POST',
  1715. url: 'http://adf.ly/l.php',
  1716. headers: {
  1717. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1718. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1719. 'Referer': link.href
  1720. },
  1721. data: users + '&lt=' + logToken,
  1722. onload: function(result) {
  1723. //retrieve final url from .../go/... link
  1724. GM_xmlhttpRequest({
  1725. method: 'GET',
  1726. url: directLink,
  1727. headers: {
  1728. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1729. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1730. 'Referer': link.href
  1731. },
  1732. onload: function(result) {
  1733. link.href = result.finalUrl;
  1734. redirectors[redirectorId].cProcessed++;
  1735. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1736. checkLinks('container_link');
  1737. }
  1738. });
  1739. }
  1740. });
  1741. }
  1742. }
  1743. });
  1744. function proceedOK()
  1745. {
  1746. }
  1747. }
  1748. //MULTILOAD.CZ START
  1749. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1750. {
  1751. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1752. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1753.  
  1754. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1755.  
  1756. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1757. hostRestrictionRegex += 'hellshare|';
  1758. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1759. hostRestrictionRegex += 'downloadhellshare|';
  1760. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1761. hostRestrictionRegex += 'share-rapid\\.com|';
  1762. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1763. hostRestrictionRegex += 'quickshare\\.cz|';
  1764. if (GM_getValue("Check_czshare_dot_com_links", false))
  1765. hostRestrictionRegex += 'czshare\\.com|';
  1766. if (GM_getValue("Check_uloz_dot_to_links", false))
  1767. hostRestrictionRegex += 'uloz\\.to|';
  1768. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1769. hostRestrictionRegex += 'hellspy|';
  1770. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1771. hostRestrictionRegex += 'multishare\\.cz|';
  1772.  
  1773. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1774.  
  1775. linkify(mlRegex);
  1776.  
  1777. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1778. var mlCount = mlSnapshot.snapshotLength;
  1779.  
  1780. if (mlCount > 0)
  1781. {
  1782. cMultiloadTotal += mlCount;
  1783.  
  1784. mlIdx = mlCount - 1;
  1785. do
  1786. {
  1787. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1788. }
  1789. while(mlIdx--)
  1790. }
  1791. }
  1792. //MULTILOAD.CZ END
  1793.  
  1794.  
  1795.  
  1796. function processMultiloadLink(mlLink)
  1797. {
  1798. GM_xmlhttpRequest({
  1799. method: 'GET',
  1800. url: mlLink.href,
  1801. headers: {
  1802. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1803. 'Accept': 'text/xml',
  1804. 'Referer': ""
  1805. },
  1806. onload: function(result) {
  1807. var res = result.responseText;
  1808.  
  1809. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1810. 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;
  1811. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1812. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1813.  
  1814. var blocks; // blocks of links
  1815. var blockIdx;
  1816.  
  1817. mlLink.className = '';
  1818.  
  1819. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1820. {
  1821. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1822. return;
  1823. }
  1824.  
  1825. blocks = res.match(innerBlockRegex);
  1826.  
  1827. if (blocks == null) //no links found, cancel further processing
  1828. {
  1829. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1830. cMultiloadProcessed++;
  1831. if (cMultiloadTotal <= cMultiloadProcessed)
  1832. {
  1833. startBulkCheck('container_link');
  1834. start('container_link');
  1835. }
  1836. return;
  1837. }
  1838.  
  1839. blockIdx = blocks.length;
  1840.  
  1841. if (Display_full_links_in_link_containers)
  1842. {
  1843. var ulElm = document.createElement('ul');
  1844. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1845.  
  1846. while(blockIdx--)
  1847. {
  1848. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1849. {
  1850. continue;
  1851. }
  1852.  
  1853. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1854.  
  1855. var linkIdx = innerLinks.length;
  1856. while (linkIdx--)
  1857. {
  1858. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1859.  
  1860. var liElm = document.createElement('li');
  1861.  
  1862. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1863. {
  1864. liElm.appendChild(document.createTextNode(innerLink));
  1865. }
  1866. else
  1867. {
  1868. var aElm = document.createElement('a');
  1869. aElm.innerHTML = innerLink;
  1870. aElm.href = innerLink;
  1871. aElm.className = 'container_link';
  1872.  
  1873. liElm.appendChild(aElm);
  1874. }
  1875.  
  1876. ulElm.appendChild(liElm);
  1877. cLinksTotal++;
  1878. }
  1879. }
  1880.  
  1881. mlLink.parentNode.appendChild(ulElm);
  1882. }
  1883. else //compact view
  1884. {
  1885. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1886.  
  1887. while(blockIdx--)
  1888. {
  1889. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1890. {
  1891. continue;
  1892. }
  1893.  
  1894. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1895.  
  1896. var linkIdx = innerLinks.length;
  1897. while (linkIdx--)
  1898. {
  1899. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1900.  
  1901. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1902. {
  1903. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1904. }
  1905. else
  1906. {
  1907. var aElm = document.createElement('a');
  1908.  
  1909. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1910.  
  1911. //abbreviate host name
  1912. switch(hostName + ""){
  1913.  
  1914. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1915. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1916. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1917. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1918. case 'multishare': aElm.innerHTML = 'MS'; break;
  1919. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1920. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1921. case 'czshare': aElm.innerHTML = 'CS'; break;
  1922. default: aElm.innerHTML = 'xx';
  1923.  
  1924. }
  1925.  
  1926. aElm.href = innerLink;
  1927. aElm.className = 'container_link';
  1928.  
  1929. mlLink.parentNode.appendChild(aElm);
  1930. cLinksTotal++;
  1931. }
  1932. }
  1933.  
  1934. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1935.  
  1936. }
  1937. }
  1938.  
  1939. cMultiloadProcessed++;
  1940. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1941. {
  1942. if (Do_not_linkify_DL_links)
  1943. {
  1944. delinkifySnapshot(mlSnapshot);
  1945. }
  1946. startBulkCheck('container_link');
  1947. start('container_link');
  1948. }
  1949. }
  1950. });
  1951. }
  1952.  
  1953.  
  1954. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1955. {
  1956. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1957. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1958. var mcShortHostNames =
  1959. '?? 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';
  1960. // 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
  1961. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1962. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1963. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1964. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1965.  
  1966. linkify(mcRegex);
  1967.  
  1968. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1969. var mcCount = mcSnapshot.snapshotLength;
  1970.  
  1971. cMirrorcreatorComTotal = mcCount;
  1972.  
  1973. if (mcCount > 0)
  1974. {
  1975. mcShortHostNames = mcShortHostNames.split(' ');
  1976. mcIdx = mcCount;
  1977. while(mcIdx--)
  1978. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1979. }
  1980.  
  1981. }
  1982. //MIRRORCREATOR.CZ END
  1983.  
  1984.  
  1985. //mirrorcreator.com checking works like this:
  1986. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1987. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1988. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1989. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1990. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1991. function processMirrorcreatorLink(mcLink)
  1992. {
  1993. var mcURL = mcLink.href.match(mcRegex);
  1994. if(!mcURL || !mcURL[1]) return;
  1995. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1996. GM_xmlhttpRequest({
  1997. method: 'GET',
  1998. url: mcURL,
  1999. headers: {
  2000. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2001. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2002. 'Referer': ""
  2003. },
  2004. onload: function(mcLinkResult) {
  2005. var mcLinkRes = mcLinkResult.responseText;
  2006.  
  2007. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2008. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2009.  
  2010. var mcRedirectors;
  2011. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2012. var m = mcLinkRes.match(mcLinkBlockRegex);
  2013. if (m)
  2014. mcHostsFound = m.length;
  2015. else
  2016. { //no files inside container
  2017. processMirrorcreatorFoundHosts(mcLink, []);
  2018. return;
  2019. }
  2020.  
  2021. var mcRedirectorURL, idx, timedOut = false;
  2022.  
  2023. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2024. GM_xmlhttpRequest({
  2025. method: 'GET',
  2026. url: mcRedirectorURL,
  2027. headers: {
  2028. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2029. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2030. 'Referer': ""
  2031. },
  2032. onload: function(mcHostResult) {
  2033. if (timedOut) return; //too late, the list is already displayed
  2034. var mcHostRes = mcHostResult.responseText;
  2035. var mcHost = mcHostRes.match(mcHostRegex);
  2036. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2037. if (mcHost && idx!=-1)
  2038. {
  2039. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2040. mcHostsRetrieved++;
  2041. mcHostsToProcess++;
  2042. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2043. {
  2044. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2045. mcHostsToProcess = 0;
  2046. }
  2047. }
  2048. } //end of onload: function
  2049. }); //end of GM_xmlhttpRequest call
  2050. };//end of var gmxhrFunc
  2051.  
  2052. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2053. { //load individual redirector pages
  2054. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2055. mcHostURLs.push(mcRedirectorURL);
  2056. mcRedirectorIDs.push(mcRedirectors[2]);
  2057. gmxhrFunc(mcRedirectorURL);
  2058. } //end of while block
  2059.  
  2060. setTimeout(function(){ //in case the last page fails to load and call the function
  2061. timedOut = true;
  2062. if (mcHostsToProcess)
  2063. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2064. }, 60000);
  2065.  
  2066. } //end of onload function
  2067. }); //end of GM_xmlhttpRequest call
  2068. } //end of function processMirrorcreatorLink
  2069.  
  2070.  
  2071. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2072. {
  2073. var aEl, liEl, docFrag;
  2074. var hostName, mcRedirectorID, trimFilename = false;
  2075. var i = mcHostURLs.length;
  2076. if (i == 0)
  2077. {
  2078. trimFilename = true;
  2079. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2080. }
  2081. else
  2082. {
  2083. if (Display_full_links_in_link_containers)
  2084. { //full view
  2085. var wrapperEl = document.createElement('span');
  2086. wrapperEl.style.display = 'block';
  2087. var ulistEl = document.createElement('ul');
  2088. ulistEl.className = 'container_list';
  2089. while (i--)
  2090. {
  2091. liEl = document.createElement('li');
  2092. aEl = document.createElement('a');
  2093. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2094. aEl.href = mcHostURLs[i];
  2095. aEl.className = 'container_link';
  2096. liEl.appendChild(aEl);
  2097. ulistEl.appendChild(liEl);
  2098. }
  2099. wrapperEl.appendChild(ulistEl);
  2100. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2101. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2102. }
  2103. else
  2104. { //compact view
  2105. trimFilename = true;
  2106. docFrag = document.createDocumentFragment();
  2107. docFrag.appendChild(document.createTextNode(' |'));
  2108. while (i--)
  2109. {
  2110. mcRedirectorID = mcRedirectorIDs[i];
  2111. hostName = mcHostURLs[i];
  2112. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2113. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2114. else
  2115. hostName = mcShortHostNames[mcRedirectorID];
  2116. aEl = document.createElement('a');
  2117. aEl.href = mcHostURLs[i];
  2118. aEl.className = 'container_link';
  2119. aEl.appendChild(document.createTextNode(hostName));
  2120. docFrag.appendChild(aEl);
  2121. docFrag.appendChild(document.createTextNode('|'));
  2122. }
  2123. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2124. } //end of else block
  2125. } //end of else block
  2126. mcLink.className = '';
  2127. if (trimFilename)
  2128. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2129. cMirrorcreatorComProcessed++;
  2130. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2131. {
  2132. if (Do_not_linkify_DL_links)
  2133. delinkifySnapshot(mcSnapshot);
  2134. startBulkCheck('container_link');
  2135. start('container_link');
  2136. }
  2137. } //end of function processMirrorcreatorFoundHosts
  2138.  
  2139. containers_processed = true;
  2140.  
  2141.  
  2142. function initRedirectors()
  2143. {
  2144. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2145. {
  2146. var redirector = new Object();
  2147. redirector.linkRegex = linkRegex;
  2148. redirector.xpath = xpathEx; //xpath expression
  2149. redirector.cProcessed = 0; //processed links count
  2150. redirector.cTotal = 0; //total links count
  2151. redirector.type = redirType; //redirectorTypes enum
  2152. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2153. redirectors.push(redirector);
  2154. }
  2155. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2156. {
  2157. addRedirector(
  2158. 'safelinking\\.net\/d\/\\w+',
  2159. "//a[contains(@href,'safelinking.net/d/')]",
  2160. redirectorTypes.HTTP_302,
  2161. null);
  2162. }
  2163. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2164. {
  2165. addRedirector(
  2166. 'linksafe\\.me\/d\/\\w+',
  2167. "//a[contains(@href,'linksafe.me/d/')]",
  2168. redirectorTypes.HTTP_302,
  2169. null);
  2170. }
  2171. if (GM_getValue("Check_linkto_dot_net_links", false))
  2172. {
  2173. addRedirector(
  2174. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2175. "//a[contains(@href,'linkto.net/?')]",
  2176. redirectorTypes.INNER_LINK,
  2177. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2178. }
  2179. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2180. {
  2181. addRedirector(
  2182. '(?:the)?loo\\.katt\\.it\/\\w+',
  2183. "//a[contains(@href,'loo.katt.it/')]",
  2184. redirectorTypes.THELOO_KATT_IT,
  2185. /Proceed to URL - <a href="(.+?)">/);
  2186. }
  2187. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2188. {
  2189. addRedirector(
  2190. 'madlink\\.sk\/\\w+',
  2191. "//a[contains(@href,'madlink.sk/')]",
  2192. redirectorTypes.INNER_LINK,
  2193. /name="url" value="(.+?)\s*"\/>/);
  2194. }
  2195. if (GM_getValue("Check_adf_dot_ly_links", false))
  2196. {
  2197. addRedirector(
  2198. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2199. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2200. redirectorTypes.ADF_LY,
  2201. null);
  2202. }
  2203. if (GM_getValue("Check_redi_dot_re_links", false))
  2204. {
  2205. addRedirector(
  2206. 'redi\\.re\/\\w+',
  2207. "//a[contains(@href,'redi.re/')]",
  2208. redirectorTypes.HTTP_302,
  2209. null);
  2210. }
  2211. if (GM_getValue("Check_bit_dot_ly_links", false))
  2212. {
  2213. addRedirector(
  2214. 'bit\\.ly\/\\w+',
  2215. "//a[contains(@href,'bit.ly/')]",
  2216. redirectorTypes.HTTP_302,
  2217. null);
  2218. }
  2219. }
  2220.  
  2221. }
  2222.  
  2223. var bulkHosts = new Array();
  2224. var bulkHostNames = new Array();
  2225. function initBulkCheck()
  2226. {
  2227. /////////////////////////////
  2228. // Inits filehost object
  2229. /////////////////////////////
  2230. // params :
  2231. // hostName -- [string] host name (multiple domains separated with coma)
  2232. // linkRegex -- [string] link regex
  2233. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2234. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2235. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2236. // corrReplWhat -- [regex] link correction regex (replace)
  2237. // corrReplWith -- [string]
  2238. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2239. //
  2240. // apiUrl -- [string] web linkchecker or API URL
  2241. // postData -- [string] POSTDATA of xmlhttprequest
  2242. // resLinkRegex -- [regex]
  2243. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2244. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2245. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2246. // func -- [function] bulkcheck handler, genBulkCheck if null
  2247. //
  2248. //////////////////////////////
  2249. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2250. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2251. {
  2252. var fileHost = new Object();
  2253.  
  2254. fileHost.linkRegex = linkRegex;
  2255. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2256. fileHost.xpath = xpath;
  2257. fileHost.cFound = 0; //found links counter
  2258. fileHost.links = new Array(); //found links
  2259. if (blockSize == null)
  2260. {
  2261. fileHost.blockSize = 50;
  2262. }
  2263. else
  2264. {
  2265. fileHost.blockSize = blockSize;
  2266. }
  2267. fileHost.corrMatch = corrMatch;
  2268. fileHost.corrReplWhat = corrReplWhat;
  2269. fileHost.corrReplWith = corrReplWith;
  2270. if (splitSeparator == null)
  2271. {
  2272. fileHost.splitSeparator = "\r\n";
  2273. }
  2274. else
  2275. {
  2276. fileHost.splitSeparator = splitSeparator;
  2277. }
  2278. fileHost.apiUrl = apiUrl;
  2279. fileHost.postData = postData;
  2280. fileHost.resLinkRegex = resLinkRegex;
  2281. fileHost.resLiveRegex = resLiveRegex;
  2282. fileHost.resDeadRegex = resDeadRegex;
  2283. fileHost.resUnavaRegex = resUnavaRegex;
  2284. if (func == null)
  2285. {
  2286. fileHost.func = genBulkCheck;
  2287. }
  2288. else
  2289. {
  2290. fileHost.func = func;
  2291. }
  2292. bulkHosts.push(fileHost);
  2293. var names = hostName.split(',');
  2294. var i = names.length;
  2295. while(i--)
  2296. {
  2297. bulkHostNames[names[i]] = fileHost;
  2298. }
  2299. }
  2300. var genType1 = [
  2301. "rodfile.com", "downloadani.me", //"migahost.com",
  2302. "rarefile.net",
  2303. "filesabc.com",
  2304. "verzend.be",
  2305. // "movreel.com",
  2306. "4up.me",
  2307. "file4safe.com", "filemac.com", "4upfiles.com",
  2308. "idup.in", "novafile.com", "longfiles.com",
  2309. "bitupload.com",
  2310. "uploadbaz.com"
  2311. ];
  2312. var genType2 = [ "queenshare.com",
  2313. "hulkload.com",
  2314. "amonshare.com", //"edoc.com",
  2315. ];
  2316. //xfilesharing 1.0
  2317. function addGenericType1()
  2318. {
  2319. var i = genType1.length;
  2320. while(i--)
  2321. {
  2322. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2323. {
  2324. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2325. addHost(
  2326. genType1[i].match(/[\w-]+/)[0], //hostname
  2327. regexSafe + "\/\\w+", //linkregex
  2328. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2329. null, //blocksize
  2330. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2331. null, //corrreplwhat
  2332. null, //corrreplwith
  2333. null, //separator
  2334. "http://" + genType1[i] + "/checkfiles.html", //api url
  2335. "op=checkfiles&process=Check+URLs&list=", //postdata
  2336. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2337. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2338. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2339. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2340. null //function delegate
  2341. )
  2342. }
  2343. }
  2344. }
  2345. //xfilesharing 2.0
  2346. function addGenericType2()
  2347. {
  2348. var i = genType2.length;
  2349. while(i--)
  2350. {
  2351. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2352. {
  2353. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2354. addHost(
  2355. genType2[i].match(/[\w-]+/)[0], //hostname
  2356. regexSafe + "\/\\w+", //linkregex
  2357. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2358. null, //blocksize
  2359. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2360. null, //corrreplwhat
  2361. null, //corrreplwith
  2362. null, //separator
  2363. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2364. "op=checkfiles&process=Check+URLs&list=", //postdata
  2365. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2366. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2367. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2368. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2369. null //function delegate
  2370. )
  2371. }
  2372. }
  2373. }
  2374. // TEMPLATE
  2375. // if (GM_getValue("Check__dot_com_links", false))
  2376. // {
  2377. // addHost(
  2378. // "", //hostname
  2379. // "", //linkregex
  2380. // "//a[contains(@href,'.com/')]", //xpath
  2381. // null, //blocksize
  2382. // null, //corrmatch
  2383. // null, //corrreplwhat
  2384. // null, //corrreplwith
  2385. // null, //separator
  2386. // "", //api url
  2387. // "", //postdata
  2388. // /()/, //linkregex
  2389. // //liveregex
  2390. // //deadregex
  2391. // //unavaregex
  2392. // null //function delegate
  2393. // )
  2394. // }
  2395. addGenericType1();
  2396. addGenericType2();
  2397.  
  2398. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2399. {
  2400. addHost(
  2401. "myvdrive,fileserving", //hostname
  2402. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2403. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2404. null, //blocksize
  2405. null, //corrmatch
  2406. null, //corrreplwhat
  2407. null, //corrreplwith
  2408. null, //separator
  2409. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2410. "links=", //postdata
  2411. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2412. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2413. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2414. null, //unavaregex
  2415. null //function delegate
  2416. )
  2417. }
  2418. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2419. {
  2420. addHost(
  2421. "hackerbox", //hostname
  2422. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2423. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2424. null, //blocksize
  2425. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2426. null, //corrreplwhat
  2427. null, //corrreplwith
  2428. null, //separator
  2429. "http://host.hackerbox.org/checkfiles.html", //api url
  2430. "op=checkfiles&process=Check+URLs&list=", //postdata
  2431. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2432. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2433. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2434. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2435. null //function delegate
  2436. )
  2437. }
  2438. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2439. {
  2440. addHost(
  2441. "hellshare", //hostname
  2442. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2443. "//a[contains(@href,'hellshare.')]", //xpath
  2444. 48, //blocksize
  2445. null, //corrmatch
  2446. null, //corrreplwhat
  2447. null, //corrreplwith
  2448. null, //separator
  2449. null, //api url
  2450. null, //postdata
  2451. null, //linkregex
  2452. null, //liveregex
  2453. null, //deadregex
  2454. null, //unavaregex
  2455. hellshareBulkCheck //function delegate
  2456. )
  2457. }
  2458. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2459. {
  2460. addHost(
  2461. "ncrypt", //hostname
  2462. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2463. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2464. 100000, //blocksize
  2465. null, //corrmatch
  2466. null, //corrreplwhat
  2467. null, //corrreplwith
  2468. null, //separator
  2469. null,
  2470. null,
  2471. null,
  2472. null,
  2473. null,
  2474. null,
  2475. ncryptBulkCheck //function delegate
  2476. )
  2477. }
  2478. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2479. {
  2480. addHost(
  2481. "uploadrocket", //hostname
  2482. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2483. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2484. null, //blocksize
  2485. null, //corrmatch
  2486. null, //corrreplwhat
  2487. null, //corrreplwith
  2488. "\n", //separator
  2489. 'http://uploadrocket.net/?op=checkfiles',
  2490. 'op=checkfiles&process=Check+URLs&list=',
  2491. /uploadrocket.net\/(\w+)/,
  2492. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2493. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2494. null,
  2495. null //function delegate
  2496. )
  2497. }
  2498. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2499. {
  2500. addHost(
  2501. "k2s,keep2s,keep2share",
  2502. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2503. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2504. 100000, //blocksize
  2505. null, //corrmatch
  2506. null, //corrreplwhat
  2507. null, //corrreplwith
  2508. null, //separator
  2509. null,
  2510. null,
  2511. null,
  2512. null,
  2513. null,
  2514. null,
  2515. k2sBulkCheck //function delegate
  2516. )
  2517. }
  2518. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2519. {
  2520. addHost(
  2521. "tezfiles",
  2522. "(?:tezfiles\\.com)\/\\w+",
  2523. "//a[contains(@href,'tezfiles.com')]",
  2524. 100000, //blocksize
  2525. null, //corrmatch
  2526. null, //corrreplwhat
  2527. null, //corrreplwith
  2528. null, //separator
  2529. null,
  2530. null,
  2531. null,
  2532. null,
  2533. null,
  2534. null,
  2535. k2sBulkCheck //function delegate
  2536. )
  2537. }
  2538. if (GM_getValue("Check_fboom_dot_me_links", false))
  2539. {
  2540. addHost(
  2541. "fboom,fileboom",
  2542. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2543. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2544. 100000, //blocksize
  2545. null, //corrmatch
  2546. null, //corrreplwhat
  2547. null, //corrreplwith
  2548. null, //separator
  2549. null,
  2550. null,
  2551. null,
  2552. null,
  2553. null,
  2554. null,
  2555. fboomBulkCheck //function delegate
  2556. )
  2557. }
  2558. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2559. {
  2560. addHost(
  2561. "1fichier,dl4free",
  2562. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2563. "//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/?')]",
  2564. 100000, //blocksize
  2565. null, //corrmatch
  2566. null, //corrreplwhat
  2567. null, //corrreplwith
  2568. null, //separator
  2569. null,
  2570. null,
  2571. null,
  2572. null,
  2573. null,
  2574. null,
  2575. dl4free_1fichier_BulkCheck //function delegate
  2576. )
  2577. }
  2578. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2579. {
  2580. addHost(
  2581. "depositfiles,dfiles",
  2582. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2583. "//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/')]",
  2584. 100000, //blocksize
  2585. null, //corrmatch
  2586. null, //corrreplwhat
  2587. null, //corrreplwith
  2588. null, //separator
  2589. null,
  2590. null,
  2591. null,
  2592. null,
  2593. null,
  2594. null,
  2595. depositfilesBulkCheck //function delegate
  2596. )
  2597. }
  2598. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2599. {
  2600. addHost(
  2601. "filesflash", //hostname
  2602. "filesflash\\.com\/\\w+", //linkregex
  2603. "//a[contains(@href,'filesflash.com')]", //xpath
  2604. null, //blocksize
  2605. null, //corrmatch
  2606. /http:\/\//, //corrreplwhat
  2607. '', //corrreplwith
  2608. null, //separator
  2609. 'http://filesflash.com/checklinks.php',
  2610. 'submit=Go&links=',
  2611. /filesflash\.com\/(\w+)/,
  2612. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2613. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2614. null,
  2615. null //function delegate
  2616. )
  2617. }
  2618. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2619. {
  2620. addHost(
  2621. "jumbofiles", //hostname
  2622. "jumbofiles\\.com\/\\w+", //linkregex
  2623. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2624. null, //blocksize
  2625. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2626. null, //corrreplwhat
  2627. null, //corrreplwith
  2628. null, //separator
  2629. "http://jumbofiles.com/checkfiles.html", //api url
  2630. "op=checkfiles&process=Check+URLs&list=", //postdata
  2631. /(jumbofiles\.com\/\w+)/, //linkregex
  2632. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2633. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2634. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2635. null //function delegate
  2636. )
  2637. }
  2638. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2639. {
  2640. addHost(
  2641. "edisk", //hostname
  2642. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2643. "//a[contains(@href,'edisk.')]", //xpath
  2644. null, //blocksize
  2645. null, //corrmatch
  2646. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2647. 'edisk.cz/stahni', //corrreplwith
  2648. null, //separator
  2649. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2650. 'submitBtn=Zkontrolovat&checkFiles=',
  2651. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2652. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2653. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2654. null,
  2655. null //function delegate
  2656. )
  2657. }
  2658. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2659. {
  2660. GM_xmlhttpRequest( //age check skip
  2661. {
  2662. method: 'POST',
  2663. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2664. headers: {
  2665. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2666. 'Content-type': 'application/x-www-form-urlencoded',
  2667. 'Referer': ""
  2668. }
  2669. });
  2670. addHost(
  2671. "bezvadata", //hostname
  2672. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2673. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2674. null, //blocksize
  2675. null, //corrmatch
  2676. null, //corrreplwhat
  2677. null, //corrreplwith
  2678. null, //separator
  2679. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2680. 'zkontrolovat=Zkontrolovat&odkazy=',
  2681. /(bezvadata\.cz\/stahnout\/\d+)/,
  2682. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2683. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2684. null,
  2685. null //function delegate
  2686. )
  2687. }
  2688. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2689. {
  2690. addHost(
  2691. "linkcrypt", //hostname
  2692. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2693. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2694. 100000, //blocksize
  2695. null, //corrmatch
  2696. null, //corrreplwhat
  2697. null, //corrreplwith
  2698. null, //separator
  2699. null,
  2700. null,
  2701. null,
  2702. null,
  2703. null,
  2704. null,
  2705. linkcryptBulkCheck //function delegate
  2706. )
  2707. }
  2708. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2709. {
  2710. addHost(
  2711. "linksave", //hostname
  2712. "linksave\\.in\/\\w+", //linkregex
  2713. "//a[contains(@href,'linksave.in')]", //xpath
  2714. 100000, //blocksize
  2715. null, //corrmatch
  2716. null, //corrreplwhat
  2717. null, //corrreplwith
  2718. null, //separator
  2719. null,
  2720. null,
  2721. null,
  2722. null,
  2723. null,
  2724. null,
  2725. linksaveBulkCheck //function delegate
  2726. )
  2727. } */
  2728. if (GM_getValue("Check_videobb_dot_com_links", false))
  2729. {
  2730. addHost(
  2731. "videobb", //hostname
  2732. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2733. "//a[contains(@href,'videobb.com')]", //xpath
  2734. null, //blocksize
  2735. null, //corrmatch
  2736. /watch_video\.php\?v=/, //corrreplwhat
  2737. 'video/', //corrreplwith
  2738. null, //separator
  2739. 'http://www.videobb.com/link_checker.php',
  2740. 'links=',
  2741. /videobb\.com\/video\/(\w+)/,
  2742. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2743. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2744. null,
  2745. null //function delegate
  2746. )
  2747. }
  2748. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2749. {
  2750. addHost(
  2751. "cramit,cramitin", //hostname
  2752. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2753. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2754. null, //blocksize
  2755. null, //corrmatch
  2756. null, //corrreplwhat
  2757. null, //corrreplwith
  2758. null, //separator
  2759. 'http://cramit.in/checkfiles.html',
  2760. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2761. /(cramit(?:\.in|in\.net)\/\w+)/,
  2762. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2763. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2764. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2765. null //function delegate
  2766. )
  2767. }
  2768. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2769. {
  2770. addHost(
  2771. "turbobit", //hostname
  2772. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2773. "//a[contains(@href,'turbobit.')]", //xpath
  2774. null, //blocksize
  2775. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2776. null, //corrreplwhat
  2777. null, //corrreplwith
  2778. "\n", //separator
  2779. 'http://turbobit.net/linkchecker/csv',
  2780. 'links_to_check=',
  2781. /(turbobit\.(?:net|pl)\/\w+)/,
  2782. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2783. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2784. null,
  2785. null //function delegate
  2786. )
  2787. } */
  2788. if (GM_getValue("Check_filerio_dot_com_links", false))
  2789. {
  2790. addHost(
  2791. "filekeen,filerio", //hostname
  2792. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2793. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2794. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2795. null, //blocksize
  2796. null, //corrmatch
  2797. null, //corrreplwhat
  2798. null, //corrreplwith
  2799. null, //separator
  2800. 'http://filerio.in/checkfiles.html',
  2801. 'op=checkfiles&process=Check+URLs&list=',
  2802. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2803. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2804. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2805. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2806. null //function delegate
  2807. )
  2808. }
  2809. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2810. {
  2811. addHost(
  2812. "share-online,egoshare", //hostname
  2813. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2814. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2815. null, //blocksize
  2816. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2817. null, //corrreplwhat
  2818. null, //corrreplwith
  2819. "\n", //separator
  2820. 'http://api.share-online.biz/linkcheck.php',
  2821. 'links=',
  2822. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2823. /\w+;OK/g,
  2824. /\w+;(?:NOTFOUND|DELETED)/g,
  2825. null,
  2826. null //function delegate
  2827. )
  2828. }
  2829. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2830. {
  2831. addHost(
  2832. "quickshare", //hostname
  2833. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2834. "//a[contains(@href,'quickshare.cz')]", //xpath
  2835. null, //blocksize
  2836. null, //corrmatch
  2837. null, //corrreplwhat
  2838. null, //corrreplwith
  2839. null, //separator
  2840. 'http://www.quickshare.cz/nastroje/link-checker',
  2841. 'linky=',
  2842. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2843. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2844. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2845. null,
  2846. null //function delegate
  2847. )
  2848. } */
  2849. if (GM_getValue("Check_oboom_dot_com_links", false))
  2850. {
  2851. addHost(
  2852. "oboom", //hostname
  2853. "oboom\\.com\/#?\\w{8}", //linkregex
  2854. "//a[contains(@href,'oboom.com/')]", //xpath
  2855. null, //blocksize
  2856. /oboom\.com\/#?(\w{8})/, //corrmatch
  2857. null, //corrreplwhat
  2858. null, //corrreplwith
  2859. null, //separator
  2860. null,
  2861. null,
  2862. null,
  2863. null, //liveregex
  2864. null, //deadregex
  2865. null,
  2866. oboomBulk //function delegate
  2867. )
  2868. }
  2869. if (GM_getValue("Check_mega_dot_nz_links", false))
  2870. {
  2871. addHost(
  2872. "mega",
  2873. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2874. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2875. 100000, //blocksize
  2876. null, //corrmatch
  2877. null, //corrreplwhat
  2878. null, //corrreplwith
  2879. null, //separator
  2880. null,
  2881. null,
  2882. null,
  2883. null,
  2884. null,
  2885. null,
  2886. megaBulkCheck //function delegate
  2887. )
  2888. }
  2889.  
  2890. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2891.  
  2892. if (GM_getValue("Check_extabit_dot_com_links", false))
  2893. {
  2894. addHost(
  2895. "extabit", //hostname
  2896. "extabit\\.com\/file\/\\w+", //linkregex
  2897. "//a[contains(@href,'extabit.com')]", //xpath
  2898. null, //blocksize
  2899. null, //corrmatch
  2900. null, //corrreplwhat
  2901. null, //corrreplwith
  2902. "\n", //separator
  2903. "http://extabit.com/linkchecker.jsp", //api url
  2904. "url=", //postdata
  2905. /extabit\.com\/(file\/\w+)/, //linkregex
  2906. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2907. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2908. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2909. extabitBulkCheck //function delegate
  2910. )
  2911. }
  2912. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2913. {
  2914. addHost(
  2915. "junocloud", //hostname
  2916. "junocloud\\.me\/\\w+", //linkregex
  2917. "//a[contains(@href,'junocloud.me')]", //xpath
  2918. null, //blocksize
  2919. null, //corrmatch
  2920. null, //corrreplwhat
  2921. null, //corrreplwith
  2922. "\n", //separator
  2923. "http://junocloud.me/checkfiles.html", //api url
  2924. "op=checkfiles&process=Check+URLs&list=", //postdata
  2925. /(junocloud\.me\/\w+)/, //linkregex
  2926. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2927. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2928. null, //unavaregex
  2929. null //function delegate
  2930. )
  2931. }
  2932. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2933. {
  2934. addHost(
  2935. "webshare", //hostname
  2936. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2937. "//a[contains(@href,'webshare.cz')]", //xpath
  2938. 100000, //blocksize
  2939. null, //corrmatch
  2940. null, //corrreplwhat
  2941. null, //corrreplwith
  2942. null, //separator
  2943. null, //api url
  2944. null, //postdata
  2945. null, //linkregex
  2946. null, //liveregex
  2947. null, //deadregex
  2948. null, //unavaregex
  2949. webshareBulkCheck //function delegate
  2950. )
  2951. }
  2952. /////////////////////////////
  2953. // Common function delegate to send links to get checked by host linkchecker
  2954. /////////////////////////////
  2955. // If you define a new delegate, you may use following properties
  2956. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2957. // this.apiUrl [string] API or web linkchecker URL
  2958. // this.postData [string] POSTDATA for POST request
  2959. // this.resLiveRegex [regex] matches live substrings in the request response
  2960. // this.resDeadRegex [regex] matches dead substrings in the request response
  2961. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2962. //
  2963. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2964. //
  2965. // See the code below for standard bulkcheck handling reference.
  2966. //////////////////////////////
  2967. function genBulkCheck()
  2968. {
  2969. var blockIdx = this.links.length;
  2970. while (blockIdx--)
  2971. {
  2972. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2973. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2974. }
  2975. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2976. {
  2977. GM_xmlhttpRequest(
  2978. {
  2979. method: 'POST',
  2980. url: api,
  2981. headers: {
  2982. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2983. 'Content-type': 'application/x-www-form-urlencoded',
  2984. 'Referer': api,
  2985. 'X-Requested-With': 'XMLHttpRequest'
  2986. },
  2987. data: postData + encodeURIComponent(links),
  2988. onload: function (result)
  2989. {
  2990. var res = result.responseText;
  2991. // GM_log(res);
  2992. var i;
  2993.  
  2994. var livelinks = res.match(liveRegex);
  2995. var deadlinks = res.match(deadRegex);
  2996. // GM_log(livelinks);
  2997. // GM_log(deadlinks);
  2998. if (livelinks != null)
  2999. {
  3000. i = livelinks.length - 1;
  3001. do
  3002. {
  3003. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3004. }
  3005. while (i--);
  3006. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3007. }
  3008.  
  3009. if (deadlinks != null)
  3010. {
  3011. i = deadlinks.length - 1;
  3012. do
  3013. {
  3014. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3015. }
  3016. while (i--);
  3017. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3018. }
  3019.  
  3020. if (unavaRegex != null)
  3021. {
  3022. var unavalinks = res.match(unavaRegex);
  3023. if (unavalinks)
  3024. {
  3025. i = unavalinks.length - 1;
  3026. do
  3027. {
  3028. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3029. }
  3030. while (i--);
  3031. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3032. }
  3033. }
  3034. }
  3035. });
  3036. }
  3037. }
  3038. //specialized bulkchecking handlers follow
  3039. function webshareBulkCheck()
  3040. {
  3041. var arr = this.links[0].split("\r\n");
  3042. var i = arr.length;
  3043. while(i--)
  3044. {
  3045. postRequest(arr[i]);
  3046. }
  3047. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3048. function postRequest(wsLink)
  3049. {
  3050. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3051. GM_xmlhttpRequest(
  3052. {
  3053. method: 'POST',
  3054. url: "http://webshare.cz/api/file_info/",
  3055. headers: {
  3056. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3057. 'Content-type': 'application/x-www-form-urlencoded',
  3058. 'Referer': "",
  3059. },
  3060. data: "wst=&ident=" + id,
  3061. onload: function (result)
  3062. {
  3063. var res = result.responseText;
  3064. if (res.match(/<name>.+?<\/name>/))
  3065. {
  3066. DisplayTheCheckedLinks([id], 'alive_link');
  3067. }
  3068. else
  3069. {
  3070. DisplayTheCheckedLinks([id], 'adead_link');
  3071. }
  3072. }
  3073. });
  3074. }
  3075. }
  3076. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3077. //extabit also doesn't like requests in fast succession, so some delays are added.
  3078. function extabitBulkCheck()
  3079. {
  3080. var timeoutDelay = 0;
  3081. var blockIdx = this.links.length;
  3082. while (blockIdx--)
  3083. {
  3084. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3085. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3086. }
  3087. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3088. {
  3089. GM_xmlhttpRequest(
  3090. {
  3091. method: 'POST',
  3092. url: api,
  3093. headers: {
  3094. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3095. 'Content-type': 'application/x-www-form-urlencoded',
  3096. 'Referer': api,
  3097. 'X-Requested-With': 'XMLHttpRequest'
  3098. },
  3099. data: postData + encodeURIComponent(links),
  3100. onload: function (result)
  3101. {
  3102. var res = result.responseText;
  3103. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3104. {
  3105. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3106. {
  3107. //GM_log(tryID + ': ' + link);
  3108. GM_xmlhttpRequest(
  3109. {
  3110. method: 'GET',
  3111. url: link,
  3112. 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': ""},
  3113. onload: function(result2)
  3114. {
  3115. var res2 = result2.responseText;
  3116. var res2Status = result.status;
  3117. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3118. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3119. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3120. {
  3121. if (tryID < 7)
  3122. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3123. else
  3124. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3125. }
  3126. }
  3127. });
  3128. }
  3129. //split the hrefs and check them one by one
  3130. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3131. links = links.split('\n');
  3132. var i = links.length;
  3133. while (i--)
  3134. {
  3135. if (links[i])
  3136. {
  3137. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3138. timeoutDelay += 500;
  3139. }
  3140. }
  3141. return;
  3142. }
  3143. var i;
  3144.  
  3145. var livelinks = res.match(liveRegex);
  3146. var deadlinks = res.match(deadRegex);
  3147. if (livelinks != null)
  3148. {
  3149. i = livelinks.length - 1;
  3150. do
  3151. {
  3152. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3153. }
  3154. while (i--);
  3155. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3156. }
  3157.  
  3158. if (deadlinks != null)
  3159. {
  3160. i = deadlinks.length - 1;
  3161. do
  3162. {
  3163. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3164. }
  3165. while (i--);
  3166. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3167. }
  3168.  
  3169. if (unavaRegex != null)
  3170. {
  3171. var unavalinks = res.match(unavaRegex);
  3172. if (unavalinks)
  3173. {
  3174. i = unavalinks.length - 1;
  3175. do
  3176. {
  3177. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3178. }
  3179. while (i--);
  3180. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3181. }
  3182. }
  3183. }
  3184. });
  3185. }
  3186. }
  3187. function k2sBulkCheck()
  3188. {
  3189. var arr = this.links[0].split("\r\n");
  3190. var i = arr.length;
  3191. c=0;
  3192. arrIDs=[];
  3193. while(i--)
  3194. {
  3195. id = arr[i].match(/\/file\/(\w+)/)[1];
  3196. if (id=='info')
  3197. {
  3198. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3199. continue;
  3200. }
  3201. k2salreadyexist=false;
  3202. for (j=0;j<arrIDs.length;j++)
  3203. {
  3204. if (arrIDs[j]==id)
  3205. {
  3206. k2salreadyexist=true;
  3207. break;
  3208. }
  3209. }
  3210. if (k2salreadyexist) continue;
  3211. arrIDs.push(id);
  3212. c++;
  3213. setTimeout(k2sRequest,c*500,arr[i]);
  3214. }
  3215. }
  3216. function k2sRequest(K2SLink)
  3217. {
  3218. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3219. GM_xmlhttpRequest(
  3220. {
  3221. method: 'GET',
  3222. url: K2SLink,
  3223. headers: {
  3224. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3225. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3226. 'Referer': ''
  3227. },
  3228. onload: function (result)
  3229. {
  3230. var res = result.responseText;
  3231. K2Dom='k2s.cc';
  3232. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3233. K2SLink2='http://'+K2Dom+'/file/'+id;
  3234.  
  3235. 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'))
  3236. {
  3237. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3238. return;
  3239. }
  3240. if (res.match('method="post">Displaying'))
  3241. {
  3242. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3243. return;
  3244. }
  3245. if (res.match('Premium only'))
  3246. {
  3247. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3248. return;
  3249. }
  3250. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3251. {
  3252. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3253. slID=slow_id.exec(res)[1];
  3254. GM_xmlhttpRequest(
  3255. {
  3256. method: 'POST',
  3257. url: K2SLink2,
  3258. headers: {
  3259. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3260. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3261. 'Content-Type': 'application/x-www-form-urlencoded',
  3262. 'Referer': K2SLink
  3263. },
  3264. data: 'slow_id='+slID+'&yt0=',
  3265. onload: function (result)
  3266. {
  3267. var newres = result.responseText;
  3268. newoversizedtest=new RegExp("Free user can't download large files.");
  3269. if (newoversizedtest.test(newres))
  3270. {
  3271. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3272. return;
  3273. }
  3274. else
  3275. {
  3276. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3277. return;
  3278. }
  3279. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3280. return;
  3281. }
  3282. });
  3283. /////////////////////end additional check for oversized links
  3284. return;
  3285. }
  3286. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3287. return;
  3288. },
  3289. onerror: function ()
  3290. {
  3291. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3292. return;
  3293. }
  3294. });
  3295. }
  3296. function fboomBulkCheck()
  3297. {
  3298. var arr = this.links[0].split("\r\n");
  3299. var i = arr.length;
  3300. c=0;
  3301. arrIDs=[];
  3302. while(i--)
  3303. {
  3304. id = arr[i].match(/\/file\/(\w+)/)[1];
  3305. if (id=='info')
  3306. {
  3307. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3308. continue;
  3309. }
  3310. fbalreadyexist=false;
  3311. for (j=0;j<arrIDs.length;j++)
  3312. {
  3313. if (arrIDs[j]==id)
  3314. {
  3315. fbalreadyexist=true;
  3316. break;
  3317. }
  3318. }
  3319. if (fbalreadyexist) continue;
  3320. arrIDs.push(id);
  3321. c++;
  3322. setTimeout(fboomRequest,c*500,arr[i]);
  3323. }
  3324. }
  3325. function fboomRequest(FBoomLink)
  3326. {
  3327. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3328. FBoomLink2='http://fboom.me/file/'+id;
  3329. GM_xmlhttpRequest(
  3330. {
  3331. method: 'GET',
  3332. url: FBoomLink,
  3333. headers: {
  3334. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3335. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3336. 'Referer': ''
  3337. },
  3338. onload: function (result)
  3339. {
  3340. var res = result.responseText;
  3341. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3342. {
  3343. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3344. return;
  3345. }
  3346. if (res.match('method="post">Displaying'))
  3347. {
  3348. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3349. return;
  3350. }
  3351. if (res.match('only for premium members'))
  3352. {
  3353. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3354. return;
  3355. }
  3356. if (res.match('id="download-free" href="#"'))
  3357. {
  3358. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3359. slID=slow_id.exec(res)[1];
  3360. GM_xmlhttpRequest(
  3361. {
  3362. method: 'POST',
  3363. url: FBoomLink2,
  3364. headers: {
  3365. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3366. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3367. 'Content-Type': 'application/x-www-form-urlencoded',
  3368. 'Referer': FBoomLink
  3369. },
  3370. data: 'slow_id='+slID,
  3371. onload: function (result)
  3372. {
  3373. var newres = result.responseText;
  3374. newoversizedtest=new RegExp("Downloading is not possible");
  3375. if (newoversizedtest.test(newres))
  3376. {
  3377. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3378. return;
  3379. }
  3380. else
  3381. {
  3382. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3383. return;
  3384. }
  3385. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3386. return;
  3387. }
  3388. });
  3389. /////////////////////end additional check for oversized links
  3390. return;
  3391. }
  3392. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3393. return;
  3394. },
  3395. onerror: function ()
  3396. {
  3397. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3398. return;
  3399. }
  3400. });
  3401. }
  3402. function dl4free_1fichier_BulkCheck()
  3403. {
  3404. var arr = this.links[0].split("\r\n");
  3405. var i = arr.length;
  3406. while(i--)
  3407. {
  3408. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3409. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3410. gethead_dl4free_1fichier(arr[i]);
  3411. }
  3412. }
  3413. function gethead_dl4free_1fichier(link)
  3414. {
  3415. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3416. GM_xmlhttpRequest(
  3417. {
  3418. method: 'HEAD',
  3419. url: link,
  3420. headers: {
  3421. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3422. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3423. 'Referer': ''
  3424. },
  3425. onload: function (result)
  3426. {
  3427. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3428. {
  3429. DisplayTheCheckedLinks([id], 'alive_link');
  3430. return;
  3431. }
  3432. else
  3433. {
  3434. getlink_dl4free_1fichier(link);
  3435. }
  3436. return;
  3437. },
  3438. onerror: function ()
  3439. {
  3440. DisplayTheCheckedLinks([id], 'unava_link');
  3441. }
  3442. });
  3443. }
  3444. function getlink_dl4free_1fichier(link)
  3445. {
  3446. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3447. GM_xmlhttpRequest(
  3448. {
  3449. method: 'GET',
  3450. url: link,
  3451. headers: {
  3452. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3453. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3454. 'Referer': ''
  3455. },
  3456. onload: function (result)
  3457. {
  3458. var res = result.responseText;
  3459. 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');
  3460. if (deadRegex.test(res))
  3461. {
  3462. DisplayTheCheckedLinks([id], 'adead_link');
  3463. return;
  3464. }
  3465. premiumRegex=new RegExp('only for premium users');
  3466. if (premiumRegex.test(res))
  3467. {
  3468. DisplayTheCheckedLinks([id], 'prem_link');
  3469. return;
  3470. }
  3471. 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="');
  3472. if (liveRegex.test(res))
  3473. {
  3474. DisplayTheCheckedLinks([id], 'alive_link');
  3475. return;
  3476. }
  3477. DisplayTheCheckedLinks([id], 'unava_link');
  3478. },
  3479. onerror: function ()
  3480. {
  3481. DisplayTheCheckedLinks([id], 'unava_link');
  3482. }
  3483. });
  3484. }
  3485. function depositfilesBulkCheck()
  3486. {
  3487. var arr = this.links[0].split("\r\n");
  3488. var i = arr.length;
  3489. var seqno = Math.floor(Math.random()*1000000000);
  3490. while(i--)
  3491. {
  3492. DFpostRequest(arr[i]);
  3493. }
  3494. }
  3495. function DFpostRequest(DFLink)
  3496. {
  3497. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3498. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3499. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3500. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3501. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3502. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3503. GM_xmlhttpRequest(
  3504. {
  3505. method: "GET",
  3506. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3507. headers: {
  3508. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3509. 'Content-Type': 'application/x-www-form-urlencoded',
  3510. 'Referer': ""
  3511. },
  3512. onload: function (result)
  3513. {
  3514. var res = result.responseText;
  3515. if (res.match('(?:no_file|file_ban)'))
  3516. {
  3517. DisplayTheCheckedLinks([id], 'adead_link');
  3518. return;
  3519. }
  3520. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3521. {
  3522. DisplayTheCheckedLinks([id], 'alive_link');
  3523. return;
  3524. }
  3525. DisplayTheCheckedLinks([id], 'unava_link');
  3526. }
  3527. });
  3528. }
  3529.  
  3530. function megaBulkCheck()
  3531. {
  3532. var arr = this.links[0].split("\r\n");
  3533. var i = arr.length;
  3534. var seqno = Math.floor(Math.random()*1000000000);
  3535. while(i--)
  3536. {
  3537. postRequest(arr[i]);
  3538. }
  3539. function postRequest(megaLink)
  3540. {
  3541. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3542. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3543. GM_xmlhttpRequest(
  3544. {
  3545. method: "POST",
  3546. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3547. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3548. headers: {
  3549. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3550. 'Content-Type': 'application/xml',
  3551. 'Referer': "https://mega.co.nz/"
  3552. },
  3553. onload: function (result)
  3554. {
  3555. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3556. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3557. {
  3558.  
  3559. DisplayTheCheckedLinks([id], 'adead_link');
  3560. }
  3561. if (res.at)
  3562. {
  3563. DisplayTheCheckedLinks([id], 'alive_link');
  3564. }
  3565. if (res.e == "ETEMPUNAVAIL")
  3566. {
  3567. DisplayTheCheckedLinks([id], 'unava_link');
  3568. }
  3569. }
  3570. });
  3571. }
  3572.  
  3573. }
  3574.  
  3575. function oboomBulk() {
  3576. var a = [], b = [], c = [];
  3577. var array = this.links;
  3578.  
  3579. GM_xmlhttpRequest({
  3580. method: 'GET',
  3581. url: 'https://www.oboom.com/1/guestsession',
  3582. headers: {
  3583. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3584. 'Content-type': 'application/x-www-form-urlencoded',
  3585. 'Referer': 'https://www.oboom.com',
  3586. 'X-Requested-With': 'XMLHttpRequest'
  3587. },
  3588. onload: function(result) {
  3589. var blockIdx = array.length;
  3590. var token = JSON.parse(result.responseText)[1];
  3591. while (blockIdx--) {
  3592. startCheck(array[blockIdx].split('\r\n'), token);
  3593. }
  3594. }
  3595. });
  3596.  
  3597. function startCheck(links, token) {
  3598. GM_xmlhttpRequest({
  3599. method: 'POST',
  3600. url: "https://api.oboom.com/1/info",
  3601. headers: {
  3602. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3603. 'Content-type': 'application/x-www-form-urlencoded',
  3604. 'Referer': 'https://www.oboom.com/',
  3605. 'X-Requested-With': 'XMLHttpRequest'
  3606. },
  3607. data: "token=" + token + "&items=" + links.join(","),
  3608. onload: function(result) {
  3609. var res = JSON.parse(result.responseText)[1];
  3610. var i = res.length, s;
  3611.  
  3612. while (i--) {
  3613. s = res[i].state;
  3614. if (s == 'online') a.push(res[i].id);
  3615. 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);
  3616. else c.push(res[i].id);
  3617. }
  3618.  
  3619. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3620. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3621. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3622. }
  3623. });
  3624. }
  3625. }
  3626. /* function linksaveBulkCheck()
  3627. {
  3628. var arr = this.links[0].split("\r\n");
  3629. var i = arr.length;
  3630. while(i--)
  3631. {
  3632. postRequest(arr[i]);
  3633. }
  3634. function postRequest(lsLink)
  3635. {
  3636. GM_xmlhttpRequest(
  3637. {
  3638. method: "GET",
  3639. url: lsLink + '-t.jpg',
  3640. headers: {
  3641. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3642. 'Accept': 'text/xml',
  3643. 'Referer': ""
  3644. },
  3645. onload: function (result)
  3646. {
  3647. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3648. if (imgLen == 965) //online
  3649. {
  3650. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3651. }
  3652.  
  3653. if (imgLen == 972) //offline
  3654. {
  3655. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3656. }
  3657. if (imgLen == 978) //unava
  3658. {
  3659. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3660. }
  3661. }
  3662. });
  3663. }
  3664.  
  3665. } */
  3666. function linkcryptBulkCheck()
  3667. {
  3668. var arr = this.links[0].split("\r\n");
  3669. var i = arr.length;
  3670. while(i--)
  3671. {
  3672. postRequest(arr[i]);
  3673. }
  3674. function postRequest(lcLink)
  3675. {
  3676. GM_xmlhttpRequest(
  3677. {
  3678. method: "GET",
  3679. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3680. headers: {
  3681. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3682. 'Accept': 'text/xml',
  3683. 'Referer': ""
  3684. },
  3685. onload: function (result)
  3686. {
  3687. var res = result.responseText;
  3688. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3689. {
  3690. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3691. return;
  3692. }
  3693. if (res.match(/folderStatus>1/)) //Online status
  3694. {
  3695. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3696. }
  3697. else
  3698. {
  3699. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3700. }
  3701. }
  3702. });
  3703. }
  3704. }
  3705.  
  3706. function megashareBulkCheck()
  3707. {
  3708. var arr = this.links[0].split("\r\n");
  3709. var i = arr.length;
  3710. while(i--)
  3711. {
  3712. postRequest(arr[i]);
  3713. }
  3714. function postRequest(msLink)
  3715. {
  3716. GM_xmlhttpRequest(
  3717. {
  3718. method: "GET",
  3719. url: msLink,
  3720. headers: {
  3721. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3722. 'Content-Type': 'application/x-www-form-urlencoded',
  3723. 'Referer': ""
  3724. },
  3725. onload: function (result)
  3726. {
  3727. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3728. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3729. if ((prZVal == null) || (btn3Name == null))
  3730. {
  3731. return;
  3732. }
  3733. GM_xmlhttpRequest(
  3734. {
  3735. method: "POST",
  3736. url: msLink,
  3737. headers: {
  3738. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3739. 'Content-Type': 'application/x-www-form-urlencoded',
  3740. 'Referer': ""
  3741. },
  3742. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3743. onload: function (result)
  3744. {
  3745. var res = result.responseText;
  3746. if (res.match(/<div id="err">/))
  3747. {
  3748. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3749. }
  3750. else
  3751. {
  3752. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3753. }
  3754. }
  3755. });
  3756. }
  3757. });
  3758. }
  3759. }
  3760. function ncryptBulkCheck()
  3761. {
  3762. var arr = this.links[0].split("\r\n");
  3763. var i = arr.length;
  3764. while(i--)
  3765. {
  3766. postRequest(arr[i]);
  3767. }
  3768. function postRequest(ncryptLink)
  3769. {
  3770. GM_xmlhttpRequest(
  3771. {
  3772. method: "POST",
  3773. url: 'http://ncrypt.in/api_status.php',
  3774. headers: {
  3775. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3776. 'Content-Type': 'application/x-www-form-urlencoded',
  3777. 'Referer': ""
  3778. },
  3779. data: 'link=' + encodeURI(ncryptLink),
  3780. onload: function (result)
  3781. {
  3782. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3783. switch(foldStatus + ""){
  3784. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3785. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3786. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3787. }
  3788. }
  3789. });
  3790. }
  3791. }
  3792. function hellshareBulkCheck()
  3793. {
  3794. var links = this.links;
  3795. GM_xmlhttpRequest(
  3796. {
  3797. method: "GET",
  3798. url: 'http://www.hellshare.com',
  3799. headers: {
  3800. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3801. 'Accept': 'text/xml',
  3802. 'Referer': ""
  3803. },
  3804. onload: function (result)
  3805. {
  3806. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3807.  
  3808. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3809. if (domain == 'sk')
  3810. loc = 'check=Skontrolova%C5%A5&links=';
  3811. if (domain == 'com')
  3812. loc = 'check=Check+availability&links=';
  3813. if (domain == 'hu')
  3814. loc = 'check=Kontrol%C3%A1lj&links=';
  3815. if (domain == 'pl')
  3816. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3817.  
  3818. genBulkCheck.call({ links: links,
  3819. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3820. postData: loc,
  3821. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3822. 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,
  3823. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3824. resUnavaRegex: null
  3825. });
  3826. }
  3827. });
  3828. }
  3829. /**
  3830. * Displays check result
  3831. * @param {Array} Array of links or link fragments.
  3832. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3833. */
  3834. function DisplayTheCheckedLinks(links, resultStatus)
  3835. {
  3836. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3837. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3838. if (Do_not_linkify_DL_links)
  3839. { //TODO into separate jQuery function
  3840. $links.replaceWith(function(){
  3841. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3842. });
  3843. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3844. }
  3845. $links.removeClass().addClass(resultStatus);
  3846. $links.each(function() {
  3847. this.href = Ref_anonymize_service + $(this).attr("href");
  3848. });
  3849. switch(resultStatus)
  3850. {
  3851. case "alive_link": cLinksAlive += $links.length;
  3852. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3853. break;
  3854. case "adead_link": cLinksDead += $links.length;
  3855. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3856. break;
  3857. case "prem_link": cLinksprem += $links.length;
  3858. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3859. break;
  3860. case "unava_link": cLinksUnava += $links.length; break;
  3861. default:
  3862. }
  3863. cLinksProcessed += $links.length;
  3864. }
  3865. }
  3866. // starts bulkchecking
  3867. //
  3868. // params
  3869. // filterId [string] restricts link detection with passed id attribute
  3870. function startBulkCheck(filterId)
  3871. {
  3872. var cHosts = bulkHosts.length;
  3873. if (cHosts == 0) //no filehostings selected
  3874. return;
  3875. // STEP 1 linkify the links
  3876. var linkifyRegex = '';
  3877. var hostIdx = cHosts;
  3878. while(hostIdx--)
  3879. {
  3880. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3881. }
  3882. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3883. linkify(linkifyRegex);
  3884. //
  3885. //STEP 2 detect link objects
  3886. var xpathAll = '';
  3887. var hostIdx = cHosts;
  3888. while(hostIdx--)
  3889. {
  3890. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3891. }
  3892. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3893. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3894. if (filterId != null) //insert id restriction in the xpath
  3895. {
  3896. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3897. }
  3898. else
  3899. {
  3900. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3901. }
  3902. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3903. if (filterId == null)
  3904. {
  3905. cLinksTotal += links.snapshotLength;
  3906. }
  3907. //
  3908. //STEP 3 bind links with hostings
  3909. var linkIdx = links.snapshotLength;
  3910. var href = null;
  3911. if (linkIdx == 0) // no links found
  3912. return;
  3913. var name;
  3914. while (linkIdx--)
  3915. {
  3916. href = links.snapshotItem(linkIdx).href;
  3917. try // DO NOT REMOVE, filters crap that went through xpath detection
  3918. {
  3919. name = gimmeHostName(href);
  3920. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3921. bulkHostNames[name].links.push(href);
  3922. }
  3923. catch(e)
  3924. {
  3925.  
  3926. }
  3927. }
  3928. //
  3929. //STEP 4 process the links for each filehosting
  3930. var hostIdx = cHosts;
  3931. var host;
  3932. var m,n;
  3933. var arr;
  3934. while (hostIdx--)
  3935. {
  3936. host = bulkHosts[hostIdx];
  3937. arr = host.links;
  3938. if (arr.length == 0) //no links for this hosting, skip
  3939. {
  3940. continue;
  3941. }
  3942. //links match corrections
  3943. if (host.corrMatch != null)
  3944. {
  3945. var idx = arr.length;
  3946. while (idx--)
  3947. {
  3948. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3949. }
  3950. }
  3951. //links replace corrections
  3952. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3953. {
  3954. var idx = arr.length;
  3955. while (idx--)
  3956. {
  3957. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3958. }
  3959. }
  3960. m = arr.length;
  3961. n = host.blockSize;
  3962. if (m > n)
  3963. {
  3964. //insert block separators (RAND_STRING) into the array
  3965. for(var i = n; i < m; i += n + 1)
  3966. {
  3967. arr.splice(i, 0, RAND_STRING);
  3968. }
  3969. }
  3970.  
  3971. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3972. apiUrl: host.apiUrl,
  3973. postData: host.postData,
  3974. resLinkRegex: host.resLinkRegex,
  3975. resLiveRegex: host.resLiveRegex,
  3976. resDeadRegex: host.resDeadRegex,
  3977. resUnavaRegex: host.resUnavaRegex
  3978. });
  3979. //clean up
  3980. arr.length = 0;
  3981. }
  3982. //
  3983.  
  3984. function gimmeHostName(link)
  3985. {
  3986. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3987. }
  3988. }
  3989. function checkLinks(filterId)
  3990. {
  3991. startBulkCheck(filterId);
  3992. start(filterId);
  3993. }
  3994.  
  3995. /**
  3996. * Initialises progress box including event binding and CSS
  3997. */
  3998. function initProgressBox()
  3999. {
  4000. if ($("#warlc-progressbox").length > 0)
  4001. return;
  4002. //progressbox css change size and color of progress box
  4003. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4004. "; opacity:" + (Progress_box_opacity / 100) +
  4005. "; bottom:" + Progress_box_pos_bottom +
  4006. "px; right:" + Progress_box_pos_right +
  4007. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4008. \
  4009. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4010. \
  4011. .warlc-progressitem {}\
  4012. \
  4013. .alive {color:#00FF7F; " + Live_links_color +
  4014. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4015. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4016. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4017. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4018. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4019. );
  4020. //
  4021. $('body').append(' <div id="warlc-progressbox">\
  4022. <div class="warlc-progressbar"></div>\
  4023. <span class="warlc-progressitem alive"></span> - \
  4024. <span class="warlc-progressitem dead"></span> - \
  4025. <span class="warlc-progressitem unava"></span> - \
  4026. <span class="warlc-progressitem prem"></span> - \
  4027. <span class="warlc-progressitem processing"></span>\
  4028. </div>');
  4029. $('#warlc-progressbox').hide().click(function(){
  4030. clearInterval(intervalId);
  4031. $(this).hide();
  4032. return false;
  4033. });
  4034. $(".warlc-progressbar").progressbar({complete: function(){
  4035. $(this).fadeOut();
  4036. clearInterval(intervalId); //stop refreshing the stats
  4037. }
  4038. })
  4039. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4040. }
  4041. /**
  4042. * Updates progress data in progress box
  4043. */
  4044. function updateProgress()
  4045. {
  4046. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4047. if (cLinksTotal) // some links were detected on page
  4048. {
  4049. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4050. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4051. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4052. if ((cLinksTotal - cLinksProcessed) == 0)
  4053. {
  4054. $progressItems.first().text(cLinksAlive)
  4055. .next().text(cLinksDead)
  4056. .next().text(cLinksUnava)
  4057. .next().text(cLinksprem)
  4058. .next().remove();
  4059. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4060. $('#warlc-progressbox div:first-child').remove();
  4061. }
  4062. else
  4063. {
  4064. $progressItems.first().text(cLinksAlive)
  4065. .next().text(cLinksDead)
  4066. .next().text(cLinksUnava)
  4067. .next().text(cLinksprem)
  4068. .next().text(cLinksTotal - cLinksProcessed);
  4069. }
  4070. }
  4071. }
  4072.  
  4073. function check_all_links()
  4074. {
  4075. add_WARLC_style();
  4076.  
  4077. if (Show_progress_stats)
  4078. {
  4079. initProgressBox();
  4080. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4081. }
  4082.  
  4083. startBulkCheck(null);
  4084. start(null);
  4085.  
  4086. if (!containers_processed)
  4087. {
  4088. processContainers();
  4089. }
  4090. }
  4091.  
  4092. //Copies all found dead links to clipboard - right now for Scriptish only
  4093. function copy_dead_to_clipboard()
  4094. {
  4095. initClipBoardTools();
  4096.  
  4097. var deadlinksxpath = "//.[@class='adead_link']";
  4098.  
  4099. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4100. var foundlinkstext = '';
  4101.  
  4102. var foundlinkIdx = foundlinks.snapshotLength;
  4103.  
  4104. while(foundlinkIdx--)
  4105. {
  4106. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4107. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4108. }
  4109.  
  4110. unsafeWindow.copyToClipboard(foundlinkstext);
  4111. }
  4112.  
  4113. function toggle_autocheck()
  4114. {
  4115. var currentState = GM_getValue("Autocheck", false);
  4116. GM_setValue("Autocheck", !currentState);
  4117.  
  4118. if (currentState == true)
  4119. {
  4120. sendMessage('Autocheck disabled', 'red');
  4121. }
  4122. else
  4123. {
  4124. sendMessage('Autocheck enabled', 'SpringGreen');
  4125. }
  4126. }
  4127. function toggle_Enable_Anonymizer()
  4128. {
  4129. var currentState = GM_getValue("Enable_Anonymizer", false);
  4130. GM_setValue("Enable_Anonymizer", !currentState);
  4131.  
  4132. if (currentState == true)
  4133. {
  4134. GM_setValue("Ref_anonymize_service", "");
  4135. sendMessage('Anonymizer Disabled', 'red');
  4136. }
  4137. else
  4138. {
  4139. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4140. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4141. }
  4142. }
  4143.  
  4144. function KeyDownHandler(event)
  4145. {
  4146. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4147. if (event.ctrlKey && event.altKey)
  4148. {
  4149. switch(kcode)
  4150. {
  4151. case 65 : check_all_links(); break;
  4152. case 67 : configuration(); break;
  4153. case 68 : copy_dead_to_clipboard(); break;
  4154. case 87 : toggle_autocheck(); break;
  4155. case 90 : toggle_Enable_Anonymizer(); break;
  4156. }
  4157. }
  4158. }
  4159.  
  4160. //
  4161. //
  4162. // SCRIPT EXECUTION START POINT
  4163. //
  4164. //
  4165. // Safari specific GM_getResourceText override
  4166. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4167. {
  4168. GM_getResourceText = function(res) {
  4169. var $cssText = GM_getValue("jquery_css", "");
  4170. if ($cssText == "")
  4171. {
  4172. GM_xmlhttpRequest(
  4173. {
  4174. method: 'GET',
  4175. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4176. onload: function (result)
  4177. {
  4178. GM_setValue("jquery_css", result.responseText);
  4179. window.location.reload();
  4180. }
  4181. });
  4182. }
  4183. else
  4184. {
  4185. return $cssText;
  4186. }
  4187. }
  4188. }
  4189. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4190. GM_addStyle(jQueryUICSS);
  4191. //init the stuff
  4192. setVariables();
  4193. initBulkCheck();
  4194. //init info boxes
  4195. messageBox.style.position = 'fixed';
  4196. messageBox.style.top = '20px';
  4197. messageBox.style.left = '10px';
  4198. messageBox.style.opacity = '0.85';
  4199. messageBox.style.background = 'DimGray';
  4200. messageBox.style.fontSize = '36px';
  4201. document.body.appendChild(messageBox);
  4202.  
  4203. //register GM menu commands & keyboard shortcut event handler
  4204. if (Keyboard_functions)
  4205. {
  4206. $(document).keydown(KeyDownHandler);
  4207. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4208. 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);
  4209. }
  4210. else
  4211. {
  4212. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4213. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4214. }
  4215.  
  4216. //start linkchecking
  4217. if (Autocheck)
  4218. {
  4219. $(document).ready(check_all_links);
  4220. }
  4221.  
  4222. //
  4223. //
  4224. // SCRIPT EXECUTION END POINT
  4225. //
  4226. //
  4227.  
  4228. //shows configuration box
  4229. function configuration()
  4230. {
  4231.  
  4232. //prevent multiple creating of config window
  4233. if ($("#hideshow").length)
  4234. {
  4235. $("#hideshow").show();
  4236. return;
  4237. }
  4238.  
  4239. var configcss = '\
  4240. .popup_block .popup fieldset{\
  4241. padding: 1%;\
  4242. border-style: solid;\
  4243. border-width: 1px;\
  4244. border-color: gray;\
  4245. margin-bottom: 1px;\
  4246. }\
  4247. #h3hideshowtitle{\
  4248. font-size: 2em;\
  4249. }\
  4250. #h3hideshow{\
  4251. font-size: 1.5em;\
  4252. }\
  4253. #imghideshow {\
  4254. border: none;\
  4255. }\
  4256. #plusimage{\
  4257. display:inline;\
  4258. }\
  4259. #hideshow {\
  4260. position: fixed;\
  4261. width: 100%;\
  4262. height: 100%;\
  4263. top: 0;\
  4264. left: 0;\
  4265. font-size:12px;\
  4266. z-index:2147483645;\
  4267. text-align:left;\
  4268. }\
  4269. #fade {\
  4270. background: #000;\
  4271. position: fixed;\
  4272. width: 100%;\
  4273. height: 100%;\
  4274. opacity: .80;\
  4275. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4276. left: 0;\
  4277. z-index: 10;\
  4278. }\
  4279. .popup_block {\
  4280. font-family:verdana;\
  4281. color:black;\
  4282. background: #ddd;\
  4283. padding: 10px 20px;\
  4284. border: 2px solid DarkOrange;\
  4285. float: left;\
  4286. width: 700px;\
  4287. position: absolute;\
  4288. top: 7%;\
  4289. left: 50%;\
  4290. bottom: 7%;\
  4291. margin: 0 0 0 -350px;\
  4292. -moz-border-radius:10px;\
  4293. z-index: 100;\
  4294. \
  4295. }\
  4296. .popup_block .popup {\
  4297. float: left;\
  4298. width: 100%;\
  4299. background: #fff;\
  4300. margin: 10px 0;\
  4301. padding: 0px 0 0px;\
  4302. border-left: 1px solid #bbb;\
  4303. border-top: 1px solid #bbb;\
  4304. border-right: 1px solid #bbb;\
  4305. }\
  4306. #h3hideshow{\
  4307. margin: 1px 0 0px;\
  4308. padding: 1px 10px;\
  4309. border-bottom: 1px solid #bbb;\
  4310. font-size: 1.5em;\
  4311. font-weight: normal;\
  4312. cursor:pointer;\
  4313. background:#DDDDDD none repeat scroll 0 0;\
  4314. }\
  4315. #h3hideshow:hover{\
  4316. background:#C0BEBE none repeat scroll 0 0;\
  4317. }\
  4318. #h3hideshowtitle{\
  4319. margin: 2px 0 0px;\
  4320. padding: 7px 10px;\
  4321. border-bottom: 1px solid #bbb;\
  4322. font-size: 1.5em;\
  4323. font-weight: normal;\
  4324. }\
  4325. .popup_block .popup a {\
  4326. color:DarkSkyBlue;\
  4327. text-decoration:none;\
  4328. }\
  4329. .popup p {\
  4330. padding: 1px 10px;\
  4331. margin: 0px 0;\
  4332. -x-system-font:none;\
  4333. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4334. font-size:10pt;\
  4335. font-size-adjust:none;\
  4336. font-stretch:normal;\
  4337. font-style:normal;\
  4338. font-variant:normal;\
  4339. font-weight:normal;\
  4340. line-height:normal;\
  4341. }\
  4342. #sites {\
  4343. padding: 1px 10px;\
  4344. margin: 0px 0;display:inline-block;width:16em;\
  4345. }\
  4346. #dev_ver {\
  4347. color: #00FF00;\
  4348. background: Black;\
  4349. text-align: right;\
  4350. }\
  4351. #sites_suspended {\
  4352. padding: 1px 10px;\
  4353. margin: 0px 0;display:inline-block;width:16em;\
  4354. text-decoration: line-through;\
  4355. }\
  4356. .popup img.cntrl {\
  4357. position: absolute;\
  4358. right: -15px;\
  4359. top: -15px;\
  4360. }\
  4361. #bulk {\
  4362. font-size:8pt;\
  4363. color:orange;\
  4364. padding: 1px 10px;\
  4365. margin: 0px 0;\
  4366. display:inline-block;\
  4367. width:100px;\
  4368. }\
  4369. #note {\
  4370. font-size:7pt;\
  4371. color:gray;\
  4372. padding: 1px 10px;\
  4373. margin: 0px 0;display:inline-block;\
  4374. min-width:100px;\
  4375. }\
  4376. #rednote {\
  4377. font-size:7pt;\
  4378. color:red;\
  4379. padding: 1px 10px;\
  4380. margin: 0px 0;display:inline-block;\
  4381. }\
  4382. #configinfo {\
  4383. font-size:8pt;\
  4384. color:gray;\
  4385. padding: 1px 10px;\
  4386. margin: 0px 0;display:inline-block;width:60em;\
  4387. }\
  4388. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4389. color:black;\
  4390. border-style: solid;\
  4391. border-width: 1px;\
  4392. border-color: gray;\
  4393. }\
  4394. #h3hideshowcontent {\
  4395. min-height:220px;\
  4396. max-height:220px;\
  4397. overflow:auto;\
  4398. display: none;\
  4399. padding: 10px 10px;\
  4400. }\
  4401. #specinfo{\
  4402. font-size:14px;\
  4403. }\
  4404. .warlc-ui-tab {\
  4405. height:300px;\
  4406. overflow:auto;\
  4407. }\
  4408. #warlcsitelist2, #warlcsitelist1 {\
  4409. height:220px;\
  4410. border-top: 1px solid #ddd;\
  4411. padding-top: 5px;\
  4412. overflow:auto;\
  4413. }\
  4414. input:hover+label {\
  4415. background:#F1F77C;\
  4416. font-size:110%;\
  4417. }\
  4418. ';
  4419.  
  4420. GM_addStyle(configcss);
  4421.  
  4422. var customRulesRefHTML =
  4423. '\
  4424. <br>\
  4425. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4426. <b>@keyword</b> <i>parameter</i>\
  4427. <br><br>\
  4428. 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. \
  4429. <br><br>\
  4430. 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.\
  4431. 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.\
  4432. 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.\
  4433. 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,\
  4434. but all commands until the next valid @customrule are ignored.<br><br>\
  4435. Available forms and types:\
  4436. <ul>\
  4437. <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.\
  4438. <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.\
  4439. <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.\
  4440. <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.\
  4441. </ul>\
  4442. Other available commands:<br>\
  4443. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4444. <ul>\
  4445. <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.\
  4446. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4447. <ul>examples:<br>\
  4448. <li>good: <i>filehost.com/download/</i><br>\
  4449. <li>good: <i>download.filehost.net/?d=</i><br>\
  4450. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4451. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4452. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4453. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4454. <li>bad: <i>filehost.com</i> - no slash<br>\
  4455. </ul>\
  4456. \
  4457. <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.\
  4458. 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 \
  4459. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4460. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4461. 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.)\
  4462. Two spaces again match any whitespace.\
  4463. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4464. Two spaces again match any whitespace.\
  4465. <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. \
  4466. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4467. </ul>\
  4468. \
  4469. ';
  4470.  
  4471. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4472. var configurationinnerHTML =
  4473. '<div id="fade"></div>\
  4474. <div class="popup_block">\
  4475. <div class="popup">\
  4476. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08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6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Customized Premium Link version Configuration</div>\
  4478. <div id="warlc-conf-tabs">\
  4479. <ul>\
  4480. <li><a href="#tabs-1">Filehostings</a></li>\
  4481. <li><a href="#tabs-2">Containers</a></li>\
  4482. <li><a href="#tabs-5">Custom rules</a></li>\
  4483. <li><a href="#tabs-3">Settings</a></li>\
  4484. <li><a href="#tabs-4">About</a></li>\
  4485. </ul>\
  4486. <div id="tabs-1" class="warlc-ui-tab">\
  4487. <div class="warlc-ui-buttonset">\
  4488. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4489. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4490. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4491. </div><br>\
  4492. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4493. <div id="warlcsitelist1"><span>Empty</span></div>\
  4494. </div>\
  4495. <div id="tabs-2" class="warlc-ui-tab">\
  4496. <div class="warlc-ui-buttonset">\
  4497. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4498. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4499. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4500. </div><br>\
  4501. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4502. <div id="warlcsitelist2"><span>Empty</span></div>\
  4503. </div>\
  4504. <div id="tabs-5" class="warlc-ui-tab">\
  4505. <div class="warlcsettings">\
  4506. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4507. <br>\
  4508. <div>Edit custom rules: \
  4509. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4510. <div id="customRulesReference" style="display:none;">'
  4511. + customRulesRefHTML + '\
  4512. </div>\
  4513. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4514. </div>\
  4515. </div>\
  4516. </div>\
  4517. <div id="tabs-3" class="warlc-ui-tab">\
  4518. <div class="warlcsettings">\
  4519. <fieldset>\
  4520. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4521. <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>\
  4522. </fieldset>\
  4523. <fieldset>\
  4524. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4525. <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>\
  4526. <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>\
  4527. <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>\
  4528. <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>\
  4529. <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>\
  4530. <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>\
  4531. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4532. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4533. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4534. <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>\
  4535. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4536. <fieldset>\
  4537. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4538. <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>\
  4539. <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>\
  4540. <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>\
  4541. </fieldset>\
  4542. </fieldset>\
  4543. <fieldset>\
  4544. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4545. </fieldset>\
  4546. <fieldset>\
  4547. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4548. </fieldset>\
  4549. <fieldset>\
  4550. <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>\
  4551. </fieldset>\
  4552. <fieldset>\
  4553. <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>\
  4554. </fieldset>\
  4555. </div>\
  4556. </div>\
  4557. <div id="tabs-4" class="warlc-ui-tab">\
  4558. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4559. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4560. <br />\
  4561. <p><b>Currently supported:</b><br>\
  4562. Filehostings: ' + allHostNames.length + '<br />\
  4563. Containers: ' + allContainerNames.length + '<br />\
  4564. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4565. <br />\
  4566. <p><b>Based on:</b><br>\
  4567. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4568. <br />\
  4569. <p><b>Uses:</b></p>\
  4570. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4571. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4572. <br />\
  4573. <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>\
  4574. </div>\
  4575. </div>\
  4576. </div>\
  4577. </div>';
  4578. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4579. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4580. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4581. var elmHostList = document.getElementById("warlcsitelist1");
  4582. var elmContainerList = document.getElementById("warlcsitelist2");
  4583. buildSettings();
  4584. buildSitelist("", allHostNames, elmHostList);
  4585. buildSitelist("", allContainerNames, elmContainerList);
  4586. if (DEBUG_MODE)
  4587. {
  4588. //log all sites availability status
  4589. diagSites();
  4590. }
  4591. //handler for checkbox state change
  4592. function changeConfiguration(e)
  4593. {
  4594. var element = e.target;
  4595.  
  4596. if (element.type == 'checkbox')
  4597. {
  4598. if (element.checked == 1)
  4599. {
  4600. GM_setValue(element.id, true);
  4601. }
  4602. else
  4603. {
  4604. GM_setValue(element.id, false);
  4605. }
  4606.  
  4607. }
  4608. setVariables();
  4609. }
  4610.  
  4611. //Selects all filehosting checkboxes
  4612. function selectAll()
  4613. {
  4614. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4615. .each(function(index, element){GM_setValue(this.id, true)});
  4616. }
  4617.  
  4618. //Deselects all filehosting checkboxes
  4619. function selectNone()
  4620. {
  4621. $(":checkbox:visible:checked").prop("checked",false)
  4622. .each(function(index, element){GM_setValue(this.id, false)});
  4623. }
  4624.  
  4625. //Inverts filehosting checkboxes selection
  4626. function selectInvert()
  4627. {
  4628. var $checked = $(":checkbox:visible:checked");
  4629. var $unchecked = $(":checkbox:visible:not(:checked)");
  4630. $unchecked.prop("checked",true)
  4631. .each(function(index, element){GM_setValue(this.id, true)});
  4632. $checked.prop("checked",false)
  4633. .each(function(index, element){GM_setValue(this.id, false)});
  4634. }
  4635. //toggles anonymizer on off
  4636. function Enable_Anonymizer()
  4637. {
  4638. var $checked = $(":checkbox:visible:checked");
  4639. var $unchecked = $(":checkbox:visible:not(:checked)");
  4640. $unchecked.prop("checked",true)
  4641. .each(function(index, element){GM_setValue(this.id, true)});
  4642. $checked.prop("checked",false)
  4643. .each(function(index, element){GM_setValue(this.id, false)});
  4644. }
  4645.  
  4646. function changeRefAnonymizer(){
  4647. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4648. }
  4649.  
  4650. //Sets live links color
  4651. function changeColorLive()
  4652. {
  4653. var inColorLive = document.getElementById("inputColorLive");
  4654. inColorLive.style.background = inColorLive.value;
  4655. GM_setValue("Live_links_color", inColorLive.value);
  4656. }
  4657.  
  4658. //Sets dead links color
  4659. function changeColorDead()
  4660. {
  4661. var inColorDead = document.getElementById("inputColorDead");
  4662. inColorDead.style.background = inColorDead.value;
  4663. GM_setValue("Dead_links_color", inColorDead.value);
  4664. }
  4665.  
  4666. //Sets temp. unavailable links color
  4667. function changeColorTemp()
  4668. {
  4669. var inColorTemp = document.getElementById("inputColorTemp");
  4670. inColorTemp.style.background = inColorTemp.value;
  4671. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4672. }
  4673.  
  4674. //Sets temp. unavailable links color
  4675. function changeColorCont()
  4676. {
  4677. var inColorCont = document.getElementById("inputColorCont");
  4678. inColorCont.style.background = inColorCont.value;
  4679. GM_setValue("Container_links_color", inColorCont.value);
  4680. }
  4681. //Sets premium. links color
  4682. function changeColorprem()
  4683. {
  4684. var inColorprem = document.getElementById("inputColorprem");
  4685. inColorprem.style.background = inColorprem.value;
  4686. GM_setValue("Premium_links_color", inColorprem.value);
  4687. }
  4688.  
  4689. //Diagnose sites for availability
  4690. function diagSites()
  4691. {
  4692. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4693.  
  4694. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4695. {
  4696. if (boxes[i].type == "checkbox")
  4697. {
  4698. checkAvailability(boxes[i]);
  4699. }
  4700. }
  4701.  
  4702. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4703.  
  4704. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4705. {
  4706. if (boxes[i].type == "checkbox")
  4707. {
  4708. checkAvailability(boxes[i]);
  4709. }
  4710. }
  4711.  
  4712. function checkAvailability(cbElm)
  4713. {
  4714. var cb = cbElm;
  4715. GM_xmlhttpRequest(
  4716. {
  4717. method: 'HEAD',
  4718. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4719. headers: {
  4720. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4721. 'Accept': 'text/xml',
  4722. 'Referer': ""
  4723. },
  4724. onload: function (result)
  4725. {
  4726. if (result.status != 200)
  4727. {
  4728. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4729. }
  4730. },
  4731. onerror: function (result)
  4732. {
  4733. if (result.status != 200)
  4734. {
  4735. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4736. }
  4737. }
  4738. });
  4739. }
  4740. }
  4741. function buildSettings()
  4742. {
  4743. $(".warlcsettings :checkbox").each(function(){
  4744. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4745. .click(function(e){
  4746. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4747. setVariables();
  4748. });
  4749. })
  4750. }
  4751. //Dynamic build of host list
  4752. //param search [string] searches for hostnames matching search substring
  4753. //param siteNames [array] array of site names
  4754. //param targetNode [DOM Node] where the list should be built
  4755. // first child node is replaced
  4756. function buildSitelist(search, siteNames, targetNode)
  4757. {
  4758. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4759. var $targetNode = $(targetNode).empty();
  4760. var searchedSite = "";
  4761. $.each(siteNames, function(i, site){
  4762. if (searchedSite = site.match(searchRegex))
  4763. {
  4764. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4765. //ensuring backward compatibility with the rest of code, to be refactored later
  4766. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4767. //
  4768. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4769. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4770. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4771. );
  4772. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4773. .change(changeConfiguration);
  4774. $targetNode.append('<br />');
  4775. }
  4776. });
  4777. $targetNode.append("<hr>");
  4778. //obsolete hosts checkbox
  4779. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4780. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4781. .change(changeConfiguration);
  4782. $targetNode.append('<br />');
  4783. var foundName = "";
  4784. $.each(allObsoleteNames, function(i, site){
  4785. if (foundName = allObsoleteNames[i].match(searchRegex))
  4786. {
  4787. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4788. }
  4789. })
  4790. }
  4791. var hostSearchBox = document.getElementById("hostSearchBox");
  4792. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4793. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4794. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4795. $(".warlc-ui-select-all").click(selectAll).button();
  4796. $(".warlc-ui-select-none").click(selectNone).button();
  4797. $(".warlc-ui-select-invert").click(selectInvert).button();
  4798. $(".warlc-ui-buttonset").buttonset();
  4799. var inColorLive = document.getElementById("inputColorLive");
  4800. inColorLive.addEventListener('keyup', changeColorLive, false);
  4801.  
  4802. var inColorDead = document.getElementById("inputColorDead");
  4803. inColorDead.addEventListener('keyup', changeColorDead, false);
  4804.  
  4805. var inColorTemp = document.getElementById("inputColorTemp");
  4806. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4807.  
  4808. var inColorCont = document.getElementById("inputColorCont");
  4809. inColorCont.addEventListener('keyup', changeColorCont, false);
  4810. var inColorprem = document.getElementById("inputColorprem");
  4811. inColorprem.addEventListener('keyup', changeColorprem, false);
  4812. $("#refAnonymizer").change(changeRefAnonymizer);
  4813. //buttons and edit boxes init end
  4814.  
  4815. //icon sets radio buttons
  4816. var radioButtons = document.getElementsByName("warlciconset");
  4817. radioButtons[Icon_set].checked = "checked";
  4818.  
  4819. radioButtons[0].addEventListener("change", updateIconSet);
  4820. radioButtons[1].addEventListener("change", updateIconSet);
  4821. radioButtons[2].addEventListener("change", updateIconSet);
  4822. radioButtons[3].addEventListener("change", updateIconSet);
  4823. function updateIconSet()
  4824. {
  4825. GM_setValue("Icon_set", this.value * 1);
  4826. }
  4827. //
  4828. $('#showCustomRulesReference').click(function(e){
  4829. e.preventDefault();
  4830. $('#customRulesReference').toggle();
  4831. });
  4832. $('#Custom_rules_text')
  4833. .val(Custom_rules_text)
  4834. .change(saveCustomRules);
  4835. function saveCustomRules(e)
  4836. {
  4837. var cr = parseCustomRules(this.value);
  4838. if (cr.info.length)
  4839. 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, ' '));
  4840. GM_setValue('Custom_rules_text', this.value);
  4841. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4842. }
  4843. }
  4844.  
  4845. //begin standard link checking algorithm
  4846. function start(filterId)
  4847. {
  4848. var doNotLinkify = Do_not_linkify_DL_links;
  4849.  
  4850. // USER SELECTED FILE HOSTS INITIALIZATION START
  4851. var http_file_hosts = new Array(); //standard hostings
  4852. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4853. var http_file_hosts_obsolete = new Array(); //dead hostings
  4854. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4855.  
  4856. initFileHosts();
  4857. initFileHostsHeadersOnly();
  4858. initFileHostsCustom(); //CustomRules
  4859. // USER SELECTED FILE HOSTS INITIALIZATION END
  4860.  
  4861. // LINKIFICATION START
  4862. var totalxpath = '';
  4863. var totalxpathcoded = '';
  4864. var totalxpathobsolete = '';
  4865. var totalxpathheadersonly = '';
  4866. var totalourls = '';
  4867.  
  4868. var filehostLen = http_file_hosts.length;
  4869. var filehostCodedLen = http_file_hosts_coded.length;
  4870. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4871. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4872.  
  4873. var filehostIdx = filehostLen;
  4874. var filehostCodedIdx = filehostCodedLen;
  4875. var filehostObsoleteIdx = filehostObsoleteLen;
  4876. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4877.  
  4878. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4879. return;
  4880.  
  4881. while (filehostIdx--)
  4882. {
  4883. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4884. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4885. }
  4886.  
  4887. while (filehostCodedIdx--)
  4888. {
  4889. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4890. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4891. }
  4892.  
  4893. while (filehostObsoleteIdx--)
  4894. {
  4895. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4896. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4897. }
  4898.  
  4899. while (filehostHeadersOnlyIdx--)
  4900. {
  4901. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4902. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4903. }
  4904.  
  4905. totalourls = totalourls.replace(/\|$/g, "");
  4906. //TODO: further refactoring needed
  4907. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4908. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4909. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4910. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4911. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4912. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4913. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4914. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4915. if (filterId != null) //insert id restriction in the xpath
  4916. {
  4917. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4918. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4919. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4920. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4921. }
  4922. else
  4923. {
  4924. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4925. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4926. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4927. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4928. }
  4929. linkify(totalourls);
  4930. //LINKIFICATION END
  4931. //ENCRYPTED LINKS PROCESSING START
  4932. if (http_file_hosts_coded.length > 0)
  4933. {
  4934. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4935.  
  4936. // decrypt coded links (redirects, link protectors etc.)
  4937. if (linksCoded.snapshotLength > 0)
  4938. {
  4939. var link;
  4940. var reallinkreg;
  4941. var reallinkcorrection;
  4942.  
  4943. if (filterId == null)
  4944. {
  4945. cLinksTotal += linksCoded.snapshotLength;
  4946. }
  4947.  
  4948. var y = linksCoded.snapshotLength - 1;
  4949. do
  4950. {
  4951. // linksCoded.snapshotItem(y).id = 'processing_link';
  4952. link = linksCoded.snapshotItem(y);
  4953. filehostIdx = filehostCodedLen;
  4954. while (filehostIdx--)
  4955. {
  4956. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4957. {
  4958. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4959. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4960. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4961.  
  4962. decurl(link, reallinkreg, reallinkcorrection);
  4963. break;
  4964. }
  4965. }
  4966. }
  4967. while (y--);
  4968. }
  4969. }
  4970. //ENCRYPTED LINKS PROCESSING END
  4971.  
  4972. //STANDARD LINKCHECKING START
  4973. if (http_file_hosts.length > 0)
  4974. {
  4975. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4976.  
  4977. if (filterId == null)
  4978. {
  4979. cLinksTotal += lianks.snapshotLength;
  4980. }
  4981.  
  4982. if (lianks.snapshotLength > 0)
  4983. {
  4984. var link;
  4985.  
  4986. var URL = "";
  4987. var name = "";
  4988. var isAliveRegex = "";
  4989. var isDeadRegex = "";
  4990. var isUnavaRegex = "";
  4991. var ispremRegex = "";
  4992. var tryLoop = false;
  4993.  
  4994. var y = lianks.snapshotLength;
  4995.  
  4996. while (y--)
  4997. {
  4998. link = lianks.snapshotItem(y);
  4999.  
  5000. filehostIdx = filehostLen;
  5001. while (filehostIdx--)
  5002. {
  5003. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5004. {
  5005. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5006. isAliveRegex = http_file_hosts[filehostIdx][1];
  5007. isDeadRegex = http_file_hosts[filehostIdx][2];
  5008. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5009. ispremRegex = http_file_hosts[filehostIdx][6];
  5010. tryLoop = http_file_hosts[filehostIdx][5];
  5011.  
  5012. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5013.  
  5014. break;
  5015. }
  5016. }
  5017. }
  5018. }
  5019. }
  5020. //STANDARD LINKCHECKING END
  5021. //OBSOLETE FILE HOSTS PROCESSING START
  5022. if (filehostObsoleteLen > 0)
  5023. {
  5024. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5025.  
  5026. var obsoleteLink;
  5027.  
  5028. //check links
  5029. if (obsoletelinks.snapshotLength > 0)
  5030. {
  5031. var y = obsoletelinks.snapshotLength;
  5032.  
  5033. if (filterId == null)
  5034. {
  5035. cLinksTotal += y;
  5036. }
  5037.  
  5038. while (y--)
  5039. {
  5040. obsoleteLink = obsoletelinks.snapshotItem(y);
  5041.  
  5042. if (Display_tooltip_info)
  5043. {
  5044. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5045. }
  5046. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5047. }
  5048. }
  5049. }
  5050. //OBSOLETE FILE HOSTS PROCESSING END
  5051.  
  5052. //DIRECT LINKCHECKING START
  5053. if (http_file_hosts_headers_only.length > 0)
  5054. {
  5055. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5056.  
  5057. //check links
  5058. if (links.snapshotLength > 0)
  5059. {
  5060. var link;
  5061. var isAliveRegex;
  5062. var isDeadRegex;
  5063. var ispremRegex;
  5064.  
  5065. var y = links.snapshotLength;
  5066.  
  5067.  
  5068. if (filterId == null)
  5069. {
  5070. cLinksTotal += y;
  5071. }
  5072.  
  5073. while (y--)
  5074. {
  5075. // links.snapshotItem(y).id = 'processing_link';
  5076. link = links.snapshotItem(y);
  5077. filehostIdx = filehostHeadersOnlyLen;
  5078. while (filehostIdx--)
  5079. {
  5080. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5081. {
  5082. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5083. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5084. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5085. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5086.  
  5087. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5088.  
  5089. break;
  5090. }
  5091. }
  5092. }
  5093.  
  5094. }
  5095. }
  5096. //DIRECT LINKCHECKING END
  5097.  
  5098.  
  5099. //finds the real url on the page, replaces link.href with it and calls geturl
  5100. function decurl(link, reallinkreg, reallinkcorrection)
  5101. {
  5102.  
  5103. GM_xmlhttpRequest(
  5104. {
  5105. method: 'GET',
  5106. url: link.href,
  5107. headers: {
  5108. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5109. 'Accept': 'text/xml',
  5110. 'Referer': ""
  5111. },
  5112. onload: function (result)
  5113. {
  5114. // cLinksProcessed++;
  5115.  
  5116. var reallink = result.responseText.match(reallinkreg)[0];
  5117. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5118.  
  5119. link.href = reallink;
  5120.  
  5121. var i = http_file_hosts.length - 1;
  5122. do
  5123. {
  5124. if ((reallink.match(http_file_hosts[i][0])))
  5125. {
  5126. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5127. var isAliveRegex = http_file_hosts[i][1];
  5128. var isDeadRegex = http_file_hosts[i][2];
  5129. var isUnavaRegex = http_file_hosts[i][3];
  5130. var ispremRegex = http_file_hosts[i][4];
  5131.  
  5132. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5133.  
  5134. break;
  5135. }
  5136. }
  5137. while (i--);
  5138. }
  5139. });
  5140. }
  5141.  
  5142. function randUA()
  5143. {
  5144. //TODO
  5145. }
  5146. //Processes link
  5147. //
  5148. // [string] link link URL
  5149. // [string] isAliveRegex alive link regex
  5150. // [string] isDeadRegex dead link regex
  5151. // [string] isUnavaRegex unavailable link regex
  5152. // [string] ispremRegex premium link regex
  5153. // [boolean] tryLoop repeats request until succeeded
  5154. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5155. {
  5156. GM_xmlhttpRequest(
  5157. {
  5158. method: 'GET',
  5159. url: link.href,
  5160. headers: {
  5161. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5162. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5163. 'Referer': ""
  5164. },
  5165. onload: function (result)
  5166. {
  5167. var res = result.responseText;
  5168. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5169. {
  5170. displayTheCheckedLink(link, 'alive_link');
  5171. return;
  5172. }
  5173.  
  5174. if (res.match(isAliveRegex))
  5175. {
  5176. displayTheCheckedLink(link, 'alive_link');
  5177. return;
  5178. }
  5179.  
  5180. if (res.match(isDeadRegex))
  5181. {
  5182. displayTheCheckedLink(link, 'adead_link');
  5183. return;
  5184. }
  5185.  
  5186. if (isUnavaRegex && res.match(isUnavaRegex))
  5187. {
  5188. displayTheCheckedLink(link, 'unava_link');
  5189. return;
  5190. }
  5191. if (res.match(ispremRegex))
  5192. {
  5193. displayTheCheckedLink(link, 'prem_link');
  5194. return;
  5195. }
  5196.  
  5197. var resStatus = result.status;
  5198.  
  5199. if (resStatus == 404)
  5200. {
  5201. displayTheCheckedLink(link, 'adead_link');
  5202. }
  5203. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5204. {
  5205. if (tryLoop)
  5206. {
  5207. //wait 1-5 seconds and repeat the request
  5208. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5209. }
  5210. else
  5211. {
  5212. displayTheCheckedLink(link, 'unava_link');
  5213. }
  5214.  
  5215. return;
  5216. }
  5217. },
  5218. onerror: function ()
  5219. {
  5220. displayTheCheckedLink(link, 'unava_link');
  5221. }
  5222. });
  5223. }
  5224.  
  5225. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5226. {
  5227. GM_xmlhttpRequest(
  5228. {
  5229. method: 'HEAD',
  5230. url: link.href,
  5231. headers: {
  5232. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5233. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5234. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5235. 'Referer': ""
  5236. },
  5237. onload: function (result)
  5238. {
  5239. var resStatus = result.status;
  5240. var resHeaders = "";
  5241. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5242. {
  5243. displayTheCheckedLink(link, 'adead_link');
  5244. return;
  5245. }
  5246.  
  5247. resHeaders = result.responseHeaders;
  5248.  
  5249. if (resHeaders.match(isDeadRegex))
  5250. {
  5251. displayTheCheckedLink(link, 'adead_link');
  5252. return;
  5253. }
  5254.  
  5255. if (resHeaders.match(isAliveRegex))
  5256. {
  5257. displayTheCheckedLink(link, 'alive_link');
  5258. return;
  5259. }
  5260. if (resHeaders.match(ispremRegex))
  5261. {
  5262. displayTheCheckedLink(link, 'prem_link');
  5263. return;
  5264. }
  5265. },
  5266. onerror: function ()
  5267. {
  5268. displayTheCheckedLink(link, 'unava_link');
  5269. }
  5270. });
  5271. }
  5272.  
  5273. //Delinkfifies the <a> element object
  5274. function delinkifyLink(link)
  5275. {
  5276. var spanElm = document.createElement("span");
  5277. spanElm.className = link.className;
  5278. spanElm.innerHTML = link.innerHTML;
  5279.  
  5280. if (Display_tooltip_info)
  5281. {
  5282. spanElm.href = link.href;
  5283. spanElm.warlc_error = link.warlc_error;
  5284. switch (link.className){
  5285. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5286. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5287. case "unava_link": //reserved
  5288. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5289. default:
  5290. }
  5291. }
  5292. link.parentNode.replaceChild(spanElm, link);
  5293. }
  5294.  
  5295. //Assigns result status to the <a> element object and calls delinkifying eventually
  5296. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5297. function displayTheCheckedLink(link, resultStatus)
  5298. {
  5299. link.className = resultStatus;
  5300. link.href = Ref_anonymize_service + link.href;
  5301. if (Display_tooltip_info)
  5302. {
  5303. switch (resultStatus){
  5304. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5305. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5306. case "unava_link": //reserved
  5307. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5308. default:
  5309. }
  5310. }
  5311. if (doNotLinkify)
  5312. {
  5313. delinkifyLink(link);
  5314. }
  5315. cLinksProcessed++;
  5316.  
  5317. if (resultStatus == "alive_link")
  5318. {
  5319. cLinksAlive++;
  5320. return;
  5321. }
  5322.  
  5323. if (resultStatus == "adead_link")
  5324. {
  5325. cLinksDead++;
  5326. return;
  5327. }
  5328.  
  5329. if (resultStatus == "unava_link")
  5330. {
  5331. cLinksUnava++;
  5332. }
  5333. if (resultStatus == "prem_link")
  5334. {
  5335. cLinksprem++;
  5336. return;
  5337. }
  5338. }
  5339.  
  5340.  
  5341. function initFileHosts()
  5342. {
  5343.  
  5344. function addObsoleteHost(linkRegex, xpathEx)
  5345. {
  5346. var host = new Array(2);
  5347. host[0] = linkRegex;
  5348. host[1] = xpathEx;
  5349. http_file_hosts_obsolete.push(host);
  5350. }
  5351.  
  5352. //obsolete file hosts init start
  5353. if (Obsolete_file_hosts)
  5354. {
  5355. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5356. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5357. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5358. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5359. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5360. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5361. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5362. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5363. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5364. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5365. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5366. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5367. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5368. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5369. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5370. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5371. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5372. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5373. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5374. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5375. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5376. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5377. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5378. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5379. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5380. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5381. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5382. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5383. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5384. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5385. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5386. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5387. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5388. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5389. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5390. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5391. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5392. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5393. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5394. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5395. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5396. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5397. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5398. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5399. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5400. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5401. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5402. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5403. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5404. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5405. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5406. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5407. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5408. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5409. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5410. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5411. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5412. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5413. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5414. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5415. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5416. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5417. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5418. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5419. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5420. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5421. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5422. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5423. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5424. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5425. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5426. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5427. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5428. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5429. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5430. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5431. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5432. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5433. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5434. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5435. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5436. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5437. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5438. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5439. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5440. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5441. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5442. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5443. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5444. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5445. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5446. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5447. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5448. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5449. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5450. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5451. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5452. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5453. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5454. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5455. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5456. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5457. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5458. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5459. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5460. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5461. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5462. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5463. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5464. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5465. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5466. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5467. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5468. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5469. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5470. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5471. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5472. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5473. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5474. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5475. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5476. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5477. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5478. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5479. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5480. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5481. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5482. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5483. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5484. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5485. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5486. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5487. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5488. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5489. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5490. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5491. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5492. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5493. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5494. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5495. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5496. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5497. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5498. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5499. 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')]");
  5500. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5501. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5502. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5503. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5504. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5505. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5506. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5507. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5508. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5509. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5510. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5511. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5512. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5513. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5514. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5515. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5516. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5517. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5518. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5519. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5520. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5521. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5522. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5523. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5524. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5525. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5526. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5527. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5528. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5529. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5530. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5531. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5532. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5533. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5534. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5535. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5536. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5537. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5538. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5539. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5540. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5541. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5542. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5543. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5544. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5545. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5546. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5547. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5548. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5549. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5550. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5551. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5552. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5553. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5554. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5555. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5556. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5557. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5558. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5559. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5560. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5561. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5562. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5563. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5564. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5565. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5566. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5567. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5568. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5569. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5570. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5571. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5572. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5573. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5574. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5575. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5576. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5577. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5578. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5579. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5580. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5581. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5582. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5583. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5584. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5585. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5586. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5587. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5588. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5589. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5590. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5591. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5592. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5593. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5594. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5595. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5596. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5597. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5598. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5599. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5600. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5601. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5602. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5603. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5604. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5605. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5606. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5607. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5608. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5609. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5610. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5611. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5612. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5613. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5614. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5615. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5616. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5617. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5618. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5619. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5620. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5621. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5622. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5623. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5624. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5625. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5626. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5627. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5628. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5629. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5630. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5631. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5632. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5633. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5634. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5635. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5636. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5637. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5638. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5639. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5640. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5641. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5642. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5643. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5644. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5645. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5646. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5647. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5648. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5649. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5650. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5651. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5652. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5653. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5654. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5655. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5656. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5657. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5658. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5659. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5660. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5661. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5662. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5663. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5664. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5665. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5666. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5667. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5668. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5669. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5670. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5671. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5672. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5673. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5674. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5675. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5676. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5677. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5678. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5679. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5680. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5681. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5682. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5683. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5684. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5685. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5686. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5687. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5688. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5689. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5690. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5691. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5692. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5693. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5694. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5695. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5696. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5697. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5698. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5699. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5700. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5701. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5702. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5703. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5704. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5705. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5706. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5707. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5708. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5709. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5710. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5711. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5712. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5713. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5714. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5715. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5716. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5717. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5718. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5719. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5720. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5721. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5722. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5723. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5724. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5725. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5726. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5727. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5728. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5729. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5730. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5731. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5732. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5733. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5734. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5735. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5736. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5737. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5738. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5739. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5740. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5741. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5742. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5743. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5744. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5745. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5746. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5747. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5748. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5749. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5750. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5751. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5752. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5753. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5754. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5755. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5756. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5757. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5758. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5759. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5760. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5761. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5762. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5763. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5764. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5765. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5766. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5767. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5768. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5769. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5770. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5771. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5772. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5773. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5774. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5775. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5776. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5777. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5778. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5779. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5780. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5781. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5782. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5783. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5784. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5785. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5786. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5787. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5788. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5789. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5790. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5791. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5792. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5793. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5794. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5795. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5796. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5797. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5798. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5799. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5800. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5801. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5802. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5803. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5804. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5805. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5806. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5807. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5808. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5809. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5810. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5811. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5812. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5813. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5814. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5815. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5816. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5817. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5818. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5819. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5820. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5821. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5822. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5823. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5824. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5825. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5826. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5827. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5828. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5829. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5830. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5831. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5832. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5833. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5834. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5835. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5836. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5837. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5838. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5839. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5840. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5841. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5842. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5843. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm​.to/')]");
  5844. // obsolete start
  5845. }
  5846. //obsolete file hosts init end
  5847. //Add Host Example
  5848. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5849. {
  5850. addFileHost(
  5851. "datafile\.com\/\\w+",
  5852. 'var captchaPanel|<link href="/css/files_download.css"',
  5853. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5854. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5855. '<style type="text/css">',
  5856. "//a[contains(@href,'datafile.com')]",
  5857. true);
  5858. } */
  5859.  
  5860. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5861. {
  5862. var host = new Array(7);
  5863. host[0] = linkRegex;
  5864. host[1] = isAliveRegex;
  5865. host[2] = isDeadRegex;
  5866. host[3] = isUnavaRegex;
  5867. host[6] = ispremRegex;
  5868. host[4] = xpathEx;
  5869. tryLoop ? host[5] = true : host[5] = false;
  5870. http_file_hosts.push(host);
  5871. }
  5872. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5873. {
  5874. addFileHost(
  5875. "megafileupload\.com\/..\/file\/",
  5876. 'downloadbtn',
  5877. 'is not found',
  5878. 'optional--',
  5879. 'optional2--',
  5880. "//a[contains(@href,'megafileupload.com')]");
  5881. }
  5882. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5883. {
  5884. addFileHost(
  5885. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5886. 'download\\.gif"',
  5887. 'p_point">',
  5888. 'optional--',
  5889. 'optional2--',
  5890. "//a[contains(@href,'demo.ovh.eu')]");
  5891. }
  5892. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5893. {
  5894. addFileHost(
  5895. "xkeepfile\.com\/\\w+",
  5896. 'File has been found|Click here to download',
  5897. 'File cannot be found|class="error">',
  5898. 'optional--',
  5899. 'optional2--',
  5900. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5901. }
  5902. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5903. {
  5904. addFileHost(
  5905. "safelinking\\.net\/p\/\\w+",
  5906. 'color:green;"',
  5907. 'color:(?:red|orange);"',
  5908. 'color:(?:grey|brown);"',
  5909. 'optional2--',
  5910. "//a[contains(@href,'safelinking.net/p/')]",
  5911. true);
  5912. }
  5913. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5914. {
  5915. addFileHost(
  5916. "fastshare\\.cz\/\\d+\/\\w*",
  5917. 'dwntable">|speed-low',
  5918. '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',
  5919. 'optional--',
  5920. 'optional2--',
  5921. "//a[contains(@href,'fastshare.cz')]");
  5922. }
  5923. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5924. {
  5925. addFileHost(
  5926. "[fF]ast[sS]hare\\.org\/download",
  5927. 'Download ">',
  5928. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5929. 'optional--',
  5930. 'optional2--',
  5931. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5932. }
  5933. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5934. {
  5935. addFileHost(
  5936. "partage-facile\.com\/\\w+",
  5937. 'class="title"><strong>|colspan="2"',
  5938. 'Page introuvable|class="alert-message',
  5939. 'optional--',
  5940. 'optional2--',
  5941. "//a[contains(@href,'partage-facile.com')]");
  5942. }
  5943. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5944. {
  5945. addFileHost(
  5946. "rapidgator\\.net\/file\/\\w+",
  5947. '/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',
  5948. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5949. 'optional--',
  5950. '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',
  5951. "//a[contains(@href,'rapidgator.net/file')]",
  5952. true
  5953. );
  5954. }
  5955. if (GM_getValue("Check_relink_dot_us_links", false))
  5956. {
  5957. addFileHost(
  5958. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5959. 'online_detail\\.png" alt="Status',
  5960. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5961. 'unknown_detail\\.png" alt="Status',
  5962. 'optional2--',
  5963. "//a[contains(@href,'relink.us/')]"
  5964. );
  5965. }
  5966. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5967. {
  5968. addFileHost(
  5969. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5970. 'div id="dl"',
  5971. 'Sie haben den Link falsch',
  5972. 'optional--',
  5973. 'optional2--',
  5974. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5975. );
  5976. }
  5977. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5978. {
  5979. addFileHost(
  5980. "flyfiles\\.net\/\\w+",
  5981. 'download_button"|"Download file"',
  5982. 'File not found!|Файл не найден',
  5983. 'optional--',
  5984. 'optional2--',
  5985. "//a[contains(@href,'flyfiles.net/')]"
  5986. );
  5987. }
  5988. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5989. {
  5990. addFileHost(
  5991. "wikiupload\\.com\/\\w+",
  5992. 'download-button">',
  5993. 'Sorry, File not found',
  5994. 'optional--',
  5995. 'optional2--',
  5996. "//a[contains(@href,'wikiupload.com/')]"
  5997. );
  5998. }
  5999. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6000. {
  6001. addFileHost(
  6002. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6003. 'file\\.php">|Pobierz Plik',
  6004. 'Podany plik nie zosta',
  6005. 'optional--',
  6006. 'optional2--',
  6007. "//a[contains(@href,'hostuje.net/file')]"
  6008. );
  6009. }
  6010. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6011. {
  6012. addFileHost(
  6013. "gettyfile\\.ru\/\\d+",
  6014. 'download\\.gif border',
  6015. '<center><font size="3">',
  6016. 'optional--',
  6017. 'optional2--',
  6018. "//a[contains(@href,'gettyfile.ru/')]"
  6019. );
  6020. }
  6021. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6022. {
  6023. addFileHost(
  6024. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6025. 'download\\-file">',
  6026. 'col-1">\\s*<h1>',
  6027. 'optional--',
  6028. 'optional2--',
  6029. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6030. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6031. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6032. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6033. );
  6034. }
  6035. if (GM_getValue("Check_data_dot_hu_links", false))
  6036. {
  6037. addFileHost(
  6038. "data\\.hu\/get\/\\d+\/",
  6039. 'download_box_button',
  6040. 'missing\\.php',
  6041. 'optional--',
  6042. 'optional2--',
  6043. "//a[contains(@href,'data.hu/get')]",
  6044. true
  6045. );
  6046. }
  6047. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6048. {
  6049. addFileHost(
  6050. "filesmelt\\.com\/dl\/\\w+",
  6051. '(Your download is ready|Download File)',
  6052. 'Sorry, but your',
  6053. 'optional--',
  6054. 'optional2--',
  6055. "//a[contains(@href,'filesmelt.com/dl')]"
  6056. );
  6057. }
  6058. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6059. {
  6060. addFileHost(
  6061. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6062. 'premiumBtn"',
  6063. 'errorMessage"',
  6064. 'optional--',
  6065. 'optional2--',
  6066. "//a[contains(@href,'indowebster.com/download')]"
  6067. );
  6068. }
  6069. if (GM_getValue("Check_superload_dot_cz_links", false))
  6070. {
  6071. addFileHost(
  6072. "superload\\.cz\/dl\/\\w+",
  6073. 'icon-download">',
  6074. 'soubor nebyl nalezen',
  6075. 'optional--',
  6076. 'optional2--',
  6077. "//a[contains(@href,'superload.cz/dl')]"
  6078. );
  6079. }
  6080. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6081. {
  6082. addFileHost(
  6083. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6084. 'op" value="download',
  6085. 'class="err">|width:500px;text-align:left;">',
  6086. 'optional--',
  6087. 'optional2--',
  6088. "//a[contains(@href,'hulkfile.')]"
  6089. );
  6090. }
  6091. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6092. {
  6093. addFileHost(
  6094. "easybytez\\.com\/\\w+",
  6095. 'op" value="download',
  6096. 'stop_error\\.gif',
  6097. 'optional--',
  6098. 'optional2--',
  6099. "//a[contains(@href,'easybytez.com/')]"
  6100. );
  6101. }
  6102. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6103. {
  6104. addFileHost(
  6105. "filestore\\.com\\.ua\/\\?d=\\w+",
  6106. 'tdrow1>',
  6107. 'class=warn',
  6108. 'optional--',
  6109. 'optional2--',
  6110. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6111. );
  6112. }
  6113. if (GM_getValue("Check_netkups_dot_com_links", false))
  6114. {
  6115. addFileHost(
  6116. "netkups\\.com\/\\?d=\\w+",
  6117. 'submit">Continue',
  6118. 'page">File not found|deleted due to inactivity',
  6119. 'optional--',
  6120. 'optional2--',
  6121. "//a[contains(@href,'netkups.com/?d=')]"
  6122. );
  6123. }
  6124. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6125. {
  6126. addFileHost(
  6127. "openfile\\.ru\/(?:video\/|)\\d+",
  6128. 'videobox_left">',
  6129. 'blog_title">|not found on this server',
  6130. 'optional--',
  6131. 'optional2--',
  6132. "//a[contains(@href,'openfile.ru/')]"
  6133. );
  6134. }
  6135. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6136. {
  6137. addFileHost(
  6138. "extmatrix\\.com\/files\/\\w+",
  6139. 'div class="success"',
  6140. 'div class="error"',
  6141. 'optional--',
  6142. 'optional2--',
  6143. "//a[contains(@href,'extmatrix.com/files')]"
  6144. );
  6145. }
  6146. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6147. {
  6148. addFileHost(
  6149. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6150. 'content_lnkDownload',
  6151. 'error\\.aspx\\?',
  6152. 'optional--',
  6153. 'optional2--',
  6154. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6155. );
  6156. }
  6157. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6158. {
  6159. addFileHost(
  6160. "yourfilestore\\.com\/download\/\\d+\/",
  6161. 'download_data">',
  6162. 'may have been deleted|<h1>Sorry!<\/h1>',
  6163. 'optional--',
  6164. 'optional2--',
  6165. "//a[contains(@href,'yourfilestore.com/download')]"
  6166. );
  6167. }
  6168. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6169. {
  6170. addFileHost(
  6171. "nekaka\\.com\/d\/[\\w-]+",
  6172. 'downloadForm">',
  6173. 'invalid file link',
  6174. 'optional--',
  6175. 'optional2--',
  6176. "//a[contains(@href,'nekaka.com/d')]"
  6177. );
  6178. }
  6179. if (GM_getValue("Check_filebig_dot_net_links", false))
  6180. {
  6181. addFileHost(
  6182. "filebig\\.net\/files\/\\w+",
  6183. 'downloadFile">',
  6184. '<p>File not found<\/p>',
  6185. 'optional--',
  6186. 'optional2--',
  6187. "//a[contains(@href,'filebig.net/files')]"
  6188. );
  6189. }
  6190. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6191. {
  6192. addFileHost(
  6193. "files\\.filefront\\.com\/\/;\\d+;;",
  6194. 'downloadLink">',
  6195. 'File not found, you',
  6196. 'optional--',
  6197. 'optional2--',
  6198. "//a[contains(@href,'files.filefront.com')]"
  6199. );
  6200.  
  6201. addFileHost(
  6202. "gamefront\\.com\/files\/\\d+",
  6203. 'downloadLink">',
  6204. 'File not found, you',
  6205. 'optional--',
  6206. 'optional2--',
  6207. "//a[contains(@href,'gamefront.com/files')]"
  6208. );
  6209. }
  6210. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6211. {
  6212. addFileHost(
  6213. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6214. 'dnlLnk"',
  6215. 'already been deleted',
  6216. 'optional--',
  6217. 'optional2--',
  6218. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6219. );
  6220. }
  6221. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6222. {
  6223. addFileHost(
  6224. "hellupload\\.com\/\\w+",
  6225. '<h3>Download File<br',
  6226. 'id="podstrona">|AVOID_IE_BUG',
  6227. 'optional--',
  6228. 'optional2--',
  6229. "//a[contains(@href,'hellupload.com/')]"
  6230. );
  6231. }
  6232. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6233. {
  6234. addFileHost(
  6235. "free\\-uploading\\.com\/\\w+",
  6236. 'op" value="download',
  6237. 'class="err">|width:500px;text-align:left;">',
  6238. 'optional--',
  6239. 'optional2--',
  6240. "//a[contains(@href,'free-uploading.com/')]"
  6241. );
  6242. }
  6243. if (GM_getValue("Check_fileape_dot_com_links", false))
  6244. {
  6245. addFileHost(
  6246. "fileape\\.com\/download\\-",
  6247. 'button_dl\\.png',
  6248. 'does not exist\\.',
  6249. 'optional--',
  6250. 'optional2--',
  6251. "//a[contains(@href,'fileape.com/')]"
  6252. );
  6253. }
  6254. if (GM_getValue("Check_uppit_dot_com_links", false))
  6255. {
  6256. addFileHost(
  6257. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6258. 'op" value="download',
  6259. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6260. 'optional--',
  6261. 'optional2--',
  6262. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6263. true
  6264. );
  6265. }
  6266. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6267. {
  6268. addFileHost(
  6269. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6270. 'op" value="download',
  6271. '>File Not Found<',
  6272. 'optional--',
  6273. 'optional2--',
  6274. "//a[contains(@href,'nosupload.com')]",
  6275. true
  6276. );
  6277. }
  6278. if (GM_getValue("Check_filesin_dot_com_links", false))
  6279. {
  6280. addFileHost(
  6281. "filesin\\.com\/\\w+\/download\\.html",
  6282. 'download_area">',
  6283. 'error_note">',
  6284. 'optional--',
  6285. 'optional2--',
  6286. "//a[contains(@href,'filesin.com/')]",
  6287. true
  6288. );
  6289. }
  6290. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6291. {
  6292. addFileHost(
  6293. "nowdownload\\.ch\/dl\/\\w+",
  6294. 'alert-success"',
  6295. 'This file does not exist!',
  6296. 'The file is being transfered',
  6297. 'optional2--',
  6298. "//a[contains(@href,'nowdownload.ch/dl')]"
  6299. );
  6300. }
  6301. if (GM_getValue("Check_axifile_dot_com_links", false))
  6302. {
  6303. addFileHost(
  6304. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6305. 'Dbutton_big"',
  6306. 'download\\-error\\.php',
  6307. 'optional--',
  6308. 'optional2--',
  6309. "//a[contains(@href,'axifile.com/')]"
  6310. );
  6311. }
  6312. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6313. {
  6314. addFileHost(
  6315. "hulkshare\.com\/\\w+",
  6316. 'download\.sam\.png|This is a private file|id="filename',
  6317. 'File does not exist|fingerprint protected copyright',
  6318. 'optional--',
  6319. 'optional2--',
  6320. "//a[contains(@href,'hulkshare.com')]"
  6321. );
  6322. }
  6323. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6324. {
  6325. addFileHost(
  6326. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6327. 'col-1">\\s*<s',
  6328. 'col-1">\\s*<h',
  6329. 'optional--',
  6330. 'optional2--',
  6331. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6332. );
  6333. }
  6334. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6335. {
  6336. addFileHost(
  6337. "turbobit\\.(?:net|pl)",
  6338. 'id="download-gate-info|id="file-list',
  6339. 'afterWait()|no files in this folder',
  6340. 'optional--',
  6341. 'optional2--',
  6342. "//a[contains(@href,'turbobit.net')]"
  6343. );
  6344. }
  6345. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6346. {
  6347. addFileHost(
  6348. "hitfile\\.net\/download\/folder\/\\d+",
  6349. 'content">\\s*<s',
  6350. 'content">\\s*<h',
  6351. 'optional--',
  6352. 'optional2--',
  6353. "//a[contains(@href,'hitfile.net/download/folder')]"
  6354. );
  6355. }
  6356. if (GM_getValue("Check_movshare_dot_net_links", false))
  6357. {
  6358. addFileHost(
  6359. "movshare\\.net\\/video\\/\\w+",
  6360. 'optional--"',
  6361. 'no longer exists',
  6362. 'optional--',
  6363. 'optional2--',
  6364. "//a[contains(@href,'movshare.net/video')]"
  6365. );
  6366. }
  6367. if (GM_getValue("Check_plunder_dot_com_links", false))
  6368. {
  6369. addFileHost(
  6370. "plunder\.com\/\\w+",
  6371. 'x\/download\\.gif',
  6372. '404 - File or directory not found.',
  6373. 'optional--',
  6374. 'optional2--',
  6375. "//a[contains(@href,'plunder.com')]"
  6376. );
  6377. }
  6378. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6379. {
  6380. addFileHost(
  6381. "mafiastorage\\.com\/\\w+",
  6382. 'op" value="download',
  6383. 'class="err">|style="width:500px;text-align:left;"',
  6384. 'optional--',
  6385. 'optional2--',
  6386. "//a[contains(@href,'mafiastorage.com/')]"
  6387. );
  6388. }
  6389. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6390. {
  6391. addFileHost(
  6392. "uploadspace\.pl\/plik\\w+",
  6393. 'Downloading .+? \\|',
  6394. 'Downloading a file',
  6395. 'optional--',
  6396. 'optional2--',
  6397. "//a[contains(@href,'uploadspace.pl/plik')]"
  6398. );
  6399. }
  6400. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6401. {
  6402. addFileHost(
  6403. "uploadingit\\.com\/file\/\\w+",
  6404. 'downloadTitle">',
  6405. 'deleteContent">',
  6406. 'optional--',
  6407. 'optional2--',
  6408. "//a[contains(@href,'uploadingit.com/file')]"
  6409. );
  6410. }
  6411. if (GM_getValue("Check_rghost_dot_net_links", false))
  6412. {
  6413. addFileHost(
  6414. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6415. 'download_link|btn large download',
  6416. 'file is restricted|File is deleted|503 Service Unavailable',
  6417. 'optional--',
  6418. 'optional2--',
  6419. "//a[contains(@href,'rghost.')]"
  6420. );
  6421. }
  6422. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6423. {
  6424. addFileHost(
  6425. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6426. '">Staženo:\\s*<\/span>',
  6427. 'Soubor, který hledáte nenalezen',
  6428. 'optional--',
  6429. 'optional2--',
  6430. "//a[contains(@href,'xdisk.cz/')]"
  6431. );
  6432. }
  6433. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6434. {
  6435. addFileHost(
  6436. "expressleech\.com\/\\w+",
  6437. 'src="/img/Download.gif"|var _gaq =',
  6438. 'var rr =|403 Forbidden',
  6439. 'optional--',
  6440. 'optional2--',
  6441. "//a[contains(@href,'expressleech.com')]");
  6442. }
  6443. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6444. {
  6445. addFileHost(
  6446. "2downloadz\.com\/\\w+",
  6447. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6448. 'color="#006DCC|File error',
  6449. 'optional--',
  6450. 'optional2--',
  6451. "//a[contains(@href,'2downloadz.com')]");
  6452. }
  6453. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6454. {
  6455. addFileHost(
  6456. "mightyupload\.com\/\\w+",
  6457. 'background:#ccc;text-align|CONTENT="Download File"',
  6458. 'style="background:#eee|var rr =|File Not Found',
  6459. 'error-code">1010',
  6460. 'optional2--',
  6461. "//a[contains(@href,'mightyupload.com')]");
  6462. }
  6463. if (GM_getValue("Check_anysend_dot_com_links", false))
  6464. {
  6465. addFileHost(
  6466. "anysend\.com\/\\w+",
  6467. 'var openCalled=false;|content="noindex"',
  6468. '_trackPageview',
  6469. 'optional--',
  6470. 'optional2--',
  6471. "//a[contains(@href,'anysend.com')]");
  6472. }
  6473. if (GM_getValue("Check_datafile_dot_com_links", false))
  6474. {
  6475. addFileHost(
  6476. "datafile\.com\/\\w+",
  6477. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6478. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6479. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance|Unknown Error',
  6480. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">', //<style type="text/css">
  6481. "//a[contains(@href,'datafile.com')]",
  6482. true);
  6483. }
  6484. if (GM_getValue("Check_upstore_dot_net_links", false))
  6485. {
  6486. addFileHost(
  6487. "upstore\.net\/\\w+",
  6488. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6489. 'File not found|onload="redirect|class="error">',
  6490. 'optional--',
  6491. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6492. "//a[contains(@href,'upstore.net')]");
  6493. }
  6494. if (GM_getValue("Check_upsto_dot_re_links", false))
  6495. {
  6496. addFileHost(
  6497. "upsto\.re\/\\w+",
  6498. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6499. 'File not found|onload="redirect|class="error">',
  6500. 'optional--',
  6501. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6502. "//a[contains(@href,'upsto.re')]");
  6503. }
  6504. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6505. {
  6506. addFileHost(
  6507. "speedy\.sh\/\\w+",
  6508. 'bgcolor=#eeeeee|class="addthis',
  6509. 'File not found|downloadfilenamenotfound>',
  6510. 'optional--',
  6511. 'optional2--',
  6512. "//a[contains(@href,'speedy.sh')]");
  6513. }
  6514. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6515. {
  6516. addFileHost(
  6517. "sanshare\.com\/\\w+",
  6518. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6519. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6520. 'optional--',
  6521. 'optional2--',
  6522. "//a[contains(@href,'sanshare.com')]");
  6523. }
  6524. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6525. {
  6526. addFileHost(
  6527. "kingfiles\.net\/\\w+",
  6528. 'method_free',
  6529. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6530. 'optional--',
  6531. 'optional2--',
  6532. "//a[contains(@href,'kingfiles.net')]");
  6533. }
  6534. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6535. {
  6536. addFileHost(
  6537. "uploadhero\\.co\/dl\/\\w+",
  6538. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6539. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6540. 'optional--',
  6541. 'optional2--',
  6542. "//a[contains(@href,'uploadhero.co/dl')]"
  6543. );
  6544. } */
  6545. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6546. {
  6547. addFileHost(
  6548. "secureupload\\.eu\/\\w+",
  6549. 'Downloading',
  6550. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6551. 'optional--',
  6552. 'optional2--',
  6553. "//a[contains(@href,'secureupload.eu')]"
  6554. );
  6555. }
  6556. if (GM_getValue("Check_ge_dot_tt_links", false))
  6557. {
  6558. addFileHost(
  6559. "ge\.tt\/\\w+",
  6560. 'downloads pic',
  6561. 'is NOT the same as',
  6562. 'optional--',
  6563. 'optional2--',
  6564. "//a[contains(@href,'ge.tt')]");
  6565. }
  6566. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6567. {
  6568. addFileHost(
  6569. "filefactory\.com\/\\w+",
  6570. 'div id="file_holder"|download.css',
  6571. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6572. 'Server Maintenance|temporarily overloaded',
  6573. 'Premium Account Required',
  6574. "//a[contains(@href,'filefactory.com')]");
  6575. }
  6576. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6577. {
  6578. addFileHost(
  6579. "filesflash\.net\/\\w+",
  6580. 'align:right">Filename:',
  6581. 'class="msg">',
  6582. 'optional--',
  6583. 'optional2--',
  6584. "//a[contains(@href,'filesflash.net')]");
  6585. }
  6586. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6587. {
  6588. addFileHost(
  6589. "rapidgator\\.net\/folder\/\\w+",
  6590. 'href="/folder/',
  6591. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6592. 'optional--',
  6593. 'optional2--',
  6594. "//a[contains(@href,'rapidgator.net/folder')]",
  6595. true
  6596. );
  6597. }
  6598. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6599. {
  6600. addFileHost(
  6601. "salefiles\.com\/\\w+",
  6602. 'name="method_free',
  6603. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6604. 'optional--',
  6605. 'optional2--',
  6606. "//a[contains(@href,'salefiles.com')]");
  6607. }
  6608. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6609. {
  6610. addFileHost(
  6611. "megairon\.net\/\\w+",
  6612. 'border: 5px #ffeb90 solid;',
  6613. 'CONTENT="Download File ">|var rr =',
  6614. 'error-code">523',
  6615. 'optional2--',
  6616. "//a[contains(@href,'megairon.net')]",
  6617. true);
  6618. } */
  6619. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6620. {
  6621. addFileHost(
  6622. "datoid\.cz\/\\w+",
  6623. 'btn-download|class="icon-download-large"',
  6624. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6625. 'optional--',
  6626. 'optional2--',
  6627. "//a[contains(@href,'datoid.cz')]");
  6628. }
  6629. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6630. {
  6631. addFileHost(
  6632. "stiahni\.si\/\\w+",
  6633. 'report_icon.png"|slow-download-button',
  6634. 'none.png|deleted|<h2>Error 500</h2>',
  6635. 'optional--',
  6636. 'optional2--',
  6637. "//a[contains(@href,'stiahni.si')]");
  6638. }
  6639. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6640. {
  6641. addFileHost(
  6642. "cloudstor\.es\/\\w+",
  6643. '"btn_download"',
  6644. '404: Page Not Found',
  6645. 'optional--',
  6646. 'optional2--',
  6647. "//a[contains(@href,'cloudstor.es')]");
  6648. }
  6649. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6650. {
  6651. addFileHost(
  6652. "streamfile\.com\/\\w+",
  6653. 'class="btn',
  6654. 'class="green-btn',
  6655. 'optional--',
  6656. 'optional2--',
  6657. "//a[contains(@href,'streamfile.com')]");
  6658. }
  6659. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6660. {
  6661. addFileHost(
  6662. "eyesfile\.ca\/\\w+",
  6663. 'value="Get Link',
  6664. 'var rr =',
  6665. 'optional--',
  6666. 'optional2--',
  6667. "//a[contains(@href,'eyesfile.ca')]");
  6668. }
  6669. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6670. {
  6671. addFileHost(
  6672. "filemoney\.com\/\\w+",
  6673. 'og:title',
  6674. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6675. 'error-code">1010',
  6676. 'optional2--',
  6677. "//a[contains(@href,'filemoney.com')]");
  6678. }
  6679. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6680. {
  6681. addFileHost(
  6682. "uploadboy\.com\/\\w+",
  6683. 'width="740">|method_free',
  6684. 'var rr =|background:#ffffff|not be found|file was removed',
  6685. 'optional--',
  6686. 'optional2--',
  6687. "//a[contains(@href,'uploadboy.com')]");
  6688. }
  6689. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6690. {
  6691. addFileHost(
  6692. "uploadboy\.com\/\\w+",
  6693. 'width="740">|method_free',
  6694. 'var rr =|background:#ffffff|not be found|file was removed',
  6695. 'optional--',
  6696. 'optional2--',
  6697. "//a[contains(@href,'uploadboy.me')]");
  6698. }
  6699. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6700. {
  6701. addFileHost(
  6702. "speedshare\.eu\/\\w+",
  6703. 'favicon.png|color:#3d87c0|cross.png"',
  6704. 'var rr =|File Not Found|style="background:#eee',
  6705. 'optional--',
  6706. 'optional2--',
  6707. "//a[contains(@href,'speedshare.eu')]");
  6708. }
  6709. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6710. {
  6711. addFileHost(
  6712. "unlimitzone\.com\/\\w+",
  6713. 'name="method_free',
  6714. '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',
  6715. 'optional--',
  6716. 'optional2--',
  6717. "//a[contains(@href,'unlimitzone.com')]");
  6718. }
  6719. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6720. {
  6721. addFileHost(
  6722. "rioupload\.com\/\\w+",
  6723. 'sell.jpg',
  6724. 'var rr =',
  6725. 'optional--',
  6726. 'optional2--',
  6727. "//a[contains(@href,'rioupload.com')]");
  6728. }
  6729. if (GM_getValue("Check_rg_dot_to_links", false))
  6730. {
  6731. addFileHost(
  6732. "rg\.to\/\\w+",
  6733. '/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',
  6734. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6735. 'optional--',
  6736. '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',
  6737. "//a[contains(@href,'rg.to')]");
  6738. }
  6739. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6740. {
  6741. addFileHost(
  6742. "jumbofiles\.org\/\\w+",
  6743. 'H71C5.png|class="downloadtitle">',
  6744. 'var swfu|ViewSourceBIN.png',
  6745. 'optional--',
  6746. 'optional2--',
  6747. "//a[contains(@href,'jumbofiles.org')]");
  6748. }
  6749. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6750. {
  6751. addFileHost(
  6752. "fshare\\.vn\/file\/\\w+",
  6753. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6754. 'không tồn tại|class="color_red m_t_50"',
  6755. 'optional--',
  6756. 'optional2--',
  6757. "//a[contains(@href,'fshare.vn/file')]",
  6758. true
  6759. );
  6760. }
  6761. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6762. {
  6763. addFileHost(
  6764. "spaceforfiles\.com\/\\w+",
  6765. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6766. 'var rr =|AVOID_IE_BUG',
  6767. 'optional--',
  6768. 'optional2--',
  6769. "//a[contains(@href,'spaceforfiles.com')]");
  6770. }
  6771. if (GM_getValue("Check_google_dot_com_links", false))
  6772. {
  6773. addFileHost(
  6774. "google\\.com\/file\/\\w+",
  6775. 'content="!">|color:#2d2d2d',
  6776. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6777. 'optional--',
  6778. 'optional2--',
  6779. "//a[contains(@href,'google.com/file')]",
  6780. true
  6781. );
  6782. }
  6783. if (GM_getValue("Check_google_dot_com_links", false))
  6784. {
  6785. addFileHost(
  6786. "docs.google.com\/\\w+",
  6787. 'content="!">|color:#2d2d2d',
  6788. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6789. 'optional--',
  6790. 'optional2--',
  6791. "//a[contains(@href,'docs.google.com')]",
  6792. true
  6793. );
  6794. }
  6795. if (GM_getValue("Check_google_dot_com_links", false))
  6796. {
  6797. addFileHost(
  6798. "drive.google.com\/\\w+",
  6799. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6800. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6801. 'optional--',
  6802. 'optional2--',
  6803. "//a[contains(@href,'drive.google.com')]",
  6804. true
  6805. );
  6806. }
  6807. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6808. {
  6809. addFileHost(
  6810. "up.media1fire\.com\/\\w+",
  6811. 'class="addthis_|value="download',
  6812. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6813. 'optional--',
  6814. 'optional2--',
  6815. "//a[contains(@href,'up.media1fire.com')]");
  6816. }
  6817. if (GM_getValue("Check_depfile_dot_com_links", false))
  6818. {
  6819. addFileHost(
  6820. "depfile\.com\/\\w+",
  6821. 'logo_0.png|downloads.gif"|verifycode',
  6822. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6823. 'optional--',
  6824. 'available only for Premium users',
  6825. "//a[contains(@href,'depfile.com')]");
  6826. }
  6827. if (GM_getValue("Check_go4up_dot_com_links", false))
  6828. {
  6829. addFileHost(
  6830. "go4up\.com\/\\w+",
  6831. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6832. '<title>GO4UP|dmca',
  6833. 'optional--',
  6834. 'optional2--',
  6835. "//a[contains(@href,'go4up.com')]");
  6836. }
  6837. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6838. {
  6839. addFileHost(
  6840. "redbunker\.net\/\\w+",
  6841. 'name="method_free"',
  6842. 'color="red">Unknow / Bilinmiyor<',
  6843. 'optional--',
  6844. '2.3 GB',
  6845. "//a[contains(@href,'redbunker.net')]");
  6846. }
  6847. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6848. {
  6849. addFileHost(
  6850. "divxpress\.com\/\\w+",
  6851. 'btn_download|logo.png"',
  6852. 'AVOID_IE_BUG|var rr =',
  6853. 'optional--',
  6854. 'optional2--',
  6855. "//a[contains(@href,'divxpress.com')]");
  6856. }
  6857. if (GM_getValue("Check_anafile_dot_com_links", false))
  6858. {
  6859. addFileHost(
  6860. "anafile\.com\/\\w+",
  6861. 'width="881" valign="top|color="#800080"|name="go"',
  6862. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6863. 'optional--',
  6864. 'optional2--',
  6865. "//a[contains(@href,'anafile.com')]");
  6866. }
  6867. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6868. {
  6869. addFileHost(
  6870. "uploadable\\.ch\/file\/\\w+",
  6871. 'captcha.js"|payment.js"|class="btn_download"',
  6872. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6873. 'optional--',
  6874. 'optional2--',
  6875. "//a[contains(@href,'uploadable.ch/file')]",
  6876. true
  6877. );
  6878. }
  6879. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6880. {
  6881. addFileHost(
  6882. "arabloads\.net\/\\w+",
  6883. 'name="method_free"|name="method_premium"',
  6884. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6885. 'optional--',
  6886. 'optional2--',
  6887. "//a[contains(@href,'arabloads.net')]");
  6888. }
  6889. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6890. {
  6891. addFileHost(
  6892. "sharerepo\.com\/\\w+",
  6893. 'name="method_free"',
  6894. 'var public_on=|The file you were looking for could not be found',
  6895. 'optional--',
  6896. 'optional2--',
  6897. "//a[contains(@href,'sharerepo.com')]");
  6898. }
  6899. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6900. {
  6901. addFileHost(
  6902. "sfshare\.se\/\\w+",
  6903. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6904. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6905. 'optional--',
  6906. 'optional2--',
  6907. "//a[contains(@href,'sfshare.se')]");
  6908. }
  6909. if (GM_getValue("Check_files_dot_fm_links", false))
  6910. {
  6911. addFileHost(
  6912. "files\.fm\/\\w+",
  6913. 'dl.png"|background-color: transparent',
  6914. 'margin: 40px 40px|background: none;',
  6915. 'optional--',
  6916. 'optional2--',
  6917. "//a[contains(@href,'files.fm')]");
  6918. }
  6919. if (GM_getValue("Check_koofile_dot_com_links", false))
  6920. {
  6921. addFileHost(
  6922. "koofile\.com\/\\w+",
  6923. 'value="download1">|name="method_free"',
  6924. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6925. 'optional--',
  6926. 'optional2--',
  6927. "//a[contains(@href,'koofile.com')]");
  6928. }
  6929. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6930. {
  6931. addFileHost(
  6932. "vidxden\\.com\/\\w+",
  6933. 'Continue to Video"',
  6934. 'No such file',
  6935. 'optional--',
  6936. 'optional2--',
  6937. "//a[contains(@href,'vidxden.com')]"
  6938. );
  6939. }
  6940. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6941. {
  6942. addFileHost(
  6943. "muchshare\\.net\/\\w+",
  6944. 'id="btn_download"',
  6945. 'File Not Found|width: 500px; text-align: left;',
  6946. 'optional--',
  6947. 'optional2--',
  6948. "//a[contains(@href,'muchshare.net')]"
  6949. );
  6950. }
  6951. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6952. {
  6953. addFileHost(
  6954. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6955. 'Details zur Datei|Details page',
  6956. 'Jetzt hochladen|upload now',
  6957. 'optional--',
  6958. 'optional2--',
  6959. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6960. );
  6961. }
  6962. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6963. {
  6964. addFileHost(
  6965. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6966. 'downloadbtn"',
  6967. 'DL_FileNotFound',
  6968. 'optional--',
  6969. 'optional2--',
  6970. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6971. );
  6972. }
  6973. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6974. {
  6975. addFileHost(
  6976. "fileflyer\.com\/view\/\\w+",
  6977. '(?:dwl|locked)btn"',
  6978. 'error.gif"|link">Removed|removedlink">',
  6979. 'optional--',
  6980. 'optional2--',
  6981. "//a[contains(@href,'fileflyer.com')]"
  6982. );
  6983. }
  6984. if (GM_getValue("Check_filestore_dot_to_links", false))
  6985. {
  6986. addFileHost(
  6987. "filestore\.to\/\\?d=\\w+",
  6988. '"downloading"',
  6989. 'Datei wurde nicht gefunden',
  6990. 'optional--',
  6991. 'optional2--',
  6992. "//a[contains(@href,'filestore.to')]"
  6993. );
  6994. }
  6995. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6996. {
  6997. addFileHost(
  6998. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6999. 'fz24">Download|class="pl15">',
  7000. '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',
  7001. 'optional--',
  7002. 'optional2--',
  7003. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7004. );
  7005. }
  7006. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  7007. {
  7008. addFileHost(
  7009. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7010. 'File size:',
  7011. 'file is not found',
  7012. 'optional--',
  7013. 'optional2--',
  7014. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7015. );
  7016. } */
  7017. if (GM_getValue("Check_datei_dot_to_links", false))
  7018. {
  7019. addFileHost(
  7020. "datei\\.to\/\\??\\w+",
  7021. 'icon_downloaden\\.png|>Download starten<',
  7022. 'Datei wurde nicht gefunden|icon_deleted.png',
  7023. 'optional--',
  7024. 'optional2--',
  7025. "//a[contains(@href,'datei.to')]"
  7026. );
  7027. }
  7028. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7029. {
  7030. addFileHost(
  7031. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7032. '<body class="body" id="body">|value="Slow Download"',
  7033. '<body class="body" >',
  7034. 'optional--',
  7035. 'optional2--',
  7036. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7037. );
  7038. }
  7039. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7040. {
  7041. addFileHost(
  7042. "uploadhero\\.com\/dl\/\\w+",
  7043. 'content-dl">',
  7044. 'men_file_lost\\.jpg"',
  7045. 'optional--',
  7046. 'optional2--',
  7047. "//a[contains(@href,'uploadhero.com/dl')]"
  7048. );
  7049. } */
  7050. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7051. {
  7052. addFileHost(
  7053. "unibytes\\.com\/[\\w\.]+",
  7054. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7055. 'File not found|Файл не найден|',
  7056. 'optional--',
  7057. 'optional2--',
  7058. "//a[contains(@href,'unibytes.com')]"
  7059. );
  7060. }
  7061. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7062. {
  7063. addFileHost(
  7064. "www\\.hellshare\\.com\/\\d+",
  7065. 'tab\\-details"',
  7066. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7067. 'optional--',
  7068. 'optional2--',
  7069. "//a[contains(@href,'www.hellshare.com')]"
  7070. );
  7071. }
  7072. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7073. {
  7074. addFileHost(
  7075. "www\\.download.cz.hellshare\\.com\/\\w+",
  7076. 'tab\\-details"',
  7077. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7078. 'optional--',
  7079. 'optional2--',
  7080. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7081. );
  7082. }
  7083. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7084. {
  7085. addFileHost(
  7086. "quickshare\\.cz\/slozka-\\d+",
  7087. 'Počet souborů: <strong>[1-9]',
  7088. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7089. 'optional--',
  7090. 'optional2--',
  7091. "//a[contains(@href,'quickshare.cz/slozka')]"
  7092. );
  7093. } */
  7094. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7095. {
  7096. addFileHost(
  7097. "filefactory\\.com\/f\/\\w+",
  7098. 'folderFileList">',
  7099. 'table class="items"|Pointer" class="red">',
  7100. 'optional--',
  7101. 'optional2--',
  7102. "//a[contains(@href,'filefactory.com/f/')]"
  7103. );
  7104. }
  7105. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7106. {
  7107. addFileHost(
  7108. "netfolder\\.in\/\\w+",
  7109. 'list" value="http',
  7110. 'InPage_Error">|list" value=""',
  7111. 'optional--',
  7112. 'optional2--',
  7113. "//a[contains(@href,'netfolder.in')]"
  7114. );
  7115. } */
  7116. if (GM_getValue("Check_load_dot_to_links", false))
  7117. {
  7118. addFileHost(
  7119. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7120. '"download_table_left">Size',
  7121. 'Can\'t find file',
  7122. 'optional--',
  7123. 'optional2--',
  7124. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7125. );
  7126. }
  7127. if (GM_getValue("Check_divshare_dot_com_links", false))
  7128. {
  7129. addFileHost(
  7130. "divshare\\.com\/download\/",
  7131. 'download_new\.png',
  7132. 'have been removed',
  7133. 'optional--',
  7134. 'optional2--',
  7135. "//a[contains(@href,'divshare.com')]"
  7136. );
  7137. }
  7138. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7139. {
  7140. addFileHost(
  7141. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7142. 'class="nazev-souboru',
  7143. '<div class="background margin-top vlevo" style="width: 600px;">',
  7144. 'optional--',
  7145. 'optional2--',
  7146. "//a[contains(@href,'euroshare.eu/file')]"
  7147. );
  7148. }
  7149. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7150. {
  7151. addFileHost(
  7152. 'files\\.mail\\.ru/(?:\\w*)',
  7153. 'fileList',
  7154. 'errorMessage',
  7155. 'optional--',
  7156. 'optional2--',
  7157. "//a[contains(@href,'files.mail.ru')]"
  7158. );
  7159. }
  7160. if (GM_getValue("Check_megashares_dot_com_links", false))
  7161. {
  7162. addFileHost(
  7163. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7164. 'Filesize',
  7165. 'Invalid|deleted|Could not download file',
  7166. 'slots|scheduled maintenance',
  7167. 'optional2--',
  7168. "//a[contains(@href,'megashares.com/')]"
  7169. );
  7170. }
  7171. if (GM_getValue("Check_narod_dot_ru_links", false))
  7172. {
  7173. addFileHost(
  7174. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7175. 'b-submit|action="resource.download"',
  7176. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7177. 'Внутренняя ошибка сервиса',
  7178. 'optional2--',
  7179. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7180. );
  7181. }
  7182. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7183. {
  7184. addFileHost(
  7185. "rayfile\\.com\/",
  7186. 'FILEtitleTXT',
  7187. 'blueRow',
  7188. 'optional--',
  7189. 'optional2--',
  7190. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7191. );
  7192. }
  7193. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7194. {
  7195. addFileHost(
  7196. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7197. 'button_green_body"',
  7198. 'error">',
  7199. 'optional--',
  7200. 'optional2--',
  7201. "//a[contains(@href,'filesmonster.com/download')]"
  7202. );
  7203. }
  7204. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7205. {
  7206. addFileHost(
  7207. 'usaupload\\.net\/d\/(?:\w*)',
  7208. '<strong>File size:</strong>',
  7209. 'is not available',
  7210. 'optional--',
  7211. 'optional2--',
  7212. "//a[contains(@href,'usaupload.net/d/')]"
  7213. );
  7214. }
  7215. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7216. {
  7217. addFileHost(
  7218. 'sendspace\\.com\/file\/\\w+',
  7219. 'file_description',
  7220. 'msg error"',
  7221. 'optional--',
  7222. 'optional2--',
  7223. "//a[contains(@href,'sendspace.com/file')]"
  7224. );
  7225. }
  7226. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7227. {
  7228. addFileHost(
  7229. 'sendspace\\.pl\/file\/\\w+',
  7230. 'download_file"',
  7231. 'Podany plik nie',
  7232. 'optional--',
  7233. 'optional2--',
  7234. "//a[contains(@href,'sendspace.pl/file')]"
  7235. );
  7236. }
  7237. if (GM_getValue("Check_uploading_dot_com_links", false))
  7238. {
  7239. addFileHost(
  7240. 'uploading\\.com\/(?:files\/)?\\w+',
  7241. 'free_method">',
  7242. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7243. 'optional--',
  7244. 'optional2--',
  7245. "//a[contains(@href,'uploading.com')]"
  7246. );
  7247. }
  7248. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7249. {
  7250. addFileHost(
  7251. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7252. 'fileId"',
  7253. 'error">',
  7254. 'optional--',
  7255. 'optional2--',
  7256. "//a[contains(@href,'gigasize.com/get')]"
  7257. );
  7258. }
  7259. if (GM_getValue("Check_good_dot_com_links", false))
  7260. {
  7261. addFileHost(
  7262. 'good\\.net\/(?:_|dl)',
  7263. 'Free Download',
  7264. 'Not Found',
  7265. 'Forbidden',
  7266. 'optional2--',
  7267. "//a[contains(@href,'good.net')]"
  7268. );
  7269. }
  7270. if (GM_getValue("Check_2shared_dot_com_links", false))
  7271. {
  7272. addFileHost(
  7273. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7274. 'File size',
  7275. 'File not found|is not valid|/images/important.gif',
  7276. 'optional--',
  7277. 'optional2--',
  7278. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7279. );
  7280. }
  7281. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7282. {
  7283. addFileHost(
  7284. 'turboupload\\.com\/\\w*',
  7285. 'You have requested',
  7286. 'File Not Found',
  7287. 'optional--',
  7288. 'optional2--',
  7289. "//a[contains(@href,'turboupload.com')]"
  7290. );
  7291. }
  7292. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7293. {
  7294. addFileHost(
  7295. 'gigapeta\\.com\/dl\/',
  7296. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7297. '404|page_error',
  7298. 'optional--',
  7299. 'optional2--',
  7300. "//a[contains(@href,'gigapeta.com/dl')]"
  7301. );
  7302. }
  7303. if (GM_getValue("Check_veehd_dot_com_links", false))
  7304. {
  7305. addFileHost(
  7306. 'veehd\.com\/video\/.*?',
  7307. 'No sound|Download video',
  7308. 'Featured Videos',
  7309. 'optional--',
  7310. 'optional2--',
  7311. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7312. );
  7313. }
  7314. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7315. {
  7316. addFileHost(
  7317. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7318. 'fast_download_form">|submit_sms_download',
  7319. '<p style="text-align:center">',
  7320. 'optional--',
  7321. 'optional2--',
  7322. "//a[contains(@href,'vip-file.com/download')]"
  7323. );
  7324. }
  7325. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7326. {
  7327. addFileHost(
  7328. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7329. 'download\\-pnl ',
  7330. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7331. 'optional--',
  7332. 'optional2--',
  7333. "//a[contains(@href,'letitbit.net/download')]"
  7334. );
  7335. }
  7336. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7337. {
  7338. addFileHost(
  7339. 'ifolder\.ru\/\\d+',
  7340. 'file-info',
  7341. 'ui-state-error',
  7342. 'optional--',
  7343. 'optional2--',
  7344. "//a[contains(@href,'ifolder.ru')]"
  7345. );
  7346. }
  7347. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7348. {
  7349. addFileHost(
  7350. 'fileswap\\.com\/dl\/\\w+',
  7351. 'bttnDownloadLink"',
  7352. 'rounded_block_error"',
  7353. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7354. 'optional2--',
  7355. "//a[contains(@href,'fileswap.com/dl')]"
  7356. );
  7357. }
  7358. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7359. {
  7360. addFileHost(
  7361. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7362. 'var __error = 0|id="recaptchaPanel">',
  7363. 'FILES__DOESNT_EXIST|removed or did not exist',
  7364. 'optional--',
  7365. 'optional2--',
  7366. "//a[contains(@href,'filecloud.io/')]"
  7367. );
  7368. addFileHost(
  7369. 'ifile\\.it\/\\w+',
  7370. 'var __error = 0',
  7371. 'FILES__DOESNT_EXIST',
  7372. 'optional--',
  7373. 'optional2--',
  7374. "//a[contains(@href,'ifile.it/')]"
  7375. );
  7376. }
  7377. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7378. {
  7379. addFileHost(
  7380. 'solidfiles\\.com\/d\/\\w+',
  7381. 'id="download"|content="Download',
  7382. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7383. 'optional--',
  7384. 'optional2--',
  7385. "//a[contains(@href,'solidfiles.com/d')]"
  7386. );
  7387. }
  7388. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7389. {
  7390. addFileHost(
  7391. "(?:.\\.|)shareflare\\.net",
  7392. 'download-pnl|<div class="premium-block">',
  7393. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7394. 'optional--',
  7395. 'optional2--',
  7396. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7397. );
  7398. }
  7399. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7400. {
  7401. addFileHost(
  7402. "u18116681.shareflare\\.net",
  7403. 'download-pnl|<div class="premium-block">',
  7404. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7405. 'optional--',
  7406. 'optional2--',
  7407. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7408. );
  7409. }
  7410. if (GM_getValue("Check_uloz_dot_to_links", false))
  7411. {
  7412. addFileHost(
  7413. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7414. 'fileDownload">|fileSize">',
  7415. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7416. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7417. 'optional2--',
  7418. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7419. true
  7420. );
  7421. }
  7422. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7423. {
  7424. addFileHost(
  7425. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7426. 'file\\-list-orderby|section-filedetail">',
  7427. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7428. 'optional--',
  7429. 'optional2--',
  7430. "//a[contains(@href,'hellspy.')]"
  7431. );
  7432. }
  7433. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7434. {
  7435. addFileHost(
  7436. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7437. '<body onload="">',
  7438. 'neexistuje|not exist',
  7439. 'optional--',
  7440. 'optional2--',
  7441. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7442. );
  7443. }
  7444. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7445. {
  7446. addFileHost(
  7447. "stahovanizasms\\.cz\/\\w+",
  7448. 'download\\.png>|font-size:11px><tr>',
  7449. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7450. 'optional--',
  7451. 'optional2--',
  7452. "//a[contains(@href,'stahovanizasms.cz')]"
  7453. );
  7454. }
  7455. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7456. {
  7457. addFileHost(
  7458. "share-links\\.biz\/\\w*",
  7459. 'online\\.gif',
  7460. '(?:offline|parts)\\.gif',
  7461. 'optional--',
  7462. 'optional2--',
  7463. "//a[contains(@href,'share-links.biz')]"
  7464. );
  7465. }
  7466. if (GM_getValue("Check_4shared_dot_com_links", false))
  7467. {
  7468. addFileHost(
  7469. "4shared\\.com\/.+\/",
  7470. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7471. 'class="warn\"|big red"|GetDataBack',
  7472. 'Service Unavailable',
  7473. 'optional2--',
  7474. "//a[contains(@href,'4shared.com')]"
  7475. );
  7476. }
  7477. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7478. {
  7479. addFileHost(
  7480. "(?:www\\d+\.|)zippyshare\.com\/",
  7481. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7482. 'not exist|Status 404',
  7483. 'optional--',
  7484. 'optional2--',
  7485. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7486. );
  7487. }
  7488. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7489. {
  7490. addFileHost(
  7491. "mediafire\.com\/",
  7492. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7493. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7494. 'set to private',
  7495. 'optional2--',
  7496. "//a[contains(@href,'mediafire.com')]"
  7497. );
  7498. }
  7499. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7500. {
  7501. addFileHost(
  7502. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7503. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB',
  7504. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7505. 'optional--',
  7506. 'GB</small>',
  7507. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7508. );
  7509. }
  7510. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7511. {
  7512. addFileHost(
  7513. "ulozisko\.sk\/",
  7514. 'Detaily',
  7515. 'neexistuje',
  7516. 'optional--',
  7517. 'optional2--',
  7518. "//a[contains(@href,'ulozisko.sk')]"
  7519. );
  7520. }
  7521. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7522. {
  7523. addFileHost(
  7524. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7525. 'download.php',
  7526. 'notfound|upload\\-suborov\\.php"',
  7527. 'optional--',
  7528. 'optional2--',
  7529. "//a[contains(@href,'upnito.sk')]"
  7530. );
  7531. }
  7532. if (GM_getValue("Check_box_dot_com_links", false))
  7533. {
  7534. addFileHost(
  7535. "box\.com\/\\w+",
  7536. 'download-file-btn|id="download_button|preview-download',
  7537. 'BIyMin.png| <div class="error_message|link has been removed',
  7538. 'optional--',
  7539. 'optional2--',
  7540. "//a[contains(@href,'app.box.com')]");
  7541. }
  7542. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7543. {
  7544. addFileHost(
  7545. "uptobox\\.com\/\\w+",
  7546. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7547. '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|لا يوجد أي ملف',
  7548. 'Maintenance',
  7549. 'optional2--',
  7550. "//a[contains(@href,'uptobox.com')]"
  7551. );
  7552. }
  7553. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7554. {
  7555. addFileHost(
  7556. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7557. 'FILE DOWNLOAD<',
  7558. 'File Does Not Exist',
  7559. 'optional--',
  7560. 'optional2--',
  7561. "//a[contains(@href,'sharecash.org/download.php')]"
  7562. );
  7563. }
  7564. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7565. {
  7566. addFileHost(
  7567. "depositfiles\\.com\/folders\/\\w+",
  7568. '<div class="progressContainer">',
  7569. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7570. 'optional--',
  7571. 'optional2--',
  7572. "//a[contains(@href,'depositfiles.com/folders')]"
  7573. );
  7574. }
  7575. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7576. {
  7577. addFileHost(
  7578. "rapidfileshare\\.net/\\w+",
  7579. '<div id="upload-header-bg">',
  7580. '<div style="width:500px;text-align:left;">',
  7581. 'optional--',
  7582. 'optional2--',
  7583. "//a[contains(@href,'rapidfileshare.net/')]"
  7584. );
  7585. }
  7586. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7587. {
  7588. addFileHost(
  7589. "stiahnito\\.sk/",
  7590. '<span class="filesize right">',
  7591. '<ol class="list-purp-2">',
  7592. 'optional--',
  7593. 'optional2--',
  7594. "//a[contains(@href,'stiahnito.sk/')]"
  7595. );
  7596. }
  7597. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7598. {
  7599. addFileHost(
  7600. "rusfolder\\.(?:com|net)",
  7601. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7602. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7603. 'optional--',
  7604. 'optional2--',
  7605. "//a[contains(@href,'rusfolder')]"
  7606. );
  7607. }
  7608. if (GM_getValue("Check_fileover_dot_net_links", false))
  7609. {
  7610. addFileHost(
  7611. "fileover\\.net/\\d+",
  7612. 'id="filesize"',
  7613. 'Not found or deleted|The following file is unavailable',
  7614. 'optional--',
  7615. 'optional2--',
  7616. "//a[contains(@href,'fileover.net/')]"
  7617. );
  7618. }
  7619. if (GM_getValue("Check_catshare_dot_net_links", false))
  7620. {
  7621. addFileHost(
  7622. "catshare\\.net/\\w+",
  7623. '"icon-share',
  7624. 'alert alert-error',
  7625. 'optional--',
  7626. 'optional2--',
  7627. "//a[contains(@href,'catshare.net/')]"
  7628. );
  7629. }
  7630. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7631. {
  7632. addFileHost(
  7633. "anonfiles\\.com/\\w+",
  7634. '"download_button"',
  7635. '<legend><b>404</b>',
  7636. 'optional--',
  7637. 'optional2--',
  7638. "//a[contains(@href,'anonfiles.com')]"
  7639. );
  7640. }
  7641. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7642. {
  7643. addFileHost(
  7644. "mixturecloud\\.com/media/\\w+",
  7645. '"btn icon i_globe gray share_150',
  7646. '"s_cross_close"></span> 404:',
  7647. 'optional--',
  7648. 'optional2--',
  7649. "//a[contains(@href,'mixturecloud.com/media/')]"
  7650. );
  7651. }
  7652. if (GM_getValue("Check_akafile_dot_com_links", false))
  7653. {
  7654. addFileHost(
  7655. "akafile\\.com\/\\w+",
  7656. 'download1',
  7657. 'File Not Found',
  7658. 'optional--',
  7659. 'optional2--',
  7660. "//a[contains(@href,'akafile.com/')]"
  7661. );
  7662. }
  7663. if (GM_getValue("Check_creafile_dot_net_links", false))
  7664. {
  7665. addFileHost(
  7666. "creafile\\.net\/\\w+",
  7667. 'downloadblock',
  7668. 'errtitle',
  7669. 'optional--',
  7670. 'optional2--',
  7671. "//a[contains(@href,'creafile.net/')]"
  7672. );
  7673. }
  7674. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7675. {
  7676. addFileHost(
  7677. "hugefiles\\.net\/\\w+",
  7678. 'download1|class="btn-create-download" value="Create Download Link">',
  7679. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7680. 'optional--',
  7681. 'optional2--',
  7682. "//a[contains(@href,'hugefiles.net/')]"
  7683. );
  7684. }
  7685. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7686. {
  7687. addFileHost(
  7688. "sendmyway\\.com\/\\w+",
  7689. 'id="btn_download"',
  7690. '500px;text-align:left;"|<center><h3>',
  7691. 'optional--',
  7692. 'optional2--',
  7693. "//a[contains(@href,'sendmyway.com/')]"
  7694. );
  7695. }
  7696. if (GM_getValue("Check_upload_dot_ee_links", false))
  7697. {
  7698. addFileHost(
  7699. "upload\\.ee\/\\w+",
  7700. 'onmouseout="document.dllink.src',
  7701. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7702. 'optional--',
  7703. 'optional2--',
  7704. "//a[contains(@href,'upload.ee/')]"
  7705. );
  7706. }
  7707. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7708. {
  7709. addFileHost(
  7710. "shareplace\\.org\/\\?\\w+",
  7711. 'Download-Link',
  7712. 'Your requested file is not found|Select file to send',
  7713. 'optional--',
  7714. 'optional2--',
  7715. "//a[contains(@href,'shareplace.org/?')]"
  7716. );
  7717. }
  7718. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7719. {
  7720. addFileHost(
  7721. "uploadc\\.com\/\\w+",
  7722. 'id="prebut"',
  7723. 'File Not Found|This file has been removed due',
  7724. 'optional--',
  7725. 'optional2--',
  7726. "//a[contains(@href,'uploadc.com/')]"
  7727. );
  7728. }
  7729. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7730. {
  7731. addFileHost(
  7732. "remixshare\\.com\/\\w+",
  7733. 'id="dl2"',
  7734. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7735. 'optional--',
  7736. 'optional2--',
  7737. "//a[contains(@href,'remixshare.com/')]"
  7738. );
  7739. }
  7740. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7741. {
  7742. addFileHost(
  7743. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7744. 'Last Download :',
  7745. 'img src="\\/404.jpg"',
  7746. 'optional--',
  7747. 'optional2--',
  7748. "//a[contains(@href,'exoshare.com/download.php')]"
  7749. );
  7750. }
  7751. if (GM_getValue("Check_borncash_dot_org_links", false))
  7752. {
  7753. addFileHost(
  7754. "borncash\\.org\/download\/\\?a=\\w+",
  7755. 'class="knop_1"',
  7756. '\/error\/er00',
  7757. 'optional--',
  7758. 'optional2--',
  7759. "//a[contains(@href,'borncash.org/download/')]"
  7760. );
  7761. }
  7762. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7763. {
  7764. addFileHost(
  7765. "vidplay\.net\/\\w+",
  7766. 'solvemedia puzzle widget',
  7767. 'File not found|AVOID_IE_BUG',
  7768. 'optional--',
  7769. 'optional2--',
  7770. "//a[contains(@href,'vidplay.net')]");
  7771. }
  7772. if (GM_getValue("Check_storagon_dot_com_links", false))
  7773. {
  7774. addFileHost(
  7775. "storagon\.com\/\\w+",
  7776. 'class="icon-cloud-download"></i>|content="Download Options',
  7777. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7778. 'optional--',
  7779. 'optional2--',
  7780. "//a[contains(@href,'storagon.com')]");
  7781. }
  7782. if (GM_getValue("Check_filedais_dot_com_links", false))
  7783. {
  7784. addFileHost(
  7785. "filedais\.com\/\\w+",
  7786. 'class="btn btn-info"|name="method_free"',
  7787. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7788. 'optional--',
  7789. 'optional2--',
  7790. "//a[contains(@href,'filedais.com')]");
  7791. }
  7792. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7793. {
  7794. addFileHost(
  7795. "up.4share\.vn\/\\w+",
  7796. '<font size="2" face="Verdana">',
  7797. 'font: 13px Tahoma; color: Brown',
  7798. 'optional--',
  7799. 'optional2--',
  7800. "//a[contains(@href,'up.4share.vn')]");
  7801. }
  7802. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7803. {
  7804. addFileHost(
  7805. "share.vnn\.vn\/\\w+",
  7806. '"index,follow"|<div class="main" id="download-box">',
  7807. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7808. 'optional--',
  7809. 'optional2--',
  7810. "//a[contains(@href,'share.vnn.vn')]");
  7811. }
  7812. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7813. {
  7814. addFileHost(
  7815. "upfile\.vn\/\\w+",
  7816. 'download-timer',
  7817. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7818. 'optional--',
  7819. 'optional2--',
  7820. "//a[contains(@href,'upfile.vn')]");
  7821. }
  7822. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7823. {
  7824. addFileHost(
  7825. "aisfile\.com\/\\w+",
  7826. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7827. '<div style="width:500px;text-align:left;">|File Not Found',
  7828. 'optional--',
  7829. 'optional2--',
  7830. "//a[contains(@href,'aisfile.com')]");
  7831. }
  7832. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7833. {
  7834. addFileHost(
  7835. "usersfiles\.com\/\\w+",
  7836. 'class="btn btn-success|id="btn_download" class="btn"',
  7837. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7838. 'optional--',
  7839. 'optional2--',
  7840. "//a[contains(@href,'usersfiles.com')]");
  7841. }
  7842. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7843. {
  7844. addFileHost(
  7845. "pan.baidu\.com\/\\w+",
  7846. 'target="_blank" title=|share-personal-info',
  7847. 'share_notfound.png|background:#f9f9f9',
  7848. 'optional--',
  7849. 'optional2--',
  7850. "//a[contains(@href,'pan.baidu.com')]");
  7851. }
  7852. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7853. {
  7854. addFileHost(
  7855. "yunpan\.cn\/\\w+",
  7856. 'class="icon icon-download',
  7857. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7858. 'optional--',
  7859. 'optional2--',
  7860. "//a[contains(@href,'yunpan.cn')]");
  7861. }
  7862. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7863. {
  7864. addFileHost(
  7865. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7866. 'getElementById("downbild")|style.display',
  7867. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7868. 'optional--',
  7869. 'optional2--',
  7870. "//a[contains(@href,'file-upload.net')]");
  7871. }
  7872. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7873. {
  7874. addFileHost(
  7875. "gulfup\.com\/",
  7876. '<!-- Downlod template -->|download.gif',
  7877. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7878. 'optional--',
  7879. 'optional2--',
  7880. "//a[contains(@href,'gulfup.com')]");
  7881. }
  7882. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7883. {
  7884. addFileHost(
  7885. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7886. 'dldtable">',
  7887. 'does not exist\\.',
  7888. 'optional--',
  7889. 'optional2--',
  7890. "//a[contains(@href,'datafilehost.com')]");
  7891. }
  7892. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7893. {
  7894. addFileHost(
  7895. "dropbox\.com\/s\/\\w+",
  7896. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7897. '>Nothing Here<|>Error (404)<',
  7898. 'title>Dropbox - 509|Error (403)|Error: 429',
  7899. 'optional2--',
  7900. "//a[contains(@href,'dropbox.com')]");
  7901. }
  7902. if (GM_getValue("Check_box_dot_net_links", false))
  7903. {
  7904. addFileHost(
  7905. "box\.net\/\\w+",
  7906. 'download-file-btn|id="download_button',
  7907. 'BIyMin.png| <div class="error_message',
  7908. 'optional--',
  7909. 'optional2--',
  7910. "//a[contains(@href,'box.net')]");
  7911. }
  7912. if (GM_getValue("Check_fileband_dot_com_links", false))
  7913. {
  7914. addFileHost(
  7915. "fileband\.com\/\\w+",
  7916. 'value="download1">|name="id" value=',
  7917. '<div style="width:500px;text-align:left;">|not be found',
  7918. 'optional--',
  7919. 'optional2--',
  7920. "//a[contains(@href,'fileband.com')]");
  7921. }
  7922. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7923. {
  7924. addFileHost(
  7925. "filedropper\.com\/\\w+",
  7926. 'background:#ddd;|width:985px; ',
  7927. 'background-color:#FFFFFF;|margin-left: -400px;',
  7928. 'optional--',
  7929. 'optional2--',
  7930. "//a[contains(@href,'filedropper.com')]");
  7931. }
  7932. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7933. {
  7934. addFileHost(
  7935. "tropicshare\\.com\/files\/\\d+",
  7936. 'MB</span>|GB</span>|KB</span>',
  7937. '>FNF<|size: </span>',
  7938. 'optional--',
  7939. 'optional2--',
  7940. "//a[contains(@href,'tropicshare.com')]");
  7941. }
  7942. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7943. {
  7944. addFileHost(
  7945. "goldbytez\.com\/\\w+",
  7946. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7947. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7948. 'optional--',
  7949. 'optional2--',
  7950. "//a[contains(@href,'goldbytez.com')]");
  7951. }
  7952. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7953. {
  7954. addFileHost(
  7955. "worldbytez\.com\/\\w+",
  7956. '<div class="download_type">',
  7957. '<div style="width:500px;text-align:left;">',
  7958. 'optional--',
  7959. 'optional2--',
  7960. "//a[contains(@href,'worldbytez.com')]");
  7961. }
  7962. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7963. {
  7964. addFileHost(
  7965. "freefilehosting\.net\/\\w+",
  7966. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7967. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7968. 'optional--',
  7969. 'optional2--',
  7970. "//a[contains(@href,'freefilehosting.net')]");
  7971. }
  7972. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7973. {
  7974. addFileHost(
  7975. "ziddu\.com\/\\w+",
  7976. 'downloads.ziddu.com|downloadfilelinkicon',
  7977. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7978. 'optional--',
  7979. 'optional2--',
  7980. "//a[contains(@href,'ziddu.com')]");
  7981. }
  7982. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7983. {
  7984. addFileHost(
  7985. "exclusiveloader\.com\/\\w+",
  7986. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7987. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7988. 'optional--',
  7989. 'optional2--',
  7990. "//a[contains(@href,'exclusiveloader.com')]");
  7991. }
  7992. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7993. {
  7994. addFileHost(
  7995. "sharerapid\.cz\/\\w+",
  7996. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7997. 'error_div">|404 - Not Found',
  7998. 'optional--',
  7999. 'optional2--',
  8000. "//a[contains(@href,'sharerapid.cz')]");
  8001. }
  8002. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8003. {
  8004. addFileHost(
  8005. "sdilej\.cz\/\\w+",
  8006. 'class="page-download"',
  8007. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8008. 'optional--',
  8009. 'optional2--',
  8010. "//a[contains(@href,'sdilej.cz')]");
  8011. }
  8012. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8013. {
  8014. addFileHost(
  8015. "lafiles\.com\/\\w+",
  8016. '<div id="pay_modes">',
  8017. '<b class="err"></b>',
  8018. 'optional--',
  8019. 'optional2--',
  8020. "//a[contains(@href,'lafiles.com')]");
  8021. }
  8022. if (GM_getValue("Check_acefile_dot_net_links", false))
  8023. {
  8024. addFileHost(
  8025. "acefile\.net\/\\w+",
  8026. 'align=right nowrap><b>',
  8027. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8028. 'optional--',
  8029. 'optional2--',
  8030. "//a[contains(@href,'acefile.net')]");
  8031. }
  8032. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8033. {
  8034. addFileHost(
  8035. "megarapid\.cz\/\\w+",
  8036. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8037. 'error_div">|404 - Not Found',
  8038. 'optional--',
  8039. 'optional2--',
  8040. "//a[contains(@href,'megarapid.cz')]");
  8041. }
  8042. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8043. {
  8044. addFileHost(
  8045. "yadi\.sk\/\\w+",
  8046. 'nb-button _nb-small-button',
  8047. 'error code|Nothing found',
  8048. 'optional--',
  8049. 'optional2--',
  8050. "//a[contains(@href,'yadi.sk')]");
  8051. }
  8052. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8053. {
  8054. addFileHost(
  8055. "imdb\.com\/\\w+",
  8056. 'imdb.com',
  8057. '404 Error',
  8058. 'optional--',
  8059. 'optional2--',
  8060. "//a[contains(@href,'imdb.com')]");
  8061. } */
  8062. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8063. {
  8064. addFileHost(
  8065. "hitfile\.net\/\\w+",
  8066. 'class="download-file',
  8067. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8068. 'optional--',
  8069. 'optional2--',
  8070. "//a[contains(@href,'hitfile.net')]");
  8071. }
  8072. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8073. {
  8074. addFileHost(
  8075. "nitroflare\.com\/\\w+",
  8076. 'Report this file</a>|KB</span>',
  8077. 'file has been removed|id="error" style="display|Probably deleted',
  8078. 'optional--',
  8079. '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',
  8080. "//a[contains(@href,'nitroflare.com')]");
  8081. }
  8082. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8083. {
  8084. addFileHost(
  8085. "up.top4top\.net\/\\w+",
  8086. 'start Downlod template',
  8087. 'start err template',
  8088. 'optional--',
  8089. 'optional2--',
  8090. "//a[contains(@href,'up.top4top.net')]");
  8091. }
  8092. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8093. {
  8094. addFileHost(
  8095. "filejoker\.net\/\\w+",
  8096. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8097. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8098. 'optional--',
  8099. 'id="download" class="premium-only">',
  8100. "//a[contains(@href,'filejoker.net')]");
  8101. }
  8102. if (GM_getValue("Check_free_dot_fr_links", false))
  8103. {
  8104. addFileHost(
  8105. "(?:dl.\\.|)free\\.fr",
  8106. 'Valider et t&eacute;l&eacute',
  8107. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8108. 'optional--',
  8109. 'optional2--',
  8110. "//a[contains(@href,'dl.free.fr')]");
  8111. }
  8112. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8113. {
  8114. addFileHost(
  8115. "gboxes\.com\/\\w+",
  8116. 'You have requested|color="red">http://www.gboxes.com',
  8117. 'File Not Found|<div style="width:500px;text-align:left;">',
  8118. 'optional--',
  8119. 'optional2--',
  8120. "//a[contains(@href,'gboxes.com')]");
  8121. }
  8122. if (GM_getValue("Check_led_dot_wf_links", false))
  8123. {
  8124. addFileHost(
  8125. "led\.wf\/\\w+",
  8126. 'logo_0.png|downloads.gif"|verifycode',
  8127. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8128. 'optional--',
  8129. 'available only for Premium users',
  8130. "//a[contains(@href,'led.wf')]");
  8131. }
  8132. if (GM_getValue("Check_lan_dot_wf_links", false))
  8133. {
  8134. addFileHost(
  8135. "lan\.wf\/\\w+",
  8136. 'logo_0.png|downloads.gif"|verifycode',
  8137. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8138. 'optional--',
  8139. 'available only for Premium users',
  8140. "//a[contains(@href,'lan.wf')]");
  8141. }
  8142. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8143. {
  8144. addFileHost(
  8145. "adlink\.wf\/\\w+",
  8146. 'logo_0.png|downloads.gif"|verifycode',
  8147. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8148. 'optional--',
  8149. 'available only for Premium users',
  8150. "//a[contains(@href,'adlink.wf')]");
  8151. }
  8152. if (GM_getValue("Check_click_dot_tf_links", false))
  8153. {
  8154. addFileHost(
  8155. "click\.tf\/\\w+",
  8156. 'logo_0.png|downloads.gif"|verifycode',
  8157. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8158. 'optional--',
  8159. 'available only for Premium users',
  8160. "//a[contains(@href,'click.tf')]");
  8161. }
  8162. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8163. {
  8164. addFileHost(
  8165. "ssh\.tf\/\\w+",
  8166. 'logo_0.png|downloads.gif"|verifycode',
  8167. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8168. 'optional--',
  8169. 'available only for Premium users',
  8170. "//a[contains(@href,'ssh.tf')]");
  8171. }
  8172. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8173. {
  8174. addFileHost(
  8175. "ssh\.yt\/\\w+",
  8176. 'logo_0.png|downloads.gif"|verifycode',
  8177. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8178. 'optional--',
  8179. 'available only for Premium users',
  8180. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8181. }
  8182. if (GM_getValue("Check_yep_dot_pm_links", false))
  8183. {
  8184. addFileHost(
  8185. "yep\.pm\/\\w+",
  8186. 'logo_0.png|downloads.gif"|verifycode',
  8187. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8188. 'optional--',
  8189. 'available only for Premium users',
  8190. "//a[contains(@href,'yep.pm')]");
  8191. }
  8192. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8193. {
  8194. addFileHost(
  8195. "kyc\.pm\/\\w+",
  8196. 'logo_0.png|downloads.gif"|verifycode',
  8197. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8198. 'optional--',
  8199. 'available only for Premium users',
  8200. "//a[contains(@href,'kyc.pm')]");
  8201. }
  8202. if (GM_getValue("Check_brupload_dot_net_links", false))
  8203. {
  8204. addFileHost(
  8205. "brupload\.net\/\\w+",
  8206. 'Download Gratuito',
  8207. '<div style="width:500px;text-align:left;">',
  8208. 'optional--',
  8209. 'optional2--',
  8210. "//a[contains(@href,'brupload.net')]");
  8211. }
  8212. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8213. {
  8214. addFileHost(
  8215. "cloudzilla\.to\/\\w+",
  8216. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8217. 'File not found|/imgs/broken.png',
  8218. 'optional--',
  8219. 'optional2--',
  8220. "//a[contains(@href,'cloudzilla.to')]");
  8221. }
  8222. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8223. {
  8224. addFileHost(
  8225. "fileparadox\.in\/\\w+",
  8226. 'CONTENT="Download File|method_free_file',
  8227. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8228. 'optional--',
  8229. 'optional2--',
  8230. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8231. } */
  8232. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8233. {
  8234. addFileHost(
  8235. "clicknupload\.com\/\\w+",
  8236. 'name="method_free',
  8237. 'File Not Found',
  8238. 'optional--',
  8239. 'optional2--',
  8240. "//a[contains(@href,'clicknupload.com')]");
  8241. }
  8242. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8243. {
  8244. addFileHost(
  8245. "clicknupload\.me\/\\w+",
  8246. 'name="method_free',
  8247. 'File Not Found',
  8248. 'optional--',
  8249. 'optional2--',
  8250. "//a[contains(@href,'clicknupload.me')]");
  8251. }
  8252. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8253. {
  8254. addFileHost(
  8255. "ex-load\.com\/\\w+",
  8256. 'name="method_free|<p>Download File:</p>',
  8257. 'Folder Not Found|File Not Found|Error 404',
  8258. 'optional--',
  8259. 'class="downprem wow bounceInLeft',
  8260. "//a[contains(@href,'ex-load.com')]");
  8261. }
  8262. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8263. {
  8264. addFileHost(
  8265. "hexupload\.com\/\\w+",
  8266. 'button" value="Free|type="submit" value=""',
  8267. 'File Not Found|<div style="width:500px;text-align:left;">',
  8268. 'optional--',
  8269. 'optional2--',
  8270. "//a[contains(@href,'hexupload.com')]");
  8271. }
  8272. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8273. {
  8274. addFileHost(
  8275. "wizupload\.com\/\\w+",
  8276. 'btn_download|class="downloadbtn"',
  8277. '>File Not Found<',
  8278. 'optional--',
  8279. 'optional2--',
  8280. "//a[contains(@href,'wizupload.com')]");
  8281. }
  8282. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8283. {
  8284. addFileHost(
  8285. "filecloud\.cc\/\\w+",
  8286. 'align="center"><input type="submit" name=',
  8287. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8288. 'optional--',
  8289. 'optional2--',
  8290. "//a[contains(@href,'filecloud.cc')]");
  8291. }
  8292. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8293. {
  8294. addFileHost(
  8295. "inclouddrive\.com\/\\w+",
  8296. 'initfreedownload',
  8297. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8298. 'optional--',
  8299. 'optional2--',
  8300. "//a[contains(@href,'inclouddrive.com')]");
  8301. }
  8302. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8303. {
  8304. addFileHost(
  8305. "radicalshare\.com\/\\w+",
  8306. 'value="download1|name="method_free"',
  8307. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8308. 'optional--',
  8309. 'optional2--',
  8310. "//a[contains(@href,'radicalshare.com')]");
  8311. }
  8312. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8313. {
  8314. addFileHost(
  8315. "sharemods\.com\/\\w+",
  8316. 'name="method_free"',
  8317. 'File Not Found<',
  8318. 'optional--',
  8319. 'optional2--',
  8320. "//a[contains(@href,'sharemods.com')]");
  8321. }
  8322. if (GM_getValue("Check_hostr_dot_co_links", false))
  8323. {
  8324. addFileHost(
  8325. "hostr\.co\/\\w+",
  8326. 'method="get"',
  8327. 'File not found<|error-page',
  8328. 'optional--',
  8329. 'optional2--',
  8330. "//a[contains(@href,'hostr.co')]");
  8331. }
  8332. if (GM_getValue("Check_filepi_dot_com_links", false))
  8333. {
  8334. addFileHost(
  8335. "filepi\.com\/\\w+",
  8336. 'id="button_start">',
  8337. 'File not found',
  8338. 'optional--',
  8339. 'optional2--',
  8340. "//a[contains(@href,'filepi.com')]");
  8341. }
  8342. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8343. {
  8344. addFileHost(
  8345. "tikfile\.com\/\\w+",
  8346. 'btn_download',
  8347. 'File Not Found|file was removed|Reason for deletion',
  8348. 'optional--',
  8349. 'optional2--',
  8350. "//a[contains(@href,'tikfile.com')]");
  8351. }
  8352. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8353. {
  8354. addFileHost(
  8355. "cloudsix\.me\/\\w+",
  8356. 'name="method_free"',
  8357. 'File Not Found|width:500px;text-align:left;">',
  8358. 'optional--',
  8359. 'optional2--',
  8360. "//a[contains(@href,'cloudsix.me')]");
  8361. }
  8362. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8363. {
  8364. addFileHost(
  8365. "neodrive\.co\/\\w+",
  8366. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8367. 'File not found|/imgs/broken.png',
  8368. 'optional--',
  8369. 'optional2--',
  8370. "//a[contains(@href,'neodrive.co')]");
  8371. }
  8372. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8373. {
  8374. addFileHost(
  8375. "chayfile\.com\/\\w+",
  8376. 'name="method_free"',
  8377. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8378. 'optional--',
  8379. 'optional2--',
  8380. "//a[contains(@href,'chayfile.com')]");
  8381. }
  8382. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8383. {
  8384. addFileHost(
  8385. "xfileload\.com\/\\w+",
  8386. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8387. '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..|הקובץ שחיפשת לא נמצא.',
  8388. 'optional--',
  8389. 'optional2--',
  8390. "//a[contains(@href,'xfileload.com')]");
  8391. }
  8392. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8393. {
  8394. addFileHost(
  8395. "rockfile\.eu\/\\w+",
  8396. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8397. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8398. 'optional--',
  8399. 'optional2--',
  8400. "//a[contains(@href,'rockfile.eu')]");
  8401. }
  8402. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8403. {
  8404. addFileHost(
  8405. "24uploading\.com\/\\w+",
  8406. 'File:|Download Speed:',
  8407. '<b>File Not Found</b>|file was removed',
  8408. 'optional--',
  8409. 'optional2--',
  8410. "//a[contains(@href,'24uploading.com')]");
  8411. }
  8412. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8413. {
  8414. addFileHost(
  8415. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8416. 'i/icon/dll.png"|>Start download<br',
  8417. 'no longer available<|i/ino.png"',
  8418. 'optional--',
  8419. 'optional2--',
  8420. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8421. }
  8422. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8423. {
  8424. addFileHost(
  8425. "jumbofile\.net\/\\w+",
  8426. 'button" class="" value="Free',
  8427. 'This File Was Deleted',
  8428. 'optional--',
  8429. 'optional2--',
  8430. "//a[contains(@href,'jumbofile.net')]");
  8431. } */
  8432. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8433. {
  8434. addFileHost(
  8435. "ozofiles\.com\/\\w+",
  8436. 'button" value="Free|name="method_free',
  8437. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8438. 'optional--',
  8439. 'optional2--',
  8440. "//a[contains(@href,'ozofiles.com')]");
  8441. }
  8442. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8443. {
  8444. addFileHost(
  8445. "loudupload\.net\/\\w+",
  8446. 'value="Get Links',
  8447. 'File Not Found',
  8448. 'optional--',
  8449. 'optional2--',
  8450. "//a[contains(@href,'loudupload.net')]");
  8451. }
  8452. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8453. {
  8454. addFileHost(
  8455. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8456. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8457. '>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">',
  8458. 'optional--',
  8459. 'optional2--',
  8460. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8461. }
  8462. if (GM_getValue("Check_krotix_dot_net_links", false))
  8463. {
  8464. addFileHost(
  8465. "krotix\.net\/\\w+",
  8466. 'btn btn-warning|btn-free',
  8467. 'pageErrors|This File has been removed',
  8468. 'content="Scheduled Maintenance',
  8469. 'optional2--',
  8470. "//a[contains(@href,'krotix.net')]");
  8471. } */
  8472. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8473. {
  8474. addFileHost(
  8475. "userscloud\.com\/\\w+",
  8476. 'btn_download',
  8477. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8478. 'optional--',
  8479. 'optional2--',
  8480. "//a[contains(@href,'userscloud.com')]");
  8481. }
  8482. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8483. {
  8484. addFileHost(
  8485. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8486. 'class="button download',
  8487. 'internal server error',
  8488. 'optional--',
  8489. 'optional2--',
  8490. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8491. }
  8492. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8493. {
  8494. addFileHost(
  8495. "kb.simple-aja\.info\/\\w+",
  8496. 'class="button download',
  8497. 'internal server error|<p>404</p>',
  8498. 'optional--',
  8499. 'optional2--',
  8500. "//a[contains(@href,'kb.simple')]");
  8501. }
  8502. if (GM_getValue("Check_faststore_dot_org_links", false))
  8503. {
  8504. addFileHost(
  8505. "faststore\.org\/\\w+",
  8506. 'name="method_free',
  8507. 'File Not Found',
  8508. 'optional--',
  8509. 'optional2--',
  8510. "//a[contains(@href,'faststore.org')]");
  8511. }
  8512. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8513. {
  8514. addFileHost(
  8515. "prefiles\.com\/\\w+",
  8516. 'id="method_free',
  8517. 'File not Found',
  8518. 'optional--',
  8519. 'optional2--',
  8520. "//a[contains(@href,'prefiles.com')]");
  8521. }
  8522. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8523. {
  8524. addFileHost(
  8525. "doraupload\.com\/\\w+",
  8526. 'btn_download|name="method_free',
  8527. 'class="error-code|Could Not Be Found',
  8528. 'optional--',
  8529. 'optional2--',
  8530. "//a[contains(@href,'doraupload.com')]");
  8531. }
  8532. if (GM_getValue("Check_openload_dot_io_links", false))
  8533. {
  8534. addFileHost(
  8535. "openload\.io\/\\w+",
  8536. 'btn btn-primary|class="count">|secondsleftouter',
  8537. 'class="jumbotron">|We are sorry',
  8538. 'optional--',
  8539. 'optional2--',
  8540. "//a[contains(@href,'openload.io')]");
  8541. }
  8542. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8543. {
  8544. addFileHost(
  8545. "uploads\.xxx\/\\w+",
  8546. 'downoadForFree',
  8547. 'File not found',
  8548. 'optional--',
  8549. 'optional2--',
  8550. "//a[contains(@href,'uploads.xxx')]");
  8551. }
  8552. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8553. {
  8554. addFileHost(
  8555. "zxcfiles\.com\/\\w+",
  8556. 'class="downloadbtn',
  8557. 'File Not Found',
  8558. 'optional--',
  8559. 'optional2--',
  8560. "//a[contains(@href,'zxcfiles.com')]");
  8561. }
  8562. if (GM_getValue("Check_up07_dot_net_links", false))
  8563. {
  8564. addFileHost(
  8565. "up07\.net\/\\w+",
  8566. 'name="method_free',
  8567. 'File Not Found',
  8568. 'optional--',
  8569. 'optional2--',
  8570. "//a[contains(@href,'up07.net')]");
  8571. }
  8572. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8573. {
  8574. addFileHost(
  8575. "fileupload\.pw\/\\w+",
  8576. 'value="Free"',
  8577. 'File Not Found',
  8578. 'optional--',
  8579. 'optional2--',
  8580. "//a[contains(@href,'fileupload.pw')]");
  8581. }
  8582. if (GM_getValue("Check_4upld_dot_com_links", false))
  8583. {
  8584. addFileHost(
  8585. "4upld\.com\/\\w+",
  8586. 'alt="Download Now"|content="Download file">|btn-free-element',
  8587. '<title>Error|content="error|File not found',
  8588. 'optional--',
  8589. 'optional2--',
  8590. "//a[contains(@href,'4upld.com')]");
  8591. }
  8592. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8593. {
  8594. addFileHost(
  8595. "newfileland\.com\/\\w+",
  8596. 'name="method_free',
  8597. 'File Not Found',
  8598. 'optional--',
  8599. 'optional2--',
  8600. "//a[contains(@href,'newfileland.com')]");
  8601. } */
  8602. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8603. {
  8604. addFileHost(
  8605. "(?:.swoopshare)\\.com\/\\w+",
  8606. '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',
  8607. '<input type="file" name="f"',
  8608. 'optional--',
  8609. 'optional2--',
  8610. "//a[contains(@href,'swoopshare.com')]"
  8611. );
  8612. }
  8613. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8614. {
  8615. addFileHost(
  8616. "cloudshares\.net\/\\w+",
  8617. '"method_free|"Low Speed Download|submit" name="go',
  8618. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8619. 'optional--',
  8620. 'optional2--',
  8621. "//a[contains(@href,'cloudshares.net')]"
  8622. );
  8623. }
  8624. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8625. {
  8626. addFileHost(
  8627. "allmyvideos\.net\/\\w+",
  8628. 'Continue to Video',
  8629. 'File Not Found|class="err">Removed for',
  8630. 'optional--',
  8631. 'optional2--',
  8632. "//a[contains(@href,'allmyvideos.net')]"
  8633. );
  8634. }
  8635. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8636. {
  8637. addFileHost(
  8638. "vodlocker\.com\/\\w+",
  8639. 'Proceed to video',
  8640. 'Not Found',
  8641. 'optional--',
  8642. 'optional2--',
  8643. "//a[contains(@href,'vodlocker.com')]"
  8644. );
  8645. }
  8646. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8647. {
  8648. addFileHost(
  8649. "vidbull\.com\/\\w+",
  8650. 'Verifying Video Request',
  8651. 'File Not Found',
  8652. 'optional--',
  8653. 'optional2--',
  8654. "//a[contains(@href,'vidbull.com')]");
  8655. }
  8656. if (GM_getValue("Check_novamov_dot_com_links", false))
  8657. {
  8658. addFileHost(
  8659. "novamov\.com\/\\w+",
  8660. 'For version detection',
  8661. 'file no longer exists',
  8662. 'optional--',
  8663. 'optional2--',
  8664. "//a[contains(@href,'novamov.com')]"
  8665. );
  8666. }
  8667. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8668. {
  8669. addFileHost(
  8670. "filehoot\.com\/\\w+",
  8671. 'Continue to watch',
  8672. 'File Not Found',
  8673. 'optional--',
  8674. 'optional2--',
  8675. "//a[contains(@href,'filehoot.com')]"
  8676. );
  8677. }
  8678. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8679. {
  8680. addFileHost(
  8681. "stagevu\.com\/\\w+",
  8682. 'Video Info',
  8683. 'No video with the provided',
  8684. 'optional--',
  8685. 'optional2--',
  8686. "//a[contains(@href,'stagevu.com')]"
  8687. );
  8688. }
  8689. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8690. {
  8691. addFileHost(
  8692. "cloudtime\.to\/\\w+",
  8693. 'Download the video',
  8694. 'no longer exists',
  8695. 'optional--',
  8696. 'optional2--',
  8697. "//a[contains(@href,'cloudtime.to')]"
  8698. );
  8699. }
  8700. if (GM_getValue("Check_streamin_dot_to_links", false))
  8701. {
  8702. addFileHost(
  8703. "streamin\.to\/\\w+",
  8704. 'id="btn_download',
  8705. 'Not Found|Copyright Infringement|File Deleted',
  8706. 'optional--',
  8707. 'optional2--',
  8708. "//a[contains(@href,'streamin.to')]"
  8709. );
  8710. }
  8711. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8712. {
  8713. addFileHost(
  8714. "videoweed\.es\/\\w+",
  8715. 'version detection',
  8716. 'no longer exists',
  8717. 'optional--',
  8718. 'optional2--',
  8719. "//a[contains(@href,'videoweed.es')]"
  8720. );
  8721. }
  8722. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8723. {
  8724. addFileHost(
  8725. "nowvideo\.sx\/\\w+",
  8726. 'Download this video|value="submit">Continue',
  8727. 'no longer exists',
  8728. 'optional--',
  8729. 'optional2--',
  8730. "//a[contains(@href,'nowvideo.sx')]"
  8731. );
  8732. }
  8733. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8734. {
  8735. addFileHost(
  8736. "thevideo\.me\/\\w+",
  8737. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8738. 'File Not Found',
  8739. 'optional--',
  8740. 'optional2--',
  8741. "//a[contains(@href,'thevideo.me')]"
  8742. );
  8743. }
  8744. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8745. {
  8746. addFileHost(
  8747. "gorillavid\.in\/\\w+",
  8748. 'Wait 5 seconds',
  8749. 'File Not Found',
  8750. 'optional--',
  8751. 'optional2--',
  8752. "//a[contains(@href,'gorillavid.in')]"
  8753. );
  8754. }
  8755. if (GM_getValue("Check_thefile_dot_me_links", false))
  8756. {
  8757. addFileHost(
  8758. "thefile\.me\/\\w+",
  8759. 'Choose free or',
  8760. '',
  8761. 'optional--',
  8762. 'optional2--',
  8763. "//a[contains(@href,'thefile.me')]"
  8764. );
  8765. }
  8766. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8767. {
  8768. addFileHost(
  8769. "vidzi\.tv\/\\w+",
  8770. 'video-embed-modal row',
  8771. 'File Not Found|file was deleted',
  8772. 'optional--',
  8773. 'optional2--',
  8774. "//a[contains(@href,'vidzi.tv')]"
  8775. );
  8776. }
  8777. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8778. {
  8779. addFileHost(
  8780. "filenuke\.com\/\\w+",
  8781. 'Download File',
  8782. 'Earn with us',
  8783. 'optional--',
  8784. 'optional2--',
  8785. "//a[contains(@href,'filenuke.com')]"
  8786. );
  8787. }
  8788. if (GM_getValue("Check_vidto_dot_me_links", false))
  8789. {
  8790. addFileHost(
  8791. "vidto\.me\/\\w+",
  8792. 'Proceed to video',
  8793. 'Not Found',
  8794. 'optional--',
  8795. 'optional2--',
  8796. "//a[contains(@href,'vidto.me')]"
  8797. );
  8798. }
  8799. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8800. {
  8801. addFileHost(
  8802. "vidspot\.net\/\\w+",
  8803. 'Duration',
  8804. 'Removed for',
  8805. 'optional--',
  8806. 'optional2--',
  8807. "//a[contains(@href,'vidspot.net')]"
  8808. );
  8809. }
  8810. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8811. {
  8812. addFileHost(
  8813. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8814. 'Download File',
  8815. 'File Not Found',
  8816. 'optional--',
  8817. 'optional2--',
  8818. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8819. );
  8820. }
  8821. if (GM_getValue("Check_movpod_dot_in_links", false))
  8822. {
  8823. addFileHost(
  8824. "movpod\.in\/\\w+",
  8825. 'Continue',
  8826. 'File Not Found',
  8827. 'optional--',
  8828. 'optional2--',
  8829. "//a[contains(@href,'movpod.in')]"
  8830. );
  8831. }
  8832. /* if (GM_getValue("Check_down4files_dot_com_links", false))
  8833. {
  8834. addFileHost(
  8835. "down4files\.com\/\\w+",
  8836. 'down_table.png',
  8837. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8838. 'optional--',
  8839. 'optional2--',
  8840. "//a[contains(@href,'down4files.com')]"
  8841. );
  8842. } */
  8843. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8844. {
  8845. addFileHost(
  8846. "storefiles\.co\/\\w+",
  8847. 'btn_download',
  8848. 'No such file|>Error<|mqmaintitle">',
  8849. 'optional--',
  8850. 'optional2--',
  8851. "//a[contains(@href,'storefiles.co')]"
  8852. );
  8853. }
  8854. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8855. {
  8856. addFileHost(
  8857. "filehost\.pw\/\\w+",
  8858. 'name="method_free',
  8859. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8860. 'optional--',
  8861. 'optional2--',
  8862. "//a[contains(@href,'filehost.pw')]"
  8863. );
  8864. }
  8865. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8866. {
  8867. addFileHost(
  8868. "inafile\.com\/\\w+",
  8869. 'value="download1">|<h2>File: <font style="color:darkred">',
  8870. '<div style="width:500px;text-align:left;">|File Not Found',
  8871. 'optional--',
  8872. 'optional2--',
  8873. "//a[contains(@href,'inafile.com')]"
  8874. );
  8875. } */
  8876. if (GM_getValue("Check_uplea_dot_com_links", false))
  8877. {
  8878. addFileHost(
  8879. "uplea\.com\/\\w+",
  8880. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8881. 'expired link|ou est invalide',
  8882. 'optional--',
  8883. 'optional2--',
  8884. "//a[contains(@href,'uplea.com/dl')]",
  8885. true);
  8886. }
  8887. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8888. {
  8889. addFileHost(
  8890. "toutbox\.fr\/\\w+",
  8891. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8892. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8893. 'Serviço temporariamente indisponível',
  8894. 'optional2--',
  8895. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8896. );
  8897. }
  8898. if (GM_getValue("Check_openload_dot_co_links", false))
  8899. {
  8900. addFileHost(
  8901. "openload\.co\/\\w+",
  8902. 'id="downloadTimer">|button dlbutton',
  8903. 'jumbotron{color|got deleted|center !important',
  8904. 'optional--',
  8905. 'optional2--',
  8906. "//a[contains(@href,'openload.co')]"
  8907. );
  8908. }
  8909. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8910. {
  8911. addFileHost(
  8912. "lolabits\.es\/\\w+",
  8913. 'Descargar:',
  8914. '<title>Archivos de usuario',
  8915. 'Service Unavailable',
  8916. 'optional2--',
  8917. "//a[contains(@href,'lolabits.es')]"
  8918. );
  8919. }
  8920. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8921. {
  8922. addFileHost(
  8923. "alfafile\.net\/\\w+",
  8924. 'id="slow_download_btn',
  8925. 'class="error-box">',
  8926. 'optional--',
  8927. 'optional2--',
  8928. "//a[contains(@href,'alfafile.net')]"
  8929. );
  8930. }
  8931. if (GM_getValue("Check_multiup_dot_org_links", false))
  8932. {
  8933. addFileHost(
  8934. "multiup\.org\/\\w+",
  8935. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8936. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8937. 'optional--',
  8938. 'optional2--',
  8939. "//a[contains(@href,'multiup.org')]"
  8940. );
  8941. }
  8942. if (GM_getValue("Check_file_dot_al_links", false))
  8943. {
  8944. addFileHost(
  8945. "file\.al\/\\w+",
  8946. 'method_free',
  8947. 'style="width:500px;text-align:left;">',
  8948. 'optional--',
  8949. 'optional2--',
  8950. "//a[contains(@href,'file.al')]"
  8951. );
  8952. }
  8953. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8954. {
  8955. addFileHost(
  8956. "devilshare\.net\/\\w+",
  8957. '<div class="large-12" id="download">',
  8958. '(Link: 0 Invalid)|File Not Found',
  8959. 'optional--',
  8960. 'optional2--',
  8961. "//a[contains(@href,'devilshare.net')]"
  8962. );
  8963. }
  8964. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8965. {
  8966. addFileHost(
  8967. "dailyuploads\.net\/\\w+",
  8968. 'id="downloadBtnClickOrignal',
  8969. '<div style="width:500px;text-align:left;">',
  8970. 'optional--',
  8971. 'optional2--',
  8972. "//a[contains(@href,'dailyuploads.net')]"
  8973. );
  8974. }
  8975. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8976. {
  8977. addFileHost(
  8978. "datoteke\.com\/\\w+",
  8979. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8980. '&nbsp;File has been removed',
  8981. 'optional--',
  8982. '<title>Error - Datoteke',
  8983. "//a[contains(@href,'datoteke.com')]"
  8984. );
  8985. }
  8986. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  8987. {
  8988. addFileHost(
  8989. "tezfiles\.com\/\\w+",
  8990. 'virtual/low-speed-download',
  8991. 'class="alert alert-block|file is no longer available',
  8992. 'optional--',
  8993. 'This file is available<br>only for premium members',
  8994. "//a[contains(@href,'tezfiles.com')]"
  8995. );
  8996. } */
  8997. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8998. {
  8999. addFileHost(
  9000. "sharehost\.eu\/\\w+",
  9001. '/?v=download_free&',
  9002. 'Errors occured|Wystąpiły błędy',
  9003. 'optional--',
  9004. 'optional2--',
  9005. "//a[contains(@href,'sharehost.eu')]"
  9006. );
  9007. }
  9008. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9009. {
  9010. addFileHost(
  9011. "pornfile\.cz\/\\w+",
  9012. 'Stáhnout soubor',
  9013. 'Soubor byl smazán',
  9014. 'optional--',
  9015. 'optional2--',
  9016. "//a[contains(@href,'pornfile.cz')]"
  9017. );
  9018. }
  9019. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9020. {
  9021. addFileHost(
  9022. "pornoid\.cz\/\\w+",
  9023. 'class="btn btn-large btn-download',
  9024. 'Soubor byl smazán',
  9025. 'optional--',
  9026. 'optional2--',
  9027. "//a[contains(@href,'pornoid.cz')]"
  9028. );
  9029. }
  9030. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9031. {
  9032. addFileHost(
  9033. "file-share\.top\/\\w+",
  9034. 'btn-success btn-lg download',
  9035. 'Stránka neexistuje|404 Not Found',
  9036. 'optional--',
  9037. 'optional2--',
  9038. "//a[contains(@href,'file-share.top')]"
  9039. );
  9040. }
  9041. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9042. {
  9043. addFileHost(
  9044. "bitster\.cz\/\\w+",
  9045. 'section" content="VIDEO"',
  9046. 'section" content=""',
  9047. 'optional--',
  9048. 'optional2--',
  9049. "//a[contains(@href,'bitster.cz')]"
  9050. );
  9051. }
  9052. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9053. {
  9054. addFileHost(
  9055. "rapidu\.net\/\\w+",
  9056. 'onclick="downloadFreeFile',
  9057. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9058. 'optional--',
  9059. 'optional2--',
  9060. "//a[contains(@href,'rapidu.net')]"
  9061. );
  9062. }
  9063. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9064. {
  9065. addFileHost(
  9066. "dinoshare\.cz\/\\w+",
  9067. 'class="download-button"',
  9068. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9069. 'optional--',
  9070. 'optional2--',
  9071. "//a[contains(@href,'dinoshare.cz')]"
  9072. );
  9073. }
  9074. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9075. {
  9076. addFileHost(
  9077. "bytewhale\.com\/\\w+",
  9078. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9079. 'var rawest = "0 MB',
  9080. 'optional--',
  9081. 'optional--',
  9082. "//a[contains(@href,'bytewhale.com')]"
  9083. );
  9084. }
  9085. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9086. {
  9087. addFileHost(
  9088. "rapidrar\.com\/\\w+",
  9089. 'value="Free Download',
  9090. '<div style="width:500px;text-align:left;">',
  9091. 'optional--',
  9092. 'optional--',
  9093. "//a[contains(@href,'rapidrar.com')]"
  9094. );
  9095. }
  9096. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9097. {
  9098. addFileHost(
  9099. "gigasize\.com\/\\w+",
  9100. 'class="estimate">',
  9101. 'class="error">',
  9102. 'optional--',
  9103. 'optional--',
  9104. "//a[contains(@href,'gigasize.com')]"
  9105. );
  9106. }
  9107. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9108. {
  9109. addFileHost(
  9110. "filesupload\.org\/\\w+",
  9111. '<a href="/download-or-watch/',
  9112. 'File not found',
  9113. 'optional--',
  9114. 'optional--',
  9115. "//a[contains(@href,'filesupload.org')]"
  9116. );
  9117. }
  9118. if (GM_getValue("Check_filecad_dot_com_links", false))
  9119. {
  9120. addFileHost(
  9121. "filecad\.com\/\\w+",
  9122. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9123. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9124. 'optional--',
  9125. 'optional--',
  9126. "//a[contains(@href,'filecad.com')]"
  9127. );
  9128. }
  9129. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9130. {
  9131. addFileHost(
  9132. "file.up09\.com\/\\w+",
  9133. 'name="method_free',
  9134. 'style="width:500px;text-align:left;">',
  9135. 'optional--',
  9136. 'optional--',
  9137. "//a[contains(@href,'file.up09.com')]"
  9138. );
  9139. }
  9140. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9141. {
  9142. addFileHost(
  9143. "lunaticfiles\.com\/\\w+",
  9144. 'name="method_free"',
  9145. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9146. 'optional--',
  9147. 'optional--',
  9148. "//a[contains(@href,'lunaticfiles.com')]"
  9149. );
  9150. }
  9151. if (GM_getValue("Check_upload_dot_af_links", false))
  9152. {
  9153. addFileHost(
  9154. "upload\.af\/\\w+",
  9155. 'id="method_free"',
  9156. '<h1>File Not Found</',
  9157. 'optional--',
  9158. 'optional--',
  9159. "//a[contains(@href,'upload.af')]"
  9160. );
  9161. }
  9162. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9163. {
  9164. addFileHost(
  9165. "filedwon\.info\/\\w+",
  9166. 'name="method_free"',
  9167. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9168. 'optional--',
  9169. 'optional--',
  9170. "//a[contains(@href,'filedwon.info')]"
  9171. );
  9172. }
  9173. if (GM_getValue("Check_uplod_dot_it_links", false))
  9174. {
  9175. addFileHost(
  9176. "uplod\.it\/\\w+",
  9177. 'value="download2">|name="method_free',
  9178. '<Title>Download </Title>',
  9179. 'optional--',
  9180. 'optional--',
  9181. "//a[contains(@href,'uplod.it')]"
  9182. );
  9183. }
  9184. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9185. {
  9186. addFileHost(
  9187. "abelhas\.pt\/\\w+",
  9188. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9189. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9190. 'optional--',
  9191. 'optional--',
  9192. "//a[contains(@href,'abelhas.pt')]"
  9193. );
  9194. }
  9195.  
  9196.  
  9197. }
  9198. //start here
  9199.  
  9200. //hosts with direct download, so they must be requested for headers only
  9201. function initFileHostsHeadersOnly()
  9202. {
  9203. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9204. {
  9205. var host = new Array(5);
  9206. host[0] = linkRegex;
  9207. host[1] = isAliveRegex;
  9208. host[2] = isDeadRegex;
  9209. host[3] = xpathEx;
  9210. host[4] = ispremRegex;
  9211. http_file_hosts_headers_only.push(host);
  9212. }
  9213. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9214. {
  9215. addFileHostHeadersOnly(
  9216. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9217. 'Connection: Keep-Alive',
  9218. 'Content-Length: 3857',
  9219. "//a[contains(@href,'uloziste.com')]"
  9220. )
  9221. }
  9222. if (GM_getValue("Check_adrive_dot_com_links", false))
  9223. {
  9224. addFileHostHeadersOnly(
  9225. "adrive\\.com\/public\/\\w+",
  9226. 'Connection: keep-alive',
  9227. 'orig_ref=deleted',
  9228. "//a[contains(@href,'adrive.com')]"
  9229. )
  9230. }
  9231. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9232. {
  9233. addFileHostHeadersOnly(
  9234. "myupload\\.dk\/showfile\/\\w+",
  9235. 'Expires:',
  9236. 'squeeze1\\s+Vary',
  9237. "//a[contains(@href,'myupload.dk/showfile')]"
  9238. )
  9239. }
  9240. }
  9241. //CustomRules
  9242. //functions add...Host copied here
  9243. function addObsoleteHost(linkRegex, xpathEx)
  9244. {
  9245. var host = new Array(2);
  9246. host[0] = linkRegex;
  9247. host[1] = xpathEx;
  9248. http_file_hosts_obsolete.push(host);
  9249. }
  9250. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9251. {
  9252. var host = new Array(7);
  9253. host[0] = linkRegex;
  9254. host[1] = isAliveRegex;
  9255. host[2] = isDeadRegex;
  9256. host[3] = isUnavaRegex;
  9257. host[4] = xpathEx;
  9258. tryLoop ? host[5] = true : host[5] = false;
  9259. host[6] = ispremRegex;
  9260. http_file_hosts.push(host);
  9261. }
  9262. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9263. {
  9264. var host = new Array(5);
  9265. host[0] = linkRegex;
  9266. host[1] = isAliveRegex;
  9267. host[2] = isDeadRegex;
  9268. host[3] = xpathEx;
  9269. host[4] = ispremRegex;
  9270. http_file_hosts_headers_only.push(host);
  9271. }
  9272. //takes a fully built rules array and adds the rules to WARLC
  9273. function applyCustomRules(customRules)
  9274. {
  9275. if (!customRules) return;
  9276. var rules, r, i;
  9277. rules = customRules.rules;
  9278. for (i = 0 ; i < rules.length ; i++)
  9279. {
  9280. r = rules[i];
  9281. if (r.enabled)
  9282. {
  9283. switch (r.type)
  9284. {
  9285. case 'single':
  9286. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9287. break;
  9288. case 'headers':
  9289. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9290. break;
  9291. case 'obsolete':
  9292. addObsoleteHost(r.urlregex, r.xpath)
  9293. break;
  9294. }
  9295. }
  9296. }
  9297. }
  9298.  
  9299.  
  9300. function initFileHostsCustom()
  9301. {
  9302. if (Custom_rules && Custom_rules_text)
  9303. {
  9304. var msg = '';
  9305. if (newVersion)
  9306. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9307. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9308. msg = '60 or more days have passed since this notification.\n\n';
  9309. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9310. {
  9311. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9312. msg +=
  9313. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9314. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9315. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9316. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9317. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9318. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9319. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9320. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9321. setTimeout(function(){alert(msg)},0);
  9322. }
  9323. var customRules = parseCustomRules(Custom_rules_text);
  9324. if (customRules.warning || customRules.error)
  9325. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9326. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9327. JSON.stringify(customRules.info, null, ' '));
  9328. applyCustomRules(customRules);
  9329. }
  9330. }
  9331. //end of CustomRules processing
  9332.  
  9333.  
  9334.  
  9335. } //end of function start
  9336.  
  9337.  
  9338.  
  9339. function initClipBoardTools()
  9340. {
  9341. unsafeWindow.copyToClipboard = function(text)
  9342. {
  9343. try
  9344. {
  9345. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9346.  
  9347. var str = Components.classes["@mozilla.org/supports-string;1"].
  9348. createInstance(Components.interfaces.nsISupportsString);
  9349. if (!str) return false;
  9350.  
  9351. str.data = text;
  9352.  
  9353. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9354. createInstance(Components.interfaces.nsITransferable);
  9355. if (!trans) return false;
  9356.  
  9357. trans.addDataFlavor("text/unicode");
  9358. trans.setTransferData("text/unicode", str, text.length * 2);
  9359.  
  9360. var clipid = Components.interfaces.nsIClipboard;
  9361. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9362. if (!clip) return false;
  9363.  
  9364. clip.setData(trans, null, clipid.kGlobalClipboard);
  9365. } catch (e) {
  9366. GM_log("Error copyToClipboard : " + e);
  9367. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9368. }
  9369. }
  9370. }
  9371.  
  9372.  
  9373.  
  9374. //CustomRules
  9375.  
  9376. function escapeRegex(str)
  9377. {
  9378. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9379. }
  9380.  
  9381.  
  9382. //called internally from parseCustomRules.
  9383. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9384. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9385. function makeCustomRule(rule)
  9386. {
  9387. function makeMatchRegex(arrmatch)
  9388. {
  9389. return escapeRegex(arrmatch.join('\n'))
  9390. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9391. .replace(/\n/g,'|'); //join together
  9392. }
  9393. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9394. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9395. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9396. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9397. if (rule.baseurl)
  9398. {
  9399. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9400. for (i = 0 ; i < len ; i++)
  9401. {
  9402. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9403. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9404. {
  9405. 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'])
  9406. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9407. }
  9408. else //baseurl in the form: example.com/xxx
  9409. {
  9410. xpath.push(m[0]);
  9411. urlregex.push(escapeRegex(m[0]) + '.');
  9412. }
  9413. }
  9414. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9415. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9416. }
  9417. return rule;
  9418. } //function makeCustomRule
  9419.  
  9420.  
  9421. /*
  9422. Takes a string containing custom link checking rules.
  9423. Returns an object with fields:
  9424. info - contains notes, warnings and errors found during parsing
  9425. rules - the array of custom rules
  9426. note, warning, error - number of each of them found during parsing
  9427. Format of the input string:
  9428. One command per line. Command format: @keyword parameter
  9429. Keywords:
  9430. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9431. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9432. These keywords can be multiple (any of them will work):
  9433. @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...)
  9434. @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+
  9435. @alivelink, @deadlink - example links
  9436. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9437. Lines starting with // and empty lines are ignored.
  9438. Invalid parameters generate errors and those lines are skipped.
  9439. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9440. Example:
  9441. @customrule filehost
  9442. @baseurl filehost.com/download/
  9443. @baseurl filehost2. com net /d?=
  9444. @alivematch id="download">
  9445. @deadmatch File not found
  9446. @deadmatch File deleted
  9447. */
  9448. function parseCustomRules(rulesStr)
  9449. {
  9450. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9451. function addInfo(type, msg, ln){
  9452. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9453. customRules[type]++;
  9454. }
  9455. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9456. if (!lines) return null;
  9457. lines.push('@#customrule _'); //to save the last rule
  9458. var m, linecount = lines.length;
  9459. var keyword, param, constr, rule, err;
  9460. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9461. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9462. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9463. var constraints = {
  9464. 'baseurl': {
  9465. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9466. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9467. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9468. 'alivematch': {
  9469. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9470. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9471. 'deadmatch': {
  9472. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9473. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9474. 'unavamatch': {
  9475. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9476. 'alivelink': {
  9477. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9478. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9479. 'deadlink': {
  9480. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9481. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9482. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9483. };
  9484. for (linenum = 0 ; linenum < linecount ; linenum++)
  9485. {
  9486. //capturing groups: 1 23 4 5 6
  9487. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9488. if (m)
  9489. {
  9490. if (m[1] || !m[2])
  9491. continue; // ignore empty lines and lines starting with //
  9492. keyword = (m[4] || m[2]).toLowerCase();
  9493. param = m[6];
  9494. if (keyword == 'customrule')
  9495. {
  9496. //save the current rule if all required fields are provided
  9497. if (rule)
  9498. {
  9499. err = false;
  9500. $.each(constraints, function(kw, constraint){
  9501. var l, constr = constraint[rule.type];
  9502. if (constr)
  9503. {
  9504. l = rule[kw] ? rule[kw].length : 0;
  9505. if (l < constr.min || l > constr.max)
  9506. {
  9507. 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);
  9508. err = true;
  9509. }
  9510. }
  9511. });
  9512. if (!err)
  9513. customRules.rules.push(makeCustomRule(rule));
  9514. }
  9515. //start a new rule
  9516. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9517. {
  9518. rule = {
  9519. 'enabled': !m[3],
  9520. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9521. 'name': param
  9522. };
  9523. }
  9524. else
  9525. {
  9526. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9527. rule = null;
  9528. }
  9529. }
  9530. else //good line format, but keyword other than customrule
  9531. {
  9532. if (!rule)
  9533. {
  9534. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9535. continue;
  9536. }
  9537. if (constraints[keyword])
  9538. {
  9539. constr = constraints[keyword][rule.type];
  9540. if (constr)
  9541. {
  9542. if (constr.paramRE && !constr.paramRE.test(param))
  9543. {
  9544. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9545. continue;
  9546. }
  9547. }
  9548. else
  9549. {
  9550. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9551. continue;
  9552. }
  9553. }
  9554. //line OK, save
  9555. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9556. }
  9557. } //if (m)
  9558. else
  9559. addInfo('warning', 'Unknown line format. Line skipped.');
  9560. } //for loop
  9561. return customRules;
  9562. } //function parseCustomRules
  9563.  
  9564.  
  9565. /* ********************UPDATES********************
  9566.  
  9567. February 20, 2016
  9568. Version 1.2.5.0
  9569. added abelhas.pt
  9570.  
  9571. February 18, 2016
  9572. Version 1.2.4.9
  9573. made change to uptobox
  9574.  
  9575. February 17, 2016
  9576. Version 1.2.4.8
  9577. fixed yadi.sk
  9578.  
  9579. February 16, 2016
  9580. Version 1.2.4.7
  9581. fixed datafile.com
  9582. fixed filecad.com
  9583. added filecore.co & filestorm.to to obsolete hosts
  9584. added upload.af, filedwon.in & uplod.it
  9585.  
  9586. February 15, 2016
  9587. Version 1.2.4.6
  9588. fixed kumpulbagi.id
  9589. added sangfile.com to obsolete hosts
  9590.  
  9591. February 14, 2016
  9592. Version 1.2.4.5
  9593. fixed yandex.ru
  9594.  
  9595. February 13, 2016
  9596. Version 1.2.4.4
  9597. added lunaticfiles.com.
  9598.  
  9599. February 09, 2016
  9600. Version 1.2.4.3
  9601. added file.up09.com.
  9602.  
  9603. February 09, 2016
  9604. Version 1.2.4.2
  9605. tezfiles.com premium links now detected.
  9606.  
  9607. February 09, 2016
  9608. Version 1.2.4.1
  9609. added seenupload.com to obsolete hosts
  9610. fixed 180upload.com to show obsolete
  9611.  
  9612. February 08, 2016
  9613. Version 1.2.4.0
  9614. added tusfiles.com
  9615. added filesupload.org
  9616. added gigasize.com
  9617. added filecad.com
  9618. fixed filecloud.io
  9619. added uploadnet.co to obsolete hosts
  9620.  
  9621. February 07,2016
  9622. Vession 1.2.3.9
  9623. fixed depositfiles.com folders
  9624. fixed turbobit.net folders
  9625.  
  9626. February 06, 2016
  9627. Version 1.2.3.8
  9628. fixed 1fichier false dead links
  9629.  
  9630. February 04, 2106
  9631. Version 1.2.3.7
  9632. added geupload and lenfile to obsolete hosts
  9633. fixed kyc.pm/depfile
  9634.  
  9635. February 03, 2016
  9636. Version 1.2.3.6
  9637. fixed some nitroflare.com dead links not being detected
  9638.  
  9639. February 01, 2016
  9640. Version 1.2.3.5
  9641. script moved to new site
  9642.  
  9643. January 20, 2016
  9644. Version 1.2.3.3
  9645. fixed some rapidgator premium link not being detected
  9646.  
  9647. January 17, 2016
  9648. Version 1.2.3.2
  9649. added bytewhale.com
  9650. added rapidrar.com
  9651.  
  9652. Version 1.2.3.1
  9653. added 180upload.com to obsolete hosts
  9654. fixed hellspy.com
  9655. added dinoshare.cz,
  9656.  
  9657. January 13, 2016
  9658. Version 1.2.3.0
  9659. added rapidu.net
  9660. added uploadboy.me
  9661. fixed euroshare.eu
  9662.  
  9663. January 12, 2016
  9664. Version 1.2.2.9
  9665. added kb.simple-aja.info
  9666.  
  9667. January 10, 2016
  9668. Version 1.2.2.8
  9669. made changes to fastshare.cz
  9670.  
  9671. January 10, 2016
  9672. Version 1.2.2.7
  9673. fixed uptobox.com
  9674.  
  9675. January 09, 2016
  9676. Version 1.2.2.6
  9677. datoteke.com now detects premium links
  9678. fixed turbobit.net
  9679. fixed uptobox.com
  9680. added pornfile.cz
  9681. added pornoid.cz
  9682. added file-share.top
  9683. added bitster.cz
  9684.  
  9685. January 05, 2016
  9686. Version 1.2.2.5
  9687. fixed salefiles.com
  9688. fixed ozofile.com
  9689.  
  9690. January 04, 2016
  9691. Version 1.2.2.4
  9692. added sharehost.eu
  9693.  
  9694. December 30, 2015
  9695. Version 1.2.2.3
  9696. added tezfiles.com
  9697.  
  9698. December 28, 2015
  9699. Version 1.2.2.2
  9700. fixed some k2s & fboom dead link not getting detected
  9701. fixed some k2s premium links not getting detected.
  9702. fixed ssh.yt not detecting some dead links
  9703. fixed ncrypt.in dead links showing yellow
  9704.  
  9705. December 20, 2015
  9706. Version 1.2.2.0
  9707. added datoteke.com
  9708.  
  9709. December 19, 2015
  9710. Version 1.2.1.9
  9711. added secured.in & linksave.in to obsolete hosts
  9712.  
  9713. December 17, 2015
  9714. Version 1.2.1.8
  9715. added german for dead links to secureupload.eu.
  9716.  
  9717. December 17, 2015
  9718. Version 1.2.1.7
  9719. added french for dead links to secureupload.eu.
  9720. fixed problem with tooltip display.
  9721.  
  9722. December 13, 2015
  9723. Version 1.2.1.6
  9724. added netload.me & fileparadox.in to obsolete hosts
  9725.  
  9726. December 09, 2015
  9727. Version 1.2.1.5
  9728. added rapidsonic.com & fileparadox.com to obsolete hosts
  9729.  
  9730. December 04, 2015
  9731. Version 1.2.1.4
  9732. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  9733.  
  9734. December 03, 2015
  9735. Version 1.2.1.3
  9736. added dailyuploads.net
  9737.  
  9738. December 02, 2015
  9739. Version 1.2.1.2
  9740. fixed hitfile.net
  9741. fixed kingfiles.net
  9742.  
  9743. November 30, 2015
  9744. Version 1.2.1.1
  9745. added filepost.com to obsolete hosts
  9746. added devilshare.net
  9747.  
  9748. November 28, 2015
  9749. Version 1.2.1.0
  9750. fixed datafile.com not detecting some premium links.
  9751.  
  9752. November 25, 2015
  9753. Version 1.2.0.9
  9754. fixed filejoker.net
  9755. fixed toutbox.fr
  9756. fixed nowvideo.sx
  9757.  
  9758. November 24, 2015
  9759. Version 1.2.0.8
  9760. fixed openload.io
  9761.  
  9762. November 20, 2015
  9763. Version 1.2.0.7
  9764. //added file.al
  9765. //fixed nitroflare.com false live links
  9766. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  9767.  
  9768. November 17, 2015
  9769. Version 1.2.0.6
  9770. added clicknupload.me
  9771.  
  9772. November 09, 2015
  9773. Version 1.2.0.5
  9774. fixed some depfile premium links not being detected
  9775.  
  9776. November 08, 2015
  9777. Version 1.2.0.4
  9778. fixed some rapidgator premium links not being detected
  9779. fixed doraupload.com
  9780.  
  9781. November 08, 2015
  9782. Version 1.2.0.3
  9783. fixed uploaded false premium
  9784.  
  9785. November 07, 2015
  9786. Version 1.2.0.2
  9787. fixed redbunker.net
  9788.  
  9789. November 05, 2015
  9790. Version 1.2.0.1
  9791. fixed app.box.com
  9792. added multiup.org (does not detect all dead links)
  9793.  
  9794. November 01, 2015
  9795. Version 1.2.0.0
  9796. added more languages to rockfile and 1fichier
  9797.  
  9798. November 01, 2015
  9799. Version 1.1.9.9
  9800. fixed rockfile.eu
  9801. changed 1fichier code (Thanks yurri)
  9802. added to obsolete hosts... (Thanks Love Buzz)
  9803. burnupload.com
  9804. cramit.in
  9805. cramitin.net
  9806. down4files.com
  9807. edoc.com
  9808. jumbofile.net
  9809. krotix.net
  9810. migahost.com
  9811. movreel.com
  9812. netload.in
  9813. newfileland.com
  9814. quickshare.cz
  9815.  
  9816. October 30, 2015
  9817. Version 1.1.9.8
  9818. added alfafile.net
  9819.  
  9820. October 26, 2015
  9821. Version 1.1.9.7
  9822. changed datafile.com and uplea.com
  9823. added lolabits.es
  9824.  
  9825. October 26, 2015
  9826. Version 1.1.9.6
  9827. added toutbox.fr
  9828.  
  9829. October 25, 2015
  9830. Version 1.1.9.5
  9831. fixed counter error
  9832.  
  9833. October 25, 2015
  9834. Version 1.1.9.4
  9835. changed uptobox.com code
  9836.  
  9837. October 21, 2015
  9838. Version 1.1.9.3
  9839. fixed uptobox.com
  9840.  
  9841. October 20, 2015
  9842. Version 1.1.9.2
  9843. bug fixes and new method of detecting premium links.
  9844.  
  9845. October 15, 2015
  9846. Version 1.1.9.1
  9847. fixed hugefiles.net false premium
  9848. changed uptobox.com code
  9849.  
  9850. October 06, 2015
  9851. Version 1.1.9.0
  9852. fixed filefactory
  9853. fixed rockfile false premium
  9854. keep2share & fileboom now detect premium links (fixed by yurii)
  9855.  
  9856. October 01, 2015
  9857. Version 1.1.8.9
  9858. fixed free.fr false premium
  9859. fixed thevideo.me false premium
  9860.  
  9861. September 28, 2015
  9862. Version 1.1.8.8
  9863. added uplea.com and openload.co
  9864.  
  9865. September 27, 2015
  9866. Version 1.1.8.7
  9867. fixed fileparadox.in false premium
  9868. added kingfiles.net to obsolete hosts
  9869. removed inafile.com from obsolete hosts
  9870.  
  9871. September 22, 2015
  9872. Version 1.1.8.6
  9873. fixed nitroflare false premium
  9874.  
  9875. September 22, 2015
  9876. Version 1.1.8.5
  9877. fixed userscloud.com false premium
  9878. fixed usersfiles.com false premium
  9879. changed arabloads.com to arabloads.net
  9880. changed nowdownloads.eu to nowdownloads.ch
  9881.  
  9882. September 21, 2015
  9883. Version 1.1.8.3
  9884. added ryushare.com to obsolete hosts.
  9885.  
  9886. September 20, 2015
  9887. Version 1.1.8.2
  9888. fixed nitroflare not showing premium links
  9889. added down4files.com,storfiles.co,filehost.pw
  9890.  
  9891. September 16, 2015
  9892. Version 1.1.8.1
  9893. added crisshare.com to obsolete hosts
  9894. fixed filemoney.com false premium
  9895. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  9896.  
  9897. September 14, 2015
  9898. Version 1.1.8.0
  9899. added to obsolete hosts...
  9900. sharebeast.com
  9901. tufiles.ru
  9902.  
  9903. September 12, 2015
  9904. Version 1.1.7.9
  9905. fixed rghost.net false premium
  9906. fixed unlimitzone.com false premium
  9907. fixed turbobit.net false live link
  9908.  
  9909. September 11, 2015
  9910. Version 1.1.7.8
  9911. Fixed filefactory.com false premium.
  9912.  
  9913. September 07, 2015
  9914. Version 1.1.7.7
  9915. fixed "depositfiles.com/en/files" links not checking
  9916.  
  9917. September 06, 2015
  9918. Version 1.1.7.6
  9919. added French code for 1fichier
  9920.  
  9921. August 29, 2015
  9922. Version 1.1.7.5
  9923. fixed depositfiles
  9924. fixed mega.co.nz/mega.nz
  9925. (fixed by yurii)
  9926.  
  9927. August 23, 2015
  9928. Version 1.1.7.4
  9929. Fixed uploadrocket (by yurii)
  9930.  
  9931. August 20, 2015
  9932. Version 1.1.7.3
  9933. fixed depfile.com false premium
  9934. fixed 1fichier false premium
  9935. fixed rapidgator false premium
  9936.  
  9937. August 08, 2015
  9938. Version 1.1.7.1
  9939. fixed unlimitzone.com, added freakshare to obsolete hosts.
  9940.  
  9941. August 07, 2015
  9942. Version 1.1.7.0
  9943. fixed...
  9944. streamin.to
  9945. thefile.me
  9946. vidzi.tv
  9947. added...
  9948. filenuke.com
  9949. vidto.me
  9950. vidspot.net
  9951. sharesix.com
  9952. sharesix.net
  9953. movpod.in,
  9954.  
  9955. August 07, 2015
  9956. Version 1.1.6.9 added...
  9957. thefile.me
  9958. vidzi.tv
  9959. videoweed.es
  9960. vodlocker.com
  9961. nowvideo.sx
  9962. cloudtime.to
  9963. thevideo.me
  9964. vidbull.com
  9965. allmyvideos.net
  9966. novamov.com
  9967. filehoot.com
  9968. stagevu.com
  9969. gorillavid.in
  9970. streamin.to
  9971.  
  9972. August 02, 2015
  9973. Version 1.1.6.8
  9974. added cloudshares.net
  9975.  
  9976. August 01, 2015
  9977. Version 1.1.6.7
  9978. fixed depfile redirectors false premium
  9979.  
  9980. July 31, 2015
  9981. Version 1.1.6.6
  9982. fixed depfile.com false premium
  9983. */

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址