W.A.R. Links Checker Premium

detects live, dead and premium links.

目前為 2016-02-18 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @version 1.2.4.8
  7. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRR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BihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  8. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  9. // @author mental
  10. // @include http://*
  11. // @include https://*
  12. // @include file:///*
  13. // @grant GM_setValue
  14. // @grant GM_getValue
  15. // @grant GM_xmlhttpRequest
  16. // @grant GM_log
  17. // @grant GM_addStyle
  18. // @grant GM_registerMenuCommand
  19. // @grant GM_getResourceText
  20. // @grant GM_info
  21. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  22. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  23. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  24. // @homepage http://usa.x10host.com/mybb
  25. // @namespace war premium
  26. // @noframes
  27. // ==/UserScript==
  28.  
  29. //separate alternative domains with "|" char (first name is considered being main)
  30. var allHostNames = [
  31. "1fichier.com|dl4free.com",
  32. "upload.af",
  33. "filedwon.info",
  34. "uplod.it",
  35. "rapidu.net",
  36. "file.up09.com",
  37. "lunaticfiles.com",
  38. "filecad.com",
  39. "filesupload.org",
  40. "gigasize.com",
  41. "bytewhale.com",
  42. "rapidrar.com",
  43. "download.cz.hellshare.com",
  44. "pornfile.cz",
  45. "dinoshare.cz",
  46. "kb.simple-aja.info",
  47. "bitster.cz",
  48. "file-share.top",
  49. "pornoid.cz",
  50. "dailyuploads.net",
  51. "sharehost.eu",
  52. "tezfiles.com",
  53. "devilshare.net",
  54. "alfafile.net",
  55. "openload.co",
  56. "multiup.org",
  57. "uplea.com",
  58. "filenuke.com",
  59. "file.al",
  60. // "inafile.com",
  61. "lolabits.es",
  62. "vidto.me",
  63. "storefiles.co",
  64. "filehost.pw",
  65. "vidspot.net",
  66. "turbobit.ru",
  67. "sharesix.com|sharesix.net",
  68. "movpod.in",
  69. "thefile.me",
  70. "datoteke.com",
  71. "vidzi.tv",
  72. "videoweed.es",
  73. "vodlocker.com",
  74. "nowvideo.sx",
  75. "cloudtime.to",
  76. "thevideo.me",
  77. "vidbull.com",
  78. "allmyvideos.net",
  79. "novamov.com",
  80. "filehoot.com",
  81. "stagevu.com",
  82. "gorillavid.in",
  83. "streamin.to",
  84. "4upld.com",
  85. "cloudshares.net",
  86. "swoopshare.com",
  87. "2shared.com",
  88. "fileupload.pw",
  89. "zxcfiles.com",
  90. "up07.net",
  91. "4shared.com",
  92. "adrive.com",
  93. "aisfile.com",
  94. "hexupload.com",
  95. "bezvadata.cz",
  96. "xkeepfile.com|Gamesena.com",
  97. "usersfiles.com",
  98. "pan.baidu.com",
  99. "radicalshare.com",
  100. "datei.to",
  101. "daten-hoster.de|filehosting.org|xtraupload.de",
  102. "demo.ovh.eu",
  103. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  104. "divshare.com",
  105. "easy-share.com|crocko.com",
  106. "easybytez.com",
  107. "edisk.cz",
  108. "euroshare.eu",
  109. "file-upload.net",
  110. "yadi.sk",
  111. "wizupload.com",
  112. "fastshare.cz",
  113. "filefactory.com",
  114. "share.vnn.vn",
  115. "yunpan.cn",
  116. "gulfup.com",
  117. "tropicshare.com",
  118. "cloudzilla.to",
  119. "inclouddrive.com",
  120. "fileflyer.com",
  121. "filerio.com|filekeen.com",
  122. "up.4share.vn",
  123. "upfile.vn",
  124. "datafilehost.com",
  125. "fileband.com",
  126. "worldbytez.com",
  127. "files.mail.ru",
  128. "filesflash.com",
  129. "box.com",
  130. "uptobox.com",
  131. "box.net",
  132. "goldbytez.com",
  133. "sdilej.cz",
  134. "ex-load.com",
  135. "filesmonster.com",
  136. "filestore.to",
  137. "hulkload.com",
  138. "filedropper.com",
  139. "free-uploading.com",
  140. "gamefront.com|filefront.com",
  141. "gettyfile.ru",
  142. "gigapeta.com",
  143. "gigasize.com",
  144. "hellshare.com",
  145. "hellspy.com",
  146. "hitfile.net",
  147. "hostuje.net",
  148. "freefilehosting.net",
  149. "free.fr",
  150. "hulkshare.com",
  151. "hyperfileshare.com",
  152. "filecloud.io|ifile.it",
  153. "ifolder.ru",
  154. "jumbofiles.com",
  155. "uploadrocket.net",
  156. "lafiles.com",
  157. "leteckaposta.cz|sharegadget.com",
  158. "letitbit.net",
  159. "load.to",
  160. "mediafire.com",
  161. "megafileupload.com",
  162. "megashares.com",
  163. "movshare.net",
  164. "muchshare.net",
  165. "myupload.dk",
  166. "narod.ru|narod.yandex.ru",
  167. "fboom.me|fileboom.me",
  168. "openfile.ru",
  169. "partage-facile.com",
  170. "plunder.com",
  171. "sharerapid.cz",
  172. "exclusiveloader.com",
  173. "acefile.net",
  174. "queenshare.com",
  175. "rapidgator.net",
  176. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  177. "oboom.com",
  178. "filepi.com",
  179. "neodrive.co",
  180. "rarefile.net",
  181. "rayfile.com",
  182. "rghost.net",
  183. "sendmyway.com",
  184. "clicknupload.com",
  185. "clicknupload.me",
  186. "sharemods.com",
  187. "hostr.co",
  188. "sendspace.com",
  189. "sharecash.org",
  190. "share-links.biz",
  191. "share-online.biz|egoshare.com",
  192. "megarapid.cz",
  193. "shareflare.net",
  194. "solidfiles.com",
  195. "led.wf",
  196. "lan.wf",
  197. "adlink.wf",
  198. "click.tf",
  199. "kyc.pm",
  200. "ssh.tf",
  201. "ssh.yt",
  202. "yep.pm",
  203. "stahovanizasms.cz",
  204. "turbobit.net",
  205. "filecloud.cc",
  206. "tikfile.com",
  207. "cloudsix.me",
  208. "turboupload.com",
  209. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  210. "ulozisko.sk",
  211. "uloziste.com",
  212. "unibytes.com",
  213. "upload-il.net|przeslij.net",
  214. "uploaded.to|ul.to",
  215. "uploading.com",
  216. "chayfile.com",
  217. "rockfile.eu",
  218. "24uploading.com",
  219. "uploadspace.pl",
  220. "upnito.sk",
  221. "usaupload.net",
  222. "veehd.com",
  223. "videobb.com",
  224. "vip-file.com",
  225. "webshare.cz",
  226. "xdisk.cz",
  227. "yunfile.com|filemarkets.com",
  228. "ziddu.com",
  229. "zippyshare.com",
  230. "rodfile.com",
  231. "wikiupload.com",
  232. "uploadstube.de",
  233. "faststore.org",
  234. "flyfiles.net",
  235. "nowdownload.ch",
  236. "prefiles.com",
  237. "axifile.com",
  238. "hackerbox.org",
  239. "amonshare.com",
  240. "data.hu",
  241. "brupload.net",
  242. "userscloud.com",
  243. "netkups.com",
  244. "xfileload.com",
  245. "kumpulbagi.com|kumpulbagi.id",
  246. "uppit.com|up.ht",
  247. "downloadani.me",
  248. "filesabc.com",
  249. "verzend.be",
  250. "4up.me",
  251. "extmatrix.com",
  252. "sendfiles.nl",
  253. "yourfilestore.com",
  254. "filebig.net",
  255. "nekaka.com",
  256. "file4safe.com",
  257. "tusfiles.net|tusfiles.com",
  258. "filemac.com",
  259. "idup.in",
  260. "fileswap.com",
  261. "ozofiles.com",
  262. "loudupload.net",
  263. "nosupload.com",
  264. "gboxes.com",
  265. "myvdrive.com|fileserving.com",
  266. "filesin.com",
  267. "novafile.com",
  268. "longfiles.com",
  269. // "uploadhero.com",
  270. "uploadbaz.com",
  271. "bitupload.com",
  272. "indowebster.com",
  273. "superload.cz",
  274. "mafiastorage.com",
  275. "4upfiles.com",
  276. "filesmelt.com",
  277. "hellupload.com",
  278. "uploadingit.com",
  279. "stiahni.si",
  280. "sendspace.pl",
  281. "fastshare.org",
  282. "filejoker.net",
  283. "filestore.com.ua",
  284. "secureupload.eu",
  285. "rapidfileshare.net",
  286. "stiahnito.sk",
  287. "rusfolder.com",
  288. "fileover.net",
  289. "catshare.net",
  290. "anonfiles.com",
  291. "mixturecloud.com",
  292. "filedais.com",
  293. // "imdb.com",
  294. "nitroflare.com",
  295. "akafile.com",
  296. "creafile.net",
  297. "hugefiles.net",
  298. "vidxden.com",
  299. "up.top4top.net",
  300. "upload.ee",
  301. "shareplace.org",
  302. "uploadc.com",
  303. "remixshare.com",
  304. "exoshare.com",
  305. "borncash.org",
  306. "junocloud.me",
  307. "expressleech.com",
  308. "2downloadz.com",
  309. "mightyupload.com",
  310. "anysend.com",
  311. "datafile.com",
  312. "upstore.net",
  313. "upsto.re",
  314. "speedy.sh",
  315. "sanshare.com",
  316. "kingfiles.net",
  317. // "uploadhero.co",
  318. "ge.tt",
  319. "filesflash.net",
  320. "salefiles.com",
  321. // "megairon.net",
  322. "datoid.cz",
  323. "cloudstor.es",
  324. "streamfile.com",
  325. "eyesfile.ca",
  326. "filemoney.com",
  327. "uploadboy.com",
  328. "uploadboy.me",
  329. "speedshare.eu",
  330. "google.com",
  331. "unlimitzone.com",
  332. "rioupload.com",
  333. "rg.to",
  334. "jumbofiles.org",
  335. "fshare.vn",
  336. "spaceforfiles.com",
  337. "up.media1fire.com",
  338. "depfile.com",
  339. "go4up.com",
  340. "dropbox.com",
  341. "redbunker.net",
  342. "divxpress.com",
  343. "mega.nz|mega.co.nz",
  344. "anafile.com",
  345. "uploadable.ch",
  346. "arabloads.net",
  347. "sharerepo.com",
  348. "sfshare.se",
  349. "files.fm",
  350. "koofile.com",
  351. "vidplay.net",
  352. "storagon.com",
  353. "doraupload.com",
  354. "openload.io",
  355. "uploads.xxx",
  356. "toutbox.fr",
  357. ];
  358.  
  359. try
  360. {
  361. //iframes excluded
  362. if (window.top != window.self)
  363. {
  364. return;
  365. }
  366. //allHostNames sites excluded
  367. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  368. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  369. ")"))
  370. {
  371. return;
  372. }
  373. }
  374. catch (e)
  375. {
  376. return;
  377. }
  378.  
  379. //separate alternative domains with "|" char (first name is considered being main)
  380. var allContainerNames = [
  381. "adf.ly",
  382. "linkcrypt.ws",
  383. "linksafe.me",
  384. // "linksave.in",
  385. "linkto.net",
  386. "madlink.sk",
  387. "multiload.cz",
  388. "mirrorcreator.com",
  389. "ncrypt.in",
  390. "redi.re",
  391. "relink.us",
  392. "safelinking.net",
  393. "theloo.katt.it",
  394. "bit.ly",
  395.  
  396. ];
  397.  
  398. //separate alternative domains with "|" char (first name is considered being main)
  399. var allObsoleteNames = [
  400. "uloz.cz",
  401. "secured.in",
  402. "linksave.in",
  403. "seenupload.com",
  404. "sangfile.com",
  405. "filepost.com|fp.io",
  406. "filestorm.to",
  407. "uploadnet.co",
  408. "180upload.com",
  409. "rapidsonic.com",
  410. "fileparadox.com",
  411. "geupload.com",
  412. "lenfile.com",
  413. "fileparadox.in",
  414. "uploadhero.co",
  415. "uploadhero.com",
  416. "newfileland.com",
  417. "quickshare.cz",
  418. "netload.in",
  419. "netload.me",
  420. "movreel.com",
  421. "migahost.com",
  422. "krotix.net",
  423. "jumbofile.net",
  424. "edoc.com",
  425. "down4files.com",
  426. "cramit.in|cramitin.net",
  427. "freakshare.com",
  428. "burnupload.com|burnupload.ihiphop.com",
  429. "freakshare.net",
  430. "daj.to",
  431. "bl.st",
  432. "2drive.net",
  433. "ryushare.com",
  434. "crisshare.com",
  435. "tufiles.ru",
  436. "uncapped-downloads.com",
  437. "sockshare.com",
  438. "ddlstorage.com",
  439. "dataport.cz",
  440. "dizzcloud.com",
  441. "sharebeast.com",
  442. "stahovadlo.cz",
  443. "shared.com",
  444. "storage.to",
  445. "putlocker.com",
  446. "lumfile.com",
  447. "lumfile.se",
  448. "lumfile.eu",
  449. "firedrive.com",
  450. "fileshare.in.ua",
  451. "filecore.co.nz",
  452. "filecore.co",
  453. "iskladka.cz",
  454. "file-rack.com",
  455. "fast-load.net",
  456. "subory.sk",
  457. "bigandfree.com",
  458. "fileop.com",
  459. "mujsoubor.cz",
  460. "sendfile.to",
  461. "superfastfile.com",
  462. "quickyshare.com",
  463. "duckload.com",
  464. "uploadstore.net",
  465. "meinupload.com",
  466. "dualshare.com",
  467. "2xupload.to|2xupload.de",
  468. "oxedion.com",
  469. "uploadline.com",
  470. "dll.bz",
  471. "movieshare.in",
  472. "milledrive.com",
  473. "quickupload.net",
  474. "safelink.in",
  475. "metadivx.com",
  476. "divxlink.com",
  477. "uploadrack.com",
  478. "teradepot.com",
  479. "dataup.to",
  480. "upit.to",
  481. "driveway.com",
  482. "eatlime.com",
  483. "a2zuploads.com",
  484. "friendlyfiles.net",
  485. "flyfile.us",
  486. "speedyshare.com",
  487. "uploadspace.eu",
  488. "keepfile.com",
  489. "piggyshare.com",
  490. "uplly.com",
  491. "filecrown.com",
  492. "6giga.com",
  493. "uploadjockey.com",
  494. "bluehost.to",
  495. "filegu.ru",
  496. "filebase.to",
  497. "up-file.com",
  498. "xvideos.com",
  499. "ufox.com",
  500. "filebling.com",
  501. "loaded.it",
  502. "uploadcell.com",
  503. "uploadshare.cz",
  504. "mangoshare.com",
  505. "filestab.com",
  506. "crazyupload.com",
  507. "gaiafile.com",
  508. "sharejunky.com",
  509. "fileho.com",
  510. "bigandfree.com",
  511. "bigfile.in",
  512. "bigshare.eu",
  513. "dahosting.org",
  514. "digisofts.net",
  515. "file4save.com",
  516. "filechip.com",
  517. "filescloud.com",
  518. "saveqube.com",
  519. "turboshare.de",
  520. "z-upload.com",
  521. "youshare.com",
  522. "jiffyupload.com",
  523. "gigeshare.com",
  524. "datenklo.net",
  525. "upload.dj",
  526. "loadfiles.in",
  527. "upit.to",
  528. "dsfileshare.com",
  529. "sharesimple.net",
  530. "4files.net",
  531. "wooupload.com",
  532. "odsiebie.com",
  533. "filenavi.com",
  534. "3oof.com",
  535. "meshwaar.com",
  536. "maxupload.com",
  537. "share.cx",
  538. "atserver.eu",
  539. "hotfiles.ws",
  540. "esnips.com",
  541. "tuxfile.com",
  542. "file2upload.net",
  543. "filebling.com",
  544. "turboshare.com",
  545. "rarhost.com",
  546. "isharehd.com",
  547. "i741.com",
  548. "dataup.de",
  549. "fofly.com",
  550. "shareonall.com",
  551. "sexuploader.com",
  552. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  553. "uploadhyper.com",
  554. "filespawn.com",
  555. "caizzii.com",
  556. "volnyweb.cz",
  557. "usershare.net",
  558. "filescash.net",
  559. "metahyper.com",
  560. "combozip.com",
  561. "x7.to",
  562. "uploadbox.com",
  563. "enterupload.com|flyupload.com",
  564. "filepoint.de",
  565. "mystream.to",
  566. "x-fs.com",
  567. "shareator.com",
  568. "srapid.eu",
  569. "sosame.cz",
  570. "filesdump.com",
  571. "2-klicks.de",
  572. "uploking.com",
  573. "silofiles.com",
  574. "upfile.in",
  575. "filehook.com",
  576. "uploadking.com",
  577. "uploadhere.com",
  578. "kewlshare.com",
  579. "rapidable.com",
  580. "uploadwaste.com",
  581. "filemup.com",
  582. "filesonic.com|sharingmatrix.com",
  583. "fileserve.com",
  584. "wupload.com",
  585. "skipfile.com",
  586. "smartuploader.com",
  587. "dualshare.com",
  588. "storeandserve.com",
  589. "mountfile.com",
  590. "transitfiles.com",
  591. "uploadstation.com",
  592. "filejungle.com",
  593. "shareshared.com",
  594. "quickyshare.com",
  595. "save.am",
  596. "petandrive.com",
  597. "file2box.com",
  598. "flyshare.cz",
  599. "yabadaba.ru",
  600. "cloudcache.cc",
  601. "yourfilehost.com",
  602. "jakfile.com",
  603. "kickload.com",
  604. "pyramidfiles.com",
  605. "refile.net",
  606. "zshare.net",
  607. "ddlani.me|ddlanime.com",
  608. "ftp2share.com",
  609. "fooget.com",
  610. "rapidhide.com",
  611. "gotupload.com",
  612. "mooload.com",
  613. "zupload.com",
  614. "mytempdir.com",
  615. "onionshare.com",
  616. "stahnu.to",
  617. "oron.com",
  618. "badongo.com",
  619. "filereactor.com",
  620. "filegaze.com",
  621. "4bytez.com",
  622. "1hostclick.com",
  623. "anonstream.com",
  624. "batshare.com",
  625. "bitroad.net",
  626. "brontofile.com",
  627. "cloudnxt.net",
  628. "cloudnator.com|shragle.com",
  629. "filesfrog.net",
  630. "coolshare.cz",
  631. "dotavi.com",
  632. "ezyfile.net",
  633. "file-bit.net",
  634. "filecosy.com",
  635. "fileduct.com|fileduct.net",
  636. "filefat.com",
  637. "filelaser.com",
  638. "filemashine.com",
  639. "fileserver.cc",
  640. "filetechnology.com",
  641. "fireuploads.net",
  642. "gigfiles.net",
  643. "holderfile.com",
  644. "ihostia.com",
  645. "k2files.com",
  646. "mojofile.com",
  647. "ovfile.com",
  648. "qshare.com",
  649. "shafiles.me",
  650. "sharefilehost.com",
  651. "shareupload.com",
  652. "stahuj.to",
  653. "ugotfile.com",
  654. "uploadboost.com",
  655. "fileom.com",
  656. "vidhog.com",
  657. "xfileshare.eu",
  658. "bzlink.us",
  659. "bulletupload.com",
  660. "bloggerarticles.com",
  661. "mojedata.sk",
  662. "sharpfile.com",
  663. "upgrand.com",
  664. "nasdilej.cz",
  665. "mediatack.cz",
  666. "share-it.to",
  667. "primeupload.com",
  668. "filebeer.info",
  669. "baberepublic",
  670. "xtu.me",
  671. "sharebase.de",
  672. "luckyshare.net",
  673. "filerobo.com",
  674. "filevelocity.com",
  675. "filezpro.com",
  676. "file4sharing.com",
  677. "cing.be",
  678. "ufile.eu",
  679. "pigsonic.com",
  680. "fileupped.com",
  681. "sharerun.com",
  682. "filesaur.com",
  683. "rapidslnare.com",
  684. "bestsharing.com",
  685. "savefiles.net",
  686. "file2share.biz",
  687. "filecache.de",
  688. "monsteruploads.eu",
  689. "b9bb.com",
  690. "aiotool.net",
  691. "jamber.info",
  692. "megaftp.com",
  693. "desiupload.net",
  694. "file27.com",
  695. "yastorage.com",
  696. "filehost.ws",
  697. "copyload.com",
  698. "venusfile.com",
  699. "aieshare.com",
  700. "terafile.co",
  701. "terafile.com",
  702. "fileza.net",
  703. "filerose.com",
  704. "squillion.com",
  705. "fileprohost.com",
  706. "bitbonus.com",
  707. "warserver.cz",
  708. "uload.to",
  709. "sharedbit.net",
  710. "megaload.it",
  711. "filewinds.com",
  712. "uploadcore.com",
  713. "syfiles.com",
  714. "eyesfile.com",
  715. "hotfile.com",
  716. "superupl.com",
  717. "oteupload.com",
  718. "henchfile.com",
  719. "filegag.com",
  720. "HenchFile.com",
  721. "filedefend.com",
  722. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  723. "megabitshare.com",
  724. "cloudzer.com",
  725. "asfile.com",
  726. "cloudzer.net",
  727. "clz.to",
  728. "extabit.com",
  729. "247upload.com",
  730. "2download.de",
  731. "4fastfile.com",
  732. "asixfiles.com",
  733. "berofile.com",
  734. "bigupload.com",
  735. "cepzo.com",
  736. "clouds.to",
  737. "cobrashare.sk",
  738. "coraldrive.net",
  739. "cyberlocker.ch",
  740. "czshare.com",
  741. "darkport.org",
  742. "dark-uploads.com",
  743. "davvas.com",
  744. "enigmashare.com",
  745. "erofly.cz",
  746. "fastsonic.net",
  747. "filebox.com",
  748. "filecity.net",
  749. "filedap.com",
  750. "filedino.com",
  751. "filedownloads.org",
  752. "filefolks.com",
  753. "fileking.co",
  754. "filemates.com",
  755. "files.to",
  756. "files2k.eu",
  757. "filesector.cc",
  758. "bitshare.com",
  759. "filesega.com",
  760. "filesend.net",
  761. "filestay.com",
  762. "filestrum.com",
  763. "fileuplo.de",
  764. "fileupup.com",
  765. "forunesia.com",
  766. "freeuploads.fr",
  767. "uploa.dk",
  768. "getthebit.com",
  769. "getzilla.net",
  770. "goldfile.eu",
  771. "good.com",
  772. "grupload.com",
  773. "hellfile.com",
  774. "hipfile.com",
  775. "hitfile.com",
  776. "hulkfile.eu|duckfile.net",
  777. "i-filez.com",
  778. "ifile.ws",
  779. "kupload.org",
  780. "packupload.com",
  781. "lemuploads.com",
  782. "limelinx.com",
  783. "maxshare.pl",
  784. "megarelease.org",
  785. "megashare.com",
  786. "minus.com",
  787. "mlfat4arab.com",
  788. "multishare.cz",
  789. "nirafile.com",
  790. "ok2upload.com",
  791. "peejeshare.com",
  792. "premiuns.org",
  793. "przeklej.net",
  794. "qkup.net",
  795. "rapidupload.sk",
  796. "rockdizfile.com",
  797. "rocketfile.net",
  798. "share-now.net",
  799. "share76.com",
  800. "sharebees.com",
  801. "sharefiles.co",
  802. "slingfile.com",
  803. "sms4file.com",
  804. "space4file.com",
  805. "tigershare.net",
  806. "toucansharing.com",
  807. "ubuntuone.com",
  808. "unextfiles.com",
  809. "upaj.pl",
  810. "upfile.biz",
  811. "uploadbin.net",
  812. "uploadic.com",
  813. "uploadinc.com",
  814. "uploading4u.eu",
  815. "uploadjet.net",
  816. "uploadorb.com",
  817. "upthe.net",
  818. "uptorch.com",
  819. "vidbox.yt",
  820. "videozer.com",
  821. "vreer.com",
  822. "wallobit.com",
  823. "zooupload.com",
  824. "privatefiles.com",
  825. "xerver.co",
  826. "BillionUploads.com",
  827. "rapidshare.com",
  828. "rapidshare.ru",
  829. "4savefile.com",
  830. "bayfiles.com",
  831. "bayfiles.net",
  832. "dodane.pl",
  833. "dotsemper.com",
  834. "egofiles.com",
  835. "epicshare.net",
  836. "fiberupload.net",
  837. "filemonkey.in",
  838. "filemonster.net",
  839. "filepom.com",
  840. "filesbb.com",
  841. "fileshareup.com",
  842. "filevice.com",
  843. "gigaup.fr",
  844. "isavelink.com",
  845. "loombo.com",
  846. "megafiles.se",
  847. "migupload.com",
  848. "mydisc.net",
  849. "nitrobits.com",
  850. "potload.com",
  851. "redload.net",
  852. "shareprofi.com",
  853. "sharesuper.info",
  854. "sinhro.net",
  855. "speedfile.cz",
  856. "speedshare.org",
  857. "storage.novoro.net",
  858. "swankshare.com",
  859. "swatupload.com",
  860. "upafile.com",
  861. "uploadmachine.com",
  862. "uploadsat.com",
  863. "upshared.com",
  864. "usefile.com",
  865. "yourfiles.to",
  866. "zomgupload.com",
  867. "ultramegabit.com",
  868. "uploadto.us",
  869. "inafile.com",
  870. "megairon.net",
  871.  
  872. ];
  873. ///////////////////////////////////////////////////////////////////////////////////////
  874. var firstRun = GM_getValue("First_run", true);
  875.  
  876. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  877. //////////////////////////////////////////////////////////////////////////////////////
  878. try
  879. {
  880. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  881. var last_known_version = GM_getValue("last_known_version", "");
  882. if (!last_known_version)
  883. {
  884. last_known_version = thisVersion;
  885. GM_setValue("last_known_version", last_known_version);
  886. }
  887. //var newVersion = !(thisVersion == last_known_version);
  888. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  889. GM_setValue("last_known_version", thisVersion);
  890. }
  891. catch (err)
  892. {
  893. var newVersion = false;
  894. }
  895.  
  896. var now = (new Date()).getTime();
  897. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  898. if (!last_custom_rules_nag)
  899. {
  900. last_custom_rules_nag = now;
  901. GM_setValue('last_custom_rules_nag', ''+now);
  902. }
  903.  
  904.  
  905. allHostNames.sort();
  906. allContainerNames.sort();
  907. allObsoleteNames.sort();
  908.  
  909. var RAND_STRING = "8QyvpOSsRG3QWq";
  910. var DEBUG_MODE = false;
  911.  
  912. var TOOLTIP_MAXWIDTH = 600; //in pixels
  913. var TOOLTIP_THUMBWIDTH = 200;
  914. var containers_processed = false;
  915.  
  916. //settings for keyboard functions start
  917. var CHECK_ALL_LINKS_KEY = "A";
  918. var CONFIGURATION_KEY = "C";
  919. var copy_to_dead_key = "D";
  920. var toggle_autocheck_key = "W";
  921. var toggle_Enable_Anonymizer_key = "Z";
  922. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  923. var first_key_keycodename = 'CTRL';
  924. var second_key_keycode = '18';
  925. var second_key_keycodename = 'ALT';
  926. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  927. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  928. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  929. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  930. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  931. //settings for keyboard functions end
  932.  
  933. //global settings start
  934. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  935. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  936. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  937. var Show_progress_stats, Display_tooltip_info, Icon_set;
  938. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  939. var Progress_box_refresh_rate;
  940. var Obsolete_file_hosts;
  941. var Custom_rules, Custom_rules_text;
  942.  
  943. var messageBox = document.createElement('b'); // top-left message box
  944.  
  945. var cLinksTotal = 0;
  946. var cLinksDead = 0;
  947. var cLinksAlive = 0;
  948. var cLinksUnava = 0;
  949. var cLinksprem = 0;
  950. var cLinksProcessed = 0;
  951.  
  952. var intervalId; //for updateProgress()
  953.  
  954. //icon resources
  955. 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//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4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QMrwcN0AAAAASUVORK5CYII=';
  964.  
  965. 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==';
  966. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1D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CsdeZlEkhYoBUqBJOioaV0V8YWLgU+Ew3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  968. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  969.  
  970. //global settings end
  971. if (window.opera && !window.console)
  972. {
  973. window.console = {};
  974.  
  975. function fn()
  976. {
  977. opera.postError(arguments);
  978. };
  979. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  980. {
  981. window.console[name] = fn;
  982. });
  983. }
  984.  
  985. //displays colored text in message box
  986. function sendMessage(text, color)
  987. {
  988. var msgDiv = document.createElement('div');
  989. msgDiv.style.color = color;
  990. msgDiv.innerHTML = text;
  991. messageBox.appendChild(msgDiv);
  992. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  993. }
  994.  
  995. function linkify(totalourls)
  996. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  997. var ikkeTilladteTags;
  998. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  999. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1000. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1001. allLinksRegex = new RegExp(allLinksRegex, "g");
  1002. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1003.  
  1004. if (Do_not_linkify_DL_links)
  1005. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1006. else
  1007. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1008.  
  1009. var regex = new RegExp(regexy);
  1010. var textNode, muligtLink;
  1011.  
  1012. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1013. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1014.  
  1015. var i = textNodes.snapshotLength;
  1016. while (i--)
  1017. {
  1018. textNode = textNodes.snapshotItem(i);
  1019.  
  1020. muligtLink = textNode.nodeValue; //all links on page
  1021.  
  1022. var myArray = null;
  1023. var span = null;
  1024. var lastLastIndex = 0;
  1025. allLinksRegex.lastIndex = 0;
  1026. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1027. {
  1028. if (textNode.parentNode.className == "adead_link") continue;
  1029. var censoredLink = muligtLink;
  1030. var span = document.createElement('span');
  1031. span.className = "adead_link";
  1032. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1033. $(span).html(censoredLink);
  1034. span.addEventListener("mouseover", displayTooltipError, false);
  1035. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1036. textNode.parentNode.replaceChild(span, textNode);
  1037. continue;
  1038. alert(censoredLink);
  1039. }
  1040. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1041. {
  1042. if (!regex.test(myArray[0])) //this link is not recognized
  1043. {
  1044.  
  1045. continue;
  1046. }
  1047. if (!span)
  1048. span = document.createElement('span');
  1049.  
  1050. var link = myArray[0];
  1051. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1052.  
  1053. var $a = $("<a>" + link + "</a>")
  1054. if (!link.match(/https?:\/\//))
  1055. {
  1056. link = 'http://' + link;
  1057. }
  1058.  
  1059. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1060. .addClass("processing_link")
  1061. .appendTo(span);
  1062. lastLastIndex = allLinksRegex.lastIndex;
  1063. }
  1064. if (span)
  1065. {
  1066. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1067. textNode.parentNode.replaceChild(span, textNode);
  1068. }
  1069. }
  1070. }
  1071.  
  1072. function add_WARLC_style()
  1073. {
  1074. if (!(document.getElementsByTagName('WARLC')[0]))
  1075. {
  1076. var meta_not_to_add_more_style = document.createElement("WARLC");
  1077. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1078. meta_not_to_add_more_style.setAttribute('name', 'description');
  1079. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1080. alive_link_png = "";
  1081. adead_link_png = "";
  1082. unava_link_png = "";
  1083. prem_link_png = "";
  1084. switch(Icon_set)
  1085. {
  1086. //no icons
  1087. case 0: break;
  1088. // cat paws
  1089. case 1: alive_link_png = PAW_ICON_GREEN;
  1090. adead_link_png = PAW_ICON_RED;
  1091. unava_link_png = PAW_ICON_YELLOW;
  1092. prem_link_png = PAW_ICON_PINK;
  1093. break;
  1094. // classic RSLC look
  1095. case 2: alive_link_png = RSLC_ICON_GREEN;
  1096. adead_link_png = RSLC_ICON_RED;
  1097. unava_link_png = RSLC_ICON_YELLOW;
  1098. prem_link_png = RSLC_ICON_PINK;
  1099. break;
  1100. // New Icons
  1101. case 3: alive_link_png = NEW_ICON_GREEN;
  1102. adead_link_png = NEW_ICON_RED;
  1103. unava_link_png = NEW_ICON_YELLOW;
  1104. prem_link_png = NEW_ICON_PINK;
  1105. break;
  1106. // cat paws
  1107. default:alive_link_png = PAW_ICON_GREEN;
  1108. adead_link_png = PAW_ICON_RED;
  1109. unava_link_png = PAW_ICON_YELLOW;
  1110. prem_link_png = PAW_ICON_PINK;
  1111. break;
  1112. }
  1113. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1114. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1115.  
  1116. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1117.  
  1118. if (Color_DL_links)
  1119. {
  1120. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1121. live_color_css = 'color:' + Live_links_color + ' !important;';
  1122. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1123. container_color_css = 'color:' + Container_links_color + ' !important;';
  1124. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1125. }
  1126. else
  1127. {
  1128. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1129. }
  1130.  
  1131. if (Show_black_background_in_DL_links)
  1132. {
  1133. black_background_css = 'background-color: black !important;';
  1134. }
  1135. else
  1136. {
  1137. black_background_css = '';
  1138. }
  1139.  
  1140. if (Show_line_through_in_dead_links)
  1141. {
  1142. line_through_css = 'text-decoration: line-through !important;';
  1143. }
  1144. else
  1145. {
  1146. line_through_css = '';
  1147. }
  1148.  
  1149. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1150. 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 + "}");
  1151. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1152. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1153. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1154. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1155. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1156. }
  1157. }
  1158.  
  1159. var warlcTooltip = null;
  1160. var mouseoverLink = null; //link href with mouse cursor over it
  1161.  
  1162. var lastX = 0;
  1163. var lastY = 0;
  1164.  
  1165. $(document).ready(initTooltip);
  1166. //inits tooltip
  1167. function initTooltip()
  1168. { warlcTooltip = document.createElement("div");
  1169. 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;");
  1170. warlcTooltip.style.visibility = "hidden";
  1171. document.body.appendChild(warlcTooltip);
  1172. }
  1173.  
  1174. //"mousemove" event handler for all links
  1175. function moveTooltip(event)
  1176. {
  1177. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1178. { //no need to reflow if the cursor moved just a little
  1179. return;
  1180. }
  1181. else
  1182. {
  1183. lastX = event.clientX;
  1184. lastY = event.clientY;
  1185. }
  1186.  
  1187. posX = event.clientX + window.pageXOffset + 10;
  1188. posY = event.clientY + window.pageYOffset;
  1189. var ttHeight = warlcTooltip.offsetHeight;
  1190. var ttFreeSpace = window.innerHeight - event.clientY;
  1191. if (ttHeight > ttFreeSpace)
  1192. { //prevents tooltip from getting out of the window
  1193. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1194. }
  1195. else
  1196. {
  1197. posY += 7;
  1198. }
  1199. warlcTooltip.style.top = posY + "px";
  1200. warlcTooltip.style.left = posX + "px";
  1201. }
  1202.  
  1203. //"mouseout" event handler for all links
  1204. function hideTooltip(){
  1205. warlcTooltip.style.visibility = "hidden";
  1206. mouseoverLink = null;
  1207. }
  1208.  
  1209.  
  1210. //"mouseover" event handler for dead links
  1211. //displays tooltip error message on dead links
  1212. function displayTooltipError()
  1213. {
  1214. mouseoverLink = this.href;
  1215. this.addEventListener("mouseout", hideTooltip);
  1216. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1217. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1218. warlcTooltip.style.minWidth = 0;
  1219. warlcTooltip.style.visibility = "visible";
  1220. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1221. {
  1222. warlcTooltip.innerHTML = this.warlc_error;
  1223. }
  1224. else
  1225. {
  1226. loadErrorInfo(this);
  1227. }
  1228. function loadErrorInfo(link)
  1229. {
  1230. var href = link.href;
  1231. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1232. GM_xmlhttpRequest({
  1233. method: 'GET',
  1234. url: href.replace(Ref_anonymize_service, ""),
  1235. headers: {
  1236. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1237. 'Accept': 'text/xml',
  1238. 'Referer': ""
  1239. },
  1240. onload: function(result) {
  1241. var res = result.responseText;
  1242. //TODO: errorRegexs -
  1243. var errorRegexs = [ //generic error messages follow
  1244. /(empty directory)/i,
  1245. /(soubor nebyl nalezen)/i,
  1246. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1247. //server specific error messages follow
  1248. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1249. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1250. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1251. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1252. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1253. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1254. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1255. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1256. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1257. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1258. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1259. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1260. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1261. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1262. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1263. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1264. /(File has been removed due to Copyright Claim)/, //filerio
  1265. ];
  1266. var errorIdx = errorRegexs.length;
  1267. var error = "Cause of error: <b>unknown</b>";
  1268. var errorCandidate = "";
  1269. while(errorIdx--)
  1270. {
  1271. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1272. if (errorCandidate != null)
  1273. {
  1274. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1275. break;
  1276. }
  1277. }
  1278. //link attributes
  1279. link.warlc_error = error;
  1280. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1281. {
  1282. warlcTooltip.innerHTML = error;
  1283. }
  1284. }
  1285. });
  1286. }
  1287. }
  1288.  
  1289. //"mouseover" event handler for alive links
  1290. //displays tooltip info (file size, file name,...) on alive links
  1291. function displayTooltipInfo()
  1292. {
  1293. mouseoverLink = this.href;
  1294. //exclude direct download filehostings
  1295. 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)/))
  1296. {
  1297. return;
  1298. }
  1299. this.addEventListener("mouseout", hideTooltip);
  1300. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1301. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1302. warlcTooltip.style.minWidth = 0;
  1303. warlcTooltip.style.visibility = "visible";
  1304. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1305. {
  1306. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1307. }
  1308. else
  1309. {
  1310. loadInfo(this);
  1311. }
  1312. function loadInfo(link)
  1313. {
  1314. var href = link.href;
  1315. GM_xmlhttpRequest({
  1316. method: 'GET',
  1317. url: href.replace(Ref_anonymize_service, ""),
  1318. headers: {
  1319. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1320. 'Accept': 'text/xml',
  1321. 'Referer': ""
  1322. },
  1323. onload: function(result) {
  1324. var res = result.responseText;
  1325. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1326. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1327. /fl" title="(.+?)">/, //edisk
  1328. /<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
  1329. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1330. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1331. /title="download (.+?)">/, //sendspace
  1332. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1333. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1334. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1335. /d0FileName = "(.+?)";/, //letitbit
  1336. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1337. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1338. /fname" value="(.+?)">/, //syfiles, grupload,
  1339. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1340. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1341. /Complete name : (.+?)<br \/>/, //bezvadata
  1342. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1343. ];
  1344. var nameIdx = nameRegexs.length;
  1345. // [sizeRegexs]
  1346. // / \ \?
  1347. // prefix (size) postfix
  1348. // / \
  1349. // val quant
  1350. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1351. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1352. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1353. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1354. var postSizeRegex = '(?:\\))?';
  1355. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1356. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1357. ];
  1358. var sizeIdx = sizeRegexs.length;
  1359. //
  1360. //
  1361. var tooltip = "File Name: <b>";
  1362. var fileName = "unknown";
  1363. var nameCandidate = "";
  1364. while(nameIdx--)
  1365. {
  1366. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1367. if (nameCandidate != null)
  1368. {
  1369. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1370. break;
  1371. }
  1372. }
  1373. tooltip += fileName + "</b><br>File Size: <b>";
  1374. var fileSize = "unknown";
  1375. var sizeCandidate = "";
  1376. while(sizeIdx--)
  1377. {
  1378. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1379. if (sizeCandidate != null)
  1380. {
  1381. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1382. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1383. {
  1384. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1385. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1386. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1387. }
  1388. break;
  1389. }
  1390. }
  1391. tooltip += fileSize + "</b>";
  1392. // PROTOTYPE
  1393. // video thumbnails
  1394. if (href.match('hellshare'))
  1395. {
  1396. var thumbs;
  1397. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1398. if (thumbs)
  1399. {
  1400. tooltip += '<br>';
  1401. var j = Math.min(thumbs.length, 9);
  1402. for (var i = 0; i < j; i++)
  1403. {
  1404. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1405. }
  1406. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1407. }
  1408. }
  1409. if (href.match('czshare'))
  1410. {
  1411. var thumbs;
  1412. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1413. if (thumbs)
  1414. {
  1415. var thumbsServer = thumbs[1];
  1416. var thumbsId = thumbs[2];
  1417. tooltip += '<br>';
  1418. for (var i = 1; i < 9; i++)
  1419. {
  1420. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1421. }
  1422. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1423. }
  1424. }
  1425. if (href.match('bezvadata'))
  1426. {
  1427. var thumbs;
  1428. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1429. if (thumbs)
  1430. {
  1431. tooltip += '<br>';
  1432. var j = Math.min(thumbs.length, 9);
  1433. for (var i = 0; i < j; i++)
  1434. {
  1435. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1436. }
  1437. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1438. }
  1439. }
  1440. link.warlc_tooltipcache = tooltip;
  1441. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1442. {
  1443. warlcTooltip.innerHTML = tooltip;
  1444. }
  1445. }
  1446. });
  1447. }
  1448. }
  1449.  
  1450. function setVariables()
  1451. {
  1452. if (firstRun)
  1453. {
  1454. GM_log('First run, applying default settings...');
  1455. GM_setValue("Icon_set",1);
  1456. GM_setValue("Display_tooltip_info",true);
  1457. GM_setValue("Show_black_background_in_DL_links",false);
  1458. GM_setValue("Show_line_through_in_dead_links",false);
  1459. GM_setValue("Display_full_links_in_link_containers",false);
  1460. GM_setValue("Allow_spaces_in_DL_links",false);
  1461. GM_setValue("Autocheck",true);
  1462. GM_setValue("Enable_Anonymizer",false);
  1463. GM_setValue("Do_not_linkify_DL_links",false);
  1464. GM_setValue("Show_progress_stats",true);
  1465. GM_setValue("Keyboard_functions",true);
  1466. GM_setValue("Obsolete_file_hosts",false);
  1467. GM_setValue("Color_DL_links",true);
  1468. GM_setValue("Live_links_color","Green");
  1469. GM_setValue("Dead_links_color","#FF3300");
  1470. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1471. GM_setValue("Container_links_color","DarkKhaki");
  1472. GM_setValue("Premium_links_color","DeepPink");
  1473. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1474. GM_setValue("Custom_rules",false);
  1475. GM_setValue("Custom_rules_text","");
  1476. GM_setValue("First_run", false);
  1477. }
  1478. //hidden settings
  1479. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1480. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1481. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1482. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1483. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1484. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1485. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1486. //hidden settings end
  1487.  
  1488. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1489. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1490. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1491. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1492. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1493. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1494. Autocheck = GM_getValue("Autocheck", true);
  1495. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1496. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1497. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1498. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1499. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1500. Color_DL_links = GM_getValue("Color_DL_links", true);
  1501. Live_links_color = GM_getValue("Live_links_color", "Green");
  1502. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1503. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1504. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1505. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1506. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1507. Custom_rules = GM_getValue("Custom_rules", false);
  1508. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1509. }
  1510.  
  1511.  
  1512. // Delinkifies the links
  1513. // params:
  1514. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1515. // e.g. 'uloz.to/xs68skxl8')
  1516. function delinkifySnapshot(snapshot)
  1517. {
  1518. var n = snapshot.snapshotLength;
  1519.  
  1520. while (n--)
  1521. {
  1522. thisLink = snapshot.snapshotItem(n);
  1523.  
  1524. var spanElm = document.createElement("span");
  1525. spanElm.className = thisLink.className;
  1526. spanElm.innerHTML = thisLink.innerHTML;
  1527.  
  1528. if (Display_tooltip_info)
  1529. {
  1530. spanElm.href = thisLink.href;
  1531. switch (thisLink.className){
  1532. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1533. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1534. case "unava_link": //reserved
  1535. default:
  1536. }
  1537. }
  1538. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1539. }
  1540. }
  1541.  
  1542. function processContainers()
  1543. {
  1544. var redirectorTypes = { "HTTP_302": 0,
  1545. "INNER_LINK": 1,
  1546. "THELOO_KATT_IT": 2,
  1547. "CING_BE": 3,
  1548. "ADF_LY": 4};
  1549. var cMultiloadTotal = 0;
  1550. var cMultiloadProcessed = 0;
  1551.  
  1552. var cMirrorcreatorComTotal = 0;
  1553. var cMirrorcreatorComProcessed = 0;
  1554.  
  1555. var hostRestrictionRegex = "";
  1556. var multiloadComRestriction = "";
  1557. var multiloadComRestrictionRegex;
  1558.  
  1559. //
  1560. //HANDLING REDIRECTORS START
  1561. //
  1562.  
  1563. var redirectors = new Array();
  1564. initRedirectors();
  1565.  
  1566. var redirectorsCount = redirectors.length;
  1567.  
  1568. if (redirectorsCount > 0)
  1569. {
  1570. var allRedirectorsRegex = "";
  1571.  
  1572. //linkify redirector links
  1573. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1574. {
  1575. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1576. }
  1577. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1578. linkify(allRedirectorsRegex);
  1579. //
  1580. //process redirector links
  1581. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1582. {
  1583. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1584. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1585.  
  1586. cLinksTotal += redirectors[redirIdx].cTotal;
  1587. var linkIdx = redirectors[redirIdx].cTotal;
  1588.  
  1589. while(linkIdx--)
  1590. {
  1591. switch(redirectors[redirIdx].type)
  1592. {
  1593. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1594. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1595. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1596. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1597. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1598. default:
  1599. }
  1600. }
  1601. }
  1602. //
  1603. }
  1604.  
  1605. //HTTP_302
  1606. function processRedirectorLink(link, redirectorId)
  1607. {
  1608. link.className = 'container_link';
  1609.  
  1610. GM_xmlhttpRequest({
  1611. method: 'HEAD',
  1612. url: link.href,
  1613. headers: {
  1614. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1615. 'Accept': 'text/xml',
  1616. 'Referer': ""
  1617. },
  1618. onload: function(result) {
  1619. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1620. {
  1621. processRedirectorLink(link, redirectorId);
  1622. }
  1623. else
  1624. {
  1625. redirectors[redirectorId].cProcessed++;
  1626. link.href = result.finalUrl;
  1627. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1628. checkLinks('container_link');
  1629. }
  1630. },
  1631. onerror: function(result) { //probably caused by unresponsive filehosting
  1632. redirectors[redirectorId].cProcessed++;
  1633. link.className = 'unava_link';
  1634. cLinksProcessed++;
  1635. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1636. checkLinks('container_link');
  1637. }
  1638. });
  1639. }
  1640. //INNER_LINK
  1641. function processRedirectorLinkEx(link, redirectorId)
  1642. {
  1643. link.className = 'container_link';
  1644. GM_xmlhttpRequest({
  1645. method: 'GET',
  1646. url: link.href,
  1647. headers: {
  1648. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1649. 'Accept': 'text/xml',
  1650. 'Referer': ""
  1651. },
  1652. onload: function(result) {
  1653. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1654. redirectors[redirectorId].cProcessed++;
  1655. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1656. checkLinks('container_link');
  1657. }
  1658. });
  1659. }
  1660. //theloo.katt.it (wrapped safelinking.net)
  1661. function processThelooKattItLink(link, redirectorId)
  1662. {
  1663. link.className = 'container_link';
  1664. GM_xmlhttpRequest({
  1665. method: 'GET',
  1666. url: link.href,
  1667. headers: {
  1668. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1669. 'Accept': 'text/xml',
  1670. 'Referer': ""
  1671. },
  1672. onload: function(result) {
  1673. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1674. redirectors[redirectorId].cProcessed++;
  1675. //the inner links are safelinking.net links, so lets proceed with it
  1676. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1677. {
  1678. processRedirectorLink(link, 0);
  1679. }
  1680. }
  1681. });
  1682. }
  1683. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1684. function processAdfLyLink(link, redirectorId)
  1685. {
  1686. link.className = 'container_link';
  1687. GM_xmlhttpRequest({
  1688. method: 'GET',
  1689. url: link.href,
  1690. headers: {
  1691. 'User-agent': 'Mozilla/4.0',
  1692. 'Accept': 'text/xml',
  1693. 'Referer': ""
  1694. },
  1695. onload: function(result) {
  1696. if (result.finalUrl.match('/locked/'))
  1697. {
  1698. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1699. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1700. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1701. }
  1702. else
  1703. {
  1704. // GM_log('Processing... ' + link.href);
  1705. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1706. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1707. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1708. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1709. //confirm advert
  1710. GM_xmlhttpRequest(
  1711. {
  1712. method: 'POST',
  1713. url: 'http://adf.ly/l.php',
  1714. headers: {
  1715. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1716. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1717. 'Referer': link.href
  1718. },
  1719. data: users + '&lt=' + logToken,
  1720. onload: function(result) {
  1721. //retrieve final url from .../go/... link
  1722. GM_xmlhttpRequest({
  1723. method: 'GET',
  1724. url: directLink,
  1725. headers: {
  1726. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1727. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1728. 'Referer': link.href
  1729. },
  1730. onload: function(result) {
  1731. link.href = result.finalUrl;
  1732. redirectors[redirectorId].cProcessed++;
  1733. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1734. checkLinks('container_link');
  1735. }
  1736. });
  1737. }
  1738. });
  1739. }
  1740. }
  1741. });
  1742. function proceedOK()
  1743. {
  1744. }
  1745. }
  1746. //MULTILOAD.CZ START
  1747. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1748. {
  1749. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1750. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1751.  
  1752. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1753.  
  1754. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1755. hostRestrictionRegex += 'hellshare|';
  1756. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1757. hostRestrictionRegex += 'downloadhellshare|';
  1758. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1759. hostRestrictionRegex += 'share-rapid\\.com|';
  1760. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1761. hostRestrictionRegex += 'quickshare\\.cz|';
  1762. if (GM_getValue("Check_czshare_dot_com_links", false))
  1763. hostRestrictionRegex += 'czshare\\.com|';
  1764. if (GM_getValue("Check_uloz_dot_to_links", false))
  1765. hostRestrictionRegex += 'uloz\\.to|';
  1766. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1767. hostRestrictionRegex += 'hellspy|';
  1768. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1769. hostRestrictionRegex += 'multishare\\.cz|';
  1770.  
  1771. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1772.  
  1773. linkify(mlRegex);
  1774.  
  1775. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1776. var mlCount = mlSnapshot.snapshotLength;
  1777.  
  1778. if (mlCount > 0)
  1779. {
  1780. cMultiloadTotal += mlCount;
  1781.  
  1782. mlIdx = mlCount - 1;
  1783. do
  1784. {
  1785. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1786. }
  1787. while(mlIdx--)
  1788. }
  1789. }
  1790. //MULTILOAD.CZ END
  1791.  
  1792.  
  1793.  
  1794. function processMultiloadLink(mlLink)
  1795. {
  1796. GM_xmlhttpRequest({
  1797. method: 'GET',
  1798. url: mlLink.href,
  1799. headers: {
  1800. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1801. 'Accept': 'text/xml',
  1802. 'Referer': ""
  1803. },
  1804. onload: function(result) {
  1805. var res = result.responseText;
  1806.  
  1807. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1808. 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;
  1809. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1810. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1811.  
  1812. var blocks; // blocks of links
  1813. var blockIdx;
  1814.  
  1815. mlLink.className = '';
  1816.  
  1817. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1818. {
  1819. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1820. return;
  1821. }
  1822.  
  1823. blocks = res.match(innerBlockRegex);
  1824.  
  1825. if (blocks == null) //no links found, cancel further processing
  1826. {
  1827. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1828. cMultiloadProcessed++;
  1829. if (cMultiloadTotal <= cMultiloadProcessed)
  1830. {
  1831. startBulkCheck('container_link');
  1832. start('container_link');
  1833. }
  1834. return;
  1835. }
  1836.  
  1837. blockIdx = blocks.length;
  1838.  
  1839. if (Display_full_links_in_link_containers)
  1840. {
  1841. var ulElm = document.createElement('ul');
  1842. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1843.  
  1844. while(blockIdx--)
  1845. {
  1846. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1847. {
  1848. continue;
  1849. }
  1850.  
  1851. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1852.  
  1853. var linkIdx = innerLinks.length;
  1854. while (linkIdx--)
  1855. {
  1856. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1857.  
  1858. var liElm = document.createElement('li');
  1859.  
  1860. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1861. {
  1862. liElm.appendChild(document.createTextNode(innerLink));
  1863. }
  1864. else
  1865. {
  1866. var aElm = document.createElement('a');
  1867. aElm.innerHTML = innerLink;
  1868. aElm.href = innerLink;
  1869. aElm.className = 'container_link';
  1870.  
  1871. liElm.appendChild(aElm);
  1872. }
  1873.  
  1874. ulElm.appendChild(liElm);
  1875. cLinksTotal++;
  1876. }
  1877. }
  1878.  
  1879. mlLink.parentNode.appendChild(ulElm);
  1880. }
  1881. else //compact view
  1882. {
  1883. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1884.  
  1885. while(blockIdx--)
  1886. {
  1887. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1888. {
  1889. continue;
  1890. }
  1891.  
  1892. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1893.  
  1894. var linkIdx = innerLinks.length;
  1895. while (linkIdx--)
  1896. {
  1897. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1898.  
  1899. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1900. {
  1901. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1902. }
  1903. else
  1904. {
  1905. var aElm = document.createElement('a');
  1906.  
  1907. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1908.  
  1909. //abbreviate host name
  1910. switch(hostName + ""){
  1911.  
  1912. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1913. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1914. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1915. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1916. case 'multishare': aElm.innerHTML = 'MS'; break;
  1917. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1918. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1919. case 'czshare': aElm.innerHTML = 'CS'; break;
  1920. default: aElm.innerHTML = 'xx';
  1921.  
  1922. }
  1923.  
  1924. aElm.href = innerLink;
  1925. aElm.className = 'container_link';
  1926.  
  1927. mlLink.parentNode.appendChild(aElm);
  1928. cLinksTotal++;
  1929. }
  1930. }
  1931.  
  1932. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1933.  
  1934. }
  1935. }
  1936.  
  1937. cMultiloadProcessed++;
  1938. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1939. {
  1940. if (Do_not_linkify_DL_links)
  1941. {
  1942. delinkifySnapshot(mlSnapshot);
  1943. }
  1944. startBulkCheck('container_link');
  1945. start('container_link');
  1946. }
  1947. }
  1948. });
  1949. }
  1950.  
  1951.  
  1952. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1953. {
  1954. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1955. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1956. var mcShortHostNames =
  1957. '?? 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';
  1958. // 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
  1959. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1960. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1961. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1962. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1963.  
  1964. linkify(mcRegex);
  1965.  
  1966. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1967. var mcCount = mcSnapshot.snapshotLength;
  1968.  
  1969. cMirrorcreatorComTotal = mcCount;
  1970.  
  1971. if (mcCount > 0)
  1972. {
  1973. mcShortHostNames = mcShortHostNames.split(' ');
  1974. mcIdx = mcCount;
  1975. while(mcIdx--)
  1976. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1977. }
  1978.  
  1979. }
  1980. //MIRRORCREATOR.CZ END
  1981.  
  1982.  
  1983. //mirrorcreator.com checking works like this:
  1984. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1985. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1986. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1987. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1988. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1989. function processMirrorcreatorLink(mcLink)
  1990. {
  1991. var mcURL = mcLink.href.match(mcRegex);
  1992. if(!mcURL || !mcURL[1]) return;
  1993. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1994. GM_xmlhttpRequest({
  1995. method: 'GET',
  1996. url: mcURL,
  1997. headers: {
  1998. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1999. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2000. 'Referer': ""
  2001. },
  2002. onload: function(mcLinkResult) {
  2003. var mcLinkRes = mcLinkResult.responseText;
  2004.  
  2005. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2006. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2007.  
  2008. var mcRedirectors;
  2009. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2010. var m = mcLinkRes.match(mcLinkBlockRegex);
  2011. if (m)
  2012. mcHostsFound = m.length;
  2013. else
  2014. { //no files inside container
  2015. processMirrorcreatorFoundHosts(mcLink, []);
  2016. return;
  2017. }
  2018.  
  2019. var mcRedirectorURL, idx, timedOut = false;
  2020.  
  2021. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2022. GM_xmlhttpRequest({
  2023. method: 'GET',
  2024. url: mcRedirectorURL,
  2025. headers: {
  2026. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2027. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2028. 'Referer': ""
  2029. },
  2030. onload: function(mcHostResult) {
  2031. if (timedOut) return; //too late, the list is already displayed
  2032. var mcHostRes = mcHostResult.responseText;
  2033. var mcHost = mcHostRes.match(mcHostRegex);
  2034. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2035. if (mcHost && idx!=-1)
  2036. {
  2037. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2038. mcHostsRetrieved++;
  2039. mcHostsToProcess++;
  2040. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2041. {
  2042. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2043. mcHostsToProcess = 0;
  2044. }
  2045. }
  2046. } //end of onload: function
  2047. }); //end of GM_xmlhttpRequest call
  2048. };//end of var gmxhrFunc
  2049.  
  2050. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2051. { //load individual redirector pages
  2052. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2053. mcHostURLs.push(mcRedirectorURL);
  2054. mcRedirectorIDs.push(mcRedirectors[2]);
  2055. gmxhrFunc(mcRedirectorURL);
  2056. } //end of while block
  2057.  
  2058. setTimeout(function(){ //in case the last page fails to load and call the function
  2059. timedOut = true;
  2060. if (mcHostsToProcess)
  2061. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2062. }, 60000);
  2063.  
  2064. } //end of onload function
  2065. }); //end of GM_xmlhttpRequest call
  2066. } //end of function processMirrorcreatorLink
  2067.  
  2068.  
  2069. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2070. {
  2071. var aEl, liEl, docFrag;
  2072. var hostName, mcRedirectorID, trimFilename = false;
  2073. var i = mcHostURLs.length;
  2074. if (i == 0)
  2075. {
  2076. trimFilename = true;
  2077. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2078. }
  2079. else
  2080. {
  2081. if (Display_full_links_in_link_containers)
  2082. { //full view
  2083. var wrapperEl = document.createElement('span');
  2084. wrapperEl.style.display = 'block';
  2085. var ulistEl = document.createElement('ul');
  2086. ulistEl.className = 'container_list';
  2087. while (i--)
  2088. {
  2089. liEl = document.createElement('li');
  2090. aEl = document.createElement('a');
  2091. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2092. aEl.href = mcHostURLs[i];
  2093. aEl.className = 'container_link';
  2094. liEl.appendChild(aEl);
  2095. ulistEl.appendChild(liEl);
  2096. }
  2097. wrapperEl.appendChild(ulistEl);
  2098. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2099. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2100. }
  2101. else
  2102. { //compact view
  2103. trimFilename = true;
  2104. docFrag = document.createDocumentFragment();
  2105. docFrag.appendChild(document.createTextNode(' |'));
  2106. while (i--)
  2107. {
  2108. mcRedirectorID = mcRedirectorIDs[i];
  2109. hostName = mcHostURLs[i];
  2110. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2111. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2112. else
  2113. hostName = mcShortHostNames[mcRedirectorID];
  2114. aEl = document.createElement('a');
  2115. aEl.href = mcHostURLs[i];
  2116. aEl.className = 'container_link';
  2117. aEl.appendChild(document.createTextNode(hostName));
  2118. docFrag.appendChild(aEl);
  2119. docFrag.appendChild(document.createTextNode('|'));
  2120. }
  2121. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2122. } //end of else block
  2123. } //end of else block
  2124. mcLink.className = '';
  2125. if (trimFilename)
  2126. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2127. cMirrorcreatorComProcessed++;
  2128. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2129. {
  2130. if (Do_not_linkify_DL_links)
  2131. delinkifySnapshot(mcSnapshot);
  2132. startBulkCheck('container_link');
  2133. start('container_link');
  2134. }
  2135. } //end of function processMirrorcreatorFoundHosts
  2136.  
  2137. containers_processed = true;
  2138.  
  2139.  
  2140. function initRedirectors()
  2141. {
  2142. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2143. {
  2144. var redirector = new Object();
  2145. redirector.linkRegex = linkRegex;
  2146. redirector.xpath = xpathEx; //xpath expression
  2147. redirector.cProcessed = 0; //processed links count
  2148. redirector.cTotal = 0; //total links count
  2149. redirector.type = redirType; //redirectorTypes enum
  2150. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2151. redirectors.push(redirector);
  2152. }
  2153. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2154. {
  2155. addRedirector(
  2156. 'safelinking\\.net\/d\/\\w+',
  2157. "//a[contains(@href,'safelinking.net/d/')]",
  2158. redirectorTypes.HTTP_302,
  2159. null);
  2160. }
  2161. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2162. {
  2163. addRedirector(
  2164. 'linksafe\\.me\/d\/\\w+',
  2165. "//a[contains(@href,'linksafe.me/d/')]",
  2166. redirectorTypes.HTTP_302,
  2167. null);
  2168. }
  2169. if (GM_getValue("Check_linkto_dot_net_links", false))
  2170. {
  2171. addRedirector(
  2172. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2173. "//a[contains(@href,'linkto.net/?')]",
  2174. redirectorTypes.INNER_LINK,
  2175. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2176. }
  2177. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2178. {
  2179. addRedirector(
  2180. '(?:the)?loo\\.katt\\.it\/\\w+',
  2181. "//a[contains(@href,'loo.katt.it/')]",
  2182. redirectorTypes.THELOO_KATT_IT,
  2183. /Proceed to URL - <a href="(.+?)">/);
  2184. }
  2185. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2186. {
  2187. addRedirector(
  2188. 'madlink\\.sk\/\\w+',
  2189. "//a[contains(@href,'madlink.sk/')]",
  2190. redirectorTypes.INNER_LINK,
  2191. /name="url" value="(.+?)\s*"\/>/);
  2192. }
  2193. if (GM_getValue("Check_adf_dot_ly_links", false))
  2194. {
  2195. addRedirector(
  2196. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2197. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2198. redirectorTypes.ADF_LY,
  2199. null);
  2200. }
  2201. if (GM_getValue("Check_redi_dot_re_links", false))
  2202. {
  2203. addRedirector(
  2204. 'redi\\.re\/\\w+',
  2205. "//a[contains(@href,'redi.re/')]",
  2206. redirectorTypes.HTTP_302,
  2207. null);
  2208. }
  2209. if (GM_getValue("Check_bit_dot_ly_links", false))
  2210. {
  2211. addRedirector(
  2212. 'bit\\.ly\/\\w+',
  2213. "//a[contains(@href,'bit.ly/')]",
  2214. redirectorTypes.HTTP_302,
  2215. null);
  2216. }
  2217. }
  2218.  
  2219. }
  2220.  
  2221. var bulkHosts = new Array();
  2222. var bulkHostNames = new Array();
  2223. function initBulkCheck()
  2224. {
  2225. /////////////////////////////
  2226. // Inits filehost object
  2227. /////////////////////////////
  2228. // params :
  2229. // hostName -- [string] host name (multiple domains separated with coma)
  2230. // linkRegex -- [string] link regex
  2231. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2232. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2233. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2234. // corrReplWhat -- [regex] link correction regex (replace)
  2235. // corrReplWith -- [string]
  2236. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2237. //
  2238. // apiUrl -- [string] web linkchecker or API URL
  2239. // postData -- [string] POSTDATA of xmlhttprequest
  2240. // resLinkRegex -- [regex]
  2241. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2242. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2243. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2244. // func -- [function] bulkcheck handler, genBulkCheck if null
  2245. //
  2246. //////////////////////////////
  2247. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2248. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2249. {
  2250. var fileHost = new Object();
  2251.  
  2252. fileHost.linkRegex = linkRegex;
  2253. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2254. fileHost.xpath = xpath;
  2255. fileHost.cFound = 0; //found links counter
  2256. fileHost.links = new Array(); //found links
  2257. if (blockSize == null)
  2258. {
  2259. fileHost.blockSize = 50;
  2260. }
  2261. else
  2262. {
  2263. fileHost.blockSize = blockSize;
  2264. }
  2265. fileHost.corrMatch = corrMatch;
  2266. fileHost.corrReplWhat = corrReplWhat;
  2267. fileHost.corrReplWith = corrReplWith;
  2268. if (splitSeparator == null)
  2269. {
  2270. fileHost.splitSeparator = "\r\n";
  2271. }
  2272. else
  2273. {
  2274. fileHost.splitSeparator = splitSeparator;
  2275. }
  2276. fileHost.apiUrl = apiUrl;
  2277. fileHost.postData = postData;
  2278. fileHost.resLinkRegex = resLinkRegex;
  2279. fileHost.resLiveRegex = resLiveRegex;
  2280. fileHost.resDeadRegex = resDeadRegex;
  2281. fileHost.resUnavaRegex = resUnavaRegex;
  2282. if (func == null)
  2283. {
  2284. fileHost.func = genBulkCheck;
  2285. }
  2286. else
  2287. {
  2288. fileHost.func = func;
  2289. }
  2290. bulkHosts.push(fileHost);
  2291. var names = hostName.split(',');
  2292. var i = names.length;
  2293. while(i--)
  2294. {
  2295. bulkHostNames[names[i]] = fileHost;
  2296. }
  2297. }
  2298. var genType1 = [
  2299. "rodfile.com", "downloadani.me", //"migahost.com",
  2300. "rarefile.net",
  2301. "filesabc.com",
  2302. "verzend.be",
  2303. // "movreel.com",
  2304. "4up.me",
  2305. "file4safe.com", "filemac.com", "4upfiles.com",
  2306. "idup.in", "novafile.com", "longfiles.com",
  2307. "bitupload.com",
  2308. "uploadbaz.com"
  2309. ];
  2310. var genType2 = [ "queenshare.com",
  2311. "hulkload.com",
  2312. "amonshare.com", //"edoc.com",
  2313. ];
  2314. //xfilesharing 1.0
  2315. function addGenericType1()
  2316. {
  2317. var i = genType1.length;
  2318. while(i--)
  2319. {
  2320. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2321. {
  2322. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2323. addHost(
  2324. genType1[i].match(/[\w-]+/)[0], //hostname
  2325. regexSafe + "\/\\w+", //linkregex
  2326. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2327. null, //blocksize
  2328. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2329. null, //corrreplwhat
  2330. null, //corrreplwith
  2331. null, //separator
  2332. "http://" + genType1[i] + "/checkfiles.html", //api url
  2333. "op=checkfiles&process=Check+URLs&list=", //postdata
  2334. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2335. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2336. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2337. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2338. null //function delegate
  2339. )
  2340. }
  2341. }
  2342. }
  2343. //xfilesharing 2.0
  2344. function addGenericType2()
  2345. {
  2346. var i = genType2.length;
  2347. while(i--)
  2348. {
  2349. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2350. {
  2351. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2352. addHost(
  2353. genType2[i].match(/[\w-]+/)[0], //hostname
  2354. regexSafe + "\/\\w+", //linkregex
  2355. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2356. null, //blocksize
  2357. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2358. null, //corrreplwhat
  2359. null, //corrreplwith
  2360. null, //separator
  2361. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2362. "op=checkfiles&process=Check+URLs&list=", //postdata
  2363. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2364. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2365. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2366. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2367. null //function delegate
  2368. )
  2369. }
  2370. }
  2371. }
  2372. // TEMPLATE
  2373. // if (GM_getValue("Check__dot_com_links", false))
  2374. // {
  2375. // addHost(
  2376. // "", //hostname
  2377. // "", //linkregex
  2378. // "//a[contains(@href,'.com/')]", //xpath
  2379. // null, //blocksize
  2380. // null, //corrmatch
  2381. // null, //corrreplwhat
  2382. // null, //corrreplwith
  2383. // null, //separator
  2384. // "", //api url
  2385. // "", //postdata
  2386. // /()/, //linkregex
  2387. // //liveregex
  2388. // //deadregex
  2389. // //unavaregex
  2390. // null //function delegate
  2391. // )
  2392. // }
  2393. addGenericType1();
  2394. addGenericType2();
  2395.  
  2396. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2397. {
  2398. addHost(
  2399. "myvdrive,fileserving", //hostname
  2400. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2401. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2402. null, //blocksize
  2403. null, //corrmatch
  2404. null, //corrreplwhat
  2405. null, //corrreplwith
  2406. null, //separator
  2407. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2408. "links=", //postdata
  2409. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2410. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2411. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2412. null, //unavaregex
  2413. null //function delegate
  2414. )
  2415. }
  2416. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2417. {
  2418. addHost(
  2419. "hackerbox", //hostname
  2420. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2421. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2422. null, //blocksize
  2423. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2424. null, //corrreplwhat
  2425. null, //corrreplwith
  2426. null, //separator
  2427. "http://host.hackerbox.org/checkfiles.html", //api url
  2428. "op=checkfiles&process=Check+URLs&list=", //postdata
  2429. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2430. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2431. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2432. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2433. null //function delegate
  2434. )
  2435. }
  2436. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2437. {
  2438. addHost(
  2439. "hellshare", //hostname
  2440. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2441. "//a[contains(@href,'hellshare.')]", //xpath
  2442. 48, //blocksize
  2443. null, //corrmatch
  2444. null, //corrreplwhat
  2445. null, //corrreplwith
  2446. null, //separator
  2447. null, //api url
  2448. null, //postdata
  2449. null, //linkregex
  2450. null, //liveregex
  2451. null, //deadregex
  2452. null, //unavaregex
  2453. hellshareBulkCheck //function delegate
  2454. )
  2455. }
  2456. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2457. {
  2458. addHost(
  2459. "ncrypt", //hostname
  2460. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2461. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2462. 100000, //blocksize
  2463. null, //corrmatch
  2464. null, //corrreplwhat
  2465. null, //corrreplwith
  2466. null, //separator
  2467. null,
  2468. null,
  2469. null,
  2470. null,
  2471. null,
  2472. null,
  2473. ncryptBulkCheck //function delegate
  2474. )
  2475. }
  2476. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2477. {
  2478. addHost(
  2479. "uploadrocket", //hostname
  2480. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2481. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2482. null, //blocksize
  2483. null, //corrmatch
  2484. null, //corrreplwhat
  2485. null, //corrreplwith
  2486. "\n", //separator
  2487. 'http://uploadrocket.net/?op=checkfiles',
  2488. 'op=checkfiles&process=Check+URLs&list=',
  2489. /uploadrocket.net\/(\w+)/,
  2490. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2491. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2492. null,
  2493. null //function delegate
  2494. )
  2495. }
  2496. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2497. {
  2498. addHost(
  2499. "k2s,keep2s,keep2share",
  2500. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2501. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2502. 100000, //blocksize
  2503. null, //corrmatch
  2504. null, //corrreplwhat
  2505. null, //corrreplwith
  2506. null, //separator
  2507. null,
  2508. null,
  2509. null,
  2510. null,
  2511. null,
  2512. null,
  2513. k2sBulkCheck //function delegate
  2514. )
  2515. }
  2516. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2517. {
  2518. addHost(
  2519. "tezfiles",
  2520. "(?:tezfiles\\.com)\/\\w+",
  2521. "//a[contains(@href,'tezfiles.com')]",
  2522. 100000, //blocksize
  2523. null, //corrmatch
  2524. null, //corrreplwhat
  2525. null, //corrreplwith
  2526. null, //separator
  2527. null,
  2528. null,
  2529. null,
  2530. null,
  2531. null,
  2532. null,
  2533. k2sBulkCheck //function delegate
  2534. )
  2535. }
  2536. if (GM_getValue("Check_fboom_dot_me_links", false))
  2537. {
  2538. addHost(
  2539. "fboom,fileboom",
  2540. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2541. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2542. 100000, //blocksize
  2543. null, //corrmatch
  2544. null, //corrreplwhat
  2545. null, //corrreplwith
  2546. null, //separator
  2547. null,
  2548. null,
  2549. null,
  2550. null,
  2551. null,
  2552. null,
  2553. fboomBulkCheck //function delegate
  2554. )
  2555. }
  2556. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2557. {
  2558. addHost(
  2559. "1fichier,dl4free",
  2560. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2561. "//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/?')]",
  2562. 100000, //blocksize
  2563. null, //corrmatch
  2564. null, //corrreplwhat
  2565. null, //corrreplwith
  2566. null, //separator
  2567. null,
  2568. null,
  2569. null,
  2570. null,
  2571. null,
  2572. null,
  2573. dl4free_1fichier_BulkCheck //function delegate
  2574. )
  2575. }
  2576. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2577. {
  2578. addHost(
  2579. "depositfiles,dfiles",
  2580. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2581. "//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/')]",
  2582. 100000, //blocksize
  2583. null, //corrmatch
  2584. null, //corrreplwhat
  2585. null, //corrreplwith
  2586. null, //separator
  2587. null,
  2588. null,
  2589. null,
  2590. null,
  2591. null,
  2592. null,
  2593. depositfilesBulkCheck //function delegate
  2594. )
  2595. }
  2596. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2597. {
  2598. addHost(
  2599. "filesflash", //hostname
  2600. "filesflash\\.com\/\\w+", //linkregex
  2601. "//a[contains(@href,'filesflash.com')]", //xpath
  2602. null, //blocksize
  2603. null, //corrmatch
  2604. /http:\/\//, //corrreplwhat
  2605. '', //corrreplwith
  2606. null, //separator
  2607. 'http://filesflash.com/checklinks.php',
  2608. 'submit=Go&links=',
  2609. /filesflash\.com\/(\w+)/,
  2610. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2611. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2612. null,
  2613. null //function delegate
  2614. )
  2615. }
  2616. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2617. {
  2618. addHost(
  2619. "jumbofiles", //hostname
  2620. "jumbofiles\\.com\/\\w+", //linkregex
  2621. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2622. null, //blocksize
  2623. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2624. null, //corrreplwhat
  2625. null, //corrreplwith
  2626. null, //separator
  2627. "http://jumbofiles.com/checkfiles.html", //api url
  2628. "op=checkfiles&process=Check+URLs&list=", //postdata
  2629. /(jumbofiles\.com\/\w+)/, //linkregex
  2630. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2631. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2632. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2633. null //function delegate
  2634. )
  2635. }
  2636. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2637. {
  2638. addHost(
  2639. "edisk", //hostname
  2640. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2641. "//a[contains(@href,'edisk.')]", //xpath
  2642. null, //blocksize
  2643. null, //corrmatch
  2644. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2645. 'edisk.cz/stahni', //corrreplwith
  2646. null, //separator
  2647. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2648. 'submitBtn=Zkontrolovat&checkFiles=',
  2649. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2650. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2651. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2652. null,
  2653. null //function delegate
  2654. )
  2655. }
  2656. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2657. {
  2658. GM_xmlhttpRequest( //age check skip
  2659. {
  2660. method: 'POST',
  2661. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2662. headers: {
  2663. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2664. 'Content-type': 'application/x-www-form-urlencoded',
  2665. 'Referer': ""
  2666. }
  2667. });
  2668. addHost(
  2669. "bezvadata", //hostname
  2670. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2671. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2672. null, //blocksize
  2673. null, //corrmatch
  2674. null, //corrreplwhat
  2675. null, //corrreplwith
  2676. null, //separator
  2677. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2678. 'zkontrolovat=Zkontrolovat&odkazy=',
  2679. /(bezvadata\.cz\/stahnout\/\d+)/,
  2680. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2681. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2682. null,
  2683. null //function delegate
  2684. )
  2685. }
  2686. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2687. {
  2688. addHost(
  2689. "linkcrypt", //hostname
  2690. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2691. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2692. 100000, //blocksize
  2693. null, //corrmatch
  2694. null, //corrreplwhat
  2695. null, //corrreplwith
  2696. null, //separator
  2697. null,
  2698. null,
  2699. null,
  2700. null,
  2701. null,
  2702. null,
  2703. linkcryptBulkCheck //function delegate
  2704. )
  2705. }
  2706. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2707. {
  2708. addHost(
  2709. "linksave", //hostname
  2710. "linksave\\.in\/\\w+", //linkregex
  2711. "//a[contains(@href,'linksave.in')]", //xpath
  2712. 100000, //blocksize
  2713. null, //corrmatch
  2714. null, //corrreplwhat
  2715. null, //corrreplwith
  2716. null, //separator
  2717. null,
  2718. null,
  2719. null,
  2720. null,
  2721. null,
  2722. null,
  2723. linksaveBulkCheck //function delegate
  2724. )
  2725. } */
  2726. if (GM_getValue("Check_videobb_dot_com_links", false))
  2727. {
  2728. addHost(
  2729. "videobb", //hostname
  2730. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2731. "//a[contains(@href,'videobb.com')]", //xpath
  2732. null, //blocksize
  2733. null, //corrmatch
  2734. /watch_video\.php\?v=/, //corrreplwhat
  2735. 'video/', //corrreplwith
  2736. null, //separator
  2737. 'http://www.videobb.com/link_checker.php',
  2738. 'links=',
  2739. /videobb\.com\/video\/(\w+)/,
  2740. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2741. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2742. null,
  2743. null //function delegate
  2744. )
  2745. }
  2746. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2747. {
  2748. addHost(
  2749. "cramit,cramitin", //hostname
  2750. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2751. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2752. null, //blocksize
  2753. null, //corrmatch
  2754. null, //corrreplwhat
  2755. null, //corrreplwith
  2756. null, //separator
  2757. 'http://cramit.in/checkfiles.html',
  2758. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2759. /(cramit(?:\.in|in\.net)\/\w+)/,
  2760. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2761. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2762. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2763. null //function delegate
  2764. )
  2765. }
  2766. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2767. {
  2768. addHost(
  2769. "turbobit", //hostname
  2770. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2771. "//a[contains(@href,'turbobit.')]", //xpath
  2772. null, //blocksize
  2773. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2774. null, //corrreplwhat
  2775. null, //corrreplwith
  2776. "\n", //separator
  2777. 'http://turbobit.net/linkchecker/csv',
  2778. 'links_to_check=',
  2779. /(turbobit\.(?:net|pl)\/\w+)/,
  2780. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2781. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2782. null,
  2783. null //function delegate
  2784. )
  2785. } */
  2786. if (GM_getValue("Check_filerio_dot_com_links", false))
  2787. {
  2788. addHost(
  2789. "filekeen,filerio", //hostname
  2790. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2791. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2792. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2793. null, //blocksize
  2794. null, //corrmatch
  2795. null, //corrreplwhat
  2796. null, //corrreplwith
  2797. null, //separator
  2798. 'http://filerio.in/checkfiles.html',
  2799. 'op=checkfiles&process=Check+URLs&list=',
  2800. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2801. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2802. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2803. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2804. null //function delegate
  2805. )
  2806. }
  2807. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2808. {
  2809. addHost(
  2810. "share-online,egoshare", //hostname
  2811. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2812. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2813. null, //blocksize
  2814. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2815. null, //corrreplwhat
  2816. null, //corrreplwith
  2817. "\n", //separator
  2818. 'http://api.share-online.biz/linkcheck.php',
  2819. 'links=',
  2820. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2821. /\w+;OK/g,
  2822. /\w+;(?:NOTFOUND|DELETED)/g,
  2823. null,
  2824. null //function delegate
  2825. )
  2826. }
  2827. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2828. {
  2829. addHost(
  2830. "quickshare", //hostname
  2831. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2832. "//a[contains(@href,'quickshare.cz')]", //xpath
  2833. null, //blocksize
  2834. null, //corrmatch
  2835. null, //corrreplwhat
  2836. null, //corrreplwith
  2837. null, //separator
  2838. 'http://www.quickshare.cz/nastroje/link-checker',
  2839. 'linky=',
  2840. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2841. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2842. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2843. null,
  2844. null //function delegate
  2845. )
  2846. } */
  2847. if (GM_getValue("Check_oboom_dot_com_links", false))
  2848. {
  2849. addHost(
  2850. "oboom", //hostname
  2851. "oboom\\.com\/#?\\w{8}", //linkregex
  2852. "//a[contains(@href,'oboom.com/')]", //xpath
  2853. null, //blocksize
  2854. /oboom\.com\/#?(\w{8})/, //corrmatch
  2855. null, //corrreplwhat
  2856. null, //corrreplwith
  2857. null, //separator
  2858. null,
  2859. null,
  2860. null,
  2861. null, //liveregex
  2862. null, //deadregex
  2863. null,
  2864. oboomBulk //function delegate
  2865. )
  2866. }
  2867. if (GM_getValue("Check_mega_dot_nz_links", false))
  2868. {
  2869. addHost(
  2870. "mega",
  2871. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2872. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2873. 100000, //blocksize
  2874. null, //corrmatch
  2875. null, //corrreplwhat
  2876. null, //corrreplwith
  2877. null, //separator
  2878. null,
  2879. null,
  2880. null,
  2881. null,
  2882. null,
  2883. null,
  2884. megaBulkCheck //function delegate
  2885. )
  2886. }
  2887.  
  2888. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2889.  
  2890. if (GM_getValue("Check_extabit_dot_com_links", false))
  2891. {
  2892. addHost(
  2893. "extabit", //hostname
  2894. "extabit\\.com\/file\/\\w+", //linkregex
  2895. "//a[contains(@href,'extabit.com')]", //xpath
  2896. null, //blocksize
  2897. null, //corrmatch
  2898. null, //corrreplwhat
  2899. null, //corrreplwith
  2900. "\n", //separator
  2901. "http://extabit.com/linkchecker.jsp", //api url
  2902. "url=", //postdata
  2903. /extabit\.com\/(file\/\w+)/, //linkregex
  2904. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2905. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2906. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2907. extabitBulkCheck //function delegate
  2908. )
  2909. }
  2910. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2911. {
  2912. addHost(
  2913. "junocloud", //hostname
  2914. "junocloud\\.me\/\\w+", //linkregex
  2915. "//a[contains(@href,'junocloud.me')]", //xpath
  2916. null, //blocksize
  2917. null, //corrmatch
  2918. null, //corrreplwhat
  2919. null, //corrreplwith
  2920. "\n", //separator
  2921. "http://junocloud.me/checkfiles.html", //api url
  2922. "op=checkfiles&process=Check+URLs&list=", //postdata
  2923. /(junocloud\.me\/\w+)/, //linkregex
  2924. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2925. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2926. null, //unavaregex
  2927. null //function delegate
  2928. )
  2929. }
  2930. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2931. {
  2932. addHost(
  2933. "webshare", //hostname
  2934. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2935. "//a[contains(@href,'webshare.cz')]", //xpath
  2936. 100000, //blocksize
  2937. null, //corrmatch
  2938. null, //corrreplwhat
  2939. null, //corrreplwith
  2940. null, //separator
  2941. null, //api url
  2942. null, //postdata
  2943. null, //linkregex
  2944. null, //liveregex
  2945. null, //deadregex
  2946. null, //unavaregex
  2947. webshareBulkCheck //function delegate
  2948. )
  2949. }
  2950. /////////////////////////////
  2951. // Common function delegate to send links to get checked by host linkchecker
  2952. /////////////////////////////
  2953. // If you define a new delegate, you may use following properties
  2954. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2955. // this.apiUrl [string] API or web linkchecker URL
  2956. // this.postData [string] POSTDATA for POST request
  2957. // this.resLiveRegex [regex] matches live substrings in the request response
  2958. // this.resDeadRegex [regex] matches dead substrings in the request response
  2959. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2960. //
  2961. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2962. //
  2963. // See the code below for standard bulkcheck handling reference.
  2964. //////////////////////////////
  2965. function genBulkCheck()
  2966. {
  2967. var blockIdx = this.links.length;
  2968. while (blockIdx--)
  2969. {
  2970. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2971. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2972. }
  2973. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2974. {
  2975. GM_xmlhttpRequest(
  2976. {
  2977. method: 'POST',
  2978. url: api,
  2979. headers: {
  2980. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2981. 'Content-type': 'application/x-www-form-urlencoded',
  2982. 'Referer': api,
  2983. 'X-Requested-With': 'XMLHttpRequest'
  2984. },
  2985. data: postData + encodeURIComponent(links),
  2986. onload: function (result)
  2987. {
  2988. var res = result.responseText;
  2989. // GM_log(res);
  2990. var i;
  2991.  
  2992. var livelinks = res.match(liveRegex);
  2993. var deadlinks = res.match(deadRegex);
  2994. // GM_log(livelinks);
  2995. // GM_log(deadlinks);
  2996. if (livelinks != null)
  2997. {
  2998. i = livelinks.length - 1;
  2999. do
  3000. {
  3001. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3002. }
  3003. while (i--);
  3004. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3005. }
  3006.  
  3007. if (deadlinks != null)
  3008. {
  3009. i = deadlinks.length - 1;
  3010. do
  3011. {
  3012. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3013. }
  3014. while (i--);
  3015. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3016. }
  3017.  
  3018. if (unavaRegex != null)
  3019. {
  3020. var unavalinks = res.match(unavaRegex);
  3021. if (unavalinks)
  3022. {
  3023. i = unavalinks.length - 1;
  3024. do
  3025. {
  3026. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3027. }
  3028. while (i--);
  3029. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3030. }
  3031. }
  3032. }
  3033. });
  3034. }
  3035. }
  3036. //specialized bulkchecking handlers follow
  3037. function webshareBulkCheck()
  3038. {
  3039. var arr = this.links[0].split("\r\n");
  3040. var i = arr.length;
  3041. while(i--)
  3042. {
  3043. postRequest(arr[i]);
  3044. }
  3045. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3046. function postRequest(wsLink)
  3047. {
  3048. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3049. GM_xmlhttpRequest(
  3050. {
  3051. method: 'POST',
  3052. url: "http://webshare.cz/api/file_info/",
  3053. headers: {
  3054. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3055. 'Content-type': 'application/x-www-form-urlencoded',
  3056. 'Referer': "",
  3057. },
  3058. data: "wst=&ident=" + id,
  3059. onload: function (result)
  3060. {
  3061. var res = result.responseText;
  3062. if (res.match(/<name>.+?<\/name>/))
  3063. {
  3064. DisplayTheCheckedLinks([id], 'alive_link');
  3065. }
  3066. else
  3067. {
  3068. DisplayTheCheckedLinks([id], 'adead_link');
  3069. }
  3070. }
  3071. });
  3072. }
  3073. }
  3074. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3075. //extabit also doesn't like requests in fast succession, so some delays are added.
  3076. function extabitBulkCheck()
  3077. {
  3078. var timeoutDelay = 0;
  3079. var blockIdx = this.links.length;
  3080. while (blockIdx--)
  3081. {
  3082. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3083. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3084. }
  3085. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3086. {
  3087. GM_xmlhttpRequest(
  3088. {
  3089. method: 'POST',
  3090. url: api,
  3091. headers: {
  3092. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3093. 'Content-type': 'application/x-www-form-urlencoded',
  3094. 'Referer': api,
  3095. 'X-Requested-With': 'XMLHttpRequest'
  3096. },
  3097. data: postData + encodeURIComponent(links),
  3098. onload: function (result)
  3099. {
  3100. var res = result.responseText;
  3101. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3102. {
  3103. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3104. {
  3105. //GM_log(tryID + ': ' + link);
  3106. GM_xmlhttpRequest(
  3107. {
  3108. method: 'GET',
  3109. url: link,
  3110. 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': ""},
  3111. onload: function(result2)
  3112. {
  3113. var res2 = result2.responseText;
  3114. var res2Status = result.status;
  3115. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3116. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3117. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3118. {
  3119. if (tryID < 7)
  3120. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3121. else
  3122. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3123. }
  3124. }
  3125. });
  3126. }
  3127. //split the hrefs and check them one by one
  3128. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3129. links = links.split('\n');
  3130. var i = links.length;
  3131. while (i--)
  3132. {
  3133. if (links[i])
  3134. {
  3135. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3136. timeoutDelay += 500;
  3137. }
  3138. }
  3139. return;
  3140. }
  3141. var i;
  3142.  
  3143. var livelinks = res.match(liveRegex);
  3144. var deadlinks = res.match(deadRegex);
  3145. if (livelinks != null)
  3146. {
  3147. i = livelinks.length - 1;
  3148. do
  3149. {
  3150. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3151. }
  3152. while (i--);
  3153. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3154. }
  3155.  
  3156. if (deadlinks != null)
  3157. {
  3158. i = deadlinks.length - 1;
  3159. do
  3160. {
  3161. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3162. }
  3163. while (i--);
  3164. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3165. }
  3166.  
  3167. if (unavaRegex != null)
  3168. {
  3169. var unavalinks = res.match(unavaRegex);
  3170. if (unavalinks)
  3171. {
  3172. i = unavalinks.length - 1;
  3173. do
  3174. {
  3175. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3176. }
  3177. while (i--);
  3178. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3179. }
  3180. }
  3181. }
  3182. });
  3183. }
  3184. }
  3185. function k2sBulkCheck()
  3186. {
  3187. var arr = this.links[0].split("\r\n");
  3188. var i = arr.length;
  3189. c=0;
  3190. arrIDs=[];
  3191. while(i--)
  3192. {
  3193. id = arr[i].match(/\/file\/(\w+)/)[1];
  3194. if (id=='info')
  3195. {
  3196. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3197. continue;
  3198. }
  3199. k2salreadyexist=false;
  3200. for (j=0;j<arrIDs.length;j++)
  3201. {
  3202. if (arrIDs[j]==id)
  3203. {
  3204. k2salreadyexist=true;
  3205. break;
  3206. }
  3207. }
  3208. if (k2salreadyexist) continue;
  3209. arrIDs.push(id);
  3210. c++;
  3211. setTimeout(k2sRequest,c*500,arr[i]);
  3212. }
  3213. }
  3214. function k2sRequest(K2SLink)
  3215. {
  3216. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3217. GM_xmlhttpRequest(
  3218. {
  3219. method: 'GET',
  3220. url: K2SLink,
  3221. headers: {
  3222. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3223. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3224. 'Referer': ''
  3225. },
  3226. onload: function (result)
  3227. {
  3228. var res = result.responseText;
  3229. K2Dom='k2s.cc';
  3230. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3231. K2SLink2='http://'+K2Dom+'/file/'+id;
  3232.  
  3233. 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'))
  3234. {
  3235. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3236. return;
  3237. }
  3238. if (res.match('method="post">Displaying'))
  3239. {
  3240. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3241. return;
  3242. }
  3243. if (res.match('Premium only'))
  3244. {
  3245. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3246. return;
  3247. }
  3248. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3249. {
  3250. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3251. slID=slow_id.exec(res)[1];
  3252. GM_xmlhttpRequest(
  3253. {
  3254. method: 'POST',
  3255. url: K2SLink2,
  3256. headers: {
  3257. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3258. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3259. 'Content-Type': 'application/x-www-form-urlencoded',
  3260. 'Referer': K2SLink
  3261. },
  3262. data: 'slow_id='+slID+'&yt0=',
  3263. onload: function (result)
  3264. {
  3265. var newres = result.responseText;
  3266. newoversizedtest=new RegExp("Free user can't download large files.");
  3267. if (newoversizedtest.test(newres))
  3268. {
  3269. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3270. return;
  3271. }
  3272. else
  3273. {
  3274. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3275. return;
  3276. }
  3277. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3278. return;
  3279. }
  3280. });
  3281. /////////////////////end additional check for oversized links
  3282. return;
  3283. }
  3284. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3285. return;
  3286. },
  3287. onerror: function ()
  3288. {
  3289. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3290. return;
  3291. }
  3292. });
  3293. }
  3294. function fboomBulkCheck()
  3295. {
  3296. var arr = this.links[0].split("\r\n");
  3297. var i = arr.length;
  3298. c=0;
  3299. arrIDs=[];
  3300. while(i--)
  3301. {
  3302. id = arr[i].match(/\/file\/(\w+)/)[1];
  3303. if (id=='info')
  3304. {
  3305. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3306. continue;
  3307. }
  3308. fbalreadyexist=false;
  3309. for (j=0;j<arrIDs.length;j++)
  3310. {
  3311. if (arrIDs[j]==id)
  3312. {
  3313. fbalreadyexist=true;
  3314. break;
  3315. }
  3316. }
  3317. if (fbalreadyexist) continue;
  3318. arrIDs.push(id);
  3319. c++;
  3320. setTimeout(fboomRequest,c*500,arr[i]);
  3321. }
  3322. }
  3323. function fboomRequest(FBoomLink)
  3324. {
  3325. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3326. FBoomLink2='http://fboom.me/file/'+id;
  3327. GM_xmlhttpRequest(
  3328. {
  3329. method: 'GET',
  3330. url: FBoomLink,
  3331. headers: {
  3332. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3333. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3334. 'Referer': ''
  3335. },
  3336. onload: function (result)
  3337. {
  3338. var res = result.responseText;
  3339. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3340. {
  3341. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3342. return;
  3343. }
  3344. if (res.match('method="post">Displaying'))
  3345. {
  3346. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3347. return;
  3348. }
  3349. if (res.match('only for premium members'))
  3350. {
  3351. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3352. return;
  3353. }
  3354. if (res.match('id="download-free" href="#"'))
  3355. {
  3356. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3357. slID=slow_id.exec(res)[1];
  3358. GM_xmlhttpRequest(
  3359. {
  3360. method: 'POST',
  3361. url: FBoomLink2,
  3362. headers: {
  3363. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3364. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3365. 'Content-Type': 'application/x-www-form-urlencoded',
  3366. 'Referer': FBoomLink
  3367. },
  3368. data: 'slow_id='+slID,
  3369. onload: function (result)
  3370. {
  3371. var newres = result.responseText;
  3372. newoversizedtest=new RegExp("Downloading is not possible");
  3373. if (newoversizedtest.test(newres))
  3374. {
  3375. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3376. return;
  3377. }
  3378. else
  3379. {
  3380. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3381. return;
  3382. }
  3383. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3384. return;
  3385. }
  3386. });
  3387. /////////////////////end additional check for oversized links
  3388. return;
  3389. }
  3390. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3391. return;
  3392. },
  3393. onerror: function ()
  3394. {
  3395. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3396. return;
  3397. }
  3398. });
  3399. }
  3400. function dl4free_1fichier_BulkCheck()
  3401. {
  3402. var arr = this.links[0].split("\r\n");
  3403. var i = arr.length;
  3404. while(i--)
  3405. {
  3406. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3407. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3408. gethead_dl4free_1fichier(arr[i]);
  3409. }
  3410. }
  3411. function gethead_dl4free_1fichier(link)
  3412. {
  3413. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3414. GM_xmlhttpRequest(
  3415. {
  3416. method: 'HEAD',
  3417. url: link,
  3418. headers: {
  3419. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3420. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3421. 'Referer': ''
  3422. },
  3423. onload: function (result)
  3424. {
  3425. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3426. {
  3427. DisplayTheCheckedLinks([id], 'alive_link');
  3428. return;
  3429. }
  3430. else
  3431. {
  3432. getlink_dl4free_1fichier(link);
  3433. }
  3434. return;
  3435. },
  3436. onerror: function ()
  3437. {
  3438. DisplayTheCheckedLinks([id], 'unava_link');
  3439. }
  3440. });
  3441. }
  3442. function getlink_dl4free_1fichier(link)
  3443. {
  3444. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3445. GM_xmlhttpRequest(
  3446. {
  3447. method: 'GET',
  3448. url: link,
  3449. headers: {
  3450. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3451. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3452. 'Referer': ''
  3453. },
  3454. onload: function (result)
  3455. {
  3456. var res = result.responseText;
  3457. 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');
  3458. if (deadRegex.test(res))
  3459. {
  3460. DisplayTheCheckedLinks([id], 'adead_link');
  3461. return;
  3462. }
  3463. premiumRegex=new RegExp('only for premium users');
  3464. if (premiumRegex.test(res))
  3465. {
  3466. DisplayTheCheckedLinks([id], 'prem_link');
  3467. return;
  3468. }
  3469. 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="');
  3470. if (liveRegex.test(res))
  3471. {
  3472. DisplayTheCheckedLinks([id], 'alive_link');
  3473. return;
  3474. }
  3475. DisplayTheCheckedLinks([id], 'unava_link');
  3476. },
  3477. onerror: function ()
  3478. {
  3479. DisplayTheCheckedLinks([id], 'unava_link');
  3480. }
  3481. });
  3482. }
  3483. function depositfilesBulkCheck()
  3484. {
  3485. var arr = this.links[0].split("\r\n");
  3486. var i = arr.length;
  3487. var seqno = Math.floor(Math.random()*1000000000);
  3488. while(i--)
  3489. {
  3490. DFpostRequest(arr[i]);
  3491. }
  3492. }
  3493. function DFpostRequest(DFLink)
  3494. {
  3495. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3496. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3497. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3498. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3499. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3500. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3501. GM_xmlhttpRequest(
  3502. {
  3503. method: "GET",
  3504. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3505. headers: {
  3506. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3507. 'Content-Type': 'application/x-www-form-urlencoded',
  3508. 'Referer': ""
  3509. },
  3510. onload: function (result)
  3511. {
  3512. var res = result.responseText;
  3513. if (res.match('(?:no_file|file_ban)'))
  3514. {
  3515. DisplayTheCheckedLinks([id], 'adead_link');
  3516. return;
  3517. }
  3518. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3519. {
  3520. DisplayTheCheckedLinks([id], 'alive_link');
  3521. return;
  3522. }
  3523. DisplayTheCheckedLinks([id], 'unava_link');
  3524. }
  3525. });
  3526. }
  3527.  
  3528. function megaBulkCheck()
  3529. {
  3530. var arr = this.links[0].split("\r\n");
  3531. var i = arr.length;
  3532. var seqno = Math.floor(Math.random()*1000000000);
  3533. while(i--)
  3534. {
  3535. postRequest(arr[i]);
  3536. }
  3537. function postRequest(megaLink)
  3538. {
  3539. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3540. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3541. GM_xmlhttpRequest(
  3542. {
  3543. method: "POST",
  3544. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3545. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3546. headers: {
  3547. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3548. 'Content-Type': 'application/xml',
  3549. 'Referer': "https://mega.co.nz/"
  3550. },
  3551. onload: function (result)
  3552. {
  3553. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3554. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3555. {
  3556.  
  3557. DisplayTheCheckedLinks([id], 'adead_link');
  3558. }
  3559. if (res.at)
  3560. {
  3561. DisplayTheCheckedLinks([id], 'alive_link');
  3562. }
  3563. if (res.e == "ETEMPUNAVAIL")
  3564. {
  3565. DisplayTheCheckedLinks([id], 'unava_link');
  3566. }
  3567. }
  3568. });
  3569. }
  3570.  
  3571. }
  3572.  
  3573. function oboomBulk() {
  3574. var a = [], b = [], c = [];
  3575. var array = this.links;
  3576.  
  3577. GM_xmlhttpRequest({
  3578. method: 'GET',
  3579. url: 'https://www.oboom.com/1/guestsession',
  3580. headers: {
  3581. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3582. 'Content-type': 'application/x-www-form-urlencoded',
  3583. 'Referer': 'https://www.oboom.com',
  3584. 'X-Requested-With': 'XMLHttpRequest'
  3585. },
  3586. onload: function(result) {
  3587. var blockIdx = array.length;
  3588. var token = JSON.parse(result.responseText)[1];
  3589. while (blockIdx--) {
  3590. startCheck(array[blockIdx].split('\r\n'), token);
  3591. }
  3592. }
  3593. });
  3594.  
  3595. function startCheck(links, token) {
  3596. GM_xmlhttpRequest({
  3597. method: 'POST',
  3598. url: "https://api.oboom.com/1/info",
  3599. headers: {
  3600. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3601. 'Content-type': 'application/x-www-form-urlencoded',
  3602. 'Referer': 'https://www.oboom.com/',
  3603. 'X-Requested-With': 'XMLHttpRequest'
  3604. },
  3605. data: "token=" + token + "&items=" + links.join(","),
  3606. onload: function(result) {
  3607. var res = JSON.parse(result.responseText)[1];
  3608. var i = res.length, s;
  3609.  
  3610. while (i--) {
  3611. s = res[i].state;
  3612. if (s == 'online') a.push(res[i].id);
  3613. 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);
  3614. else c.push(res[i].id);
  3615. }
  3616.  
  3617. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3618. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3619. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3620. }
  3621. });
  3622. }
  3623. }
  3624. /* function linksaveBulkCheck()
  3625. {
  3626. var arr = this.links[0].split("\r\n");
  3627. var i = arr.length;
  3628. while(i--)
  3629. {
  3630. postRequest(arr[i]);
  3631. }
  3632. function postRequest(lsLink)
  3633. {
  3634. GM_xmlhttpRequest(
  3635. {
  3636. method: "GET",
  3637. url: lsLink + '-t.jpg',
  3638. headers: {
  3639. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3640. 'Accept': 'text/xml',
  3641. 'Referer': ""
  3642. },
  3643. onload: function (result)
  3644. {
  3645. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3646. if (imgLen == 965) //online
  3647. {
  3648. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3649. }
  3650.  
  3651. if (imgLen == 972) //offline
  3652. {
  3653. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3654. }
  3655. if (imgLen == 978) //unava
  3656. {
  3657. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3658. }
  3659. }
  3660. });
  3661. }
  3662.  
  3663. } */
  3664. function linkcryptBulkCheck()
  3665. {
  3666. var arr = this.links[0].split("\r\n");
  3667. var i = arr.length;
  3668. while(i--)
  3669. {
  3670. postRequest(arr[i]);
  3671. }
  3672. function postRequest(lcLink)
  3673. {
  3674. GM_xmlhttpRequest(
  3675. {
  3676. method: "GET",
  3677. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3678. headers: {
  3679. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3680. 'Accept': 'text/xml',
  3681. 'Referer': ""
  3682. },
  3683. onload: function (result)
  3684. {
  3685. var res = result.responseText;
  3686. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3687. {
  3688. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3689. return;
  3690. }
  3691. if (res.match(/folderStatus>1/)) //Online status
  3692. {
  3693. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3694. }
  3695. else
  3696. {
  3697. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3698. }
  3699. }
  3700. });
  3701. }
  3702. }
  3703.  
  3704. function megashareBulkCheck()
  3705. {
  3706. var arr = this.links[0].split("\r\n");
  3707. var i = arr.length;
  3708. while(i--)
  3709. {
  3710. postRequest(arr[i]);
  3711. }
  3712. function postRequest(msLink)
  3713. {
  3714. GM_xmlhttpRequest(
  3715. {
  3716. method: "GET",
  3717. url: msLink,
  3718. headers: {
  3719. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3720. 'Content-Type': 'application/x-www-form-urlencoded',
  3721. 'Referer': ""
  3722. },
  3723. onload: function (result)
  3724. {
  3725. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3726. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3727. if ((prZVal == null) || (btn3Name == null))
  3728. {
  3729. return;
  3730. }
  3731. GM_xmlhttpRequest(
  3732. {
  3733. method: "POST",
  3734. url: msLink,
  3735. headers: {
  3736. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3737. 'Content-Type': 'application/x-www-form-urlencoded',
  3738. 'Referer': ""
  3739. },
  3740. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3741. onload: function (result)
  3742. {
  3743. var res = result.responseText;
  3744. if (res.match(/<div id="err">/))
  3745. {
  3746. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3747. }
  3748. else
  3749. {
  3750. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3751. }
  3752. }
  3753. });
  3754. }
  3755. });
  3756. }
  3757. }
  3758. function ncryptBulkCheck()
  3759. {
  3760. var arr = this.links[0].split("\r\n");
  3761. var i = arr.length;
  3762. while(i--)
  3763. {
  3764. postRequest(arr[i]);
  3765. }
  3766. function postRequest(ncryptLink)
  3767. {
  3768. GM_xmlhttpRequest(
  3769. {
  3770. method: "POST",
  3771. url: 'http://ncrypt.in/api_status.php',
  3772. headers: {
  3773. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3774. 'Content-Type': 'application/x-www-form-urlencoded',
  3775. 'Referer': ""
  3776. },
  3777. data: 'link=' + encodeURI(ncryptLink),
  3778. onload: function (result)
  3779. {
  3780. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3781. switch(foldStatus + ""){
  3782. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3783. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3784. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3785. }
  3786. }
  3787. });
  3788. }
  3789. }
  3790. function hellshareBulkCheck()
  3791. {
  3792. var links = this.links;
  3793. GM_xmlhttpRequest(
  3794. {
  3795. method: "GET",
  3796. url: 'http://www.hellshare.com',
  3797. headers: {
  3798. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3799. 'Accept': 'text/xml',
  3800. 'Referer': ""
  3801. },
  3802. onload: function (result)
  3803. {
  3804. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3805.  
  3806. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3807. if (domain == 'sk')
  3808. loc = 'check=Skontrolova%C5%A5&links=';
  3809. if (domain == 'com')
  3810. loc = 'check=Check+availability&links=';
  3811. if (domain == 'hu')
  3812. loc = 'check=Kontrol%C3%A1lj&links=';
  3813. if (domain == 'pl')
  3814. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3815.  
  3816. genBulkCheck.call({ links: links,
  3817. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3818. postData: loc,
  3819. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3820. 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,
  3821. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3822. resUnavaRegex: null
  3823. });
  3824. }
  3825. });
  3826. }
  3827. /**
  3828. * Displays check result
  3829. * @param {Array} Array of links or link fragments.
  3830. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3831. */
  3832. function DisplayTheCheckedLinks(links, resultStatus)
  3833. {
  3834. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3835. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3836. if (Do_not_linkify_DL_links)
  3837. { //TODO into separate jQuery function
  3838. $links.replaceWith(function(){
  3839. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3840. });
  3841. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3842. }
  3843. $links.removeClass().addClass(resultStatus);
  3844. $links.each(function() {
  3845. this.href = Ref_anonymize_service + $(this).attr("href");
  3846. });
  3847. switch(resultStatus)
  3848. {
  3849. case "alive_link": cLinksAlive += $links.length;
  3850. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3851. break;
  3852. case "adead_link": cLinksDead += $links.length;
  3853. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3854. break;
  3855. case "prem_link": cLinksprem += $links.length;
  3856. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3857. break;
  3858. case "unava_link": cLinksUnava += $links.length; break;
  3859. default:
  3860. }
  3861. cLinksProcessed += $links.length;
  3862. }
  3863. }
  3864. // starts bulkchecking
  3865. //
  3866. // params
  3867. // filterId [string] restricts link detection with passed id attribute
  3868. function startBulkCheck(filterId)
  3869. {
  3870. var cHosts = bulkHosts.length;
  3871. if (cHosts == 0) //no filehostings selected
  3872. return;
  3873. // STEP 1 linkify the links
  3874. var linkifyRegex = '';
  3875. var hostIdx = cHosts;
  3876. while(hostIdx--)
  3877. {
  3878. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3879. }
  3880. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3881. linkify(linkifyRegex);
  3882. //
  3883. //STEP 2 detect link objects
  3884. var xpathAll = '';
  3885. var hostIdx = cHosts;
  3886. while(hostIdx--)
  3887. {
  3888. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3889. }
  3890. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3891. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3892. if (filterId != null) //insert id restriction in the xpath
  3893. {
  3894. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3895. }
  3896. else
  3897. {
  3898. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3899. }
  3900. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3901. if (filterId == null)
  3902. {
  3903. cLinksTotal += links.snapshotLength;
  3904. }
  3905. //
  3906. //STEP 3 bind links with hostings
  3907. var linkIdx = links.snapshotLength;
  3908. var href = null;
  3909. if (linkIdx == 0) // no links found
  3910. return;
  3911. var name;
  3912. while (linkIdx--)
  3913. {
  3914. href = links.snapshotItem(linkIdx).href;
  3915. try // DO NOT REMOVE, filters crap that went through xpath detection
  3916. {
  3917. name = gimmeHostName(href);
  3918. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3919. bulkHostNames[name].links.push(href);
  3920. }
  3921. catch(e)
  3922. {
  3923.  
  3924. }
  3925. }
  3926. //
  3927. //STEP 4 process the links for each filehosting
  3928. var hostIdx = cHosts;
  3929. var host;
  3930. var m,n;
  3931. var arr;
  3932. while (hostIdx--)
  3933. {
  3934. host = bulkHosts[hostIdx];
  3935. arr = host.links;
  3936. if (arr.length == 0) //no links for this hosting, skip
  3937. {
  3938. continue;
  3939. }
  3940. //links match corrections
  3941. if (host.corrMatch != null)
  3942. {
  3943. var idx = arr.length;
  3944. while (idx--)
  3945. {
  3946. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3947. }
  3948. }
  3949. //links replace corrections
  3950. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3951. {
  3952. var idx = arr.length;
  3953. while (idx--)
  3954. {
  3955. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3956. }
  3957. }
  3958. m = arr.length;
  3959. n = host.blockSize;
  3960. if (m > n)
  3961. {
  3962. //insert block separators (RAND_STRING) into the array
  3963. for(var i = n; i < m; i += n + 1)
  3964. {
  3965. arr.splice(i, 0, RAND_STRING);
  3966. }
  3967. }
  3968.  
  3969. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3970. apiUrl: host.apiUrl,
  3971. postData: host.postData,
  3972. resLinkRegex: host.resLinkRegex,
  3973. resLiveRegex: host.resLiveRegex,
  3974. resDeadRegex: host.resDeadRegex,
  3975. resUnavaRegex: host.resUnavaRegex
  3976. });
  3977. //clean up
  3978. arr.length = 0;
  3979. }
  3980. //
  3981.  
  3982. function gimmeHostName(link)
  3983. {
  3984. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3985. }
  3986. }
  3987. function checkLinks(filterId)
  3988. {
  3989. startBulkCheck(filterId);
  3990. start(filterId);
  3991. }
  3992.  
  3993. /**
  3994. * Initialises progress box including event binding and CSS
  3995. */
  3996. function initProgressBox()
  3997. {
  3998. if ($("#warlc-progressbox").length > 0)
  3999. return;
  4000. //progressbox css change size and color of progress box
  4001. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4002. "; opacity:" + (Progress_box_opacity / 100) +
  4003. "; bottom:" + Progress_box_pos_bottom +
  4004. "px; right:" + Progress_box_pos_right +
  4005. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4006. \
  4007. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4008. \
  4009. .warlc-progressitem {}\
  4010. \
  4011. .alive {color:#00FF7F; " + Live_links_color +
  4012. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4013. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4014. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4015. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4016. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4017. );
  4018. //
  4019. $('body').append(' <div id="warlc-progressbox">\
  4020. <div class="warlc-progressbar"></div>\
  4021. <span class="warlc-progressitem alive"></span> - \
  4022. <span class="warlc-progressitem dead"></span> - \
  4023. <span class="warlc-progressitem unava"></span> - \
  4024. <span class="warlc-progressitem prem"></span> - \
  4025. <span class="warlc-progressitem processing"></span>\
  4026. </div>');
  4027. $('#warlc-progressbox').hide().click(function(){
  4028. clearInterval(intervalId);
  4029. $(this).hide();
  4030. return false;
  4031. });
  4032. $(".warlc-progressbar").progressbar({complete: function(){
  4033. $(this).fadeOut();
  4034. clearInterval(intervalId); //stop refreshing the stats
  4035. }
  4036. })
  4037. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4038. }
  4039. /**
  4040. * Updates progress data in progress box
  4041. */
  4042. function updateProgress()
  4043. {
  4044. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4045. if (cLinksTotal) // some links were detected on page
  4046. {
  4047. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4048. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4049. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4050. if ((cLinksTotal - cLinksProcessed) == 0)
  4051. {
  4052. $progressItems.first().text(cLinksAlive)
  4053. .next().text(cLinksDead)
  4054. .next().text(cLinksUnava)
  4055. .next().text(cLinksprem)
  4056. .next().remove();
  4057. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4058. $('#warlc-progressbox div:first-child').remove();
  4059. }
  4060. else
  4061. {
  4062. $progressItems.first().text(cLinksAlive)
  4063. .next().text(cLinksDead)
  4064. .next().text(cLinksUnava)
  4065. .next().text(cLinksprem)
  4066. .next().text(cLinksTotal - cLinksProcessed);
  4067. }
  4068. }
  4069. }
  4070.  
  4071. function check_all_links()
  4072. {
  4073. add_WARLC_style();
  4074.  
  4075. if (Show_progress_stats)
  4076. {
  4077. initProgressBox();
  4078. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4079. }
  4080.  
  4081. startBulkCheck(null);
  4082. start(null);
  4083.  
  4084. if (!containers_processed)
  4085. {
  4086. processContainers();
  4087. }
  4088. }
  4089.  
  4090. //Copies all found dead links to clipboard - right now for Scriptish only
  4091. function copy_dead_to_clipboard()
  4092. {
  4093. initClipBoardTools();
  4094.  
  4095. var deadlinksxpath = "//.[@class='adead_link']";
  4096.  
  4097. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4098. var foundlinkstext = '';
  4099.  
  4100. var foundlinkIdx = foundlinks.snapshotLength;
  4101.  
  4102. while(foundlinkIdx--)
  4103. {
  4104. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4105. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4106. }
  4107.  
  4108. unsafeWindow.copyToClipboard(foundlinkstext);
  4109. }
  4110.  
  4111. function toggle_autocheck()
  4112. {
  4113. var currentState = GM_getValue("Autocheck", false);
  4114. GM_setValue("Autocheck", !currentState);
  4115.  
  4116. if (currentState == true)
  4117. {
  4118. sendMessage('Autocheck disabled', 'red');
  4119. }
  4120. else
  4121. {
  4122. sendMessage('Autocheck enabled', 'SpringGreen');
  4123. }
  4124. }
  4125. function toggle_Enable_Anonymizer()
  4126. {
  4127. var currentState = GM_getValue("Enable_Anonymizer", false);
  4128. GM_setValue("Enable_Anonymizer", !currentState);
  4129.  
  4130. if (currentState == true)
  4131. {
  4132. GM_setValue("Ref_anonymize_service", "");
  4133. sendMessage('Anonymizer Disabled', 'red');
  4134. }
  4135. else
  4136. {
  4137. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4138. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4139. }
  4140. }
  4141.  
  4142. function KeyDownHandler(event)
  4143. {
  4144. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4145. if (event.ctrlKey && event.altKey)
  4146. {
  4147. switch(kcode)
  4148. {
  4149. case 65 : check_all_links(); break;
  4150. case 67 : configuration(); break;
  4151. case 68 : copy_dead_to_clipboard(); break;
  4152. case 87 : toggle_autocheck(); break;
  4153. case 90 : toggle_Enable_Anonymizer(); break;
  4154. }
  4155. }
  4156. }
  4157.  
  4158. //
  4159. //
  4160. // SCRIPT EXECUTION START POINT
  4161. //
  4162. //
  4163. // Safari specific GM_getResourceText override
  4164. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4165. {
  4166. GM_getResourceText = function(res) {
  4167. var $cssText = GM_getValue("jquery_css", "");
  4168. if ($cssText == "")
  4169. {
  4170. GM_xmlhttpRequest(
  4171. {
  4172. method: 'GET',
  4173. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4174. onload: function (result)
  4175. {
  4176. GM_setValue("jquery_css", result.responseText);
  4177. window.location.reload();
  4178. }
  4179. });
  4180. }
  4181. else
  4182. {
  4183. return $cssText;
  4184. }
  4185. }
  4186. }
  4187. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4188. GM_addStyle(jQueryUICSS);
  4189. //init the stuff
  4190. setVariables();
  4191. initBulkCheck();
  4192. //init info boxes
  4193. messageBox.style.position = 'fixed';
  4194. messageBox.style.top = '20px';
  4195. messageBox.style.left = '10px';
  4196. messageBox.style.opacity = '0.85';
  4197. messageBox.style.background = 'DimGray';
  4198. messageBox.style.fontSize = '36px';
  4199. document.body.appendChild(messageBox);
  4200.  
  4201. //register GM menu commands & keyboard shortcut event handler
  4202. if (Keyboard_functions)
  4203. {
  4204. $(document).keydown(KeyDownHandler);
  4205. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4206. 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);
  4207. }
  4208. else
  4209. {
  4210. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4211. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4212. }
  4213.  
  4214. //start linkchecking
  4215. if (Autocheck)
  4216. {
  4217. $(document).ready(check_all_links);
  4218. }
  4219.  
  4220. //
  4221. //
  4222. // SCRIPT EXECUTION END POINT
  4223. //
  4224. //
  4225.  
  4226. //shows configuration box
  4227. function configuration()
  4228. {
  4229.  
  4230. //prevent multiple creating of config window
  4231. if ($("#hideshow").length)
  4232. {
  4233. $("#hideshow").show();
  4234. return;
  4235. }
  4236.  
  4237. var configcss = '\
  4238. .popup_block .popup fieldset{\
  4239. padding: 1%;\
  4240. border-style: solid;\
  4241. border-width: 1px;\
  4242. border-color: gray;\
  4243. margin-bottom: 1px;\
  4244. }\
  4245. #h3hideshowtitle{\
  4246. font-size: 2em;\
  4247. }\
  4248. #h3hideshow{\
  4249. font-size: 1.5em;\
  4250. }\
  4251. #imghideshow {\
  4252. border: none;\
  4253. }\
  4254. #plusimage{\
  4255. display:inline;\
  4256. }\
  4257. #hideshow {\
  4258. position: fixed;\
  4259. width: 100%;\
  4260. height: 100%;\
  4261. top: 0;\
  4262. left: 0;\
  4263. font-size:12px;\
  4264. z-index:2147483645;\
  4265. text-align:left;\
  4266. }\
  4267. #fade {\
  4268. background: #000;\
  4269. position: fixed;\
  4270. width: 100%;\
  4271. height: 100%;\
  4272. opacity: .80;\
  4273. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4274. left: 0;\
  4275. z-index: 10;\
  4276. }\
  4277. .popup_block {\
  4278. font-family:verdana;\
  4279. color:black;\
  4280. background: #ddd;\
  4281. padding: 10px 20px;\
  4282. border: 2px solid DarkOrange;\
  4283. float: left;\
  4284. width: 700px;\
  4285. position: absolute;\
  4286. top: 7%;\
  4287. left: 50%;\
  4288. bottom: 7%;\
  4289. margin: 0 0 0 -350px;\
  4290. -moz-border-radius:10px;\
  4291. z-index: 100;\
  4292. \
  4293. }\
  4294. .popup_block .popup {\
  4295. float: left;\
  4296. width: 100%;\
  4297. background: #fff;\
  4298. margin: 10px 0;\
  4299. padding: 0px 0 0px;\
  4300. border-left: 1px solid #bbb;\
  4301. border-top: 1px solid #bbb;\
  4302. border-right: 1px solid #bbb;\
  4303. }\
  4304. #h3hideshow{\
  4305. margin: 1px 0 0px;\
  4306. padding: 1px 10px;\
  4307. border-bottom: 1px solid #bbb;\
  4308. font-size: 1.5em;\
  4309. font-weight: normal;\
  4310. cursor:pointer;\
  4311. background:#DDDDDD none repeat scroll 0 0;\
  4312. }\
  4313. #h3hideshow:hover{\
  4314. background:#C0BEBE none repeat scroll 0 0;\
  4315. }\
  4316. #h3hideshowtitle{\
  4317. margin: 2px 0 0px;\
  4318. padding: 7px 10px;\
  4319. border-bottom: 1px solid #bbb;\
  4320. font-size: 1.5em;\
  4321. font-weight: normal;\
  4322. }\
  4323. .popup_block .popup a {\
  4324. color:DarkSkyBlue;\
  4325. text-decoration:none;\
  4326. }\
  4327. .popup p {\
  4328. padding: 1px 10px;\
  4329. margin: 0px 0;\
  4330. -x-system-font:none;\
  4331. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4332. font-size:10pt;\
  4333. font-size-adjust:none;\
  4334. font-stretch:normal;\
  4335. font-style:normal;\
  4336. font-variant:normal;\
  4337. font-weight:normal;\
  4338. line-height:normal;\
  4339. }\
  4340. #sites {\
  4341. padding: 1px 10px;\
  4342. margin: 0px 0;display:inline-block;width:16em;\
  4343. }\
  4344. #dev_ver {\
  4345. color: #00FF00;\
  4346. background: Black;\
  4347. text-align: right;\
  4348. }\
  4349. #sites_suspended {\
  4350. padding: 1px 10px;\
  4351. margin: 0px 0;display:inline-block;width:16em;\
  4352. text-decoration: line-through;\
  4353. }\
  4354. .popup img.cntrl {\
  4355. position: absolute;\
  4356. right: -15px;\
  4357. top: -15px;\
  4358. }\
  4359. #bulk {\
  4360. font-size:8pt;\
  4361. color:orange;\
  4362. padding: 1px 10px;\
  4363. margin: 0px 0;\
  4364. display:inline-block;\
  4365. width:100px;\
  4366. }\
  4367. #note {\
  4368. font-size:7pt;\
  4369. color:gray;\
  4370. padding: 1px 10px;\
  4371. margin: 0px 0;display:inline-block;\
  4372. min-width:100px;\
  4373. }\
  4374. #rednote {\
  4375. font-size:7pt;\
  4376. color:red;\
  4377. padding: 1px 10px;\
  4378. margin: 0px 0;display:inline-block;\
  4379. }\
  4380. #configinfo {\
  4381. font-size:8pt;\
  4382. color:gray;\
  4383. padding: 1px 10px;\
  4384. margin: 0px 0;display:inline-block;width:60em;\
  4385. }\
  4386. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4387. color:black;\
  4388. border-style: solid;\
  4389. border-width: 1px;\
  4390. border-color: gray;\
  4391. }\
  4392. #h3hideshowcontent {\
  4393. min-height:220px;\
  4394. max-height:220px;\
  4395. overflow:auto;\
  4396. display: none;\
  4397. padding: 10px 10px;\
  4398. }\
  4399. #specinfo{\
  4400. font-size:14px;\
  4401. }\
  4402. .warlc-ui-tab {\
  4403. height:300px;\
  4404. overflow:auto;\
  4405. }\
  4406. #warlcsitelist2, #warlcsitelist1 {\
  4407. height:220px;\
  4408. border-top: 1px solid #ddd;\
  4409. padding-top: 5px;\
  4410. overflow:auto;\
  4411. }\
  4412. input:hover+label {\
  4413. background:#F1F77C;\
  4414. font-size:110%;\
  4415. }\
  4416. ';
  4417.  
  4418. GM_addStyle(configcss);
  4419.  
  4420. var customRulesRefHTML =
  4421. '\
  4422. <br>\
  4423. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4424. <b>@keyword</b> <i>parameter</i>\
  4425. <br><br>\
  4426. 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. \
  4427. <br><br>\
  4428. 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.\
  4429. 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.\
  4430. 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.\
  4431. 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,\
  4432. but all commands until the next valid @customrule are ignored.<br><br>\
  4433. Available forms and types:\
  4434. <ul>\
  4435. <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.\
  4436. <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.\
  4437. <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.\
  4438. <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.\
  4439. </ul>\
  4440. Other available commands:<br>\
  4441. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4442. <ul>\
  4443. <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.\
  4444. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4445. <ul>examples:<br>\
  4446. <li>good: <i>filehost.com/download/</i><br>\
  4447. <li>good: <i>download.filehost.net/?d=</i><br>\
  4448. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4449. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4450. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4451. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4452. <li>bad: <i>filehost.com</i> - no slash<br>\
  4453. </ul>\
  4454. \
  4455. <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.\
  4456. 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 \
  4457. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4458. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4459. 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.)\
  4460. Two spaces again match any whitespace.\
  4461. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4462. Two spaces again match any whitespace.\
  4463. <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. \
  4464. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4465. </ul>\
  4466. \
  4467. ';
  4468.  
  4469. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4470. var configurationinnerHTML =
  4471. '<div id="fade"></div>\
  4472. <div class="popup_block">\
  4473. <div class="popup">\
  4474. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoq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wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/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>\
  4476. <div id="warlc-conf-tabs">\
  4477. <ul>\
  4478. <li><a href="#tabs-1">Filehostings</a></li>\
  4479. <li><a href="#tabs-2">Containers</a></li>\
  4480. <li><a href="#tabs-5">Custom rules</a></li>\
  4481. <li><a href="#tabs-3">Settings</a></li>\
  4482. <li><a href="#tabs-4">About</a></li>\
  4483. </ul>\
  4484. <div id="tabs-1" class="warlc-ui-tab">\
  4485. <div class="warlc-ui-buttonset">\
  4486. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4487. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4488. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4489. </div><br>\
  4490. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4491. <div id="warlcsitelist1"><span>Empty</span></div>\
  4492. </div>\
  4493. <div id="tabs-2" class="warlc-ui-tab">\
  4494. <div class="warlc-ui-buttonset">\
  4495. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4496. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4497. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4498. </div><br>\
  4499. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4500. <div id="warlcsitelist2"><span>Empty</span></div>\
  4501. </div>\
  4502. <div id="tabs-5" class="warlc-ui-tab">\
  4503. <div class="warlcsettings">\
  4504. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4505. <br>\
  4506. <div>Edit custom rules: \
  4507. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4508. <div id="customRulesReference" style="display:none;">'
  4509. + customRulesRefHTML + '\
  4510. </div>\
  4511. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4512. </div>\
  4513. </div>\
  4514. </div>\
  4515. <div id="tabs-3" class="warlc-ui-tab">\
  4516. <div class="warlcsettings">\
  4517. <fieldset>\
  4518. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4519. <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>\
  4520. </fieldset>\
  4521. <fieldset>\
  4522. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4523. <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>\
  4524. <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>\
  4525. <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>\
  4526. <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>\
  4527. <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>\
  4528. <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>\
  4529. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4530. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4531. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4532. <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>\
  4533. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4534. <fieldset>\
  4535. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4536. <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>\
  4537. <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>\
  4538. <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>\
  4539. </fieldset>\
  4540. </fieldset>\
  4541. <fieldset>\
  4542. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4543. </fieldset>\
  4544. <fieldset>\
  4545. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4546. </fieldset>\
  4547. <fieldset>\
  4548. <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>\
  4549. </fieldset>\
  4550. <fieldset>\
  4551. <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>\
  4552. </fieldset>\
  4553. </div>\
  4554. </div>\
  4555. <div id="tabs-4" class="warlc-ui-tab">\
  4556. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4557. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4558. <br />\
  4559. <p><b>Currently supported:</b><br>\
  4560. Filehostings: ' + allHostNames.length + '<br />\
  4561. Containers: ' + allContainerNames.length + '<br />\
  4562. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4563. <br />\
  4564. <p><b>Based on:</b><br>\
  4565. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4566. <br />\
  4567. <p><b>Uses:</b></p>\
  4568. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4569. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4570. <br />\
  4571. <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>\
  4572. </div>\
  4573. </div>\
  4574. </div>\
  4575. </div>';
  4576. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4577. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4578. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4579. var elmHostList = document.getElementById("warlcsitelist1");
  4580. var elmContainerList = document.getElementById("warlcsitelist2");
  4581. buildSettings();
  4582. buildSitelist("", allHostNames, elmHostList);
  4583. buildSitelist("", allContainerNames, elmContainerList);
  4584. if (DEBUG_MODE)
  4585. {
  4586. //log all sites availability status
  4587. diagSites();
  4588. }
  4589. //handler for checkbox state change
  4590. function changeConfiguration(e)
  4591. {
  4592. var element = e.target;
  4593.  
  4594. if (element.type == 'checkbox')
  4595. {
  4596. if (element.checked == 1)
  4597. {
  4598. GM_setValue(element.id, true);
  4599. }
  4600. else
  4601. {
  4602. GM_setValue(element.id, false);
  4603. }
  4604.  
  4605. }
  4606. setVariables();
  4607. }
  4608.  
  4609. //Selects all filehosting checkboxes
  4610. function selectAll()
  4611. {
  4612. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4613. .each(function(index, element){GM_setValue(this.id, true)});
  4614. }
  4615.  
  4616. //Deselects all filehosting checkboxes
  4617. function selectNone()
  4618. {
  4619. $(":checkbox:visible:checked").prop("checked",false)
  4620. .each(function(index, element){GM_setValue(this.id, false)});
  4621. }
  4622.  
  4623. //Inverts filehosting checkboxes selection
  4624. function selectInvert()
  4625. {
  4626. var $checked = $(":checkbox:visible:checked");
  4627. var $unchecked = $(":checkbox:visible:not(:checked)");
  4628. $unchecked.prop("checked",true)
  4629. .each(function(index, element){GM_setValue(this.id, true)});
  4630. $checked.prop("checked",false)
  4631. .each(function(index, element){GM_setValue(this.id, false)});
  4632. }
  4633. //toggles anonymizer on off
  4634. function Enable_Anonymizer()
  4635. {
  4636. var $checked = $(":checkbox:visible:checked");
  4637. var $unchecked = $(":checkbox:visible:not(:checked)");
  4638. $unchecked.prop("checked",true)
  4639. .each(function(index, element){GM_setValue(this.id, true)});
  4640. $checked.prop("checked",false)
  4641. .each(function(index, element){GM_setValue(this.id, false)});
  4642. }
  4643.  
  4644. function changeRefAnonymizer(){
  4645. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4646. }
  4647.  
  4648. //Sets live links color
  4649. function changeColorLive()
  4650. {
  4651. var inColorLive = document.getElementById("inputColorLive");
  4652. inColorLive.style.background = inColorLive.value;
  4653. GM_setValue("Live_links_color", inColorLive.value);
  4654. }
  4655.  
  4656. //Sets dead links color
  4657. function changeColorDead()
  4658. {
  4659. var inColorDead = document.getElementById("inputColorDead");
  4660. inColorDead.style.background = inColorDead.value;
  4661. GM_setValue("Dead_links_color", inColorDead.value);
  4662. }
  4663.  
  4664. //Sets temp. unavailable links color
  4665. function changeColorTemp()
  4666. {
  4667. var inColorTemp = document.getElementById("inputColorTemp");
  4668. inColorTemp.style.background = inColorTemp.value;
  4669. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4670. }
  4671.  
  4672. //Sets temp. unavailable links color
  4673. function changeColorCont()
  4674. {
  4675. var inColorCont = document.getElementById("inputColorCont");
  4676. inColorCont.style.background = inColorCont.value;
  4677. GM_setValue("Container_links_color", inColorCont.value);
  4678. }
  4679. //Sets premium. links color
  4680. function changeColorprem()
  4681. {
  4682. var inColorprem = document.getElementById("inputColorprem");
  4683. inColorprem.style.background = inColorprem.value;
  4684. GM_setValue("Premium_links_color", inColorprem.value);
  4685. }
  4686.  
  4687. //Diagnose sites for availability
  4688. function diagSites()
  4689. {
  4690. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4691.  
  4692. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4693. {
  4694. if (boxes[i].type == "checkbox")
  4695. {
  4696. checkAvailability(boxes[i]);
  4697. }
  4698. }
  4699.  
  4700. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4701.  
  4702. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4703. {
  4704. if (boxes[i].type == "checkbox")
  4705. {
  4706. checkAvailability(boxes[i]);
  4707. }
  4708. }
  4709.  
  4710. function checkAvailability(cbElm)
  4711. {
  4712. var cb = cbElm;
  4713. GM_xmlhttpRequest(
  4714. {
  4715. method: 'HEAD',
  4716. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4717. headers: {
  4718. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4719. 'Accept': 'text/xml',
  4720. 'Referer': ""
  4721. },
  4722. onload: function (result)
  4723. {
  4724. if (result.status != 200)
  4725. {
  4726. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4727. }
  4728. },
  4729. onerror: function (result)
  4730. {
  4731. if (result.status != 200)
  4732. {
  4733. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4734. }
  4735. }
  4736. });
  4737. }
  4738. }
  4739. function buildSettings()
  4740. {
  4741. $(".warlcsettings :checkbox").each(function(){
  4742. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4743. .click(function(e){
  4744. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4745. setVariables();
  4746. });
  4747. })
  4748. }
  4749. //Dynamic build of host list
  4750. //param search [string] searches for hostnames matching search substring
  4751. //param siteNames [array] array of site names
  4752. //param targetNode [DOM Node] where the list should be built
  4753. // first child node is replaced
  4754. function buildSitelist(search, siteNames, targetNode)
  4755. {
  4756. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4757. var $targetNode = $(targetNode).empty();
  4758. var searchedSite = "";
  4759. $.each(siteNames, function(i, site){
  4760. if (searchedSite = site.match(searchRegex))
  4761. {
  4762. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4763. //ensuring backward compatibility with the rest of code, to be refactored later
  4764. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4765. //
  4766. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4767. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4768. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4769. );
  4770. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4771. .change(changeConfiguration);
  4772. $targetNode.append('<br />');
  4773. }
  4774. });
  4775. $targetNode.append("<hr>");
  4776. //obsolete hosts checkbox
  4777. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4778. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4779. .change(changeConfiguration);
  4780. $targetNode.append('<br />');
  4781. var foundName = "";
  4782. $.each(allObsoleteNames, function(i, site){
  4783. if (foundName = allObsoleteNames[i].match(searchRegex))
  4784. {
  4785. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4786. }
  4787. })
  4788. }
  4789. var hostSearchBox = document.getElementById("hostSearchBox");
  4790. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4791. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4792. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4793. $(".warlc-ui-select-all").click(selectAll).button();
  4794. $(".warlc-ui-select-none").click(selectNone).button();
  4795. $(".warlc-ui-select-invert").click(selectInvert).button();
  4796. $(".warlc-ui-buttonset").buttonset();
  4797. var inColorLive = document.getElementById("inputColorLive");
  4798. inColorLive.addEventListener('keyup', changeColorLive, false);
  4799.  
  4800. var inColorDead = document.getElementById("inputColorDead");
  4801. inColorDead.addEventListener('keyup', changeColorDead, false);
  4802.  
  4803. var inColorTemp = document.getElementById("inputColorTemp");
  4804. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4805.  
  4806. var inColorCont = document.getElementById("inputColorCont");
  4807. inColorCont.addEventListener('keyup', changeColorCont, false);
  4808. var inColorprem = document.getElementById("inputColorprem");
  4809. inColorprem.addEventListener('keyup', changeColorprem, false);
  4810. $("#refAnonymizer").change(changeRefAnonymizer);
  4811. //buttons and edit boxes init end
  4812.  
  4813. //icon sets radio buttons
  4814. var radioButtons = document.getElementsByName("warlciconset");
  4815. radioButtons[Icon_set].checked = "checked";
  4816.  
  4817. radioButtons[0].addEventListener("change", updateIconSet);
  4818. radioButtons[1].addEventListener("change", updateIconSet);
  4819. radioButtons[2].addEventListener("change", updateIconSet);
  4820. radioButtons[3].addEventListener("change", updateIconSet);
  4821. function updateIconSet()
  4822. {
  4823. GM_setValue("Icon_set", this.value * 1);
  4824. }
  4825. //
  4826. $('#showCustomRulesReference').click(function(e){
  4827. e.preventDefault();
  4828. $('#customRulesReference').toggle();
  4829. });
  4830. $('#Custom_rules_text')
  4831. .val(Custom_rules_text)
  4832. .change(saveCustomRules);
  4833. function saveCustomRules(e)
  4834. {
  4835. var cr = parseCustomRules(this.value);
  4836. if (cr.info.length)
  4837. 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, ' '));
  4838. GM_setValue('Custom_rules_text', this.value);
  4839. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4840. }
  4841. }
  4842.  
  4843. //begin standard link checking algorithm
  4844. function start(filterId)
  4845. {
  4846. var doNotLinkify = Do_not_linkify_DL_links;
  4847.  
  4848. // USER SELECTED FILE HOSTS INITIALIZATION START
  4849. var http_file_hosts = new Array(); //standard hostings
  4850. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4851. var http_file_hosts_obsolete = new Array(); //dead hostings
  4852. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4853.  
  4854. initFileHosts();
  4855. initFileHostsHeadersOnly();
  4856. initFileHostsCustom(); //CustomRules
  4857. // USER SELECTED FILE HOSTS INITIALIZATION END
  4858.  
  4859. // LINKIFICATION START
  4860. var totalxpath = '';
  4861. var totalxpathcoded = '';
  4862. var totalxpathobsolete = '';
  4863. var totalxpathheadersonly = '';
  4864. var totalourls = '';
  4865.  
  4866. var filehostLen = http_file_hosts.length;
  4867. var filehostCodedLen = http_file_hosts_coded.length;
  4868. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4869. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4870.  
  4871. var filehostIdx = filehostLen;
  4872. var filehostCodedIdx = filehostCodedLen;
  4873. var filehostObsoleteIdx = filehostObsoleteLen;
  4874. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4875.  
  4876. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4877. return;
  4878.  
  4879. while (filehostIdx--)
  4880. {
  4881. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4882. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4883. }
  4884.  
  4885. while (filehostCodedIdx--)
  4886. {
  4887. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4888. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4889. }
  4890.  
  4891. while (filehostObsoleteIdx--)
  4892. {
  4893. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4894. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4895. }
  4896.  
  4897. while (filehostHeadersOnlyIdx--)
  4898. {
  4899. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4900. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4901. }
  4902.  
  4903. totalourls = totalourls.replace(/\|$/g, "");
  4904. //TODO: further refactoring needed
  4905. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4906. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4907. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4908. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4909. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4910. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4911. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4912. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4913. if (filterId != null) //insert id restriction in the xpath
  4914. {
  4915. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4916. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4917. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4918. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4919. }
  4920. else
  4921. {
  4922. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4923. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4924. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4925. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4926. }
  4927. linkify(totalourls);
  4928. //LINKIFICATION END
  4929. //ENCRYPTED LINKS PROCESSING START
  4930. if (http_file_hosts_coded.length > 0)
  4931. {
  4932. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4933.  
  4934. // decrypt coded links (redirects, link protectors etc.)
  4935. if (linksCoded.snapshotLength > 0)
  4936. {
  4937. var link;
  4938. var reallinkreg;
  4939. var reallinkcorrection;
  4940.  
  4941. if (filterId == null)
  4942. {
  4943. cLinksTotal += linksCoded.snapshotLength;
  4944. }
  4945.  
  4946. var y = linksCoded.snapshotLength - 1;
  4947. do
  4948. {
  4949. // linksCoded.snapshotItem(y).id = 'processing_link';
  4950. link = linksCoded.snapshotItem(y);
  4951. filehostIdx = filehostCodedLen;
  4952. while (filehostIdx--)
  4953. {
  4954. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4955. {
  4956. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4957. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4958. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4959.  
  4960. decurl(link, reallinkreg, reallinkcorrection);
  4961. break;
  4962. }
  4963. }
  4964. }
  4965. while (y--);
  4966. }
  4967. }
  4968. //ENCRYPTED LINKS PROCESSING END
  4969.  
  4970. //STANDARD LINKCHECKING START
  4971. if (http_file_hosts.length > 0)
  4972. {
  4973. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4974.  
  4975. if (filterId == null)
  4976. {
  4977. cLinksTotal += lianks.snapshotLength;
  4978. }
  4979.  
  4980. if (lianks.snapshotLength > 0)
  4981. {
  4982. var link;
  4983.  
  4984. var URL = "";
  4985. var name = "";
  4986. var isAliveRegex = "";
  4987. var isDeadRegex = "";
  4988. var isUnavaRegex = "";
  4989. var ispremRegex = "";
  4990. var tryLoop = false;
  4991.  
  4992. var y = lianks.snapshotLength;
  4993.  
  4994. while (y--)
  4995. {
  4996. link = lianks.snapshotItem(y);
  4997.  
  4998. filehostIdx = filehostLen;
  4999. while (filehostIdx--)
  5000. {
  5001. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5002. {
  5003. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5004. isAliveRegex = http_file_hosts[filehostIdx][1];
  5005. isDeadRegex = http_file_hosts[filehostIdx][2];
  5006. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5007. ispremRegex = http_file_hosts[filehostIdx][6];
  5008. tryLoop = http_file_hosts[filehostIdx][5];
  5009.  
  5010. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5011.  
  5012. break;
  5013. }
  5014. }
  5015. }
  5016. }
  5017. }
  5018. //STANDARD LINKCHECKING END
  5019. //OBSOLETE FILE HOSTS PROCESSING START
  5020. if (filehostObsoleteLen > 0)
  5021. {
  5022. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5023.  
  5024. var obsoleteLink;
  5025.  
  5026. //check links
  5027. if (obsoletelinks.snapshotLength > 0)
  5028. {
  5029. var y = obsoletelinks.snapshotLength;
  5030.  
  5031. if (filterId == null)
  5032. {
  5033. cLinksTotal += y;
  5034. }
  5035.  
  5036. while (y--)
  5037. {
  5038. obsoleteLink = obsoletelinks.snapshotItem(y);
  5039.  
  5040. if (Display_tooltip_info)
  5041. {
  5042. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5043. }
  5044. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5045. }
  5046. }
  5047. }
  5048. //OBSOLETE FILE HOSTS PROCESSING END
  5049.  
  5050. //DIRECT LINKCHECKING START
  5051. if (http_file_hosts_headers_only.length > 0)
  5052. {
  5053. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5054.  
  5055. //check links
  5056. if (links.snapshotLength > 0)
  5057. {
  5058. var link;
  5059. var isAliveRegex;
  5060. var isDeadRegex;
  5061. var ispremRegex;
  5062.  
  5063. var y = links.snapshotLength;
  5064.  
  5065.  
  5066. if (filterId == null)
  5067. {
  5068. cLinksTotal += y;
  5069. }
  5070.  
  5071. while (y--)
  5072. {
  5073. // links.snapshotItem(y).id = 'processing_link';
  5074. link = links.snapshotItem(y);
  5075. filehostIdx = filehostHeadersOnlyLen;
  5076. while (filehostIdx--)
  5077. {
  5078. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5079. {
  5080. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5081. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5082. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5083. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5084.  
  5085. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5086.  
  5087. break;
  5088. }
  5089. }
  5090. }
  5091.  
  5092. }
  5093. }
  5094. //DIRECT LINKCHECKING END
  5095.  
  5096.  
  5097. //finds the real url on the page, replaces link.href with it and calls geturl
  5098. function decurl(link, reallinkreg, reallinkcorrection)
  5099. {
  5100.  
  5101. GM_xmlhttpRequest(
  5102. {
  5103. method: 'GET',
  5104. url: link.href,
  5105. headers: {
  5106. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5107. 'Accept': 'text/xml',
  5108. 'Referer': ""
  5109. },
  5110. onload: function (result)
  5111. {
  5112. // cLinksProcessed++;
  5113.  
  5114. var reallink = result.responseText.match(reallinkreg)[0];
  5115. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5116.  
  5117. link.href = reallink;
  5118.  
  5119. var i = http_file_hosts.length - 1;
  5120. do
  5121. {
  5122. if ((reallink.match(http_file_hosts[i][0])))
  5123. {
  5124. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5125. var isAliveRegex = http_file_hosts[i][1];
  5126. var isDeadRegex = http_file_hosts[i][2];
  5127. var isUnavaRegex = http_file_hosts[i][3];
  5128. var ispremRegex = http_file_hosts[i][4];
  5129.  
  5130. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5131.  
  5132. break;
  5133. }
  5134. }
  5135. while (i--);
  5136. }
  5137. });
  5138. }
  5139.  
  5140. function randUA()
  5141. {
  5142. //TODO
  5143. }
  5144. //Processes link
  5145. //
  5146. // [string] link link URL
  5147. // [string] isAliveRegex alive link regex
  5148. // [string] isDeadRegex dead link regex
  5149. // [string] isUnavaRegex unavailable link regex
  5150. // [string] ispremRegex premium link regex
  5151. // [boolean] tryLoop repeats request until succeeded
  5152. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5153. {
  5154. GM_xmlhttpRequest(
  5155. {
  5156. method: 'GET',
  5157. url: link.href,
  5158. headers: {
  5159. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5160. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5161. 'Referer': ""
  5162. },
  5163. onload: function (result)
  5164. {
  5165. var res = result.responseText;
  5166. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5167. {
  5168. displayTheCheckedLink(link, 'alive_link');
  5169. return;
  5170. }
  5171.  
  5172. if (res.match(isAliveRegex))
  5173. {
  5174. displayTheCheckedLink(link, 'alive_link');
  5175. return;
  5176. }
  5177.  
  5178. if (res.match(isDeadRegex))
  5179. {
  5180. displayTheCheckedLink(link, 'adead_link');
  5181. return;
  5182. }
  5183.  
  5184. if (isUnavaRegex && res.match(isUnavaRegex))
  5185. {
  5186. displayTheCheckedLink(link, 'unava_link');
  5187. return;
  5188. }
  5189. if (res.match(ispremRegex))
  5190. {
  5191. displayTheCheckedLink(link, 'prem_link');
  5192. return;
  5193. }
  5194.  
  5195. var resStatus = result.status;
  5196.  
  5197. if (resStatus == 404)
  5198. {
  5199. displayTheCheckedLink(link, 'adead_link');
  5200. }
  5201. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5202. {
  5203. if (tryLoop)
  5204. {
  5205. //wait 1-5 seconds and repeat the request
  5206. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5207. }
  5208. else
  5209. {
  5210. displayTheCheckedLink(link, 'unava_link');
  5211. }
  5212.  
  5213. return;
  5214. }
  5215. },
  5216. onerror: function ()
  5217. {
  5218. displayTheCheckedLink(link, 'unava_link');
  5219. }
  5220. });
  5221. }
  5222.  
  5223. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5224. {
  5225. GM_xmlhttpRequest(
  5226. {
  5227. method: 'HEAD',
  5228. url: link.href,
  5229. headers: {
  5230. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5231. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5232. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5233. 'Referer': ""
  5234. },
  5235. onload: function (result)
  5236. {
  5237. var resStatus = result.status;
  5238. var resHeaders = "";
  5239. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5240. {
  5241. displayTheCheckedLink(link, 'adead_link');
  5242. return;
  5243. }
  5244.  
  5245. resHeaders = result.responseHeaders;
  5246.  
  5247. if (resHeaders.match(isDeadRegex))
  5248. {
  5249. displayTheCheckedLink(link, 'adead_link');
  5250. return;
  5251. }
  5252.  
  5253. if (resHeaders.match(isAliveRegex))
  5254. {
  5255. displayTheCheckedLink(link, 'alive_link');
  5256. return;
  5257. }
  5258. if (resHeaders.match(ispremRegex))
  5259. {
  5260. displayTheCheckedLink(link, 'prem_link');
  5261. return;
  5262. }
  5263. },
  5264. onerror: function ()
  5265. {
  5266. displayTheCheckedLink(link, 'unava_link');
  5267. }
  5268. });
  5269. }
  5270.  
  5271. //Delinkfifies the <a> element object
  5272. function delinkifyLink(link)
  5273. {
  5274. var spanElm = document.createElement("span");
  5275. spanElm.className = link.className;
  5276. spanElm.innerHTML = link.innerHTML;
  5277.  
  5278. if (Display_tooltip_info)
  5279. {
  5280. spanElm.href = link.href;
  5281. spanElm.warlc_error = link.warlc_error;
  5282. switch (link.className){
  5283. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5284. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5285. case "unava_link": //reserved
  5286. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5287. default:
  5288. }
  5289. }
  5290. link.parentNode.replaceChild(spanElm, link);
  5291. }
  5292.  
  5293. //Assigns result status to the <a> element object and calls delinkifying eventually
  5294. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5295. function displayTheCheckedLink(link, resultStatus)
  5296. {
  5297. link.className = resultStatus;
  5298. link.href = Ref_anonymize_service + link.href;
  5299. if (Display_tooltip_info)
  5300. {
  5301. switch (resultStatus){
  5302. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5303. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5304. case "unava_link": //reserved
  5305. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5306. default:
  5307. }
  5308. }
  5309. if (doNotLinkify)
  5310. {
  5311. delinkifyLink(link);
  5312. }
  5313. cLinksProcessed++;
  5314.  
  5315. if (resultStatus == "alive_link")
  5316. {
  5317. cLinksAlive++;
  5318. return;
  5319. }
  5320.  
  5321. if (resultStatus == "adead_link")
  5322. {
  5323. cLinksDead++;
  5324. return;
  5325. }
  5326.  
  5327. if (resultStatus == "unava_link")
  5328. {
  5329. cLinksUnava++;
  5330. }
  5331. if (resultStatus == "prem_link")
  5332. {
  5333. cLinksprem++;
  5334. return;
  5335. }
  5336. }
  5337.  
  5338.  
  5339. function initFileHosts()
  5340. {
  5341.  
  5342. function addObsoleteHost(linkRegex, xpathEx)
  5343. {
  5344. var host = new Array(2);
  5345. host[0] = linkRegex;
  5346. host[1] = xpathEx;
  5347. http_file_hosts_obsolete.push(host);
  5348. }
  5349.  
  5350. //obsolete file hosts init start
  5351. if (Obsolete_file_hosts)
  5352. {
  5353. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5354. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5355. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5356. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5357. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5358. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5359. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5360. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5361. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5362. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5363. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5364. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5365. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5366. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5367. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5368. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5369. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5370. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5371. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5372. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5373. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5374. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5375. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5376. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5377. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5378. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5379. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5380. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5381. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5382. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5383. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5384. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5385. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5386. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5387. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5388. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5389. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5390. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5391. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5392. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5393. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5394. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5395. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5396. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5397. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5398. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5399. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5400. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5401. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5402. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5403. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5404. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5405. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5406. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5407. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5408. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5409. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5410. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5411. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5412. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5413. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5414. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5415. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5416. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5417. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5418. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5419. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5420. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5421. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5422. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5423. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5424. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5425. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5426. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5427. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5428. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5429. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5430. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5431. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5432. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5433. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5434. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5435. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5436. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5437. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5438. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5439. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5440. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5441. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5442. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5443. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5444. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5445. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5446. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5447. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5448. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5449. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5450. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5451. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5452. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5453. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5454. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5455. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5456. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5457. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5458. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5459. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5460. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5461. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5462. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5463. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5464. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5465. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5466. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5467. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5468. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5469. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5470. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5471. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5472. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5473. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5474. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5475. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5476. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5477. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5478. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5479. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5480. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5481. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5482. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5483. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5484. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5485. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5486. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5487. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5488. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5489. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5490. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5491. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5492. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5493. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5494. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5495. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5496. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5497. 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')]");
  5498. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5499. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5500. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5501. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5502. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5503. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5504. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5505. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5506. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5507. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5508. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5509. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5510. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5511. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5512. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5513. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5514. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5515. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5516. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5517. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5518. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5519. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5520. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5521. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5522. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5523. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5524. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5525. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5526. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5527. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5528. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5529. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5530. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5531. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5532. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5533. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5534. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5535. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5536. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5537. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5538. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5539. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5540. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5541. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5542. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5543. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5544. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5545. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5546. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5547. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5548. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5549. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5550. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5551. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5552. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5553. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5554. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5555. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5556. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5557. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5558. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5559. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5560. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5561. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5562. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5563. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5564. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5565. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5566. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5567. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5568. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5569. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5570. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5571. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5572. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5573. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5574. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5575. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5576. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5577. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5578. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5579. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5580. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5581. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5582. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5583. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5584. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5585. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5586. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5587. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5588. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5589. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5590. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5591. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5592. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5593. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5594. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5595. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5596. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5597. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5598. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5599. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5600. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5601. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5602. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5603. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5604. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5605. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5606. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5607. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5608. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5609. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5610. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5611. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5612. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5613. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5614. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5615. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5616. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5617. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5618. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5619. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5620. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5621. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5622. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5623. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5624. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5625. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5626. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5627. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5628. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5629. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5630. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5631. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5632. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5633. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5634. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5635. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5636. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5637. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5638. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5639. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5640. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5641. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5642. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5643. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5644. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5645. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5646. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5647. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5648. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5649. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5650. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5651. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5652. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5653. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5654. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5655. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5656. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5657. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5658. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5659. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5660. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5661. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5662. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5663. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5664. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5665. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5666. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5667. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5668. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5669. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5670. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5671. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5672. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5673. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5674. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5675. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5676. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5677. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5678. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5679. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5680. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5681. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5682. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5683. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5684. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5685. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5686. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5687. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5688. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5689. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5690. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5691. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5692. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5693. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5694. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5695. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5696. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5697. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5698. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5699. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5700. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5701. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5702. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5703. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5704. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5705. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5706. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5707. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5708. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5709. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5710. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5711. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5712. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5713. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5714. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5715. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5716. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5717. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5718. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5719. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5720. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5721. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5722. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5723. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5724. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5725. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5726. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5727. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5728. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5729. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5730. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5731. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5732. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5733. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5734. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5735. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5736. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5737. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5738. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5739. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5740. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5741. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5742. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5743. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5744. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5745. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5746. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5747. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5748. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5749. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5750. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5751. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5752. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5753. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5754. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5755. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5756. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5757. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5758. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5759. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5760. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5761. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5762. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5763. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5764. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5765. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5766. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5767. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5768. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5769. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5770. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5771. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5772. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5773. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5774. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5775. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5776. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5777. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5778. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5779. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5780. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5781. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5782. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5783. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5784. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5785. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5786. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5787. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5788. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5789. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5790. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5791. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5792. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5793. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5794. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5795. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5796. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5797. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5798. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5799. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5800. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5801. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5802. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5803. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5804. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5805. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5806. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5807. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5808. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5809. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5810. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5811. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5812. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5813. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5814. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5815. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5816. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5817. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5818. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5819. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5820. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5821. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5822. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5823. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5824. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5825. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5826. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5827. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5828. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5829. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5830. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5831. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5832. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5833. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5834. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5835. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5836. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5837. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5838. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5839. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5840. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5841. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm​.to/')]");
  5842. // obsolete start
  5843. }
  5844. //obsolete file hosts init end
  5845. //Add Host Example
  5846. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5847. {
  5848. addFileHost(
  5849. "datafile\.com\/\\w+",
  5850. 'var captchaPanel|<link href="/css/files_download.css"',
  5851. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5852. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5853. '<style type="text/css">',
  5854. "//a[contains(@href,'datafile.com')]",
  5855. true);
  5856. } */
  5857.  
  5858. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5859. {
  5860. var host = new Array(7);
  5861. host[0] = linkRegex;
  5862. host[1] = isAliveRegex;
  5863. host[2] = isDeadRegex;
  5864. host[3] = isUnavaRegex;
  5865. host[6] = ispremRegex;
  5866. host[4] = xpathEx;
  5867. tryLoop ? host[5] = true : host[5] = false;
  5868. http_file_hosts.push(host);
  5869. }
  5870. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5871. {
  5872. addFileHost(
  5873. "megafileupload\.com\/..\/file\/",
  5874. 'downloadbtn',
  5875. 'is not found',
  5876. 'optional--',
  5877. 'optional2--',
  5878. "//a[contains(@href,'megafileupload.com')]");
  5879. }
  5880. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5881. {
  5882. addFileHost(
  5883. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5884. 'download\\.gif"',
  5885. 'p_point">',
  5886. 'optional--',
  5887. 'optional2--',
  5888. "//a[contains(@href,'demo.ovh.eu')]");
  5889. }
  5890. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5891. {
  5892. addFileHost(
  5893. "xkeepfile\.com\/\\w+",
  5894. 'File has been found|Click here to download',
  5895. 'File cannot be found|class="error">',
  5896. 'optional--',
  5897. 'optional2--',
  5898. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5899. }
  5900. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5901. {
  5902. addFileHost(
  5903. "safelinking\\.net\/p\/\\w+",
  5904. 'color:green;"',
  5905. 'color:(?:red|orange);"',
  5906. 'color:(?:grey|brown);"',
  5907. 'optional2--',
  5908. "//a[contains(@href,'safelinking.net/p/')]",
  5909. true);
  5910. }
  5911. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5912. {
  5913. addFileHost(
  5914. "fastshare\\.cz\/\\d+\/\\w*",
  5915. 'dwntable">|speed-low',
  5916. 'nebyla nalezena|nebola nájdená|nie została odnaleziona|color:red;font-weight:bold;border\\-style:dashed|<i class="fa fa-copyright"></i>|<title>FastShare.cz</title>|file has been deleted|website is not available from your country',
  5917. 'optional--',
  5918. 'optional2--',
  5919. "//a[contains(@href,'fastshare.cz')]");
  5920. }
  5921. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5922. {
  5923. addFileHost(
  5924. "[fF]ast[sS]hare\\.org\/download",
  5925. 'Download ">',
  5926. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5927. 'optional--',
  5928. 'optional2--',
  5929. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5930. }
  5931. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5932. {
  5933. addFileHost(
  5934. "partage-facile\.com\/\\w+",
  5935. 'class="title"><strong>|colspan="2"',
  5936. 'Page introuvable|class="alert-message',
  5937. 'optional--',
  5938. 'optional2--',
  5939. "//a[contains(@href,'partage-facile.com')]");
  5940. }
  5941. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5942. {
  5943. addFileHost(
  5944. "rapidgator\\.net\/file\/\\w+",
  5945. '/download/AjaxStartTimer|not more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  5946. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5947. 'optional--',
  5948. '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',
  5949. "//a[contains(@href,'rapidgator.net/file')]",
  5950. true
  5951. );
  5952. }
  5953. if (GM_getValue("Check_relink_dot_us_links", false))
  5954. {
  5955. addFileHost(
  5956. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5957. 'online_detail\\.png" alt="Status',
  5958. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5959. 'unknown_detail\\.png" alt="Status',
  5960. 'optional2--',
  5961. "//a[contains(@href,'relink.us/')]"
  5962. );
  5963. }
  5964. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5965. {
  5966. addFileHost(
  5967. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5968. 'div id="dl"',
  5969. 'Sie haben den Link falsch',
  5970. 'optional--',
  5971. 'optional2--',
  5972. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5973. );
  5974. }
  5975. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5976. {
  5977. addFileHost(
  5978. "flyfiles\\.net\/\\w+",
  5979. 'download_button"|"Download file"',
  5980. 'File not found!|Файл не найден',
  5981. 'optional--',
  5982. 'optional2--',
  5983. "//a[contains(@href,'flyfiles.net/')]"
  5984. );
  5985. }
  5986. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5987. {
  5988. addFileHost(
  5989. "wikiupload\\.com\/\\w+",
  5990. 'download-button">',
  5991. 'Sorry, File not found',
  5992. 'optional--',
  5993. 'optional2--',
  5994. "//a[contains(@href,'wikiupload.com/')]"
  5995. );
  5996. }
  5997. if (GM_getValue("Check_hostuje_dot_net_links", false))
  5998. {
  5999. addFileHost(
  6000. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6001. 'file\\.php">|Pobierz Plik',
  6002. 'Podany plik nie zosta',
  6003. 'optional--',
  6004. 'optional2--',
  6005. "//a[contains(@href,'hostuje.net/file')]"
  6006. );
  6007. }
  6008. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6009. {
  6010. addFileHost(
  6011. "gettyfile\\.ru\/\\d+",
  6012. 'download\\.gif border',
  6013. '<center><font size="3">',
  6014. 'optional--',
  6015. 'optional2--',
  6016. "//a[contains(@href,'gettyfile.ru/')]"
  6017. );
  6018. }
  6019. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6020. {
  6021. addFileHost(
  6022. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6023. 'download\\-file">',
  6024. 'col-1">\\s*<h1>',
  6025. 'optional--',
  6026. 'optional2--',
  6027. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6028. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6029. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6030. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6031. );
  6032. }
  6033. if (GM_getValue("Check_data_dot_hu_links", false))
  6034. {
  6035. addFileHost(
  6036. "data\\.hu\/get\/\\d+\/",
  6037. 'download_box_button',
  6038. 'missing\\.php',
  6039. 'optional--',
  6040. 'optional2--',
  6041. "//a[contains(@href,'data.hu/get')]",
  6042. true
  6043. );
  6044. }
  6045. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6046. {
  6047. addFileHost(
  6048. "filesmelt\\.com\/dl\/\\w+",
  6049. '(Your download is ready|Download File)',
  6050. 'Sorry, but your',
  6051. 'optional--',
  6052. 'optional2--',
  6053. "//a[contains(@href,'filesmelt.com/dl')]"
  6054. );
  6055. }
  6056. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6057. {
  6058. addFileHost(
  6059. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6060. 'premiumBtn"',
  6061. 'errorMessage"',
  6062. 'optional--',
  6063. 'optional2--',
  6064. "//a[contains(@href,'indowebster.com/download')]"
  6065. );
  6066. }
  6067. if (GM_getValue("Check_superload_dot_cz_links", false))
  6068. {
  6069. addFileHost(
  6070. "superload\\.cz\/dl\/\\w+",
  6071. 'icon-download">',
  6072. 'soubor nebyl nalezen',
  6073. 'optional--',
  6074. 'optional2--',
  6075. "//a[contains(@href,'superload.cz/dl')]"
  6076. );
  6077. }
  6078. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6079. {
  6080. addFileHost(
  6081. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6082. 'op" value="download',
  6083. 'class="err">|width:500px;text-align:left;">',
  6084. 'optional--',
  6085. 'optional2--',
  6086. "//a[contains(@href,'hulkfile.')]"
  6087. );
  6088. }
  6089. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6090. {
  6091. addFileHost(
  6092. "easybytez\\.com\/\\w+",
  6093. 'op" value="download',
  6094. 'stop_error\\.gif',
  6095. 'optional--',
  6096. 'optional2--',
  6097. "//a[contains(@href,'easybytez.com/')]"
  6098. );
  6099. }
  6100. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6101. {
  6102. addFileHost(
  6103. "filestore\\.com\\.ua\/\\?d=\\w+",
  6104. 'tdrow1>',
  6105. 'class=warn',
  6106. 'optional--',
  6107. 'optional2--',
  6108. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6109. );
  6110. }
  6111. if (GM_getValue("Check_netkups_dot_com_links", false))
  6112. {
  6113. addFileHost(
  6114. "netkups\\.com\/\\?d=\\w+",
  6115. 'submit">Continue',
  6116. 'page">File not found|deleted due to inactivity',
  6117. 'optional--',
  6118. 'optional2--',
  6119. "//a[contains(@href,'netkups.com/?d=')]"
  6120. );
  6121. }
  6122. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6123. {
  6124. addFileHost(
  6125. "openfile\\.ru\/(?:video\/|)\\d+",
  6126. 'videobox_left">',
  6127. 'blog_title">|not found on this server',
  6128. 'optional--',
  6129. 'optional2--',
  6130. "//a[contains(@href,'openfile.ru/')]"
  6131. );
  6132. }
  6133. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6134. {
  6135. addFileHost(
  6136. "extmatrix\\.com\/files\/\\w+",
  6137. 'div class="success"',
  6138. 'div class="error"',
  6139. 'optional--',
  6140. 'optional2--',
  6141. "//a[contains(@href,'extmatrix.com/files')]"
  6142. );
  6143. }
  6144. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6145. {
  6146. addFileHost(
  6147. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6148. 'content_lnkDownload',
  6149. 'error\\.aspx\\?',
  6150. 'optional--',
  6151. 'optional2--',
  6152. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6153. );
  6154. }
  6155. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6156. {
  6157. addFileHost(
  6158. "yourfilestore\\.com\/download\/\\d+\/",
  6159. 'download_data">',
  6160. 'may have been deleted|<h1>Sorry!<\/h1>',
  6161. 'optional--',
  6162. 'optional2--',
  6163. "//a[contains(@href,'yourfilestore.com/download')]"
  6164. );
  6165. }
  6166. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6167. {
  6168. addFileHost(
  6169. "nekaka\\.com\/d\/[\\w-]+",
  6170. 'downloadForm">',
  6171. 'invalid file link',
  6172. 'optional--',
  6173. 'optional2--',
  6174. "//a[contains(@href,'nekaka.com/d')]"
  6175. );
  6176. }
  6177. if (GM_getValue("Check_filebig_dot_net_links", false))
  6178. {
  6179. addFileHost(
  6180. "filebig\\.net\/files\/\\w+",
  6181. 'downloadFile">',
  6182. '<p>File not found<\/p>',
  6183. 'optional--',
  6184. 'optional2--',
  6185. "//a[contains(@href,'filebig.net/files')]"
  6186. );
  6187. }
  6188. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6189. {
  6190. addFileHost(
  6191. "files\\.filefront\\.com\/\/;\\d+;;",
  6192. 'downloadLink">',
  6193. 'File not found, you',
  6194. 'optional--',
  6195. 'optional2--',
  6196. "//a[contains(@href,'files.filefront.com')]"
  6197. );
  6198.  
  6199. addFileHost(
  6200. "gamefront\\.com\/files\/\\d+",
  6201. 'downloadLink">',
  6202. 'File not found, you',
  6203. 'optional--',
  6204. 'optional2--',
  6205. "//a[contains(@href,'gamefront.com/files')]"
  6206. );
  6207. }
  6208. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6209. {
  6210. addFileHost(
  6211. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6212. 'dnlLnk"',
  6213. 'already been deleted',
  6214. 'optional--',
  6215. 'optional2--',
  6216. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6217. );
  6218. }
  6219. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6220. {
  6221. addFileHost(
  6222. "hellupload\\.com\/\\w+",
  6223. '<h3>Download File<br',
  6224. 'id="podstrona">|AVOID_IE_BUG',
  6225. 'optional--',
  6226. 'optional2--',
  6227. "//a[contains(@href,'hellupload.com/')]"
  6228. );
  6229. }
  6230. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6231. {
  6232. addFileHost(
  6233. "free\\-uploading\\.com\/\\w+",
  6234. 'op" value="download',
  6235. 'class="err">|width:500px;text-align:left;">',
  6236. 'optional--',
  6237. 'optional2--',
  6238. "//a[contains(@href,'free-uploading.com/')]"
  6239. );
  6240. }
  6241. if (GM_getValue("Check_fileape_dot_com_links", false))
  6242. {
  6243. addFileHost(
  6244. "fileape\\.com\/download\\-",
  6245. 'button_dl\\.png',
  6246. 'does not exist\\.',
  6247. 'optional--',
  6248. 'optional2--',
  6249. "//a[contains(@href,'fileape.com/')]"
  6250. );
  6251. }
  6252. if (GM_getValue("Check_uppit_dot_com_links", false))
  6253. {
  6254. addFileHost(
  6255. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6256. 'op" value="download',
  6257. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6258. 'optional--',
  6259. 'optional2--',
  6260. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6261. true
  6262. );
  6263. }
  6264. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6265. {
  6266. addFileHost(
  6267. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6268. 'op" value="download',
  6269. '>File Not Found<',
  6270. 'optional--',
  6271. 'optional2--',
  6272. "//a[contains(@href,'nosupload.com')]",
  6273. true
  6274. );
  6275. }
  6276. if (GM_getValue("Check_filesin_dot_com_links", false))
  6277. {
  6278. addFileHost(
  6279. "filesin\\.com\/\\w+\/download\\.html",
  6280. 'download_area">',
  6281. 'error_note">',
  6282. 'optional--',
  6283. 'optional2--',
  6284. "//a[contains(@href,'filesin.com/')]",
  6285. true
  6286. );
  6287. }
  6288. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6289. {
  6290. addFileHost(
  6291. "nowdownload\\.ch\/dl\/\\w+",
  6292. 'alert-success"',
  6293. 'This file does not exist!',
  6294. 'The file is being transfered',
  6295. 'optional2--',
  6296. "//a[contains(@href,'nowdownload.ch/dl')]"
  6297. );
  6298. }
  6299. if (GM_getValue("Check_axifile_dot_com_links", false))
  6300. {
  6301. addFileHost(
  6302. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6303. 'Dbutton_big"',
  6304. 'download\\-error\\.php',
  6305. 'optional--',
  6306. 'optional2--',
  6307. "//a[contains(@href,'axifile.com/')]"
  6308. );
  6309. }
  6310. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6311. {
  6312. addFileHost(
  6313. "hulkshare\.com\/\\w+",
  6314. 'download\.sam\.png|This is a private file|id="filename',
  6315. 'File does not exist|fingerprint protected copyright',
  6316. 'optional--',
  6317. 'optional2--',
  6318. "//a[contains(@href,'hulkshare.com')]"
  6319. );
  6320. }
  6321. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6322. {
  6323. addFileHost(
  6324. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6325. 'col-1">\\s*<s',
  6326. 'col-1">\\s*<h',
  6327. 'optional--',
  6328. 'optional2--',
  6329. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6330. );
  6331. }
  6332. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6333. {
  6334. addFileHost(
  6335. "turbobit\\.(?:net|pl)",
  6336. 'id="download-gate-info|id="file-list',
  6337. 'afterWait()|no files in this folder',
  6338. 'optional--',
  6339. 'optional2--',
  6340. "//a[contains(@href,'turbobit.net')]"
  6341. );
  6342. }
  6343. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6344. {
  6345. addFileHost(
  6346. "hitfile\\.net\/download\/folder\/\\d+",
  6347. 'content">\\s*<s',
  6348. 'content">\\s*<h',
  6349. 'optional--',
  6350. 'optional2--',
  6351. "//a[contains(@href,'hitfile.net/download/folder')]"
  6352. );
  6353. }
  6354. if (GM_getValue("Check_movshare_dot_net_links", false))
  6355. {
  6356. addFileHost(
  6357. "movshare\\.net\\/video\\/\\w+",
  6358. 'optional--"',
  6359. 'no longer exists',
  6360. 'optional--',
  6361. 'optional2--',
  6362. "//a[contains(@href,'movshare.net/video')]"
  6363. );
  6364. }
  6365. if (GM_getValue("Check_plunder_dot_com_links", false))
  6366. {
  6367. addFileHost(
  6368. "plunder\.com\/\\w+",
  6369. 'x\/download\\.gif',
  6370. '404 - File or directory not found.',
  6371. 'optional--',
  6372. 'optional2--',
  6373. "//a[contains(@href,'plunder.com')]"
  6374. );
  6375. }
  6376. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6377. {
  6378. addFileHost(
  6379. "mafiastorage\\.com\/\\w+",
  6380. 'op" value="download',
  6381. 'class="err">|style="width:500px;text-align:left;"',
  6382. 'optional--',
  6383. 'optional2--',
  6384. "//a[contains(@href,'mafiastorage.com/')]"
  6385. );
  6386. }
  6387. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6388. {
  6389. addFileHost(
  6390. "uploadspace\.pl\/plik\\w+",
  6391. 'Downloading .+? \\|',
  6392. 'Downloading a file',
  6393. 'optional--',
  6394. 'optional2--',
  6395. "//a[contains(@href,'uploadspace.pl/plik')]"
  6396. );
  6397. }
  6398. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6399. {
  6400. addFileHost(
  6401. "uploadingit\\.com\/file\/\\w+",
  6402. 'downloadTitle">',
  6403. 'deleteContent">',
  6404. 'optional--',
  6405. 'optional2--',
  6406. "//a[contains(@href,'uploadingit.com/file')]"
  6407. );
  6408. }
  6409. if (GM_getValue("Check_rghost_dot_net_links", false))
  6410. {
  6411. addFileHost(
  6412. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6413. 'download_link|btn large download',
  6414. 'file is restricted|File is deleted|503 Service Unavailable',
  6415. 'optional--',
  6416. 'optional2--',
  6417. "//a[contains(@href,'rghost.')]"
  6418. );
  6419. }
  6420. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6421. {
  6422. addFileHost(
  6423. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6424. '">Staženo:\\s*<\/span>',
  6425. 'Soubor, který hledáte nenalezen',
  6426. 'optional--',
  6427. 'optional2--',
  6428. "//a[contains(@href,'xdisk.cz/')]"
  6429. );
  6430. }
  6431. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6432. {
  6433. addFileHost(
  6434. "expressleech\.com\/\\w+",
  6435. 'src="/img/Download.gif"|var _gaq =',
  6436. 'var rr =|403 Forbidden',
  6437. 'optional--',
  6438. 'optional2--',
  6439. "//a[contains(@href,'expressleech.com')]");
  6440. }
  6441. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6442. {
  6443. addFileHost(
  6444. "2downloadz\.com\/\\w+",
  6445. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6446. 'color="#006DCC|File error',
  6447. 'optional--',
  6448. 'optional2--',
  6449. "//a[contains(@href,'2downloadz.com')]");
  6450. }
  6451. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6452. {
  6453. addFileHost(
  6454. "mightyupload\.com\/\\w+",
  6455. 'background:#ccc;text-align|CONTENT="Download File"',
  6456. 'style="background:#eee|var rr =|File Not Found',
  6457. 'error-code">1010',
  6458. 'optional2--',
  6459. "//a[contains(@href,'mightyupload.com')]");
  6460. }
  6461. if (GM_getValue("Check_anysend_dot_com_links", false))
  6462. {
  6463. addFileHost(
  6464. "anysend\.com\/\\w+",
  6465. 'var openCalled=false;|content="noindex"',
  6466. '_trackPageview',
  6467. 'optional--',
  6468. 'optional2--',
  6469. "//a[contains(@href,'anysend.com')]");
  6470. }
  6471. if (GM_getValue("Check_datafile_dot_com_links", false))
  6472. {
  6473. addFileHost(
  6474. "datafile\.com\/\\w+",
  6475. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6476. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6477. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance|Unknown Error',
  6478. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">', //<style type="text/css">
  6479. "//a[contains(@href,'datafile.com')]",
  6480. true);
  6481. }
  6482. if (GM_getValue("Check_upstore_dot_net_links", false))
  6483. {
  6484. addFileHost(
  6485. "upstore\.net\/\\w+",
  6486. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6487. 'File not found|onload="redirect|class="error">',
  6488. 'optional--',
  6489. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6490. "//a[contains(@href,'upstore.net')]");
  6491. }
  6492. if (GM_getValue("Check_upsto_dot_re_links", false))
  6493. {
  6494. addFileHost(
  6495. "upsto\.re\/\\w+",
  6496. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6497. 'File not found|onload="redirect|class="error">',
  6498. 'optional--',
  6499. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6500. "//a[contains(@href,'upsto.re')]");
  6501. }
  6502. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6503. {
  6504. addFileHost(
  6505. "speedy\.sh\/\\w+",
  6506. 'bgcolor=#eeeeee|class="addthis',
  6507. 'File not found|downloadfilenamenotfound>',
  6508. 'optional--',
  6509. 'optional2--',
  6510. "//a[contains(@href,'speedy.sh')]");
  6511. }
  6512. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6513. {
  6514. addFileHost(
  6515. "sanshare\.com\/\\w+",
  6516. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6517. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6518. 'optional--',
  6519. 'optional2--',
  6520. "//a[contains(@href,'sanshare.com')]");
  6521. }
  6522. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6523. {
  6524. addFileHost(
  6525. "kingfiles\.net\/\\w+",
  6526. 'method_free',
  6527. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6528. 'optional--',
  6529. 'optional2--',
  6530. "//a[contains(@href,'kingfiles.net')]");
  6531. }
  6532. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6533. {
  6534. addFileHost(
  6535. "uploadhero\\.co\/dl\/\\w+",
  6536. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6537. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6538. 'optional--',
  6539. 'optional2--',
  6540. "//a[contains(@href,'uploadhero.co/dl')]"
  6541. );
  6542. } */
  6543. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6544. {
  6545. addFileHost(
  6546. "secureupload\\.eu\/\\w+",
  6547. 'Downloading',
  6548. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6549. 'optional--',
  6550. 'optional2--',
  6551. "//a[contains(@href,'secureupload.eu')]"
  6552. );
  6553. }
  6554. if (GM_getValue("Check_ge_dot_tt_links", false))
  6555. {
  6556. addFileHost(
  6557. "ge\.tt\/\\w+",
  6558. 'downloads pic',
  6559. 'is NOT the same as',
  6560. 'optional--',
  6561. 'optional2--',
  6562. "//a[contains(@href,'ge.tt')]");
  6563. }
  6564. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6565. {
  6566. addFileHost(
  6567. "filefactory\.com\/\\w+",
  6568. 'div id="file_holder"|download.css',
  6569. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6570. 'Server Maintenance|temporarily overloaded',
  6571. 'Premium Account Required',
  6572. "//a[contains(@href,'filefactory.com')]");
  6573. }
  6574. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6575. {
  6576. addFileHost(
  6577. "filesflash\.net\/\\w+",
  6578. 'align:right">Filename:',
  6579. 'class="msg">',
  6580. 'optional--',
  6581. 'optional2--',
  6582. "//a[contains(@href,'filesflash.net')]");
  6583. }
  6584. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6585. {
  6586. addFileHost(
  6587. "rapidgator\\.net\/folder\/\\w+",
  6588. 'href="/folder/',
  6589. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6590. 'optional--',
  6591. 'optional2--',
  6592. "//a[contains(@href,'rapidgator.net/folder')]",
  6593. true
  6594. );
  6595. }
  6596. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6597. {
  6598. addFileHost(
  6599. "salefiles\.com\/\\w+",
  6600. 'name="method_free',
  6601. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6602. 'optional--',
  6603. 'optional2--',
  6604. "//a[contains(@href,'salefiles.com')]");
  6605. }
  6606. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6607. {
  6608. addFileHost(
  6609. "megairon\.net\/\\w+",
  6610. 'border: 5px #ffeb90 solid;',
  6611. 'CONTENT="Download File ">|var rr =',
  6612. 'error-code">523',
  6613. 'optional2--',
  6614. "//a[contains(@href,'megairon.net')]",
  6615. true);
  6616. } */
  6617. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6618. {
  6619. addFileHost(
  6620. "datoid\.cz\/\\w+",
  6621. 'btn-download|class="icon-download-large"',
  6622. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6623. 'optional--',
  6624. 'optional2--',
  6625. "//a[contains(@href,'datoid.cz')]");
  6626. }
  6627. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6628. {
  6629. addFileHost(
  6630. "stiahni\.si\/\\w+",
  6631. 'report_icon.png"|slow-download-button',
  6632. 'none.png|deleted|<h2>Error 500</h2>',
  6633. 'optional--',
  6634. 'optional2--',
  6635. "//a[contains(@href,'stiahni.si')]");
  6636. }
  6637. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6638. {
  6639. addFileHost(
  6640. "cloudstor\.es\/\\w+",
  6641. '"btn_download"',
  6642. '404: Page Not Found',
  6643. 'optional--',
  6644. 'optional2--',
  6645. "//a[contains(@href,'cloudstor.es')]");
  6646. }
  6647. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6648. {
  6649. addFileHost(
  6650. "streamfile\.com\/\\w+",
  6651. 'class="btn',
  6652. 'class="green-btn',
  6653. 'optional--',
  6654. 'optional2--',
  6655. "//a[contains(@href,'streamfile.com')]");
  6656. }
  6657. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6658. {
  6659. addFileHost(
  6660. "eyesfile\.ca\/\\w+",
  6661. 'value="Get Link',
  6662. 'var rr =',
  6663. 'optional--',
  6664. 'optional2--',
  6665. "//a[contains(@href,'eyesfile.ca')]");
  6666. }
  6667. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6668. {
  6669. addFileHost(
  6670. "filemoney\.com\/\\w+",
  6671. 'og:title',
  6672. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6673. 'error-code">1010',
  6674. 'optional2--',
  6675. "//a[contains(@href,'filemoney.com')]");
  6676. }
  6677. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6678. {
  6679. addFileHost(
  6680. "uploadboy\.com\/\\w+",
  6681. 'width="740">|method_free',
  6682. 'var rr =|background:#ffffff|not be found|file was removed',
  6683. 'optional--',
  6684. 'optional2--',
  6685. "//a[contains(@href,'uploadboy.com')]");
  6686. }
  6687. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6688. {
  6689. addFileHost(
  6690. "uploadboy\.com\/\\w+",
  6691. 'width="740">|method_free',
  6692. 'var rr =|background:#ffffff|not be found|file was removed',
  6693. 'optional--',
  6694. 'optional2--',
  6695. "//a[contains(@href,'uploadboy.me')]");
  6696. }
  6697. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6698. {
  6699. addFileHost(
  6700. "speedshare\.eu\/\\w+",
  6701. 'favicon.png|color:#3d87c0|cross.png"',
  6702. 'var rr =|File Not Found|style="background:#eee',
  6703. 'optional--',
  6704. 'optional2--',
  6705. "//a[contains(@href,'speedshare.eu')]");
  6706. }
  6707. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6708. {
  6709. addFileHost(
  6710. "unlimitzone\.com\/\\w+",
  6711. 'name="method_free',
  6712. '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',
  6713. 'optional--',
  6714. 'optional2--',
  6715. "//a[contains(@href,'unlimitzone.com')]");
  6716. }
  6717. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6718. {
  6719. addFileHost(
  6720. "rioupload\.com\/\\w+",
  6721. 'sell.jpg',
  6722. 'var rr =',
  6723. 'optional--',
  6724. 'optional2--',
  6725. "//a[contains(@href,'rioupload.com')]");
  6726. }
  6727. if (GM_getValue("Check_rg_dot_to_links", false))
  6728. {
  6729. addFileHost(
  6730. "rg\.to\/\\w+",
  6731. '/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',
  6732. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6733. 'optional--',
  6734. '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',
  6735. "//a[contains(@href,'rg.to')]");
  6736. }
  6737. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6738. {
  6739. addFileHost(
  6740. "jumbofiles\.org\/\\w+",
  6741. 'H71C5.png|class="downloadtitle">',
  6742. 'var swfu|ViewSourceBIN.png',
  6743. 'optional--',
  6744. 'optional2--',
  6745. "//a[contains(@href,'jumbofiles.org')]");
  6746. }
  6747. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6748. {
  6749. addFileHost(
  6750. "fshare\\.vn\/file\/\\w+",
  6751. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6752. 'không tồn tại|class="color_red m_t_50"',
  6753. 'optional--',
  6754. 'optional2--',
  6755. "//a[contains(@href,'fshare.vn/file')]",
  6756. true
  6757. );
  6758. }
  6759. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6760. {
  6761. addFileHost(
  6762. "spaceforfiles\.com\/\\w+",
  6763. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6764. 'var rr =|AVOID_IE_BUG',
  6765. 'optional--',
  6766. 'optional2--',
  6767. "//a[contains(@href,'spaceforfiles.com')]");
  6768. }
  6769. if (GM_getValue("Check_google_dot_com_links", false))
  6770. {
  6771. addFileHost(
  6772. "google\\.com\/file\/\\w+",
  6773. 'content="!">|color:#2d2d2d',
  6774. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6775. 'optional--',
  6776. 'optional2--',
  6777. "//a[contains(@href,'google.com/file')]",
  6778. true
  6779. );
  6780. }
  6781. if (GM_getValue("Check_google_dot_com_links", false))
  6782. {
  6783. addFileHost(
  6784. "docs.google.com\/\\w+",
  6785. 'content="!">|color:#2d2d2d',
  6786. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6787. 'optional--',
  6788. 'optional2--',
  6789. "//a[contains(@href,'docs.google.com')]",
  6790. true
  6791. );
  6792. }
  6793. if (GM_getValue("Check_google_dot_com_links", false))
  6794. {
  6795. addFileHost(
  6796. "drive.google.com\/\\w+",
  6797. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6798. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6799. 'optional--',
  6800. 'optional2--',
  6801. "//a[contains(@href,'drive.google.com')]",
  6802. true
  6803. );
  6804. }
  6805. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6806. {
  6807. addFileHost(
  6808. "up.media1fire\.com\/\\w+",
  6809. 'class="addthis_|value="download',
  6810. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6811. 'optional--',
  6812. 'optional2--',
  6813. "//a[contains(@href,'up.media1fire.com')]");
  6814. }
  6815. if (GM_getValue("Check_depfile_dot_com_links", false))
  6816. {
  6817. addFileHost(
  6818. "depfile\.com\/\\w+",
  6819. 'logo_0.png|downloads.gif"|verifycode',
  6820. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6821. 'optional--',
  6822. 'available only for Premium users',
  6823. "//a[contains(@href,'depfile.com')]");
  6824. }
  6825. if (GM_getValue("Check_go4up_dot_com_links", false))
  6826. {
  6827. addFileHost(
  6828. "go4up\.com\/\\w+",
  6829. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6830. '<title>GO4UP|dmca',
  6831. 'optional--',
  6832. 'optional2--',
  6833. "//a[contains(@href,'go4up.com')]");
  6834. }
  6835. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6836. {
  6837. addFileHost(
  6838. "redbunker\.net\/\\w+",
  6839. 'name="method_free"',
  6840. 'color="red">Unknow / Bilinmiyor<',
  6841. 'optional--',
  6842. '2.3 GB',
  6843. "//a[contains(@href,'redbunker.net')]");
  6844. }
  6845. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6846. {
  6847. addFileHost(
  6848. "divxpress\.com\/\\w+",
  6849. 'btn_download|logo.png"',
  6850. 'AVOID_IE_BUG|var rr =',
  6851. 'optional--',
  6852. 'optional2--',
  6853. "//a[contains(@href,'divxpress.com')]");
  6854. }
  6855. if (GM_getValue("Check_anafile_dot_com_links", false))
  6856. {
  6857. addFileHost(
  6858. "anafile\.com\/\\w+",
  6859. 'width="881" valign="top|color="#800080"|name="go"',
  6860. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6861. 'optional--',
  6862. 'optional2--',
  6863. "//a[contains(@href,'anafile.com')]");
  6864. }
  6865. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6866. {
  6867. addFileHost(
  6868. "uploadable\\.ch\/file\/\\w+",
  6869. 'captcha.js"|payment.js"|class="btn_download"',
  6870. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6871. 'optional--',
  6872. 'optional2--',
  6873. "//a[contains(@href,'uploadable.ch/file')]",
  6874. true
  6875. );
  6876. }
  6877. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6878. {
  6879. addFileHost(
  6880. "arabloads\.net\/\\w+",
  6881. 'name="method_free"|name="method_premium"',
  6882. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6883. 'optional--',
  6884. 'optional2--',
  6885. "//a[contains(@href,'arabloads.net')]");
  6886. }
  6887. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6888. {
  6889. addFileHost(
  6890. "sharerepo\.com\/\\w+",
  6891. 'name="method_free"',
  6892. 'var public_on=|The file you were looking for could not be found',
  6893. 'optional--',
  6894. 'optional2--',
  6895. "//a[contains(@href,'sharerepo.com')]");
  6896. }
  6897. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6898. {
  6899. addFileHost(
  6900. "sfshare\.se\/\\w+",
  6901. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6902. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6903. 'optional--',
  6904. 'optional2--',
  6905. "//a[contains(@href,'sfshare.se')]");
  6906. }
  6907. if (GM_getValue("Check_files_dot_fm_links", false))
  6908. {
  6909. addFileHost(
  6910. "files\.fm\/\\w+",
  6911. 'dl.png"|background-color: transparent',
  6912. 'margin: 40px 40px|background: none;',
  6913. 'optional--',
  6914. 'optional2--',
  6915. "//a[contains(@href,'files.fm')]");
  6916. }
  6917. if (GM_getValue("Check_koofile_dot_com_links", false))
  6918. {
  6919. addFileHost(
  6920. "koofile\.com\/\\w+",
  6921. 'value="download1">|name="method_free"',
  6922. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6923. 'optional--',
  6924. 'optional2--',
  6925. "//a[contains(@href,'koofile.com')]");
  6926. }
  6927. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6928. {
  6929. addFileHost(
  6930. "vidxden\\.com\/\\w+",
  6931. 'Continue to Video"',
  6932. 'No such file',
  6933. 'optional--',
  6934. 'optional2--',
  6935. "//a[contains(@href,'vidxden.com')]"
  6936. );
  6937. }
  6938. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6939. {
  6940. addFileHost(
  6941. "muchshare\\.net\/\\w+",
  6942. 'id="btn_download"',
  6943. 'File Not Found|width: 500px; text-align: left;',
  6944. 'optional--',
  6945. 'optional2--',
  6946. "//a[contains(@href,'muchshare.net')]"
  6947. );
  6948. }
  6949. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6950. {
  6951. addFileHost(
  6952. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6953. 'Details zur Datei|Details page',
  6954. 'Jetzt hochladen|upload now',
  6955. 'optional--',
  6956. 'optional2--',
  6957. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6958. );
  6959. }
  6960. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6961. {
  6962. addFileHost(
  6963. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6964. 'downloadbtn"',
  6965. 'DL_FileNotFound',
  6966. 'optional--',
  6967. 'optional2--',
  6968. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6969. );
  6970. }
  6971. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6972. {
  6973. addFileHost(
  6974. "fileflyer\.com\/view\/\\w+",
  6975. '(?:dwl|locked)btn"',
  6976. 'error.gif"|link">Removed|removedlink">',
  6977. 'optional--',
  6978. 'optional2--',
  6979. "//a[contains(@href,'fileflyer.com')]"
  6980. );
  6981. }
  6982. if (GM_getValue("Check_filestore_dot_to_links", false))
  6983. {
  6984. addFileHost(
  6985. "filestore\.to\/\\?d=\\w+",
  6986. '"downloading"',
  6987. 'Datei wurde nicht gefunden',
  6988. 'optional--',
  6989. 'optional2--',
  6990. "//a[contains(@href,'filestore.to')]"
  6991. );
  6992. }
  6993. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6994. {
  6995. addFileHost(
  6996. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6997. 'fz24">Download|class="pl15">',
  6998. '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',
  6999. 'optional--',
  7000. 'optional2--',
  7001. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7002. );
  7003. }
  7004. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  7005. {
  7006. addFileHost(
  7007. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7008. 'File size:',
  7009. 'file is not found',
  7010. 'optional--',
  7011. 'optional2--',
  7012. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7013. );
  7014. } */
  7015. if (GM_getValue("Check_datei_dot_to_links", false))
  7016. {
  7017. addFileHost(
  7018. "datei\\.to\/\\??\\w+",
  7019. 'icon_downloaden\\.png|>Download starten<',
  7020. 'Datei wurde nicht gefunden|icon_deleted.png',
  7021. 'optional--',
  7022. 'optional2--',
  7023. "//a[contains(@href,'datei.to')]"
  7024. );
  7025. }
  7026. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7027. {
  7028. addFileHost(
  7029. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7030. '<body class="body" id="body">|value="Slow Download"',
  7031. '<body class="body" >',
  7032. 'optional--',
  7033. 'optional2--',
  7034. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7035. );
  7036. }
  7037. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7038. {
  7039. addFileHost(
  7040. "uploadhero\\.com\/dl\/\\w+",
  7041. 'content-dl">',
  7042. 'men_file_lost\\.jpg"',
  7043. 'optional--',
  7044. 'optional2--',
  7045. "//a[contains(@href,'uploadhero.com/dl')]"
  7046. );
  7047. } */
  7048. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7049. {
  7050. addFileHost(
  7051. "unibytes\\.com\/[\\w\.]+",
  7052. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7053. 'File not found|Файл не найден|',
  7054. 'optional--',
  7055. 'optional2--',
  7056. "//a[contains(@href,'unibytes.com')]"
  7057. );
  7058. }
  7059. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7060. {
  7061. addFileHost(
  7062. "www\\.hellshare\\.com\/\\d+",
  7063. 'tab\\-details"',
  7064. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7065. 'optional--',
  7066. 'optional2--',
  7067. "//a[contains(@href,'www.hellshare.com')]"
  7068. );
  7069. }
  7070. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7071. {
  7072. addFileHost(
  7073. "www\\.download.cz.hellshare\\.com\/\\w+",
  7074. 'tab\\-details"',
  7075. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7076. 'optional--',
  7077. 'optional2--',
  7078. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7079. );
  7080. }
  7081. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7082. {
  7083. addFileHost(
  7084. "quickshare\\.cz\/slozka-\\d+",
  7085. 'Počet souborů: <strong>[1-9]',
  7086. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7087. 'optional--',
  7088. 'optional2--',
  7089. "//a[contains(@href,'quickshare.cz/slozka')]"
  7090. );
  7091. } */
  7092. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7093. {
  7094. addFileHost(
  7095. "filefactory\\.com\/f\/\\w+",
  7096. 'folderFileList">',
  7097. 'table class="items"|Pointer" class="red">',
  7098. 'optional--',
  7099. 'optional2--',
  7100. "//a[contains(@href,'filefactory.com/f/')]"
  7101. );
  7102. }
  7103. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7104. {
  7105. addFileHost(
  7106. "netfolder\\.in\/\\w+",
  7107. 'list" value="http',
  7108. 'InPage_Error">|list" value=""',
  7109. 'optional--',
  7110. 'optional2--',
  7111. "//a[contains(@href,'netfolder.in')]"
  7112. );
  7113. } */
  7114. if (GM_getValue("Check_load_dot_to_links", false))
  7115. {
  7116. addFileHost(
  7117. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7118. '"download_table_left">Size',
  7119. 'Can\'t find file',
  7120. 'optional--',
  7121. 'optional2--',
  7122. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7123. );
  7124. }
  7125. if (GM_getValue("Check_divshare_dot_com_links", false))
  7126. {
  7127. addFileHost(
  7128. "divshare\\.com\/download\/",
  7129. 'download_new\.png',
  7130. 'have been removed',
  7131. 'optional--',
  7132. 'optional2--',
  7133. "//a[contains(@href,'divshare.com')]"
  7134. );
  7135. }
  7136. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7137. {
  7138. addFileHost(
  7139. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7140. 'class="nazev-souboru',
  7141. '<div class="background margin-top vlevo" style="width: 600px;">',
  7142. 'optional--',
  7143. 'optional2--',
  7144. "//a[contains(@href,'euroshare.eu/file')]"
  7145. );
  7146. }
  7147. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7148. {
  7149. addFileHost(
  7150. 'files\\.mail\\.ru/(?:\\w*)',
  7151. 'fileList',
  7152. 'errorMessage',
  7153. 'optional--',
  7154. 'optional2--',
  7155. "//a[contains(@href,'files.mail.ru')]"
  7156. );
  7157. }
  7158. if (GM_getValue("Check_megashares_dot_com_links", false))
  7159. {
  7160. addFileHost(
  7161. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7162. 'Filesize',
  7163. 'Invalid|deleted|Could not download file',
  7164. 'slots|scheduled maintenance',
  7165. 'optional2--',
  7166. "//a[contains(@href,'megashares.com/')]"
  7167. );
  7168. }
  7169. if (GM_getValue("Check_narod_dot_ru_links", false))
  7170. {
  7171. addFileHost(
  7172. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7173. 'b-submit|action="resource.download"',
  7174. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7175. 'Внутренняя ошибка сервиса',
  7176. 'optional2--',
  7177. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7178. );
  7179. }
  7180. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7181. {
  7182. addFileHost(
  7183. "rayfile\\.com\/",
  7184. 'FILEtitleTXT',
  7185. 'blueRow',
  7186. 'optional--',
  7187. 'optional2--',
  7188. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7189. );
  7190. }
  7191. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7192. {
  7193. addFileHost(
  7194. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7195. 'button_green_body"',
  7196. 'error">',
  7197. 'optional--',
  7198. 'optional2--',
  7199. "//a[contains(@href,'filesmonster.com/download')]"
  7200. );
  7201. }
  7202. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7203. {
  7204. addFileHost(
  7205. 'usaupload\\.net\/d\/(?:\w*)',
  7206. '<strong>File size:</strong>',
  7207. 'is not available',
  7208. 'optional--',
  7209. 'optional2--',
  7210. "//a[contains(@href,'usaupload.net/d/')]"
  7211. );
  7212. }
  7213. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7214. {
  7215. addFileHost(
  7216. 'sendspace\\.com\/file\/\\w+',
  7217. 'file_description',
  7218. 'msg error"',
  7219. 'optional--',
  7220. 'optional2--',
  7221. "//a[contains(@href,'sendspace.com/file')]"
  7222. );
  7223. }
  7224. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7225. {
  7226. addFileHost(
  7227. 'sendspace\\.pl\/file\/\\w+',
  7228. 'download_file"',
  7229. 'Podany plik nie',
  7230. 'optional--',
  7231. 'optional2--',
  7232. "//a[contains(@href,'sendspace.pl/file')]"
  7233. );
  7234. }
  7235. if (GM_getValue("Check_uploading_dot_com_links", false))
  7236. {
  7237. addFileHost(
  7238. 'uploading\\.com\/(?:files\/)?\\w+',
  7239. 'free_method">',
  7240. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7241. 'optional--',
  7242. 'optional2--',
  7243. "//a[contains(@href,'uploading.com')]"
  7244. );
  7245. }
  7246. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7247. {
  7248. addFileHost(
  7249. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7250. 'fileId"',
  7251. 'error">',
  7252. 'optional--',
  7253. 'optional2--',
  7254. "//a[contains(@href,'gigasize.com/get')]"
  7255. );
  7256. }
  7257. if (GM_getValue("Check_good_dot_com_links", false))
  7258. {
  7259. addFileHost(
  7260. 'good\\.net\/(?:_|dl)',
  7261. 'Free Download',
  7262. 'Not Found',
  7263. 'Forbidden',
  7264. 'optional2--',
  7265. "//a[contains(@href,'good.net')]"
  7266. );
  7267. }
  7268. if (GM_getValue("Check_2shared_dot_com_links", false))
  7269. {
  7270. addFileHost(
  7271. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7272. 'File size',
  7273. 'File not found|is not valid|/images/important.gif',
  7274. 'optional--',
  7275. 'optional2--',
  7276. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7277. );
  7278. }
  7279. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7280. {
  7281. addFileHost(
  7282. 'turboupload\\.com\/\\w*',
  7283. 'You have requested',
  7284. 'File Not Found',
  7285. 'optional--',
  7286. 'optional2--',
  7287. "//a[contains(@href,'turboupload.com')]"
  7288. );
  7289. }
  7290. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7291. {
  7292. addFileHost(
  7293. 'gigapeta\\.com\/dl\/',
  7294. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7295. '404|page_error',
  7296. 'optional--',
  7297. 'optional2--',
  7298. "//a[contains(@href,'gigapeta.com/dl')]"
  7299. );
  7300. }
  7301. if (GM_getValue("Check_veehd_dot_com_links", false))
  7302. {
  7303. addFileHost(
  7304. 'veehd\.com\/video\/.*?',
  7305. 'No sound|Download video',
  7306. 'Featured Videos',
  7307. 'optional--',
  7308. 'optional2--',
  7309. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7310. );
  7311. }
  7312. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7313. {
  7314. addFileHost(
  7315. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7316. 'fast_download_form">|submit_sms_download',
  7317. '<p style="text-align:center">',
  7318. 'optional--',
  7319. 'optional2--',
  7320. "//a[contains(@href,'vip-file.com/download')]"
  7321. );
  7322. }
  7323. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7324. {
  7325. addFileHost(
  7326. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7327. 'download\\-pnl ',
  7328. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7329. 'optional--',
  7330. 'optional2--',
  7331. "//a[contains(@href,'letitbit.net/download')]"
  7332. );
  7333. }
  7334. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7335. {
  7336. addFileHost(
  7337. 'ifolder\.ru\/\\d+',
  7338. 'file-info',
  7339. 'ui-state-error',
  7340. 'optional--',
  7341. 'optional2--',
  7342. "//a[contains(@href,'ifolder.ru')]"
  7343. );
  7344. }
  7345. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7346. {
  7347. addFileHost(
  7348. 'fileswap\\.com\/dl\/\\w+',
  7349. 'bttnDownloadLink"',
  7350. 'rounded_block_error"',
  7351. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7352. 'optional2--',
  7353. "//a[contains(@href,'fileswap.com/dl')]"
  7354. );
  7355. }
  7356. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7357. {
  7358. addFileHost(
  7359. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7360. 'var __error = 0|id="recaptchaPanel">',
  7361. 'FILES__DOESNT_EXIST|removed or did not exist',
  7362. 'optional--',
  7363. 'optional2--',
  7364. "//a[contains(@href,'filecloud.io/')]"
  7365. );
  7366. addFileHost(
  7367. 'ifile\\.it\/\\w+',
  7368. 'var __error = 0',
  7369. 'FILES__DOESNT_EXIST',
  7370. 'optional--',
  7371. 'optional2--',
  7372. "//a[contains(@href,'ifile.it/')]"
  7373. );
  7374. }
  7375. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7376. {
  7377. addFileHost(
  7378. 'solidfiles\\.com\/d\/\\w+',
  7379. 'id="download"|content="Download',
  7380. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7381. 'optional--',
  7382. 'optional2--',
  7383. "//a[contains(@href,'solidfiles.com/d')]"
  7384. );
  7385. }
  7386. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7387. {
  7388. addFileHost(
  7389. "(?:.\\.|)shareflare\\.net",
  7390. 'download-pnl|<div class="premium-block">',
  7391. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7392. 'optional--',
  7393. 'optional2--',
  7394. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7395. );
  7396. }
  7397. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7398. {
  7399. addFileHost(
  7400. "u18116681.shareflare\\.net",
  7401. 'download-pnl|<div class="premium-block">',
  7402. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7403. 'optional--',
  7404. 'optional2--',
  7405. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7406. );
  7407. }
  7408. if (GM_getValue("Check_uloz_dot_to_links", false))
  7409. {
  7410. addFileHost(
  7411. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7412. 'fileDownload">|fileSize">',
  7413. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7414. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7415. 'optional2--',
  7416. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7417. true
  7418. );
  7419. }
  7420. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7421. {
  7422. addFileHost(
  7423. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7424. 'file\\-list-orderby|section-filedetail">',
  7425. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7426. 'optional--',
  7427. 'optional2--',
  7428. "//a[contains(@href,'hellspy.')]"
  7429. );
  7430. }
  7431. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7432. {
  7433. addFileHost(
  7434. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7435. '<body onload="">',
  7436. 'neexistuje|not exist',
  7437. 'optional--',
  7438. 'optional2--',
  7439. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7440. );
  7441. }
  7442. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7443. {
  7444. addFileHost(
  7445. "stahovanizasms\\.cz\/\\w+",
  7446. 'download\\.png>|font-size:11px><tr>',
  7447. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7448. 'optional--',
  7449. 'optional2--',
  7450. "//a[contains(@href,'stahovanizasms.cz')]"
  7451. );
  7452. }
  7453. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7454. {
  7455. addFileHost(
  7456. "share-links\\.biz\/\\w*",
  7457. 'online\\.gif',
  7458. '(?:offline|parts)\\.gif',
  7459. 'optional--',
  7460. 'optional2--',
  7461. "//a[contains(@href,'share-links.biz')]"
  7462. );
  7463. }
  7464. if (GM_getValue("Check_4shared_dot_com_links", false))
  7465. {
  7466. addFileHost(
  7467. "4shared\\.com\/.+\/",
  7468. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7469. 'class="warn\"|big red"|GetDataBack',
  7470. 'Service Unavailable',
  7471. 'optional2--',
  7472. "//a[contains(@href,'4shared.com')]"
  7473. );
  7474. }
  7475. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7476. {
  7477. addFileHost(
  7478. "(?:www\\d+\.|)zippyshare\.com\/",
  7479. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7480. 'not exist|Status 404',
  7481. 'optional--',
  7482. 'optional2--',
  7483. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7484. );
  7485. }
  7486. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7487. {
  7488. addFileHost(
  7489. "mediafire\.com\/",
  7490. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7491. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7492. 'set to private',
  7493. 'optional2--',
  7494. "//a[contains(@href,'mediafire.com')]"
  7495. );
  7496. }
  7497. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7498. {
  7499. addFileHost(
  7500. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7501. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB',
  7502. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7503. 'optional--',
  7504. 'GB</small>',
  7505. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7506. );
  7507. }
  7508. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7509. {
  7510. addFileHost(
  7511. "ulozisko\.sk\/",
  7512. 'Detaily',
  7513. 'neexistuje',
  7514. 'optional--',
  7515. 'optional2--',
  7516. "//a[contains(@href,'ulozisko.sk')]"
  7517. );
  7518. }
  7519. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7520. {
  7521. addFileHost(
  7522. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7523. 'download.php',
  7524. 'notfound|upload\\-suborov\\.php"',
  7525. 'optional--',
  7526. 'optional2--',
  7527. "//a[contains(@href,'upnito.sk')]"
  7528. );
  7529. }
  7530. if (GM_getValue("Check_box_dot_com_links", false))
  7531. {
  7532. addFileHost(
  7533. "box\.com\/\\w+",
  7534. 'download-file-btn|id="download_button|preview-download',
  7535. 'BIyMin.png| <div class="error_message|link has been removed',
  7536. 'optional--',
  7537. 'optional2--',
  7538. "//a[contains(@href,'app.box.com')]");
  7539. }
  7540. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7541. {
  7542. addFileHost(
  7543. "uptobox\\.com\/\\w+",
  7544. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link',
  7545. '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|لا يوجد أي ملف',
  7546. 'Maintenance',
  7547. 'optional2--',
  7548. "//a[contains(@href,'uptobox.com')]"
  7549. );
  7550. }
  7551. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7552. {
  7553. addFileHost(
  7554. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7555. 'FILE DOWNLOAD<',
  7556. 'File Does Not Exist',
  7557. 'optional--',
  7558. 'optional2--',
  7559. "//a[contains(@href,'sharecash.org/download.php')]"
  7560. );
  7561. }
  7562. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7563. {
  7564. addFileHost(
  7565. "depositfiles\\.com\/folders\/\\w+",
  7566. '<div class="progressContainer">',
  7567. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7568. 'optional--',
  7569. 'optional2--',
  7570. "//a[contains(@href,'depositfiles.com/folders')]"
  7571. );
  7572. }
  7573. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7574. {
  7575. addFileHost(
  7576. "rapidfileshare\\.net/\\w+",
  7577. '<div id="upload-header-bg">',
  7578. '<div style="width:500px;text-align:left;">',
  7579. 'optional--',
  7580. 'optional2--',
  7581. "//a[contains(@href,'rapidfileshare.net/')]"
  7582. );
  7583. }
  7584. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7585. {
  7586. addFileHost(
  7587. "stiahnito\\.sk/",
  7588. '<span class="filesize right">',
  7589. '<ol class="list-purp-2">',
  7590. 'optional--',
  7591. 'optional2--',
  7592. "//a[contains(@href,'stiahnito.sk/')]"
  7593. );
  7594. }
  7595. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7596. {
  7597. addFileHost(
  7598. "rusfolder\\.(?:com|net)",
  7599. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7600. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7601. 'optional--',
  7602. 'optional2--',
  7603. "//a[contains(@href,'rusfolder')]"
  7604. );
  7605. }
  7606. if (GM_getValue("Check_fileover_dot_net_links", false))
  7607. {
  7608. addFileHost(
  7609. "fileover\\.net/\\d+",
  7610. 'id="filesize"',
  7611. 'Not found or deleted|The following file is unavailable',
  7612. 'optional--',
  7613. 'optional2--',
  7614. "//a[contains(@href,'fileover.net/')]"
  7615. );
  7616. }
  7617. if (GM_getValue("Check_catshare_dot_net_links", false))
  7618. {
  7619. addFileHost(
  7620. "catshare\\.net/\\w+",
  7621. '"icon-share',
  7622. 'alert alert-error',
  7623. 'optional--',
  7624. 'optional2--',
  7625. "//a[contains(@href,'catshare.net/')]"
  7626. );
  7627. }
  7628. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7629. {
  7630. addFileHost(
  7631. "anonfiles\\.com/\\w+",
  7632. '"download_button"',
  7633. '<legend><b>404</b>',
  7634. 'optional--',
  7635. 'optional2--',
  7636. "//a[contains(@href,'anonfiles.com')]"
  7637. );
  7638. }
  7639. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7640. {
  7641. addFileHost(
  7642. "mixturecloud\\.com/media/\\w+",
  7643. '"btn icon i_globe gray share_150',
  7644. '"s_cross_close"></span> 404:',
  7645. 'optional--',
  7646. 'optional2--',
  7647. "//a[contains(@href,'mixturecloud.com/media/')]"
  7648. );
  7649. }
  7650. if (GM_getValue("Check_akafile_dot_com_links", false))
  7651. {
  7652. addFileHost(
  7653. "akafile\\.com\/\\w+",
  7654. 'download1',
  7655. 'File Not Found',
  7656. 'optional--',
  7657. 'optional2--',
  7658. "//a[contains(@href,'akafile.com/')]"
  7659. );
  7660. }
  7661. if (GM_getValue("Check_creafile_dot_net_links", false))
  7662. {
  7663. addFileHost(
  7664. "creafile\\.net\/\\w+",
  7665. 'downloadblock',
  7666. 'errtitle',
  7667. 'optional--',
  7668. 'optional2--',
  7669. "//a[contains(@href,'creafile.net/')]"
  7670. );
  7671. }
  7672. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7673. {
  7674. addFileHost(
  7675. "hugefiles\\.net\/\\w+",
  7676. 'download1|class="btn-create-download" value="Create Download Link">',
  7677. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7678. 'optional--',
  7679. 'optional2--',
  7680. "//a[contains(@href,'hugefiles.net/')]"
  7681. );
  7682. }
  7683. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7684. {
  7685. addFileHost(
  7686. "sendmyway\\.com\/\\w+",
  7687. 'id="btn_download"',
  7688. '500px;text-align:left;"|<center><h3>',
  7689. 'optional--',
  7690. 'optional2--',
  7691. "//a[contains(@href,'sendmyway.com/')]"
  7692. );
  7693. }
  7694. if (GM_getValue("Check_upload_dot_ee_links", false))
  7695. {
  7696. addFileHost(
  7697. "upload\\.ee\/\\w+",
  7698. 'onmouseout="document.dllink.src',
  7699. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7700. 'optional--',
  7701. 'optional2--',
  7702. "//a[contains(@href,'upload.ee/')]"
  7703. );
  7704. }
  7705. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7706. {
  7707. addFileHost(
  7708. "shareplace\\.org\/\\?\\w+",
  7709. 'Download-Link',
  7710. 'Your requested file is not found|Select file to send',
  7711. 'optional--',
  7712. 'optional2--',
  7713. "//a[contains(@href,'shareplace.org/?')]"
  7714. );
  7715. }
  7716. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7717. {
  7718. addFileHost(
  7719. "uploadc\\.com\/\\w+",
  7720. 'id="prebut"',
  7721. 'File Not Found|This file has been removed due',
  7722. 'optional--',
  7723. 'optional2--',
  7724. "//a[contains(@href,'uploadc.com/')]"
  7725. );
  7726. }
  7727. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7728. {
  7729. addFileHost(
  7730. "remixshare\\.com\/\\w+",
  7731. 'id="dl2"',
  7732. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7733. 'optional--',
  7734. 'optional2--',
  7735. "//a[contains(@href,'remixshare.com/')]"
  7736. );
  7737. }
  7738. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7739. {
  7740. addFileHost(
  7741. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7742. 'Last Download :',
  7743. 'img src="\\/404.jpg"',
  7744. 'optional--',
  7745. 'optional2--',
  7746. "//a[contains(@href,'exoshare.com/download.php')]"
  7747. );
  7748. }
  7749. if (GM_getValue("Check_borncash_dot_org_links", false))
  7750. {
  7751. addFileHost(
  7752. "borncash\\.org\/download\/\\?a=\\w+",
  7753. 'class="knop_1"',
  7754. '\/error\/er00',
  7755. 'optional--',
  7756. 'optional2--',
  7757. "//a[contains(@href,'borncash.org/download/')]"
  7758. );
  7759. }
  7760. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7761. {
  7762. addFileHost(
  7763. "vidplay\.net\/\\w+",
  7764. 'solvemedia puzzle widget',
  7765. 'File not found|AVOID_IE_BUG',
  7766. 'optional--',
  7767. 'optional2--',
  7768. "//a[contains(@href,'vidplay.net')]");
  7769. }
  7770. if (GM_getValue("Check_storagon_dot_com_links", false))
  7771. {
  7772. addFileHost(
  7773. "storagon\.com\/\\w+",
  7774. 'class="icon-cloud-download"></i>|content="Download Options',
  7775. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7776. 'optional--',
  7777. 'optional2--',
  7778. "//a[contains(@href,'storagon.com')]");
  7779. }
  7780. if (GM_getValue("Check_filedais_dot_com_links", false))
  7781. {
  7782. addFileHost(
  7783. "filedais\.com\/\\w+",
  7784. 'class="btn btn-info"|name="method_free"',
  7785. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7786. 'optional--',
  7787. 'optional2--',
  7788. "//a[contains(@href,'filedais.com')]");
  7789. }
  7790. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7791. {
  7792. addFileHost(
  7793. "up.4share\.vn\/\\w+",
  7794. '<font size="2" face="Verdana">',
  7795. 'font: 13px Tahoma; color: Brown',
  7796. 'optional--',
  7797. 'optional2--',
  7798. "//a[contains(@href,'up.4share.vn')]");
  7799. }
  7800. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7801. {
  7802. addFileHost(
  7803. "share.vnn\.vn\/\\w+",
  7804. '"index,follow"|<div class="main" id="download-box">',
  7805. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7806. 'optional--',
  7807. 'optional2--',
  7808. "//a[contains(@href,'share.vnn.vn')]");
  7809. }
  7810. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7811. {
  7812. addFileHost(
  7813. "upfile\.vn\/\\w+",
  7814. 'download-timer',
  7815. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7816. 'optional--',
  7817. 'optional2--',
  7818. "//a[contains(@href,'upfile.vn')]");
  7819. }
  7820. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7821. {
  7822. addFileHost(
  7823. "aisfile\.com\/\\w+",
  7824. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7825. '<div style="width:500px;text-align:left;">|File Not Found',
  7826. 'optional--',
  7827. 'optional2--',
  7828. "//a[contains(@href,'aisfile.com')]");
  7829. }
  7830. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7831. {
  7832. addFileHost(
  7833. "usersfiles\.com\/\\w+",
  7834. 'class="btn btn-success|id="btn_download" class="btn"',
  7835. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7836. 'optional--',
  7837. 'optional2--',
  7838. "//a[contains(@href,'usersfiles.com')]");
  7839. }
  7840. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7841. {
  7842. addFileHost(
  7843. "pan.baidu\.com\/\\w+",
  7844. 'target="_blank" title=|share-personal-info',
  7845. 'share_notfound.png|background:#f9f9f9',
  7846. 'optional--',
  7847. 'optional2--',
  7848. "//a[contains(@href,'pan.baidu.com')]");
  7849. }
  7850. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7851. {
  7852. addFileHost(
  7853. "yunpan\.cn\/\\w+",
  7854. 'class="icon icon-download',
  7855. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7856. 'optional--',
  7857. 'optional2--',
  7858. "//a[contains(@href,'yunpan.cn')]");
  7859. }
  7860. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7861. {
  7862. addFileHost(
  7863. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7864. 'getElementById("downbild")|style.display',
  7865. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7866. 'optional--',
  7867. 'optional2--',
  7868. "//a[contains(@href,'file-upload.net')]");
  7869. }
  7870. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7871. {
  7872. addFileHost(
  7873. "gulfup\.com\/",
  7874. '<!-- Downlod template -->|download.gif',
  7875. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7876. 'optional--',
  7877. 'optional2--',
  7878. "//a[contains(@href,'gulfup.com')]");
  7879. }
  7880. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7881. {
  7882. addFileHost(
  7883. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7884. 'dldtable">',
  7885. 'does not exist\\.',
  7886. 'optional--',
  7887. 'optional2--',
  7888. "//a[contains(@href,'datafilehost.com')]");
  7889. }
  7890. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7891. {
  7892. addFileHost(
  7893. "dropbox\.com\/s\/\\w+",
  7894. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7895. '>Nothing Here<|>Error (404)<',
  7896. 'title>Dropbox - 509|Error (403)|Error: 429',
  7897. 'optional2--',
  7898. "//a[contains(@href,'dropbox.com')]");
  7899. }
  7900. if (GM_getValue("Check_box_dot_net_links", false))
  7901. {
  7902. addFileHost(
  7903. "box\.net\/\\w+",
  7904. 'download-file-btn|id="download_button',
  7905. 'BIyMin.png| <div class="error_message',
  7906. 'optional--',
  7907. 'optional2--',
  7908. "//a[contains(@href,'box.net')]");
  7909. }
  7910. if (GM_getValue("Check_fileband_dot_com_links", false))
  7911. {
  7912. addFileHost(
  7913. "fileband\.com\/\\w+",
  7914. 'value="download1">|name="id" value=',
  7915. '<div style="width:500px;text-align:left;">|not be found',
  7916. 'optional--',
  7917. 'optional2--',
  7918. "//a[contains(@href,'fileband.com')]");
  7919. }
  7920. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7921. {
  7922. addFileHost(
  7923. "filedropper\.com\/\\w+",
  7924. 'background:#ddd;|width:985px; ',
  7925. 'background-color:#FFFFFF;|margin-left: -400px;',
  7926. 'optional--',
  7927. 'optional2--',
  7928. "//a[contains(@href,'filedropper.com')]");
  7929. }
  7930. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7931. {
  7932. addFileHost(
  7933. "tropicshare\\.com\/files\/\\d+",
  7934. 'MB</span>|GB</span>|KB</span>',
  7935. '>FNF<|size: </span>',
  7936. 'optional--',
  7937. 'optional2--',
  7938. "//a[contains(@href,'tropicshare.com')]");
  7939. }
  7940. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7941. {
  7942. addFileHost(
  7943. "goldbytez\.com\/\\w+",
  7944. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7945. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7946. 'optional--',
  7947. 'optional2--',
  7948. "//a[contains(@href,'goldbytez.com')]");
  7949. }
  7950. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7951. {
  7952. addFileHost(
  7953. "worldbytez\.com\/\\w+",
  7954. '<div class="download_type">',
  7955. '<div style="width:500px;text-align:left;">',
  7956. 'optional--',
  7957. 'optional2--',
  7958. "//a[contains(@href,'worldbytez.com')]");
  7959. }
  7960. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7961. {
  7962. addFileHost(
  7963. "freefilehosting\.net\/\\w+",
  7964. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7965. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7966. 'optional--',
  7967. 'optional2--',
  7968. "//a[contains(@href,'freefilehosting.net')]");
  7969. }
  7970. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7971. {
  7972. addFileHost(
  7973. "ziddu\.com\/\\w+",
  7974. 'downloads.ziddu.com|downloadfilelinkicon',
  7975. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7976. 'optional--',
  7977. 'optional2--',
  7978. "//a[contains(@href,'ziddu.com')]");
  7979. }
  7980. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7981. {
  7982. addFileHost(
  7983. "exclusiveloader\.com\/\\w+",
  7984. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7985. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7986. 'optional--',
  7987. 'optional2--',
  7988. "//a[contains(@href,'exclusiveloader.com')]");
  7989. }
  7990. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7991. {
  7992. addFileHost(
  7993. "sharerapid\.cz\/\\w+",
  7994. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7995. 'error_div">|404 - Not Found',
  7996. 'optional--',
  7997. 'optional2--',
  7998. "//a[contains(@href,'sharerapid.cz')]");
  7999. }
  8000. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8001. {
  8002. addFileHost(
  8003. "sdilej\.cz\/\\w+",
  8004. 'class="page-download"',
  8005. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8006. 'optional--',
  8007. 'optional2--',
  8008. "//a[contains(@href,'sdilej.cz')]");
  8009. }
  8010. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8011. {
  8012. addFileHost(
  8013. "lafiles\.com\/\\w+",
  8014. '<div id="pay_modes">',
  8015. '<b class="err"></b>',
  8016. 'optional--',
  8017. 'optional2--',
  8018. "//a[contains(@href,'lafiles.com')]");
  8019. }
  8020. if (GM_getValue("Check_acefile_dot_net_links", false))
  8021. {
  8022. addFileHost(
  8023. "acefile\.net\/\\w+",
  8024. 'align=right nowrap><b>',
  8025. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8026. 'optional--',
  8027. 'optional2--',
  8028. "//a[contains(@href,'acefile.net')]");
  8029. }
  8030. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8031. {
  8032. addFileHost(
  8033. "megarapid\.cz\/\\w+",
  8034. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8035. 'error_div">|404 - Not Found',
  8036. 'optional--',
  8037. 'optional2--',
  8038. "//a[contains(@href,'megarapid.cz')]");
  8039. }
  8040. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8041. {
  8042. addFileHost(
  8043. "yadi\.sk\/\\w+",
  8044. 'nb-button _nb-small-button',
  8045. 'error code|Nothing found',
  8046. 'optional--',
  8047. 'optional2--',
  8048. "//a[contains(@href,'yadi.sk')]");
  8049. }
  8050. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8051. {
  8052. addFileHost(
  8053. "imdb\.com\/\\w+",
  8054. 'imdb.com',
  8055. '404 Error',
  8056. 'optional--',
  8057. 'optional2--',
  8058. "//a[contains(@href,'imdb.com')]");
  8059. } */
  8060. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8061. {
  8062. addFileHost(
  8063. "hitfile\.net\/\\w+",
  8064. 'class="download-file',
  8065. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8066. 'optional--',
  8067. 'optional2--',
  8068. "//a[contains(@href,'hitfile.net')]");
  8069. }
  8070. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8071. {
  8072. addFileHost(
  8073. "nitroflare\.com\/\\w+",
  8074. 'Report this file</a>|KB</span>',
  8075. 'file has been removed|id="error" style="display|Probably deleted',
  8076. 'optional--',
  8077. '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',
  8078. "//a[contains(@href,'nitroflare.com')]");
  8079. }
  8080. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8081. {
  8082. addFileHost(
  8083. "up.top4top\.net\/\\w+",
  8084. 'start Downlod template',
  8085. 'start err template',
  8086. 'optional--',
  8087. 'optional2--',
  8088. "//a[contains(@href,'up.top4top.net')]");
  8089. }
  8090. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8091. {
  8092. addFileHost(
  8093. "filejoker\.net\/\\w+",
  8094. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8095. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8096. 'optional--',
  8097. 'id="download" class="premium-only">',
  8098. "//a[contains(@href,'filejoker.net')]");
  8099. }
  8100. if (GM_getValue("Check_free_dot_fr_links", false))
  8101. {
  8102. addFileHost(
  8103. "(?:dl.\\.|)free\\.fr",
  8104. 'Valider et t&eacute;l&eacute',
  8105. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8106. 'optional--',
  8107. 'optional2--',
  8108. "//a[contains(@href,'dl.free.fr')]");
  8109. }
  8110. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8111. {
  8112. addFileHost(
  8113. "gboxes\.com\/\\w+",
  8114. 'You have requested|color="red">http://www.gboxes.com',
  8115. 'File Not Found|<div style="width:500px;text-align:left;">',
  8116. 'optional--',
  8117. 'optional2--',
  8118. "//a[contains(@href,'gboxes.com')]");
  8119. }
  8120. if (GM_getValue("Check_led_dot_wf_links", false))
  8121. {
  8122. addFileHost(
  8123. "led\.wf\/\\w+",
  8124. 'logo_0.png|downloads.gif"|verifycode',
  8125. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8126. 'optional--',
  8127. 'available only for Premium users',
  8128. "//a[contains(@href,'led.wf')]");
  8129. }
  8130. if (GM_getValue("Check_lan_dot_wf_links", false))
  8131. {
  8132. addFileHost(
  8133. "lan\.wf\/\\w+",
  8134. 'logo_0.png|downloads.gif"|verifycode',
  8135. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8136. 'optional--',
  8137. 'available only for Premium users',
  8138. "//a[contains(@href,'lan.wf')]");
  8139. }
  8140. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8141. {
  8142. addFileHost(
  8143. "adlink\.wf\/\\w+",
  8144. 'logo_0.png|downloads.gif"|verifycode',
  8145. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8146. 'optional--',
  8147. 'available only for Premium users',
  8148. "//a[contains(@href,'adlink.wf')]");
  8149. }
  8150. if (GM_getValue("Check_click_dot_tf_links", false))
  8151. {
  8152. addFileHost(
  8153. "click\.tf\/\\w+",
  8154. 'logo_0.png|downloads.gif"|verifycode',
  8155. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8156. 'optional--',
  8157. 'available only for Premium users',
  8158. "//a[contains(@href,'click.tf')]");
  8159. }
  8160. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8161. {
  8162. addFileHost(
  8163. "ssh\.tf\/\\w+",
  8164. 'logo_0.png|downloads.gif"|verifycode',
  8165. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8166. 'optional--',
  8167. 'available only for Premium users',
  8168. "//a[contains(@href,'ssh.tf')]");
  8169. }
  8170. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8171. {
  8172. addFileHost(
  8173. "ssh\.yt\/\\w+",
  8174. 'logo_0.png|downloads.gif"|verifycode',
  8175. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8176. 'optional--',
  8177. 'available only for Premium users',
  8178. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8179. }
  8180. if (GM_getValue("Check_yep_dot_pm_links", false))
  8181. {
  8182. addFileHost(
  8183. "yep\.pm\/\\w+",
  8184. 'logo_0.png|downloads.gif"|verifycode',
  8185. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8186. 'optional--',
  8187. 'available only for Premium users',
  8188. "//a[contains(@href,'yep.pm')]");
  8189. }
  8190. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8191. {
  8192. addFileHost(
  8193. "kyc\.pm\/\\w+",
  8194. 'logo_0.png|downloads.gif"|verifycode',
  8195. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8196. 'optional--',
  8197. 'available only for Premium users',
  8198. "//a[contains(@href,'kyc.pm')]");
  8199. }
  8200. if (GM_getValue("Check_brupload_dot_net_links", false))
  8201. {
  8202. addFileHost(
  8203. "brupload\.net\/\\w+",
  8204. 'Download Gratuito',
  8205. '<div style="width:500px;text-align:left;">',
  8206. 'optional--',
  8207. 'optional2--',
  8208. "//a[contains(@href,'brupload.net')]");
  8209. }
  8210. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8211. {
  8212. addFileHost(
  8213. "cloudzilla\.to\/\\w+",
  8214. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8215. 'File not found|/imgs/broken.png',
  8216. 'optional--',
  8217. 'optional2--',
  8218. "//a[contains(@href,'cloudzilla.to')]");
  8219. }
  8220. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8221. {
  8222. addFileHost(
  8223. "fileparadox\.in\/\\w+",
  8224. 'CONTENT="Download File|method_free_file',
  8225. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8226. 'optional--',
  8227. 'optional2--',
  8228. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8229. } */
  8230. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8231. {
  8232. addFileHost(
  8233. "clicknupload\.com\/\\w+",
  8234. 'name="method_free',
  8235. 'File Not Found',
  8236. 'optional--',
  8237. 'optional2--',
  8238. "//a[contains(@href,'clicknupload.com')]");
  8239. }
  8240. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8241. {
  8242. addFileHost(
  8243. "clicknupload\.me\/\\w+",
  8244. 'name="method_free',
  8245. 'File Not Found',
  8246. 'optional--',
  8247. 'optional2--',
  8248. "//a[contains(@href,'clicknupload.me')]");
  8249. }
  8250. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8251. {
  8252. addFileHost(
  8253. "ex-load\.com\/\\w+",
  8254. 'name="method_free|<p>Download File:</p>',
  8255. 'Folder Not Found|File Not Found|Error 404',
  8256. 'optional--',
  8257. 'class="downprem wow bounceInLeft',
  8258. "//a[contains(@href,'ex-load.com')]");
  8259. }
  8260. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8261. {
  8262. addFileHost(
  8263. "hexupload\.com\/\\w+",
  8264. 'button" value="Free|type="submit" value=""',
  8265. 'File Not Found|<div style="width:500px;text-align:left;">',
  8266. 'optional--',
  8267. 'optional2--',
  8268. "//a[contains(@href,'hexupload.com')]");
  8269. }
  8270. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8271. {
  8272. addFileHost(
  8273. "wizupload\.com\/\\w+",
  8274. 'btn_download|class="downloadbtn"',
  8275. '>File Not Found<',
  8276. 'optional--',
  8277. 'optional2--',
  8278. "//a[contains(@href,'wizupload.com')]");
  8279. }
  8280. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8281. {
  8282. addFileHost(
  8283. "filecloud\.cc\/\\w+",
  8284. 'align="center"><input type="submit" name=',
  8285. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8286. 'optional--',
  8287. 'optional2--',
  8288. "//a[contains(@href,'filecloud.cc')]");
  8289. }
  8290. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8291. {
  8292. addFileHost(
  8293. "inclouddrive\.com\/\\w+",
  8294. 'initfreedownload',
  8295. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8296. 'optional--',
  8297. 'optional2--',
  8298. "//a[contains(@href,'inclouddrive.com')]");
  8299. }
  8300. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8301. {
  8302. addFileHost(
  8303. "radicalshare\.com\/\\w+",
  8304. 'value="download1|name="method_free"',
  8305. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8306. 'optional--',
  8307. 'optional2--',
  8308. "//a[contains(@href,'radicalshare.com')]");
  8309. }
  8310. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8311. {
  8312. addFileHost(
  8313. "sharemods\.com\/\\w+",
  8314. 'name="method_free"',
  8315. 'File Not Found<',
  8316. 'optional--',
  8317. 'optional2--',
  8318. "//a[contains(@href,'sharemods.com')]");
  8319. }
  8320. if (GM_getValue("Check_hostr_dot_co_links", false))
  8321. {
  8322. addFileHost(
  8323. "hostr\.co\/\\w+",
  8324. 'method="get"',
  8325. 'File not found<|error-page',
  8326. 'optional--',
  8327. 'optional2--',
  8328. "//a[contains(@href,'hostr.co')]");
  8329. }
  8330. if (GM_getValue("Check_filepi_dot_com_links", false))
  8331. {
  8332. addFileHost(
  8333. "filepi\.com\/\\w+",
  8334. 'id="button_start">',
  8335. 'File not found',
  8336. 'optional--',
  8337. 'optional2--',
  8338. "//a[contains(@href,'filepi.com')]");
  8339. }
  8340. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8341. {
  8342. addFileHost(
  8343. "tikfile\.com\/\\w+",
  8344. 'btn_download',
  8345. 'File Not Found|file was removed|Reason for deletion',
  8346. 'optional--',
  8347. 'optional2--',
  8348. "//a[contains(@href,'tikfile.com')]");
  8349. }
  8350. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8351. {
  8352. addFileHost(
  8353. "cloudsix\.me\/\\w+",
  8354. 'name="method_free"',
  8355. 'File Not Found|width:500px;text-align:left;">',
  8356. 'optional--',
  8357. 'optional2--',
  8358. "//a[contains(@href,'cloudsix.me')]");
  8359. }
  8360. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8361. {
  8362. addFileHost(
  8363. "neodrive\.co\/\\w+",
  8364. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8365. 'File not found|/imgs/broken.png',
  8366. 'optional--',
  8367. 'optional2--',
  8368. "//a[contains(@href,'neodrive.co')]");
  8369. }
  8370. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8371. {
  8372. addFileHost(
  8373. "chayfile\.com\/\\w+",
  8374. 'name="method_free"',
  8375. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8376. 'optional--',
  8377. 'optional2--',
  8378. "//a[contains(@href,'chayfile.com')]");
  8379. }
  8380. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8381. {
  8382. addFileHost(
  8383. "xfileload\.com\/\\w+",
  8384. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8385. '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..|הקובץ שחיפשת לא נמצא.',
  8386. 'optional--',
  8387. 'optional2--',
  8388. "//a[contains(@href,'xfileload.com')]");
  8389. }
  8390. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8391. {
  8392. addFileHost(
  8393. "rockfile\.eu\/\\w+",
  8394. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8395. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8396. 'optional--',
  8397. 'optional2--',
  8398. "//a[contains(@href,'rockfile.eu')]");
  8399. }
  8400. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8401. {
  8402. addFileHost(
  8403. "24uploading\.com\/\\w+",
  8404. 'File:|Download Speed:',
  8405. '<b>File Not Found</b>|file was removed',
  8406. 'optional--',
  8407. 'optional2--',
  8408. "//a[contains(@href,'24uploading.com')]");
  8409. }
  8410. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8411. {
  8412. addFileHost(
  8413. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8414. 'i/icon/dll.png"|>Start download<br',
  8415. 'no longer available<|i/ino.png"',
  8416. 'optional--',
  8417. 'optional2--',
  8418. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8419. }
  8420. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8421. {
  8422. addFileHost(
  8423. "jumbofile\.net\/\\w+",
  8424. 'button" class="" value="Free',
  8425. 'This File Was Deleted',
  8426. 'optional--',
  8427. 'optional2--',
  8428. "//a[contains(@href,'jumbofile.net')]");
  8429. } */
  8430. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8431. {
  8432. addFileHost(
  8433. "ozofiles\.com\/\\w+",
  8434. 'button" value="Free|name="method_free',
  8435. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8436. 'optional--',
  8437. 'optional2--',
  8438. "//a[contains(@href,'ozofiles.com')]");
  8439. }
  8440. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8441. {
  8442. addFileHost(
  8443. "loudupload\.net\/\\w+",
  8444. 'value="Get Links',
  8445. 'File Not Found',
  8446. 'optional--',
  8447. 'optional2--',
  8448. "//a[contains(@href,'loudupload.net')]");
  8449. }
  8450. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8451. {
  8452. addFileHost(
  8453. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8454. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8455. '>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">',
  8456. 'optional--',
  8457. 'optional2--',
  8458. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8459. }
  8460. if (GM_getValue("Check_krotix_dot_net_links", false))
  8461. {
  8462. addFileHost(
  8463. "krotix\.net\/\\w+",
  8464. 'btn btn-warning|btn-free',
  8465. 'pageErrors|This File has been removed',
  8466. 'content="Scheduled Maintenance',
  8467. 'optional2--',
  8468. "//a[contains(@href,'krotix.net')]");
  8469. } */
  8470. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8471. {
  8472. addFileHost(
  8473. "userscloud\.com\/\\w+",
  8474. 'btn_download',
  8475. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8476. 'optional--',
  8477. 'optional2--',
  8478. "//a[contains(@href,'userscloud.com')]");
  8479. }
  8480. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8481. {
  8482. addFileHost(
  8483. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8484. 'class="button download',
  8485. 'internal server error',
  8486. 'optional--',
  8487. 'optional2--',
  8488. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8489. }
  8490. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8491. {
  8492. addFileHost(
  8493. "kb.simple-aja\.info\/\\w+",
  8494. 'class="button download',
  8495. 'internal server error|<p>404</p>',
  8496. 'optional--',
  8497. 'optional2--',
  8498. "//a[contains(@href,'kb.simple')]");
  8499. }
  8500. if (GM_getValue("Check_faststore_dot_org_links", false))
  8501. {
  8502. addFileHost(
  8503. "faststore\.org\/\\w+",
  8504. 'name="method_free',
  8505. 'File Not Found',
  8506. 'optional--',
  8507. 'optional2--',
  8508. "//a[contains(@href,'faststore.org')]");
  8509. }
  8510. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8511. {
  8512. addFileHost(
  8513. "prefiles\.com\/\\w+",
  8514. 'id="method_free',
  8515. 'File not Found',
  8516. 'optional--',
  8517. 'optional2--',
  8518. "//a[contains(@href,'prefiles.com')]");
  8519. }
  8520. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8521. {
  8522. addFileHost(
  8523. "doraupload\.com\/\\w+",
  8524. 'btn_download|name="method_free',
  8525. 'class="error-code|Could Not Be Found',
  8526. 'optional--',
  8527. 'optional2--',
  8528. "//a[contains(@href,'doraupload.com')]");
  8529. }
  8530. if (GM_getValue("Check_openload_dot_io_links", false))
  8531. {
  8532. addFileHost(
  8533. "openload\.io\/\\w+",
  8534. 'btn btn-primary|class="count">|secondsleftouter',
  8535. 'class="jumbotron">|We are sorry',
  8536. 'optional--',
  8537. 'optional2--',
  8538. "//a[contains(@href,'openload.io')]");
  8539. }
  8540. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8541. {
  8542. addFileHost(
  8543. "uploads\.xxx\/\\w+",
  8544. 'downoadForFree',
  8545. 'File not found',
  8546. 'optional--',
  8547. 'optional2--',
  8548. "//a[contains(@href,'uploads.xxx')]");
  8549. }
  8550. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8551. {
  8552. addFileHost(
  8553. "zxcfiles\.com\/\\w+",
  8554. 'class="downloadbtn',
  8555. 'File Not Found',
  8556. 'optional--',
  8557. 'optional2--',
  8558. "//a[contains(@href,'zxcfiles.com')]");
  8559. }
  8560. if (GM_getValue("Check_up07_dot_net_links", false))
  8561. {
  8562. addFileHost(
  8563. "up07\.net\/\\w+",
  8564. 'name="method_free',
  8565. 'File Not Found',
  8566. 'optional--',
  8567. 'optional2--',
  8568. "//a[contains(@href,'up07.net')]");
  8569. }
  8570. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8571. {
  8572. addFileHost(
  8573. "fileupload\.pw\/\\w+",
  8574. 'value="Free"',
  8575. 'File Not Found',
  8576. 'optional--',
  8577. 'optional2--',
  8578. "//a[contains(@href,'fileupload.pw')]");
  8579. }
  8580. if (GM_getValue("Check_4upld_dot_com_links", false))
  8581. {
  8582. addFileHost(
  8583. "4upld\.com\/\\w+",
  8584. 'alt="Download Now"|content="Download file">|btn-free-element',
  8585. '<title>Error|content="error|File not found',
  8586. 'optional--',
  8587. 'optional2--',
  8588. "//a[contains(@href,'4upld.com')]");
  8589. }
  8590. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8591. {
  8592. addFileHost(
  8593. "newfileland\.com\/\\w+",
  8594. 'name="method_free',
  8595. 'File Not Found',
  8596. 'optional--',
  8597. 'optional2--',
  8598. "//a[contains(@href,'newfileland.com')]");
  8599. } */
  8600. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8601. {
  8602. addFileHost(
  8603. "(?:.swoopshare)\\.com\/\\w+",
  8604. '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',
  8605. '<input type="file" name="f"',
  8606. 'optional--',
  8607. 'optional2--',
  8608. "//a[contains(@href,'swoopshare.com')]"
  8609. );
  8610. }
  8611. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8612. {
  8613. addFileHost(
  8614. "cloudshares\.net\/\\w+",
  8615. '"method_free|"Low Speed Download|submit" name="go',
  8616. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8617. 'optional--',
  8618. 'optional2--',
  8619. "//a[contains(@href,'cloudshares.net')]"
  8620. );
  8621. }
  8622. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8623. {
  8624. addFileHost(
  8625. "allmyvideos\.net\/\\w+",
  8626. 'Continue to Video',
  8627. 'File Not Found|class="err">Removed for',
  8628. 'optional--',
  8629. 'optional2--',
  8630. "//a[contains(@href,'allmyvideos.net')]"
  8631. );
  8632. }
  8633. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8634. {
  8635. addFileHost(
  8636. "vodlocker\.com\/\\w+",
  8637. 'Proceed to video',
  8638. 'Not Found',
  8639. 'optional--',
  8640. 'optional2--',
  8641. "//a[contains(@href,'vodlocker.com')]"
  8642. );
  8643. }
  8644. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8645. {
  8646. addFileHost(
  8647. "vidbull\.com\/\\w+",
  8648. 'Verifying Video Request',
  8649. 'File Not Found',
  8650. 'optional--',
  8651. 'optional2--',
  8652. "//a[contains(@href,'vidbull.com')]");
  8653. }
  8654. if (GM_getValue("Check_novamov_dot_com_links", false))
  8655. {
  8656. addFileHost(
  8657. "novamov\.com\/\\w+",
  8658. 'For version detection',
  8659. 'file no longer exists',
  8660. 'optional--',
  8661. 'optional2--',
  8662. "//a[contains(@href,'novamov.com')]"
  8663. );
  8664. }
  8665. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8666. {
  8667. addFileHost(
  8668. "filehoot\.com\/\\w+",
  8669. 'Continue to watch',
  8670. 'File Not Found',
  8671. 'optional--',
  8672. 'optional2--',
  8673. "//a[contains(@href,'filehoot.com')]"
  8674. );
  8675. }
  8676. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8677. {
  8678. addFileHost(
  8679. "stagevu\.com\/\\w+",
  8680. 'Video Info',
  8681. 'No video with the provided',
  8682. 'optional--',
  8683. 'optional2--',
  8684. "//a[contains(@href,'stagevu.com')]"
  8685. );
  8686. }
  8687. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8688. {
  8689. addFileHost(
  8690. "cloudtime\.to\/\\w+",
  8691. 'Download the video',
  8692. 'no longer exists',
  8693. 'optional--',
  8694. 'optional2--',
  8695. "//a[contains(@href,'cloudtime.to')]"
  8696. );
  8697. }
  8698. if (GM_getValue("Check_streamin_dot_to_links", false))
  8699. {
  8700. addFileHost(
  8701. "streamin\.to\/\\w+",
  8702. 'id="btn_download',
  8703. 'Not Found|Copyright Infringement|File Deleted',
  8704. 'optional--',
  8705. 'optional2--',
  8706. "//a[contains(@href,'streamin.to')]"
  8707. );
  8708. }
  8709. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8710. {
  8711. addFileHost(
  8712. "videoweed\.es\/\\w+",
  8713. 'version detection',
  8714. 'no longer exists',
  8715. 'optional--',
  8716. 'optional2--',
  8717. "//a[contains(@href,'videoweed.es')]"
  8718. );
  8719. }
  8720. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8721. {
  8722. addFileHost(
  8723. "nowvideo\.sx\/\\w+",
  8724. 'Download this video|value="submit">Continue',
  8725. 'no longer exists',
  8726. 'optional--',
  8727. 'optional2--',
  8728. "//a[contains(@href,'nowvideo.sx')]"
  8729. );
  8730. }
  8731. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8732. {
  8733. addFileHost(
  8734. "thevideo\.me\/\\w+",
  8735. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8736. 'File Not Found',
  8737. 'optional--',
  8738. 'optional2--',
  8739. "//a[contains(@href,'thevideo.me')]"
  8740. );
  8741. }
  8742. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8743. {
  8744. addFileHost(
  8745. "gorillavid\.in\/\\w+",
  8746. 'Wait 5 seconds',
  8747. 'File Not Found',
  8748. 'optional--',
  8749. 'optional2--',
  8750. "//a[contains(@href,'gorillavid.in')]"
  8751. );
  8752. }
  8753. if (GM_getValue("Check_thefile_dot_me_links", false))
  8754. {
  8755. addFileHost(
  8756. "thefile\.me\/\\w+",
  8757. 'Choose free or',
  8758. '',
  8759. 'optional--',
  8760. 'optional2--',
  8761. "//a[contains(@href,'thefile.me')]"
  8762. );
  8763. }
  8764. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8765. {
  8766. addFileHost(
  8767. "vidzi\.tv\/\\w+",
  8768. 'video-embed-modal row',
  8769. 'File Not Found|file was deleted',
  8770. 'optional--',
  8771. 'optional2--',
  8772. "//a[contains(@href,'vidzi.tv')]"
  8773. );
  8774. }
  8775. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8776. {
  8777. addFileHost(
  8778. "filenuke\.com\/\\w+",
  8779. 'Download File',
  8780. 'Earn with us',
  8781. 'optional--',
  8782. 'optional2--',
  8783. "//a[contains(@href,'filenuke.com')]"
  8784. );
  8785. }
  8786. if (GM_getValue("Check_vidto_dot_me_links", false))
  8787. {
  8788. addFileHost(
  8789. "vidto\.me\/\\w+",
  8790. 'Proceed to video',
  8791. 'Not Found',
  8792. 'optional--',
  8793. 'optional2--',
  8794. "//a[contains(@href,'vidto.me')]"
  8795. );
  8796. }
  8797. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8798. {
  8799. addFileHost(
  8800. "vidspot\.net\/\\w+",
  8801. 'Duration',
  8802. 'Removed for',
  8803. 'optional--',
  8804. 'optional2--',
  8805. "//a[contains(@href,'vidspot.net')]"
  8806. );
  8807. }
  8808. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8809. {
  8810. addFileHost(
  8811. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8812. 'Download File',
  8813. 'File Not Found',
  8814. 'optional--',
  8815. 'optional2--',
  8816. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8817. );
  8818. }
  8819. if (GM_getValue("Check_movpod_dot_in_links", false))
  8820. {
  8821. addFileHost(
  8822. "movpod\.in\/\\w+",
  8823. 'Continue',
  8824. 'File Not Found',
  8825. 'optional--',
  8826. 'optional2--',
  8827. "//a[contains(@href,'movpod.in')]"
  8828. );
  8829. }
  8830. /* if (GM_getValue("Check_down4files_dot_com_links", false))
  8831. {
  8832. addFileHost(
  8833. "down4files\.com\/\\w+",
  8834. 'down_table.png',
  8835. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8836. 'optional--',
  8837. 'optional2--',
  8838. "//a[contains(@href,'down4files.com')]"
  8839. );
  8840. } */
  8841. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8842. {
  8843. addFileHost(
  8844. "storefiles\.co\/\\w+",
  8845. 'btn_download',
  8846. 'No such file|>Error<|mqmaintitle">',
  8847. 'optional--',
  8848. 'optional2--',
  8849. "//a[contains(@href,'storefiles.co')]"
  8850. );
  8851. }
  8852. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8853. {
  8854. addFileHost(
  8855. "filehost\.pw\/\\w+",
  8856. 'name="method_free',
  8857. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8858. 'optional--',
  8859. 'optional2--',
  8860. "//a[contains(@href,'filehost.pw')]"
  8861. );
  8862. }
  8863. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8864. {
  8865. addFileHost(
  8866. "inafile\.com\/\\w+",
  8867. 'value="download1">|<h2>File: <font style="color:darkred">',
  8868. '<div style="width:500px;text-align:left;">|File Not Found',
  8869. 'optional--',
  8870. 'optional2--',
  8871. "//a[contains(@href,'inafile.com')]"
  8872. );
  8873. } */
  8874. if (GM_getValue("Check_uplea_dot_com_links", false))
  8875. {
  8876. addFileHost(
  8877. "uplea\.com\/\\w+",
  8878. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8879. 'expired link|ou est invalide',
  8880. 'optional--',
  8881. 'optional2--',
  8882. "//a[contains(@href,'uplea.com/dl')]",
  8883. true);
  8884. }
  8885. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8886. {
  8887. addFileHost(
  8888. "toutbox\.fr\/\\w+",
  8889. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8890. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8891. 'Serviço temporariamente indisponível',
  8892. 'optional2--',
  8893. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8894. );
  8895. }
  8896. if (GM_getValue("Check_openload_dot_co_links", false))
  8897. {
  8898. addFileHost(
  8899. "openload\.co\/\\w+",
  8900. 'id="downloadTimer">|button dlbutton',
  8901. 'jumbotron{color|got deleted|center !important',
  8902. 'optional--',
  8903. 'optional2--',
  8904. "//a[contains(@href,'openload.co')]"
  8905. );
  8906. }
  8907. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8908. {
  8909. addFileHost(
  8910. "lolabits\.es\/\\w+",
  8911. 'Descargar:',
  8912. '<title>Archivos de usuario',
  8913. 'Service Unavailable',
  8914. 'optional2--',
  8915. "//a[contains(@href,'lolabits.es')]"
  8916. );
  8917. }
  8918. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8919. {
  8920. addFileHost(
  8921. "alfafile\.net\/\\w+",
  8922. 'id="slow_download_btn',
  8923. 'class="error-box">',
  8924. 'optional--',
  8925. 'optional2--',
  8926. "//a[contains(@href,'alfafile.net')]"
  8927. );
  8928. }
  8929. if (GM_getValue("Check_multiup_dot_org_links", false))
  8930. {
  8931. addFileHost(
  8932. "multiup\.org\/\\w+",
  8933. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8934. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8935. 'optional--',
  8936. 'optional2--',
  8937. "//a[contains(@href,'multiup.org')]"
  8938. );
  8939. }
  8940. if (GM_getValue("Check_file_dot_al_links", false))
  8941. {
  8942. addFileHost(
  8943. "file\.al\/\\w+",
  8944. 'method_free',
  8945. 'style="width:500px;text-align:left;">',
  8946. 'optional--',
  8947. 'optional2--',
  8948. "//a[contains(@href,'file.al')]"
  8949. );
  8950. }
  8951. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8952. {
  8953. addFileHost(
  8954. "devilshare\.net\/\\w+",
  8955. '<div class="large-12" id="download">',
  8956. '(Link: 0 Invalid)|File Not Found',
  8957. 'optional--',
  8958. 'optional2--',
  8959. "//a[contains(@href,'devilshare.net')]"
  8960. );
  8961. }
  8962. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8963. {
  8964. addFileHost(
  8965. "dailyuploads\.net\/\\w+",
  8966. 'id="downloadBtnClickOrignal',
  8967. '<div style="width:500px;text-align:left;">',
  8968. 'optional--',
  8969. 'optional2--',
  8970. "//a[contains(@href,'dailyuploads.net')]"
  8971. );
  8972. }
  8973. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8974. {
  8975. addFileHost(
  8976. "datoteke\.com\/\\w+",
  8977. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8978. '&nbsp;File has been removed',
  8979. 'optional--',
  8980. '<title>Error - Datoteke',
  8981. "//a[contains(@href,'datoteke.com')]"
  8982. );
  8983. }
  8984. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  8985. {
  8986. addFileHost(
  8987. "tezfiles\.com\/\\w+",
  8988. 'virtual/low-speed-download',
  8989. 'class="alert alert-block|file is no longer available',
  8990. 'optional--',
  8991. 'This file is available<br>only for premium members',
  8992. "//a[contains(@href,'tezfiles.com')]"
  8993. );
  8994. } */
  8995. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8996. {
  8997. addFileHost(
  8998. "sharehost\.eu\/\\w+",
  8999. '/?v=download_free&',
  9000. 'Errors occured|Wystąpiły błędy',
  9001. 'optional--',
  9002. 'optional2--',
  9003. "//a[contains(@href,'sharehost.eu')]"
  9004. );
  9005. }
  9006. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9007. {
  9008. addFileHost(
  9009. "pornfile\.cz\/\\w+",
  9010. 'Stáhnout soubor',
  9011. 'Soubor byl smazán',
  9012. 'optional--',
  9013. 'optional2--',
  9014. "//a[contains(@href,'pornfile.cz')]"
  9015. );
  9016. }
  9017. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9018. {
  9019. addFileHost(
  9020. "pornoid\.cz\/\\w+",
  9021. 'class="btn btn-large btn-download',
  9022. 'Soubor byl smazán',
  9023. 'optional--',
  9024. 'optional2--',
  9025. "//a[contains(@href,'pornoid.cz')]"
  9026. );
  9027. }
  9028. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9029. {
  9030. addFileHost(
  9031. "file-share\.top\/\\w+",
  9032. 'btn-success btn-lg download',
  9033. 'Stránka neexistuje|404 Not Found',
  9034. 'optional--',
  9035. 'optional2--',
  9036. "//a[contains(@href,'file-share.top')]"
  9037. );
  9038. }
  9039. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9040. {
  9041. addFileHost(
  9042. "bitster\.cz\/\\w+",
  9043. 'section" content="VIDEO"',
  9044. 'section" content=""',
  9045. 'optional--',
  9046. 'optional2--',
  9047. "//a[contains(@href,'bitster.cz')]"
  9048. );
  9049. }
  9050. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9051. {
  9052. addFileHost(
  9053. "rapidu\.net\/\\w+",
  9054. 'onclick="downloadFreeFile',
  9055. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9056. 'optional--',
  9057. 'optional2--',
  9058. "//a[contains(@href,'rapidu.net')]"
  9059. );
  9060. }
  9061. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9062. {
  9063. addFileHost(
  9064. "dinoshare\.cz\/\\w+",
  9065. 'class="download-button"',
  9066. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9067. 'optional--',
  9068. 'optional2--',
  9069. "//a[contains(@href,'dinoshare.cz')]"
  9070. );
  9071. }
  9072. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9073. {
  9074. addFileHost(
  9075. "bytewhale\.com\/\\w+",
  9076. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9077. 'var rawest = "0 MB',
  9078. 'optional--',
  9079. 'optional--',
  9080. "//a[contains(@href,'bytewhale.com')]"
  9081. );
  9082. }
  9083. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9084. {
  9085. addFileHost(
  9086. "rapidrar\.com\/\\w+",
  9087. 'value="Free Download',
  9088. '<div style="width:500px;text-align:left;">',
  9089. 'optional--',
  9090. 'optional--',
  9091. "//a[contains(@href,'rapidrar.com')]"
  9092. );
  9093. }
  9094. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9095. {
  9096. addFileHost(
  9097. "gigasize\.com\/\\w+",
  9098. 'class="estimate">',
  9099. 'class="error">',
  9100. 'optional--',
  9101. 'optional--',
  9102. "//a[contains(@href,'gigasize.com')]"
  9103. );
  9104. }
  9105. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9106. {
  9107. addFileHost(
  9108. "filesupload\.org\/\\w+",
  9109. '<a href="/download-or-watch/',
  9110. 'File not found',
  9111. 'optional--',
  9112. 'optional--',
  9113. "//a[contains(@href,'filesupload.org')]"
  9114. );
  9115. }
  9116. if (GM_getValue("Check_filecad_dot_com_links", false))
  9117. {
  9118. addFileHost(
  9119. "filecad\.com\/\\w+",
  9120. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9121. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9122. 'optional--',
  9123. 'optional--',
  9124. "//a[contains(@href,'filecad.com')]"
  9125. );
  9126. }
  9127. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9128. {
  9129. addFileHost(
  9130. "file.up09\.com\/\\w+",
  9131. 'name="method_free',
  9132. 'style="width:500px;text-align:left;">',
  9133. 'optional--',
  9134. 'optional--',
  9135. "//a[contains(@href,'file.up09.com')]"
  9136. );
  9137. }
  9138. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9139. {
  9140. addFileHost(
  9141. "lunaticfiles\.com\/\\w+",
  9142. 'name="method_free"',
  9143. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9144. 'optional--',
  9145. 'optional--',
  9146. "//a[contains(@href,'lunaticfiles.com')]"
  9147. );
  9148. }
  9149. if (GM_getValue("Check_upload_dot_af_links", false))
  9150. {
  9151. addFileHost(
  9152. "upload\.af\/\\w+",
  9153. 'id="method_free"',
  9154. '<h1>File Not Found</',
  9155. 'optional--',
  9156. 'optional--',
  9157. "//a[contains(@href,'upload.af')]"
  9158. );
  9159. }
  9160. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9161. {
  9162. addFileHost(
  9163. "filedwon\.info\/\\w+",
  9164. 'name="method_free"',
  9165. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9166. 'optional--',
  9167. 'optional--',
  9168. "//a[contains(@href,'filedwon.info')]"
  9169. );
  9170. }
  9171. if (GM_getValue("Check_uplod_dot_it_links", false))
  9172. {
  9173. addFileHost(
  9174. "uplod\.it\/\\w+",
  9175. 'value="download2">|name="method_free',
  9176. '<Title>Download </Title>',
  9177. 'optional--',
  9178. 'optional--',
  9179. "//a[contains(@href,'uplod.it')]"
  9180. );
  9181. }
  9182.  
  9183. }
  9184. //start here
  9185.  
  9186. //hosts with direct download, so they must be requested for headers only
  9187. function initFileHostsHeadersOnly()
  9188. {
  9189. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9190. {
  9191. var host = new Array(5);
  9192. host[0] = linkRegex;
  9193. host[1] = isAliveRegex;
  9194. host[2] = isDeadRegex;
  9195. host[3] = xpathEx;
  9196. host[4] = ispremRegex;
  9197. http_file_hosts_headers_only.push(host);
  9198. }
  9199. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9200. {
  9201. addFileHostHeadersOnly(
  9202. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9203. 'Connection: Keep-Alive',
  9204. 'Content-Length: 3857',
  9205. "//a[contains(@href,'uloziste.com')]"
  9206. )
  9207. }
  9208. if (GM_getValue("Check_adrive_dot_com_links", false))
  9209. {
  9210. addFileHostHeadersOnly(
  9211. "adrive\\.com\/public\/\\w+",
  9212. 'Connection: keep-alive',
  9213. 'orig_ref=deleted',
  9214. "//a[contains(@href,'adrive.com')]"
  9215. )
  9216. }
  9217. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9218. {
  9219. addFileHostHeadersOnly(
  9220. "myupload\\.dk\/showfile\/\\w+",
  9221. 'Expires:',
  9222. 'squeeze1\\s+Vary',
  9223. "//a[contains(@href,'myupload.dk/showfile')]"
  9224. )
  9225. }
  9226. }
  9227. //CustomRules
  9228. //functions add...Host copied here
  9229. function addObsoleteHost(linkRegex, xpathEx)
  9230. {
  9231. var host = new Array(2);
  9232. host[0] = linkRegex;
  9233. host[1] = xpathEx;
  9234. http_file_hosts_obsolete.push(host);
  9235. }
  9236. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9237. {
  9238. var host = new Array(7);
  9239. host[0] = linkRegex;
  9240. host[1] = isAliveRegex;
  9241. host[2] = isDeadRegex;
  9242. host[3] = isUnavaRegex;
  9243. host[4] = xpathEx;
  9244. tryLoop ? host[5] = true : host[5] = false;
  9245. host[6] = ispremRegex;
  9246. http_file_hosts.push(host);
  9247. }
  9248. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9249. {
  9250. var host = new Array(5);
  9251. host[0] = linkRegex;
  9252. host[1] = isAliveRegex;
  9253. host[2] = isDeadRegex;
  9254. host[3] = xpathEx;
  9255. host[4] = ispremRegex;
  9256. http_file_hosts_headers_only.push(host);
  9257. }
  9258. //takes a fully built rules array and adds the rules to WARLC
  9259. function applyCustomRules(customRules)
  9260. {
  9261. if (!customRules) return;
  9262. var rules, r, i;
  9263. rules = customRules.rules;
  9264. for (i = 0 ; i < rules.length ; i++)
  9265. {
  9266. r = rules[i];
  9267. if (r.enabled)
  9268. {
  9269. switch (r.type)
  9270. {
  9271. case 'single':
  9272. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9273. break;
  9274. case 'headers':
  9275. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9276. break;
  9277. case 'obsolete':
  9278. addObsoleteHost(r.urlregex, r.xpath)
  9279. break;
  9280. }
  9281. }
  9282. }
  9283. }
  9284.  
  9285.  
  9286. function initFileHostsCustom()
  9287. {
  9288. if (Custom_rules && Custom_rules_text)
  9289. {
  9290. var msg = '';
  9291. if (newVersion)
  9292. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9293. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9294. msg = '60 or more days have passed since this notification.\n\n';
  9295. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9296. {
  9297. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9298. msg +=
  9299. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9300. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9301. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9302. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9303. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9304. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9305. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9306. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9307. setTimeout(function(){alert(msg)},0);
  9308. }
  9309. var customRules = parseCustomRules(Custom_rules_text);
  9310. if (customRules.warning || customRules.error)
  9311. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9312. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9313. JSON.stringify(customRules.info, null, ' '));
  9314. applyCustomRules(customRules);
  9315. }
  9316. }
  9317. //end of CustomRules processing
  9318.  
  9319.  
  9320.  
  9321. } //end of function start
  9322.  
  9323.  
  9324.  
  9325. function initClipBoardTools()
  9326. {
  9327. unsafeWindow.copyToClipboard = function(text)
  9328. {
  9329. try
  9330. {
  9331. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9332.  
  9333. var str = Components.classes["@mozilla.org/supports-string;1"].
  9334. createInstance(Components.interfaces.nsISupportsString);
  9335. if (!str) return false;
  9336.  
  9337. str.data = text;
  9338.  
  9339. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9340. createInstance(Components.interfaces.nsITransferable);
  9341. if (!trans) return false;
  9342.  
  9343. trans.addDataFlavor("text/unicode");
  9344. trans.setTransferData("text/unicode", str, text.length * 2);
  9345.  
  9346. var clipid = Components.interfaces.nsIClipboard;
  9347. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9348. if (!clip) return false;
  9349.  
  9350. clip.setData(trans, null, clipid.kGlobalClipboard);
  9351. } catch (e) {
  9352. GM_log("Error copyToClipboard : " + e);
  9353. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9354. }
  9355. }
  9356. }
  9357.  
  9358.  
  9359.  
  9360. //CustomRules
  9361.  
  9362. function escapeRegex(str)
  9363. {
  9364. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9365. }
  9366.  
  9367.  
  9368. //called internally from parseCustomRules.
  9369. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9370. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9371. function makeCustomRule(rule)
  9372. {
  9373. function makeMatchRegex(arrmatch)
  9374. {
  9375. return escapeRegex(arrmatch.join('\n'))
  9376. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9377. .replace(/\n/g,'|'); //join together
  9378. }
  9379. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9380. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9381. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9382. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9383. if (rule.baseurl)
  9384. {
  9385. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9386. for (i = 0 ; i < len ; i++)
  9387. {
  9388. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9389. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9390. {
  9391. 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'])
  9392. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9393. }
  9394. else //baseurl in the form: example.com/xxx
  9395. {
  9396. xpath.push(m[0]);
  9397. urlregex.push(escapeRegex(m[0]) + '.');
  9398. }
  9399. }
  9400. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9401. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9402. }
  9403. return rule;
  9404. } //function makeCustomRule
  9405.  
  9406.  
  9407. /*
  9408. Takes a string containing custom link checking rules.
  9409. Returns an object with fields:
  9410. info - contains notes, warnings and errors found during parsing
  9411. rules - the array of custom rules
  9412. note, warning, error - number of each of them found during parsing
  9413. Format of the input string:
  9414. One command per line. Command format: @keyword parameter
  9415. Keywords:
  9416. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9417. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9418. These keywords can be multiple (any of them will work):
  9419. @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...)
  9420. @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+
  9421. @alivelink, @deadlink - example links
  9422. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9423. Lines starting with // and empty lines are ignored.
  9424. Invalid parameters generate errors and those lines are skipped.
  9425. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9426. Example:
  9427. @customrule filehost
  9428. @baseurl filehost.com/download/
  9429. @baseurl filehost2. com net /d?=
  9430. @alivematch id="download">
  9431. @deadmatch File not found
  9432. @deadmatch File deleted
  9433. */
  9434. function parseCustomRules(rulesStr)
  9435. {
  9436. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9437. function addInfo(type, msg, ln){
  9438. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9439. customRules[type]++;
  9440. }
  9441. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9442. if (!lines) return null;
  9443. lines.push('@#customrule _'); //to save the last rule
  9444. var m, linecount = lines.length;
  9445. var keyword, param, constr, rule, err;
  9446. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9447. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9448. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9449. var constraints = {
  9450. 'baseurl': {
  9451. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9452. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9453. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9454. 'alivematch': {
  9455. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9456. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9457. 'deadmatch': {
  9458. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9459. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9460. 'unavamatch': {
  9461. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9462. 'alivelink': {
  9463. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9464. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9465. 'deadlink': {
  9466. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9467. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9468. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9469. };
  9470. for (linenum = 0 ; linenum < linecount ; linenum++)
  9471. {
  9472. //capturing groups: 1 23 4 5 6
  9473. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9474. if (m)
  9475. {
  9476. if (m[1] || !m[2])
  9477. continue; // ignore empty lines and lines starting with //
  9478. keyword = (m[4] || m[2]).toLowerCase();
  9479. param = m[6];
  9480. if (keyword == 'customrule')
  9481. {
  9482. //save the current rule if all required fields are provided
  9483. if (rule)
  9484. {
  9485. err = false;
  9486. $.each(constraints, function(kw, constraint){
  9487. var l, constr = constraint[rule.type];
  9488. if (constr)
  9489. {
  9490. l = rule[kw] ? rule[kw].length : 0;
  9491. if (l < constr.min || l > constr.max)
  9492. {
  9493. 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);
  9494. err = true;
  9495. }
  9496. }
  9497. });
  9498. if (!err)
  9499. customRules.rules.push(makeCustomRule(rule));
  9500. }
  9501. //start a new rule
  9502. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9503. {
  9504. rule = {
  9505. 'enabled': !m[3],
  9506. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9507. 'name': param
  9508. };
  9509. }
  9510. else
  9511. {
  9512. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9513. rule = null;
  9514. }
  9515. }
  9516. else //good line format, but keyword other than customrule
  9517. {
  9518. if (!rule)
  9519. {
  9520. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9521. continue;
  9522. }
  9523. if (constraints[keyword])
  9524. {
  9525. constr = constraints[keyword][rule.type];
  9526. if (constr)
  9527. {
  9528. if (constr.paramRE && !constr.paramRE.test(param))
  9529. {
  9530. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9531. continue;
  9532. }
  9533. }
  9534. else
  9535. {
  9536. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9537. continue;
  9538. }
  9539. }
  9540. //line OK, save
  9541. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9542. }
  9543. } //if (m)
  9544. else
  9545. addInfo('warning', 'Unknown line format. Line skipped.');
  9546. } //for loop
  9547. return customRules;
  9548. } //function parseCustomRules
  9549.  
  9550.  
  9551. /* ********************UPDATES********************
  9552.  
  9553. February 17, 2016
  9554. Version 1.2.4.8
  9555. fixed yadi.sk
  9556.  
  9557. February 16, 2016
  9558. Version 1.2.4.7
  9559. fixed datafile.com
  9560. fixed filecad.com
  9561. added filecore.co & filestorm.to to obsolete hosts
  9562. added upload.af, filedwon.in & uplod.it
  9563.  
  9564. February 15, 2016
  9565. Version 1.2.4.6
  9566. fixed kumpulbagi.id
  9567. added sangfile.com to obsolete hosts
  9568.  
  9569. February 14, 2016
  9570. Version 1.2.4.5
  9571. fixed yandex.ru
  9572.  
  9573. February 13, 2016
  9574. Version 1.2.4.4
  9575. added lunaticfiles.com.
  9576.  
  9577. February 09, 2016
  9578. Version 1.2.4.3
  9579. added file.up09.com.
  9580.  
  9581. February 09, 2016
  9582. Version 1.2.4.2
  9583. tezfiles.com premium links now detected.
  9584.  
  9585. February 09, 2016
  9586. Version 1.2.4.1
  9587. added seenupload.com to obsolete hosts
  9588. fixed 180upload.com to show obsolete
  9589.  
  9590. February 08, 2016
  9591. Version 1.2.4.0
  9592. added tusfiles.com
  9593. added filesupload.org
  9594. added gigasize.com
  9595. added filecad.com
  9596. fixed filecloud.io
  9597. added uploadnet.co to obsolete hosts
  9598.  
  9599. February 07,2016
  9600. Vession 1.2.3.9
  9601. fixed depositfiles.com folders
  9602. fixed turbobit.net folders
  9603.  
  9604. February 06, 2016
  9605. Version 1.2.3.8
  9606. fixed 1fichier false dead links
  9607.  
  9608. February 04, 2106
  9609. Version 1.2.3.7
  9610. added geupload and lenfile to obsolete hosts
  9611. fixed kyc.pm/depfile
  9612.  
  9613. February 03, 2016
  9614. Version 1.2.3.6
  9615. fixed some nitroflare.com dead links not being detected
  9616.  
  9617. February 01, 2016
  9618. Version 1.2.3.5
  9619. script moved to new site
  9620.  
  9621. January 20, 2016
  9622. Version 1.2.3.3
  9623. fixed some rapidgator premium link not being detected
  9624.  
  9625. January 17, 2016
  9626. Version 1.2.3.2
  9627. added bytewhale.com
  9628. added rapidrar.com
  9629.  
  9630. Version 1.2.3.1
  9631. added 180upload.com to obsolete hosts
  9632. fixed hellspy.com
  9633. added dinoshare.cz,
  9634.  
  9635. January 13, 2016
  9636. Version 1.2.3.0
  9637. added rapidu.net
  9638. added uploadboy.me
  9639. fixed euroshare.eu
  9640.  
  9641. January 12, 2016
  9642. Version 1.2.2.9
  9643. added kb.simple-aja.info
  9644.  
  9645. January 10, 2016
  9646. Version 1.2.2.8
  9647. made changes to fastshare.cz
  9648.  
  9649. January 10, 2016
  9650. Version 1.2.2.7
  9651. fixed uptobox.com
  9652.  
  9653. January 09, 2016
  9654. Version 1.2.2.6
  9655. datoteke.com now detects premium links
  9656. fixed turbobit.net
  9657. fixed uptobox.com
  9658. added pornfile.cz
  9659. added pornoid.cz
  9660. added file-share.top
  9661. added bitster.cz
  9662.  
  9663. January 05, 2016
  9664. Version 1.2.2.5
  9665. fixed salefiles.com
  9666. fixed ozofile.com
  9667.  
  9668. January 04, 2016
  9669. Version 1.2.2.4
  9670. added sharehost.eu
  9671.  
  9672. December 30, 2015
  9673. Version 1.2.2.3
  9674. added tezfiles.com
  9675.  
  9676. December 28, 2015
  9677. Version 1.2.2.2
  9678. fixed some k2s & fboom dead link not getting detected
  9679. fixed some k2s premium links not getting detected.
  9680. fixed ssh.yt not detecting some dead links
  9681. fixed ncrypt.in dead links showing yellow
  9682.  
  9683. December 20, 2015
  9684. Version 1.2.2.0
  9685. added datoteke.com
  9686.  
  9687. December 19, 2015
  9688. Version 1.2.1.9
  9689. added secured.in & linksave.in to obsolete hosts
  9690.  
  9691. December 17, 2015
  9692. Version 1.2.1.8
  9693. added german for dead links to secureupload.eu.
  9694.  
  9695. December 17, 2015
  9696. Version 1.2.1.7
  9697. added french for dead links to secureupload.eu.
  9698. fixed problem with tooltip display.
  9699.  
  9700. December 13, 2015
  9701. Version 1.2.1.6
  9702. added netload.me & fileparadox.in to obsolete hosts
  9703.  
  9704. December 09, 2015
  9705. Version 1.2.1.5
  9706. added rapidsonic.com & fileparadox.com to obsolete hosts
  9707.  
  9708. December 04, 2015
  9709. Version 1.2.1.4
  9710. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  9711.  
  9712. December 03, 2015
  9713. Version 1.2.1.3
  9714. added dailyuploads.net
  9715.  
  9716. December 02, 2015
  9717. Version 1.2.1.2
  9718. fixed hitfile.net
  9719. fixed kingfiles.net
  9720.  
  9721. November 30, 2015
  9722. Version 1.2.1.1
  9723. added filepost.com to obsolete hosts
  9724. added devilshare.net
  9725.  
  9726. November 28, 2015
  9727. Version 1.2.1.0
  9728. fixed datafile.com not detecting some premium links.
  9729.  
  9730. November 25, 2015
  9731. Version 1.2.0.9
  9732. fixed filejoker.net
  9733. fixed toutbox.fr
  9734. fixed nowvideo.sx
  9735.  
  9736. November 24, 2015
  9737. Version 1.2.0.8
  9738. fixed openload.io
  9739.  
  9740. November 20, 2015
  9741. Version 1.2.0.7
  9742. //added file.al
  9743. //fixed nitroflare.com false live links
  9744. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  9745.  
  9746. November 17, 2015
  9747. Version 1.2.0.6
  9748. added clicknupload.me
  9749.  
  9750. November 09, 2015
  9751. Version 1.2.0.5
  9752. fixed some depfile premium links not being detected
  9753.  
  9754. November 08, 2015
  9755. Version 1.2.0.4
  9756. fixed some rapidgator premium links not being detected
  9757. fixed doraupload.com
  9758.  
  9759. November 08, 2015
  9760. Version 1.2.0.3
  9761. fixed uploaded false premium
  9762.  
  9763. November 07, 2015
  9764. Version 1.2.0.2
  9765. fixed redbunker.net
  9766.  
  9767. November 05, 2015
  9768. Version 1.2.0.1
  9769. fixed app.box.com
  9770. added multiup.org (does not detect all dead links)
  9771.  
  9772. November 01, 2015
  9773. Version 1.2.0.0
  9774. added more languages to rockfile and 1fichier
  9775.  
  9776. November 01, 2015
  9777. Version 1.1.9.9
  9778. fixed rockfile.eu
  9779. changed 1fichier code (Thanks yurri)
  9780. added to obsolete hosts... (Thanks Love Buzz)
  9781. burnupload.com
  9782. cramit.in
  9783. cramitin.net
  9784. down4files.com
  9785. edoc.com
  9786. jumbofile.net
  9787. krotix.net
  9788. migahost.com
  9789. movreel.com
  9790. netload.in
  9791. newfileland.com
  9792. quickshare.cz
  9793.  
  9794. October 30, 2015
  9795. Version 1.1.9.8
  9796. added alfafile.net
  9797.  
  9798. October 26, 2015
  9799. Version 1.1.9.7
  9800. changed datafile.com and uplea.com
  9801. added lolabits.es
  9802.  
  9803. October 26, 2015
  9804. Version 1.1.9.6
  9805. added toutbox.fr
  9806.  
  9807. October 25, 2015
  9808. Version 1.1.9.5
  9809. fixed counter error
  9810.  
  9811. October 25, 2015
  9812. Version 1.1.9.4
  9813. changed uptobox.com code
  9814.  
  9815. October 21, 2015
  9816. Version 1.1.9.3
  9817. fixed uptobox.com
  9818.  
  9819. October 20, 2015
  9820. Version 1.1.9.2
  9821. bug fixes and new method of detecting premium links.
  9822.  
  9823. October 15, 2015
  9824. Version 1.1.9.1
  9825. fixed hugefiles.net false premium
  9826. changed uptobox.com code
  9827.  
  9828. October 06, 2015
  9829. Version 1.1.9.0
  9830. fixed filefactory
  9831. fixed rockfile false premium
  9832. keep2share & fileboom now detect premium links (fixed by yurii)
  9833.  
  9834. October 01, 2015
  9835. Version 1.1.8.9
  9836. fixed free.fr false premium
  9837. fixed thevideo.me false premium
  9838.  
  9839. September 28, 2015
  9840. Version 1.1.8.8
  9841. added uplea.com and openload.co
  9842.  
  9843. September 27, 2015
  9844. Version 1.1.8.7
  9845. fixed fileparadox.in false premium
  9846. added kingfiles.net to obsolete hosts
  9847. removed inafile.com from obsolete hosts
  9848.  
  9849. September 22, 2015
  9850. Version 1.1.8.6
  9851. fixed nitroflare false premium
  9852.  
  9853. September 22, 2015
  9854. Version 1.1.8.5
  9855. fixed userscloud.com false premium
  9856. fixed usersfiles.com false premium
  9857. changed arabloads.com to arabloads.net
  9858. changed nowdownloads.eu to nowdownloads.ch
  9859.  
  9860. September 21, 2015
  9861. Version 1.1.8.3
  9862. added ryushare.com to obsolete hosts.
  9863.  
  9864. September 20, 2015
  9865. Version 1.1.8.2
  9866. fixed nitroflare not showing premium links
  9867. added down4files.com,storfiles.co,filehost.pw
  9868.  
  9869. September 16, 2015
  9870. Version 1.1.8.1
  9871. added crisshare.com to obsolete hosts
  9872. fixed filemoney.com false premium
  9873. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  9874.  
  9875. September 14, 2015
  9876. Version 1.1.8.0
  9877. added to obsolete hosts...
  9878. sharebeast.com
  9879. tufiles.ru
  9880.  
  9881. September 12, 2015
  9882. Version 1.1.7.9
  9883. fixed rghost.net false premium
  9884. fixed unlimitzone.com false premium
  9885. fixed turbobit.net false live link
  9886.  
  9887. September 11, 2015
  9888. Version 1.1.7.8
  9889. Fixed filefactory.com false premium.
  9890.  
  9891. September 07, 2015
  9892. Version 1.1.7.7
  9893. fixed "depositfiles.com/en/files" links not checking
  9894.  
  9895. September 06, 2015
  9896. Version 1.1.7.6
  9897. added French code for 1fichier
  9898.  
  9899. August 29, 2015
  9900. Version 1.1.7.5
  9901. fixed depositfiles
  9902. fixed mega.co.nz/mega.nz
  9903. (fixed by yurii)
  9904.  
  9905. August 23, 2015
  9906. Version 1.1.7.4
  9907. Fixed uploadrocket (by yurii)
  9908.  
  9909. August 20, 2015
  9910. Version 1.1.7.3
  9911. fixed depfile.com false premium
  9912. fixed 1fichier false premium
  9913. fixed rapidgator false premium
  9914.  
  9915. August 08, 2015
  9916. Version 1.1.7.1
  9917. fixed unlimitzone.com, added freakshare to obsolete hosts.
  9918.  
  9919. August 07, 2015
  9920. Version 1.1.7.0
  9921. fixed...
  9922. streamin.to
  9923. thefile.me
  9924. vidzi.tv
  9925. added...
  9926. filenuke.com
  9927. vidto.me
  9928. vidspot.net
  9929. sharesix.com
  9930. sharesix.net
  9931. movpod.in,
  9932.  
  9933. August 07, 2015
  9934. Version 1.1.6.9 added...
  9935. thefile.me
  9936. vidzi.tv
  9937. videoweed.es
  9938. vodlocker.com
  9939. nowvideo.sx
  9940. cloudtime.to
  9941. thevideo.me
  9942. vidbull.com
  9943. allmyvideos.net
  9944. novamov.com
  9945. filehoot.com
  9946. stagevu.com
  9947. gorillavid.in
  9948. streamin.to
  9949.  
  9950. August 02, 2015
  9951. Version 1.1.6.8
  9952. added cloudshares.net
  9953.  
  9954. August 01, 2015
  9955. Version 1.1.6.7
  9956. fixed depfile redirectors false premium
  9957.  
  9958. July 31, 2015
  9959. Version 1.1.6.6
  9960. fixed depfile.com false premium
  9961. */