W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  1. //1246 fixed kumpulbagi.id, added sangfile.com to obsolete hosts.
  2. // ==UserScript==
  3. // @name W.A.R. Links Checker Premium
  4. // @description detects live, dead and premium links.
  5. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  6. // @namespace premium version
  7. // @version 1.2.4.6
  8. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/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k3oX4lHbYQqp5L00QXJW50GK5q4E8A0A88fgoOnBihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  9. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  10. // @author mental
  11. // @include http://*
  12. // @include https://*
  13. // @include file:///*
  14. // @grant GM_setValue
  15. // @grant GM_getValue
  16. // @grant GM_xmlhttpRequest
  17. // @grant GM_log
  18. // @grant GM_addStyle
  19. // @grant GM_registerMenuCommand
  20. // @grant GM_getResourceText
  21. // @grant GM_info
  22. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  23. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  24. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  25. // @homepage http://usa.x10host.com/mybb
  26. // @namespace war premium
  27. // @noframes
  28. // ==/UserScript==
  29.  
  30. //separate alternative domains with "|" char (first name is considered being main)
  31. var allHostNames = [
  32. "1fichier.com|dl4free.com",
  33. "rapidu.net",
  34. "file.up09.com",
  35. "lunaticfiles.com",
  36. "filecad.com",
  37. "filesupload.org",
  38. "gigasize.com",
  39. "bytewhale.com",
  40. "rapidrar.com",
  41. "download.cz.hellshare.com",
  42. "pornfile.cz",
  43. "dinoshare.cz",
  44. "kb.simple-aja.info",
  45. "bitster.cz",
  46. "file-share.top",
  47. "pornoid.cz",
  48. "dailyuploads.net",
  49. "sharehost.eu",
  50. "tezfiles.com",
  51. "devilshare.net",
  52. "alfafile.net",
  53. "openload.co",
  54. "multiup.org",
  55. "uplea.com",
  56. "filenuke.com",
  57. "file.al",
  58. // "inafile.com",
  59. "lolabits.es",
  60. "vidto.me",
  61. "storefiles.co",
  62. "filehost.pw",
  63. "vidspot.net",
  64. "turbobit.ru",
  65. "sharesix.com|sharesix.net",
  66. "movpod.in",
  67. "thefile.me",
  68. "datoteke.com",
  69. "vidzi.tv",
  70. "videoweed.es",
  71. "vodlocker.com",
  72. "nowvideo.sx",
  73. "cloudtime.to",
  74. "thevideo.me",
  75. "vidbull.com",
  76. "allmyvideos.net",
  77. "novamov.com",
  78. "filehoot.com",
  79. "stagevu.com",
  80. "gorillavid.in",
  81. "streamin.to",
  82. "4upld.com",
  83. "cloudshares.net",
  84. "swoopshare.com",
  85. "2shared.com",
  86. "fileupload.pw",
  87. "zxcfiles.com",
  88. "up07.net",
  89. "4shared.com",
  90. "adrive.com",
  91. "aisfile.com",
  92. "hexupload.com",
  93. "bezvadata.cz",
  94. "xkeepfile.com|Gamesena.com",
  95. "usersfiles.com",
  96. "pan.baidu.com",
  97. "radicalshare.com",
  98. "datei.to",
  99. "daten-hoster.de|filehosting.org|xtraupload.de",
  100. "demo.ovh.eu",
  101. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  102. "divshare.com",
  103. "easy-share.com|crocko.com",
  104. "easybytez.com",
  105. "edisk.cz",
  106. "euroshare.eu",
  107. "file-upload.net",
  108. "yadi.sk",
  109. "wizupload.com",
  110. "fastshare.cz",
  111. "filefactory.com",
  112. "share.vnn.vn",
  113. "yunpan.cn",
  114. "gulfup.com",
  115. "tropicshare.com",
  116. "cloudzilla.to",
  117. "inclouddrive.com",
  118. "fileflyer.com",
  119. "filerio.com|filekeen.com",
  120. "up.4share.vn",
  121. "upfile.vn",
  122. "datafilehost.com",
  123. "fileband.com",
  124. "worldbytez.com",
  125. "files.mail.ru",
  126. "filesflash.com",
  127. "box.com",
  128. "uptobox.com",
  129. "box.net",
  130. "goldbytez.com",
  131. "sdilej.cz",
  132. "ex-load.com",
  133. "filesmonster.com",
  134. "filestore.to",
  135. "hulkload.com",
  136. "filedropper.com",
  137. "free-uploading.com",
  138. "gamefront.com|filefront.com",
  139. "gettyfile.ru",
  140. "gigapeta.com",
  141. "gigasize.com",
  142. "hellshare.com",
  143. "hellspy.com",
  144. "hitfile.net",
  145. "hostuje.net",
  146. "freefilehosting.net",
  147. "free.fr",
  148. "hulkshare.com",
  149. "hyperfileshare.com",
  150. "filecloud.io|ifile.it",
  151. "ifolder.ru",
  152. "jumbofiles.com",
  153. "uploadrocket.net",
  154. "lafiles.com",
  155. "leteckaposta.cz|sharegadget.com",
  156. "letitbit.net",
  157. "load.to",
  158. "mediafire.com",
  159. "megafileupload.com",
  160. "megashares.com",
  161. "movshare.net",
  162. "muchshare.net",
  163. "myupload.dk",
  164. "narod.ru|narod.yandex.ru",
  165. "fboom.me|fileboom.me",
  166. "openfile.ru",
  167. "partage-facile.com",
  168. "plunder.com",
  169. "sharerapid.cz",
  170. "exclusiveloader.com",
  171. "acefile.net",
  172. "queenshare.com",
  173. "rapidgator.net",
  174. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  175. "oboom.com",
  176. "filepi.com",
  177. "neodrive.co",
  178. "rarefile.net",
  179. "rayfile.com",
  180. "rghost.net",
  181. "sendmyway.com",
  182. "clicknupload.com",
  183. "clicknupload.me",
  184. "sharemods.com",
  185. "hostr.co",
  186. "sendspace.com",
  187. "sharecash.org",
  188. "share-links.biz",
  189. "share-online.biz|egoshare.com",
  190. "megarapid.cz",
  191. "shareflare.net",
  192. "solidfiles.com",
  193. "led.wf",
  194. "lan.wf",
  195. "adlink.wf",
  196. "click.tf",
  197. "kyc.pm",
  198. "ssh.tf",
  199. "ssh.yt",
  200. "yep.pm",
  201. "stahovanizasms.cz",
  202. "turbobit.net",
  203. "filecloud.cc",
  204. "tikfile.com",
  205. "cloudsix.me",
  206. "turboupload.com",
  207. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  208. "ulozisko.sk",
  209. "uloziste.com",
  210. "unibytes.com",
  211. "upload-il.net|przeslij.net",
  212. "uploaded.to|ul.to",
  213. "uploading.com",
  214. "chayfile.com",
  215. "rockfile.eu",
  216. "24uploading.com",
  217. "uploadspace.pl",
  218. "upnito.sk",
  219. "usaupload.net",
  220. "veehd.com",
  221. "videobb.com",
  222. "vip-file.com",
  223. "webshare.cz",
  224. "xdisk.cz",
  225. "yunfile.com|filemarkets.com",
  226. "ziddu.com",
  227. "zippyshare.com",
  228. "rodfile.com",
  229. "wikiupload.com",
  230. "uploadstube.de",
  231. "faststore.org",
  232. "flyfiles.net",
  233. "nowdownload.ch",
  234. "prefiles.com",
  235. "axifile.com",
  236. "hackerbox.org",
  237. "amonshare.com",
  238. "data.hu",
  239. "brupload.net",
  240. "userscloud.com",
  241. "netkups.com",
  242. "xfileload.com",
  243. "kumpulbagi.com|kumpulbagi.id",
  244. "uppit.com|up.ht",
  245. "downloadani.me",
  246. "filesabc.com",
  247. "verzend.be",
  248. "4up.me",
  249. "extmatrix.com",
  250. "sendfiles.nl",
  251. "yourfilestore.com",
  252. "filebig.net",
  253. "nekaka.com",
  254. "file4safe.com",
  255. "tusfiles.net|tusfiles.com",
  256. "filemac.com",
  257. "idup.in",
  258. "fileswap.com",
  259. "ozofiles.com",
  260. "loudupload.net",
  261. "nosupload.com",
  262. "gboxes.com",
  263. "myvdrive.com|fileserving.com",
  264. "filesin.com",
  265. "novafile.com",
  266. "longfiles.com",
  267. // "uploadhero.com",
  268. "uploadbaz.com",
  269. "bitupload.com",
  270. "indowebster.com",
  271. "superload.cz",
  272. "mafiastorage.com",
  273. "4upfiles.com",
  274. "filesmelt.com",
  275. "hellupload.com",
  276. "uploadingit.com",
  277. "stiahni.si",
  278. "sendspace.pl",
  279. "fastshare.org",
  280. "filejoker.net",
  281. "filestore.com.ua",
  282. "secureupload.eu",
  283. "rapidfileshare.net",
  284. "stiahnito.sk",
  285. "rusfolder.com",
  286. "fileover.net",
  287. "catshare.net",
  288. "anonfiles.com",
  289. "mixturecloud.com",
  290. "filedais.com",
  291. // "imdb.com",
  292. "nitroflare.com",
  293. "akafile.com",
  294. "creafile.net",
  295. "hugefiles.net",
  296. "vidxden.com",
  297. "up.top4top.net",
  298. "upload.ee",
  299. "shareplace.org",
  300. "uploadc.com",
  301. "remixshare.com",
  302. "exoshare.com",
  303. "borncash.org",
  304. "junocloud.me",
  305. "expressleech.com",
  306. "2downloadz.com",
  307. "mightyupload.com",
  308. "anysend.com",
  309. "datafile.com",
  310. "upstore.net",
  311. "upsto.re",
  312. "speedy.sh",
  313. "sanshare.com",
  314. "kingfiles.net",
  315. // "uploadhero.co",
  316. "ge.tt",
  317. "filesflash.net",
  318. "salefiles.com",
  319. // "megairon.net",
  320. "datoid.cz",
  321. "cloudstor.es",
  322. "streamfile.com",
  323. "eyesfile.ca",
  324. "filemoney.com",
  325. "uploadboy.com",
  326. "uploadboy.me",
  327. "speedshare.eu",
  328. "google.com",
  329. "unlimitzone.com",
  330. "rioupload.com",
  331. "rg.to",
  332. "jumbofiles.org",
  333. "fshare.vn",
  334. "spaceforfiles.com",
  335. "up.media1fire.com",
  336. "depfile.com",
  337. "go4up.com",
  338. "dropbox.com",
  339. "redbunker.net",
  340. "divxpress.com",
  341. "mega.nz|mega.co.nz",
  342. "anafile.com",
  343. "uploadable.ch",
  344. "arabloads.net",
  345. "sharerepo.com",
  346. "sfshare.se",
  347. "files.fm",
  348. "koofile.com",
  349. "vidplay.net",
  350. "storagon.com",
  351. "doraupload.com",
  352. "openload.io",
  353. "uploads.xxx",
  354. "toutbox.fr",
  355. ];
  356.  
  357. try
  358. {
  359. //iframes excluded
  360. if (window.top != window.self)
  361. {
  362. return;
  363. }
  364. //allHostNames sites excluded
  365. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  366. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  367. ")"))
  368. {
  369. return;
  370. }
  371. }
  372. catch (e)
  373. {
  374. return;
  375. }
  376.  
  377. //separate alternative domains with "|" char (first name is considered being main)
  378. var allContainerNames = [
  379. "adf.ly",
  380. "linkcrypt.ws",
  381. "linksafe.me",
  382. // "linksave.in",
  383. "linkto.net",
  384. "madlink.sk",
  385. "multiload.cz",
  386. "mirrorcreator.com",
  387. "ncrypt.in",
  388. "redi.re",
  389. "relink.us",
  390. "safelinking.net",
  391. "theloo.katt.it",
  392. "bit.ly",
  393.  
  394. ];
  395.  
  396. //separate alternative domains with "|" char (first name is considered being main)
  397. var allObsoleteNames = [
  398. "uloz.cz",
  399. "secured.in",
  400. "linksave.in",
  401. "seenupload.com",
  402. "sangfile.com",
  403. "filepost.com|fp.io",
  404. "uploadnet.co",
  405. "180upload.com",
  406. "rapidsonic.com",
  407. "fileparadox.com",
  408. "geupload.com",
  409. "lenfile.com",
  410. "fileparadox.in",
  411. "uploadhero.co",
  412. "uploadhero.com",
  413. "newfileland.com",
  414. "quickshare.cz",
  415. "netload.in",
  416. "netload.me",
  417. "movreel.com",
  418. "migahost.com",
  419. "krotix.net",
  420. "jumbofile.net",
  421. "edoc.com",
  422. "down4files.com",
  423. "cramit.in|cramitin.net",
  424. "freakshare.com",
  425. "burnupload.com|burnupload.ihiphop.com",
  426. "freakshare.net",
  427. "daj.to",
  428. "bl.st",
  429. "2drive.net",
  430. "ryushare.com",
  431. "crisshare.com",
  432. "tufiles.ru",
  433. "uncapped-downloads.com",
  434. "sockshare.com",
  435. "ddlstorage.com",
  436. "dataport.cz",
  437. "dizzcloud.com",
  438. "sharebeast.com",
  439. "stahovadlo.cz",
  440. "shared.com",
  441. "storage.to",
  442. "putlocker.com",
  443. "lumfile.com",
  444. "lumfile.se",
  445. "lumfile.eu",
  446. "firedrive.com",
  447. "fileshare.in.ua",
  448. "filecore.co.nz",
  449. "iskladka.cz",
  450. "file-rack.com",
  451. "fast-load.net",
  452. "subory.sk",
  453. "bigandfree.com",
  454. "fileop.com",
  455. "mujsoubor.cz",
  456. "sendfile.to",
  457. "superfastfile.com",
  458. "quickyshare.com",
  459. "duckload.com",
  460. "uploadstore.net",
  461. "meinupload.com",
  462. "dualshare.com",
  463. "2xupload.to|2xupload.de",
  464. "oxedion.com",
  465. "uploadline.com",
  466. "dll.bz",
  467. "movieshare.in",
  468. "milledrive.com",
  469. "quickupload.net",
  470. "safelink.in",
  471. "metadivx.com",
  472. "divxlink.com",
  473. "uploadrack.com",
  474. "teradepot.com",
  475. "dataup.to",
  476. "upit.to",
  477. "driveway.com",
  478. "eatlime.com",
  479. "a2zuploads.com",
  480. "friendlyfiles.net",
  481. "flyfile.us",
  482. "speedyshare.com",
  483. "uploadspace.eu",
  484. "keepfile.com",
  485. "piggyshare.com",
  486. "uplly.com",
  487. "filecrown.com",
  488. "6giga.com",
  489. "uploadjockey.com",
  490. "bluehost.to",
  491. "filegu.ru",
  492. "filebase.to",
  493. "up-file.com",
  494. "xvideos.com",
  495. "ufox.com",
  496. "filebling.com",
  497. "loaded.it",
  498. "uploadcell.com",
  499. "uploadshare.cz",
  500. "mangoshare.com",
  501. "filestab.com",
  502. "crazyupload.com",
  503. "gaiafile.com",
  504. "sharejunky.com",
  505. "fileho.com",
  506. "bigandfree.com",
  507. "bigfile.in",
  508. "bigshare.eu",
  509. "dahosting.org",
  510. "digisofts.net",
  511. "file4save.com",
  512. "filechip.com",
  513. "filescloud.com",
  514. "saveqube.com",
  515. "turboshare.de",
  516. "z-upload.com",
  517. "youshare.com",
  518. "jiffyupload.com",
  519. "gigeshare.com",
  520. "datenklo.net",
  521. "upload.dj",
  522. "loadfiles.in",
  523. "upit.to",
  524. "dsfileshare.com",
  525. "sharesimple.net",
  526. "4files.net",
  527. "wooupload.com",
  528. "odsiebie.com",
  529. "filenavi.com",
  530. "3oof.com",
  531. "meshwaar.com",
  532. "maxupload.com",
  533. "share.cx",
  534. "atserver.eu",
  535. "hotfiles.ws",
  536. "esnips.com",
  537. "tuxfile.com",
  538. "file2upload.net",
  539. "filebling.com",
  540. "turboshare.com",
  541. "rarhost.com",
  542. "isharehd.com",
  543. "i741.com",
  544. "dataup.de",
  545. "fofly.com",
  546. "shareonall.com",
  547. "sexuploader.com",
  548. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  549. "uploadhyper.com",
  550. "filespawn.com",
  551. "caizzii.com",
  552. "volnyweb.cz",
  553. "usershare.net",
  554. "filescash.net",
  555. "metahyper.com",
  556. "combozip.com",
  557. "x7.to",
  558. "uploadbox.com",
  559. "enterupload.com|flyupload.com",
  560. "filepoint.de",
  561. "mystream.to",
  562. "x-fs.com",
  563. "shareator.com",
  564. "srapid.eu",
  565. "sosame.cz",
  566. "filesdump.com",
  567. "2-klicks.de",
  568. "uploking.com",
  569. "silofiles.com",
  570. "upfile.in",
  571. "filehook.com",
  572. "uploadking.com",
  573. "uploadhere.com",
  574. "kewlshare.com",
  575. "rapidable.com",
  576. "uploadwaste.com",
  577. "filemup.com",
  578. "filesonic.com|sharingmatrix.com",
  579. "fileserve.com",
  580. "wupload.com",
  581. "skipfile.com",
  582. "smartuploader.com",
  583. "dualshare.com",
  584. "storeandserve.com",
  585. "mountfile.com",
  586. "transitfiles.com",
  587. "uploadstation.com",
  588. "filejungle.com",
  589. "shareshared.com",
  590. "quickyshare.com",
  591. "save.am",
  592. "petandrive.com",
  593. "file2box.com",
  594. "flyshare.cz",
  595. "yabadaba.ru",
  596. "cloudcache.cc",
  597. "yourfilehost.com",
  598. "jakfile.com",
  599. "kickload.com",
  600. "pyramidfiles.com",
  601. "refile.net",
  602. "zshare.net",
  603. "ddlani.me|ddlanime.com",
  604. "ftp2share.com",
  605. "fooget.com",
  606. "rapidhide.com",
  607. "gotupload.com",
  608. "mooload.com",
  609. "zupload.com",
  610. "mytempdir.com",
  611. "onionshare.com",
  612. "stahnu.to",
  613. "oron.com",
  614. "badongo.com",
  615. "filereactor.com",
  616. "filegaze.com",
  617. "4bytez.com",
  618. "1hostclick.com",
  619. "anonstream.com",
  620. "batshare.com",
  621. "bitroad.net",
  622. "brontofile.com",
  623. "cloudnxt.net",
  624. "cloudnator.com|shragle.com",
  625. "filesfrog.net",
  626. "coolshare.cz",
  627. "dotavi.com",
  628. "ezyfile.net",
  629. "file-bit.net",
  630. "filecosy.com",
  631. "fileduct.com|fileduct.net",
  632. "filefat.com",
  633. "filelaser.com",
  634. "filemashine.com",
  635. "fileserver.cc",
  636. "filetechnology.com",
  637. "fireuploads.net",
  638. "gigfiles.net",
  639. "holderfile.com",
  640. "ihostia.com",
  641. "k2files.com",
  642. "mojofile.com",
  643. "ovfile.com",
  644. "qshare.com",
  645. "shafiles.me",
  646. "sharefilehost.com",
  647. "shareupload.com",
  648. "stahuj.to",
  649. "ugotfile.com",
  650. "uploadboost.com",
  651. "fileom.com",
  652. "vidhog.com",
  653. "xfileshare.eu",
  654. "bzlink.us",
  655. "bulletupload.com",
  656. "bloggerarticles.com",
  657. "mojedata.sk",
  658. "sharpfile.com",
  659. "upgrand.com",
  660. "nasdilej.cz",
  661. "mediatack.cz",
  662. "share-it.to",
  663. "primeupload.com",
  664. "filebeer.info",
  665. "baberepublic",
  666. "xtu.me",
  667. "sharebase.de",
  668. "luckyshare.net",
  669. "filerobo.com",
  670. "filevelocity.com",
  671. "filezpro.com",
  672. "file4sharing.com",
  673. "cing.be",
  674. "ufile.eu",
  675. "pigsonic.com",
  676. "fileupped.com",
  677. "sharerun.com",
  678. "filesaur.com",
  679. "rapidslnare.com",
  680. "bestsharing.com",
  681. "savefiles.net",
  682. "file2share.biz",
  683. "filecache.de",
  684. "monsteruploads.eu",
  685. "b9bb.com",
  686. "aiotool.net",
  687. "jamber.info",
  688. "megaftp.com",
  689. "desiupload.net",
  690. "file27.com",
  691. "yastorage.com",
  692. "filehost.ws",
  693. "copyload.com",
  694. "venusfile.com",
  695. "aieshare.com",
  696. "terafile.co",
  697. "terafile.com",
  698. "fileza.net",
  699. "filerose.com",
  700. "squillion.com",
  701. "fileprohost.com",
  702. "bitbonus.com",
  703. "warserver.cz",
  704. "uload.to",
  705. "sharedbit.net",
  706. "megaload.it",
  707. "filewinds.com",
  708. "uploadcore.com",
  709. "syfiles.com",
  710. "eyesfile.com",
  711. "hotfile.com",
  712. "superupl.com",
  713. "oteupload.com",
  714. "henchfile.com",
  715. "filegag.com",
  716. "HenchFile.com",
  717. "filedefend.com",
  718. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  719. "megabitshare.com",
  720. "cloudzer.com",
  721. "asfile.com",
  722. "cloudzer.net",
  723. "clz.to",
  724. "extabit.com",
  725. "247upload.com",
  726. "2download.de",
  727. "4fastfile.com",
  728. "asixfiles.com",
  729. "berofile.com",
  730. "bigupload.com",
  731. "cepzo.com",
  732. "clouds.to",
  733. "cobrashare.sk",
  734. "coraldrive.net",
  735. "cyberlocker.ch",
  736. "czshare.com",
  737. "darkport.org",
  738. "dark-uploads.com",
  739. "davvas.com",
  740. "enigmashare.com",
  741. "erofly.cz",
  742. "fastsonic.net",
  743. "filebox.com",
  744. "filecity.net",
  745. "filedap.com",
  746. "filedino.com",
  747. "filedownloads.org",
  748. "filefolks.com",
  749. "fileking.co",
  750. "filemates.com",
  751. "files.to",
  752. "files2k.eu",
  753. "filesector.cc",
  754. "bitshare.com",
  755. "filesega.com",
  756. "filesend.net",
  757. "filestay.com",
  758. "filestrum.com",
  759. "fileuplo.de",
  760. "fileupup.com",
  761. "forunesia.com",
  762. "freeuploads.fr",
  763. "uploa.dk",
  764. "getthebit.com",
  765. "getzilla.net",
  766. "goldfile.eu",
  767. "good.com",
  768. "grupload.com",
  769. "hellfile.com",
  770. "hipfile.com",
  771. "hitfile.com",
  772. "hulkfile.eu|duckfile.net",
  773. "i-filez.com",
  774. "ifile.ws",
  775. "kupload.org",
  776. "packupload.com",
  777. "lemuploads.com",
  778. "limelinx.com",
  779. "maxshare.pl",
  780. "megarelease.org",
  781. "megashare.com",
  782. "minus.com",
  783. "mlfat4arab.com",
  784. "multishare.cz",
  785. "nirafile.com",
  786. "ok2upload.com",
  787. "peejeshare.com",
  788. "premiuns.org",
  789. "przeklej.net",
  790. "qkup.net",
  791. "rapidupload.sk",
  792. "rockdizfile.com",
  793. "rocketfile.net",
  794. "share-now.net",
  795. "share76.com",
  796. "sharebees.com",
  797. "sharefiles.co",
  798. "slingfile.com",
  799. "sms4file.com",
  800. "space4file.com",
  801. "tigershare.net",
  802. "toucansharing.com",
  803. "ubuntuone.com",
  804. "unextfiles.com",
  805. "upaj.pl",
  806. "upfile.biz",
  807. "uploadbin.net",
  808. "uploadic.com",
  809. "uploadinc.com",
  810. "uploading4u.eu",
  811. "uploadjet.net",
  812. "uploadorb.com",
  813. "upthe.net",
  814. "uptorch.com",
  815. "vidbox.yt",
  816. "videozer.com",
  817. "vreer.com",
  818. "wallobit.com",
  819. "zooupload.com",
  820. "privatefiles.com",
  821. "xerver.co",
  822. "BillionUploads.com",
  823. "rapidshare.com",
  824. "rapidshare.ru",
  825. "4savefile.com",
  826. "bayfiles.com",
  827. "bayfiles.net",
  828. "dodane.pl",
  829. "dotsemper.com",
  830. "egofiles.com",
  831. "epicshare.net",
  832. "fiberupload.net",
  833. "filemonkey.in",
  834. "filemonster.net",
  835. "filepom.com",
  836. "filesbb.com",
  837. "fileshareup.com",
  838. "filevice.com",
  839. "gigaup.fr",
  840. "isavelink.com",
  841. "loombo.com",
  842. "megafiles.se",
  843. "migupload.com",
  844. "mydisc.net",
  845. "nitrobits.com",
  846. "potload.com",
  847. "redload.net",
  848. "shareprofi.com",
  849. "sharesuper.info",
  850. "sinhro.net",
  851. "speedfile.cz",
  852. "speedshare.org",
  853. "storage.novoro.net",
  854. "swankshare.com",
  855. "swatupload.com",
  856. "upafile.com",
  857. "uploadmachine.com",
  858. "uploadsat.com",
  859. "upshared.com",
  860. "usefile.com",
  861. "yourfiles.to",
  862. "zomgupload.com",
  863. "ultramegabit.com",
  864. "uploadto.us",
  865. "inafile.com",
  866. "megairon.net",
  867.  
  868. ];
  869. ///////////////////////////////////////////////////////////////////////////////////////
  870. var firstRun = GM_getValue("First_run", true);
  871.  
  872. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  873. //////////////////////////////////////////////////////////////////////////////////////
  874. try
  875. {
  876. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  877. var last_known_version = GM_getValue("last_known_version", "");
  878. if (!last_known_version)
  879. {
  880. last_known_version = thisVersion;
  881. GM_setValue("last_known_version", last_known_version);
  882. }
  883. //var newVersion = !(thisVersion == last_known_version);
  884. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  885. GM_setValue("last_known_version", thisVersion);
  886. }
  887. catch (err)
  888. {
  889. var newVersion = false;
  890. }
  891.  
  892. var now = (new Date()).getTime();
  893. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  894. if (!last_custom_rules_nag)
  895. {
  896. last_custom_rules_nag = now;
  897. GM_setValue('last_custom_rules_nag', ''+now);
  898. }
  899.  
  900.  
  901. allHostNames.sort();
  902. allContainerNames.sort();
  903. allObsoleteNames.sort();
  904.  
  905. var RAND_STRING = "8QyvpOSsRG3QWq";
  906. var DEBUG_MODE = false;
  907.  
  908. var TOOLTIP_MAXWIDTH = 600; //in pixels
  909. var TOOLTIP_THUMBWIDTH = 200;
  910. var containers_processed = false;
  911.  
  912. //settings for keyboard functions start
  913. var CHECK_ALL_LINKS_KEY = "A";
  914. var CONFIGURATION_KEY = "C";
  915. var copy_to_dead_key = "D";
  916. var toggle_autocheck_key = "W";
  917. var toggle_Enable_Anonymizer_key = "Z";
  918. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  919. var first_key_keycodename = 'CTRL';
  920. var second_key_keycode = '18';
  921. var second_key_keycodename = 'ALT';
  922. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  923. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  924. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  925. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  926. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  927. //settings for keyboard functions end
  928.  
  929. //global settings start
  930. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  931. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  932. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  933. var Show_progress_stats, Display_tooltip_info, Icon_set;
  934. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  935. var Progress_box_refresh_rate;
  936. var Obsolete_file_hosts;
  937. var Custom_rules, Custom_rules_text;
  938.  
  939. var messageBox = document.createElement('b'); // top-left message box
  940.  
  941. var cLinksTotal = 0;
  942. var cLinksDead = 0;
  943. var cLinksAlive = 0;
  944. var cLinksUnava = 0;
  945. var cLinksprem = 0;
  946. var cLinksProcessed = 0;
  947.  
  948. var intervalId; //for updateProgress()
  949.  
  950. //icon resources
  951. 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//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRL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=';
  960.  
  961. 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==';
  962. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFK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0V8YWLgU+Ew3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  964. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  965.  
  966. //global settings end
  967. if (window.opera && !window.console)
  968. {
  969. window.console = {};
  970.  
  971. function fn()
  972. {
  973. opera.postError(arguments);
  974. };
  975. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  976. {
  977. window.console[name] = fn;
  978. });
  979. }
  980.  
  981. //displays colored text in message box
  982. function sendMessage(text, color)
  983. {
  984. var msgDiv = document.createElement('div');
  985. msgDiv.style.color = color;
  986. msgDiv.innerHTML = text;
  987. messageBox.appendChild(msgDiv);
  988. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  989. }
  990.  
  991. function linkify(totalourls)
  992. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  993. var ikkeTilladteTags;
  994. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  995. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  996. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  997. allLinksRegex = new RegExp(allLinksRegex, "g");
  998. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  999.  
  1000. if (Do_not_linkify_DL_links)
  1001. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1002. else
  1003. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1004.  
  1005. var regex = new RegExp(regexy);
  1006. var textNode, muligtLink;
  1007.  
  1008. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1009. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1010.  
  1011. var i = textNodes.snapshotLength;
  1012. while (i--)
  1013. {
  1014. textNode = textNodes.snapshotItem(i);
  1015.  
  1016. muligtLink = textNode.nodeValue; //all links on page
  1017.  
  1018. var myArray = null;
  1019. var span = null;
  1020. var lastLastIndex = 0;
  1021. allLinksRegex.lastIndex = 0;
  1022. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1023. {
  1024. if (textNode.parentNode.className == "adead_link") continue;
  1025. var censoredLink = muligtLink;
  1026. var span = document.createElement('span');
  1027. span.className = "adead_link";
  1028. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1029. $(span).html(censoredLink);
  1030. span.addEventListener("mouseover", displayTooltipError, false);
  1031. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1032. textNode.parentNode.replaceChild(span, textNode);
  1033. continue;
  1034. alert(censoredLink);
  1035. }
  1036. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1037. {
  1038. if (!regex.test(myArray[0])) //this link is not recognized
  1039. {
  1040.  
  1041. continue;
  1042. }
  1043. if (!span)
  1044. span = document.createElement('span');
  1045.  
  1046. var link = myArray[0];
  1047. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1048.  
  1049. var $a = $("<a>" + link + "</a>")
  1050. if (!link.match(/https?:\/\//))
  1051. {
  1052. link = 'http://' + link;
  1053. }
  1054.  
  1055. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1056. .addClass("processing_link")
  1057. .appendTo(span);
  1058. lastLastIndex = allLinksRegex.lastIndex;
  1059. }
  1060. if (span)
  1061. {
  1062. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1063. textNode.parentNode.replaceChild(span, textNode);
  1064. }
  1065. }
  1066. }
  1067.  
  1068. function add_WARLC_style()
  1069. {
  1070. if (!(document.getElementsByTagName('WARLC')[0]))
  1071. {
  1072. var meta_not_to_add_more_style = document.createElement("WARLC");
  1073. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1074. meta_not_to_add_more_style.setAttribute('name', 'description');
  1075. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1076. alive_link_png = "";
  1077. adead_link_png = "";
  1078. unava_link_png = "";
  1079. prem_link_png = "";
  1080. switch(Icon_set)
  1081. {
  1082. //no icons
  1083. case 0: break;
  1084. // cat paws
  1085. case 1: alive_link_png = PAW_ICON_GREEN;
  1086. adead_link_png = PAW_ICON_RED;
  1087. unava_link_png = PAW_ICON_YELLOW;
  1088. prem_link_png = PAW_ICON_PINK;
  1089. break;
  1090. // classic RSLC look
  1091. case 2: alive_link_png = RSLC_ICON_GREEN;
  1092. adead_link_png = RSLC_ICON_RED;
  1093. unava_link_png = RSLC_ICON_YELLOW;
  1094. prem_link_png = RSLC_ICON_PINK;
  1095. break;
  1096. // New Icons
  1097. case 3: alive_link_png = NEW_ICON_GREEN;
  1098. adead_link_png = NEW_ICON_RED;
  1099. unava_link_png = NEW_ICON_YELLOW;
  1100. prem_link_png = NEW_ICON_PINK;
  1101. break;
  1102. // cat paws
  1103. default:alive_link_png = PAW_ICON_GREEN;
  1104. adead_link_png = PAW_ICON_RED;
  1105. unava_link_png = PAW_ICON_YELLOW;
  1106. prem_link_png = PAW_ICON_PINK;
  1107. break;
  1108. }
  1109. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1110. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1111.  
  1112. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1113.  
  1114. if (Color_DL_links)
  1115. {
  1116. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1117. live_color_css = 'color:' + Live_links_color + ' !important;';
  1118. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1119. container_color_css = 'color:' + Container_links_color + ' !important;';
  1120. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1121. }
  1122. else
  1123. {
  1124. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1125. }
  1126.  
  1127. if (Show_black_background_in_DL_links)
  1128. {
  1129. black_background_css = 'background-color: black !important;';
  1130. }
  1131. else
  1132. {
  1133. black_background_css = '';
  1134. }
  1135.  
  1136. if (Show_line_through_in_dead_links)
  1137. {
  1138. line_through_css = 'text-decoration: line-through !important;';
  1139. }
  1140. else
  1141. {
  1142. line_through_css = '';
  1143. }
  1144.  
  1145. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1146. 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 + "}");
  1147. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1148. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1149. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1150. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1151. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1152. }
  1153. }
  1154.  
  1155. var warlcTooltip = null;
  1156. var mouseoverLink = null; //link href with mouse cursor over it
  1157.  
  1158. var lastX = 0;
  1159. var lastY = 0;
  1160.  
  1161. $(document).ready(initTooltip);
  1162. //inits tooltip
  1163. function initTooltip()
  1164. { warlcTooltip = document.createElement("div");
  1165. 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;");
  1166. warlcTooltip.style.visibility = "hidden";
  1167. document.body.appendChild(warlcTooltip);
  1168. }
  1169.  
  1170. //"mousemove" event handler for all links
  1171. function moveTooltip(event)
  1172. {
  1173. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1174. { //no need to reflow if the cursor moved just a little
  1175. return;
  1176. }
  1177. else
  1178. {
  1179. lastX = event.clientX;
  1180. lastY = event.clientY;
  1181. }
  1182.  
  1183. posX = event.clientX + window.pageXOffset + 10;
  1184. posY = event.clientY + window.pageYOffset;
  1185. var ttHeight = warlcTooltip.offsetHeight;
  1186. var ttFreeSpace = window.innerHeight - event.clientY;
  1187. if (ttHeight > ttFreeSpace)
  1188. { //prevents tooltip from getting out of the window
  1189. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1190. }
  1191. else
  1192. {
  1193. posY += 7;
  1194. }
  1195. warlcTooltip.style.top = posY + "px";
  1196. warlcTooltip.style.left = posX + "px";
  1197. }
  1198.  
  1199. //"mouseout" event handler for all links
  1200. function hideTooltip(){
  1201. warlcTooltip.style.visibility = "hidden";
  1202. mouseoverLink = null;
  1203. }
  1204.  
  1205.  
  1206. //"mouseover" event handler for dead links
  1207. //displays tooltip error message on dead links
  1208. function displayTooltipError()
  1209. {
  1210. mouseoverLink = this.href;
  1211. this.addEventListener("mouseout", hideTooltip);
  1212. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1213. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1214. warlcTooltip.style.minWidth = 0;
  1215. warlcTooltip.style.visibility = "visible";
  1216. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1217. {
  1218. warlcTooltip.innerHTML = this.warlc_error;
  1219. }
  1220. else
  1221. {
  1222. loadErrorInfo(this);
  1223. }
  1224. function loadErrorInfo(link)
  1225. {
  1226. var href = link.href;
  1227. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1228. GM_xmlhttpRequest({
  1229. method: 'GET',
  1230. url: href.replace(Ref_anonymize_service, ""),
  1231. headers: {
  1232. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1233. 'Accept': 'text/xml',
  1234. 'Referer': ""
  1235. },
  1236. onload: function(result) {
  1237. var res = result.responseText;
  1238. //TODO: errorRegexs -
  1239. var errorRegexs = [ //generic error messages follow
  1240. /(empty directory)/i,
  1241. /(soubor nebyl nalezen)/i,
  1242. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1243. //server specific error messages follow
  1244. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1245. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1246. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1247. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1248. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1249. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1250. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1251. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1252. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1253. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1254. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1255. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1256. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1257. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1258. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1259. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1260. /(File has been removed due to Copyright Claim)/, //filerio
  1261. ];
  1262. var errorIdx = errorRegexs.length;
  1263. var error = "Cause of error: <b>unknown</b>";
  1264. var errorCandidate = "";
  1265. while(errorIdx--)
  1266. {
  1267. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1268. if (errorCandidate != null)
  1269. {
  1270. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1271. break;
  1272. }
  1273. }
  1274. //link attributes
  1275. link.warlc_error = error;
  1276. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1277. {
  1278. warlcTooltip.innerHTML = error;
  1279. }
  1280. }
  1281. });
  1282. }
  1283. }
  1284.  
  1285. //"mouseover" event handler for alive links
  1286. //displays tooltip info (file size, file name,...) on alive links
  1287. function displayTooltipInfo()
  1288. {
  1289. mouseoverLink = this.href;
  1290. //exclude direct download filehostings
  1291. 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)/))
  1292. {
  1293. return;
  1294. }
  1295. this.addEventListener("mouseout", hideTooltip);
  1296. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1297. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1298. warlcTooltip.style.minWidth = 0;
  1299. warlcTooltip.style.visibility = "visible";
  1300. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1301. {
  1302. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1303. }
  1304. else
  1305. {
  1306. loadInfo(this);
  1307. }
  1308. function loadInfo(link)
  1309. {
  1310. var href = link.href;
  1311. GM_xmlhttpRequest({
  1312. method: 'GET',
  1313. url: href.replace(Ref_anonymize_service, ""),
  1314. headers: {
  1315. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1316. 'Accept': 'text/xml',
  1317. 'Referer': ""
  1318. },
  1319. onload: function(result) {
  1320. var res = result.responseText;
  1321. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1322. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1323. /fl" title="(.+?)">/, //edisk
  1324. /<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
  1325. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1326. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1327. /title="download (.+?)">/, //sendspace
  1328. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1329. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1330. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1331. /d0FileName = "(.+?)";/, //letitbit
  1332. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1333. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1334. /fname" value="(.+?)">/, //syfiles, grupload,
  1335. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1336. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1337. /Complete name : (.+?)<br \/>/, //bezvadata
  1338. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1339. ];
  1340. var nameIdx = nameRegexs.length;
  1341. // [sizeRegexs]
  1342. // / \ \?
  1343. // prefix (size) postfix
  1344. // / \
  1345. // val quant
  1346. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1347. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1348. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1349. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1350. var postSizeRegex = '(?:\\))?';
  1351. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1352. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1353. ];
  1354. var sizeIdx = sizeRegexs.length;
  1355. //
  1356. //
  1357. var tooltip = "File Name: <b>";
  1358. var fileName = "unknown";
  1359. var nameCandidate = "";
  1360. while(nameIdx--)
  1361. {
  1362. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1363. if (nameCandidate != null)
  1364. {
  1365. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1366. break;
  1367. }
  1368. }
  1369. tooltip += fileName + "</b><br>File Size: <b>";
  1370. var fileSize = "unknown";
  1371. var sizeCandidate = "";
  1372. while(sizeIdx--)
  1373. {
  1374. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1375. if (sizeCandidate != null)
  1376. {
  1377. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1378. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1379. {
  1380. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1381. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1382. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1383. }
  1384. break;
  1385. }
  1386. }
  1387. tooltip += fileSize + "</b>";
  1388. // PROTOTYPE
  1389. // video thumbnails
  1390. if (href.match('hellshare'))
  1391. {
  1392. var thumbs;
  1393. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1394. if (thumbs)
  1395. {
  1396. tooltip += '<br>';
  1397. var j = Math.min(thumbs.length, 9);
  1398. for (var i = 0; i < j; i++)
  1399. {
  1400. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1401. }
  1402. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1403. }
  1404. }
  1405. if (href.match('czshare'))
  1406. {
  1407. var thumbs;
  1408. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1409. if (thumbs)
  1410. {
  1411. var thumbsServer = thumbs[1];
  1412. var thumbsId = thumbs[2];
  1413. tooltip += '<br>';
  1414. for (var i = 1; i < 9; i++)
  1415. {
  1416. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1417. }
  1418. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1419. }
  1420. }
  1421. if (href.match('bezvadata'))
  1422. {
  1423. var thumbs;
  1424. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1425. if (thumbs)
  1426. {
  1427. tooltip += '<br>';
  1428. var j = Math.min(thumbs.length, 9);
  1429. for (var i = 0; i < j; i++)
  1430. {
  1431. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1432. }
  1433. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1434. }
  1435. }
  1436. link.warlc_tooltipcache = tooltip;
  1437. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1438. {
  1439. warlcTooltip.innerHTML = tooltip;
  1440. }
  1441. }
  1442. });
  1443. }
  1444. }
  1445.  
  1446. function setVariables()
  1447. {
  1448. if (firstRun)
  1449. {
  1450. GM_log('First run, applying default settings...');
  1451. GM_setValue("Icon_set",1);
  1452. GM_setValue("Display_tooltip_info",true);
  1453. GM_setValue("Show_black_background_in_DL_links",false);
  1454. GM_setValue("Show_line_through_in_dead_links",false);
  1455. GM_setValue("Display_full_links_in_link_containers",false);
  1456. GM_setValue("Allow_spaces_in_DL_links",false);
  1457. GM_setValue("Autocheck",true);
  1458. GM_setValue("Enable_Anonymizer",false);
  1459. GM_setValue("Do_not_linkify_DL_links",false);
  1460. GM_setValue("Show_progress_stats",true);
  1461. GM_setValue("Keyboard_functions",true);
  1462. GM_setValue("Obsolete_file_hosts",false);
  1463. GM_setValue("Color_DL_links",true);
  1464. GM_setValue("Live_links_color","Green");
  1465. GM_setValue("Dead_links_color","#FF3300");
  1466. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1467. GM_setValue("Container_links_color","DarkKhaki");
  1468. GM_setValue("Premium_links_color","DeepPink");
  1469. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1470. GM_setValue("Custom_rules",false);
  1471. GM_setValue("Custom_rules_text","");
  1472. GM_setValue("First_run", false);
  1473. }
  1474. //hidden settings
  1475. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1476. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1477. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1478. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1479. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1480. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1481. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1482. //hidden settings end
  1483.  
  1484. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1485. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1486. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1487. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1488. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1489. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1490. Autocheck = GM_getValue("Autocheck", true);
  1491. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1492. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1493. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1494. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1495. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1496. Color_DL_links = GM_getValue("Color_DL_links", true);
  1497. Live_links_color = GM_getValue("Live_links_color", "Green");
  1498. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1499. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1500. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1501. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1502. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1503. Custom_rules = GM_getValue("Custom_rules", false);
  1504. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1505. }
  1506.  
  1507.  
  1508. // Delinkifies the links
  1509. // params:
  1510. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1511. // e.g. 'uloz.to/xs68skxl8')
  1512. function delinkifySnapshot(snapshot)
  1513. {
  1514. var n = snapshot.snapshotLength;
  1515.  
  1516. while (n--)
  1517. {
  1518. thisLink = snapshot.snapshotItem(n);
  1519.  
  1520. var spanElm = document.createElement("span");
  1521. spanElm.className = thisLink.className;
  1522. spanElm.innerHTML = thisLink.innerHTML;
  1523.  
  1524. if (Display_tooltip_info)
  1525. {
  1526. spanElm.href = thisLink.href;
  1527. switch (thisLink.className){
  1528. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1529. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1530. case "unava_link": //reserved
  1531. default:
  1532. }
  1533. }
  1534. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1535. }
  1536. }
  1537.  
  1538. function processContainers()
  1539. {
  1540. var redirectorTypes = { "HTTP_302": 0,
  1541. "INNER_LINK": 1,
  1542. "THELOO_KATT_IT": 2,
  1543. "CING_BE": 3,
  1544. "ADF_LY": 4};
  1545. var cMultiloadTotal = 0;
  1546. var cMultiloadProcessed = 0;
  1547.  
  1548. var cMirrorcreatorComTotal = 0;
  1549. var cMirrorcreatorComProcessed = 0;
  1550.  
  1551. var hostRestrictionRegex = "";
  1552. var multiloadComRestriction = "";
  1553. var multiloadComRestrictionRegex;
  1554.  
  1555. //
  1556. //HANDLING REDIRECTORS START
  1557. //
  1558.  
  1559. var redirectors = new Array();
  1560. initRedirectors();
  1561.  
  1562. var redirectorsCount = redirectors.length;
  1563.  
  1564. if (redirectorsCount > 0)
  1565. {
  1566. var allRedirectorsRegex = "";
  1567.  
  1568. //linkify redirector links
  1569. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1570. {
  1571. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1572. }
  1573. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1574. linkify(allRedirectorsRegex);
  1575. //
  1576. //process redirector links
  1577. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1578. {
  1579. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1580. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1581.  
  1582. cLinksTotal += redirectors[redirIdx].cTotal;
  1583. var linkIdx = redirectors[redirIdx].cTotal;
  1584.  
  1585. while(linkIdx--)
  1586. {
  1587. switch(redirectors[redirIdx].type)
  1588. {
  1589. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1590. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1591. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1592. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1593. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1594. default:
  1595. }
  1596. }
  1597. }
  1598. //
  1599. }
  1600.  
  1601. //HTTP_302
  1602. function processRedirectorLink(link, redirectorId)
  1603. {
  1604. link.className = 'container_link';
  1605.  
  1606. GM_xmlhttpRequest({
  1607. method: 'HEAD',
  1608. url: link.href,
  1609. headers: {
  1610. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1611. 'Accept': 'text/xml',
  1612. 'Referer': ""
  1613. },
  1614. onload: function(result) {
  1615. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1616. {
  1617. processRedirectorLink(link, redirectorId);
  1618. }
  1619. else
  1620. {
  1621. redirectors[redirectorId].cProcessed++;
  1622. link.href = result.finalUrl;
  1623. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1624. checkLinks('container_link');
  1625. }
  1626. },
  1627. onerror: function(result) { //probably caused by unresponsive filehosting
  1628. redirectors[redirectorId].cProcessed++;
  1629. link.className = 'unava_link';
  1630. cLinksProcessed++;
  1631. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1632. checkLinks('container_link');
  1633. }
  1634. });
  1635. }
  1636. //INNER_LINK
  1637. function processRedirectorLinkEx(link, redirectorId)
  1638. {
  1639. link.className = 'container_link';
  1640. GM_xmlhttpRequest({
  1641. method: 'GET',
  1642. url: link.href,
  1643. headers: {
  1644. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1645. 'Accept': 'text/xml',
  1646. 'Referer': ""
  1647. },
  1648. onload: function(result) {
  1649. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1650. redirectors[redirectorId].cProcessed++;
  1651. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1652. checkLinks('container_link');
  1653. }
  1654. });
  1655. }
  1656. //theloo.katt.it (wrapped safelinking.net)
  1657. function processThelooKattItLink(link, redirectorId)
  1658. {
  1659. link.className = 'container_link';
  1660. GM_xmlhttpRequest({
  1661. method: 'GET',
  1662. url: link.href,
  1663. headers: {
  1664. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1665. 'Accept': 'text/xml',
  1666. 'Referer': ""
  1667. },
  1668. onload: function(result) {
  1669. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1670. redirectors[redirectorId].cProcessed++;
  1671. //the inner links are safelinking.net links, so lets proceed with it
  1672. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1673. {
  1674. processRedirectorLink(link, 0);
  1675. }
  1676. }
  1677. });
  1678. }
  1679. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1680. function processAdfLyLink(link, redirectorId)
  1681. {
  1682. link.className = 'container_link';
  1683. GM_xmlhttpRequest({
  1684. method: 'GET',
  1685. url: link.href,
  1686. headers: {
  1687. 'User-agent': 'Mozilla/4.0',
  1688. 'Accept': 'text/xml',
  1689. 'Referer': ""
  1690. },
  1691. onload: function(result) {
  1692. if (result.finalUrl.match('/locked/'))
  1693. {
  1694. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1695. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1696. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1697. }
  1698. else
  1699. {
  1700. // GM_log('Processing... ' + link.href);
  1701. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1702. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1703. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1704. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1705. //confirm advert
  1706. GM_xmlhttpRequest(
  1707. {
  1708. method: 'POST',
  1709. url: 'http://adf.ly/l.php',
  1710. headers: {
  1711. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1712. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1713. 'Referer': link.href
  1714. },
  1715. data: users + '&lt=' + logToken,
  1716. onload: function(result) {
  1717. //retrieve final url from .../go/... link
  1718. GM_xmlhttpRequest({
  1719. method: 'GET',
  1720. url: directLink,
  1721. headers: {
  1722. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1723. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1724. 'Referer': link.href
  1725. },
  1726. onload: function(result) {
  1727. link.href = result.finalUrl;
  1728. redirectors[redirectorId].cProcessed++;
  1729. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1730. checkLinks('container_link');
  1731. }
  1732. });
  1733. }
  1734. });
  1735. }
  1736. }
  1737. });
  1738. function proceedOK()
  1739. {
  1740. }
  1741. }
  1742. //MULTILOAD.CZ START
  1743. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1744. {
  1745. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1746. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1747.  
  1748. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1749.  
  1750. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1751. hostRestrictionRegex += 'hellshare|';
  1752. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1753. hostRestrictionRegex += 'downloadhellshare|';
  1754. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1755. hostRestrictionRegex += 'share-rapid\\.com|';
  1756. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1757. hostRestrictionRegex += 'quickshare\\.cz|';
  1758. if (GM_getValue("Check_czshare_dot_com_links", false))
  1759. hostRestrictionRegex += 'czshare\\.com|';
  1760. if (GM_getValue("Check_uloz_dot_to_links", false))
  1761. hostRestrictionRegex += 'uloz\\.to|';
  1762. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1763. hostRestrictionRegex += 'hellspy|';
  1764. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1765. hostRestrictionRegex += 'multishare\\.cz|';
  1766.  
  1767. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1768.  
  1769. linkify(mlRegex);
  1770.  
  1771. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1772. var mlCount = mlSnapshot.snapshotLength;
  1773.  
  1774. if (mlCount > 0)
  1775. {
  1776. cMultiloadTotal += mlCount;
  1777.  
  1778. mlIdx = mlCount - 1;
  1779. do
  1780. {
  1781. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1782. }
  1783. while(mlIdx--)
  1784. }
  1785. }
  1786. //MULTILOAD.CZ END
  1787.  
  1788.  
  1789.  
  1790. function processMultiloadLink(mlLink)
  1791. {
  1792. GM_xmlhttpRequest({
  1793. method: 'GET',
  1794. url: mlLink.href,
  1795. headers: {
  1796. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1797. 'Accept': 'text/xml',
  1798. 'Referer': ""
  1799. },
  1800. onload: function(result) {
  1801. var res = result.responseText;
  1802.  
  1803. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1804. 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;
  1805. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1806. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1807.  
  1808. var blocks; // blocks of links
  1809. var blockIdx;
  1810.  
  1811. mlLink.className = '';
  1812.  
  1813. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1814. {
  1815. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1816. return;
  1817. }
  1818.  
  1819. blocks = res.match(innerBlockRegex);
  1820.  
  1821. if (blocks == null) //no links found, cancel further processing
  1822. {
  1823. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1824. cMultiloadProcessed++;
  1825. if (cMultiloadTotal <= cMultiloadProcessed)
  1826. {
  1827. startBulkCheck('container_link');
  1828. start('container_link');
  1829. }
  1830. return;
  1831. }
  1832.  
  1833. blockIdx = blocks.length;
  1834.  
  1835. if (Display_full_links_in_link_containers)
  1836. {
  1837. var ulElm = document.createElement('ul');
  1838. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1839.  
  1840. while(blockIdx--)
  1841. {
  1842. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1843. {
  1844. continue;
  1845. }
  1846.  
  1847. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1848.  
  1849. var linkIdx = innerLinks.length;
  1850. while (linkIdx--)
  1851. {
  1852. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1853.  
  1854. var liElm = document.createElement('li');
  1855.  
  1856. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1857. {
  1858. liElm.appendChild(document.createTextNode(innerLink));
  1859. }
  1860. else
  1861. {
  1862. var aElm = document.createElement('a');
  1863. aElm.innerHTML = innerLink;
  1864. aElm.href = innerLink;
  1865. aElm.className = 'container_link';
  1866.  
  1867. liElm.appendChild(aElm);
  1868. }
  1869.  
  1870. ulElm.appendChild(liElm);
  1871. cLinksTotal++;
  1872. }
  1873. }
  1874.  
  1875. mlLink.parentNode.appendChild(ulElm);
  1876. }
  1877. else //compact view
  1878. {
  1879. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1880.  
  1881. while(blockIdx--)
  1882. {
  1883. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1884. {
  1885. continue;
  1886. }
  1887.  
  1888. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1889.  
  1890. var linkIdx = innerLinks.length;
  1891. while (linkIdx--)
  1892. {
  1893. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1894.  
  1895. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1896. {
  1897. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1898. }
  1899. else
  1900. {
  1901. var aElm = document.createElement('a');
  1902.  
  1903. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1904.  
  1905. //abbreviate host name
  1906. switch(hostName + ""){
  1907.  
  1908. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1909. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1910. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1911. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1912. case 'multishare': aElm.innerHTML = 'MS'; break;
  1913. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1914. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1915. case 'czshare': aElm.innerHTML = 'CS'; break;
  1916. default: aElm.innerHTML = 'xx';
  1917.  
  1918. }
  1919.  
  1920. aElm.href = innerLink;
  1921. aElm.className = 'container_link';
  1922.  
  1923. mlLink.parentNode.appendChild(aElm);
  1924. cLinksTotal++;
  1925. }
  1926. }
  1927.  
  1928. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1929.  
  1930. }
  1931. }
  1932.  
  1933. cMultiloadProcessed++;
  1934. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1935. {
  1936. if (Do_not_linkify_DL_links)
  1937. {
  1938. delinkifySnapshot(mlSnapshot);
  1939. }
  1940. startBulkCheck('container_link');
  1941. start('container_link');
  1942. }
  1943. }
  1944. });
  1945. }
  1946.  
  1947.  
  1948. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1949. {
  1950. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1951. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1952. var mcShortHostNames =
  1953. '?? 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';
  1954. // 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
  1955. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1956. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1957. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1958. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1959.  
  1960. linkify(mcRegex);
  1961.  
  1962. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1963. var mcCount = mcSnapshot.snapshotLength;
  1964.  
  1965. cMirrorcreatorComTotal = mcCount;
  1966.  
  1967. if (mcCount > 0)
  1968. {
  1969. mcShortHostNames = mcShortHostNames.split(' ');
  1970. mcIdx = mcCount;
  1971. while(mcIdx--)
  1972. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1973. }
  1974.  
  1975. }
  1976. //MIRRORCREATOR.CZ END
  1977.  
  1978.  
  1979. //mirrorcreator.com checking works like this:
  1980. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1981. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1982. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1983. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1984. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1985. function processMirrorcreatorLink(mcLink)
  1986. {
  1987. var mcURL = mcLink.href.match(mcRegex);
  1988. if(!mcURL || !mcURL[1]) return;
  1989. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1990. GM_xmlhttpRequest({
  1991. method: 'GET',
  1992. url: mcURL,
  1993. headers: {
  1994. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1995. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1996. 'Referer': ""
  1997. },
  1998. onload: function(mcLinkResult) {
  1999. var mcLinkRes = mcLinkResult.responseText;
  2000.  
  2001. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2002. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2003.  
  2004. var mcRedirectors;
  2005. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2006. var m = mcLinkRes.match(mcLinkBlockRegex);
  2007. if (m)
  2008. mcHostsFound = m.length;
  2009. else
  2010. { //no files inside container
  2011. processMirrorcreatorFoundHosts(mcLink, []);
  2012. return;
  2013. }
  2014.  
  2015. var mcRedirectorURL, idx, timedOut = false;
  2016.  
  2017. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2018. GM_xmlhttpRequest({
  2019. method: 'GET',
  2020. url: mcRedirectorURL,
  2021. headers: {
  2022. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2023. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2024. 'Referer': ""
  2025. },
  2026. onload: function(mcHostResult) {
  2027. if (timedOut) return; //too late, the list is already displayed
  2028. var mcHostRes = mcHostResult.responseText;
  2029. var mcHost = mcHostRes.match(mcHostRegex);
  2030. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2031. if (mcHost && idx!=-1)
  2032. {
  2033. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2034. mcHostsRetrieved++;
  2035. mcHostsToProcess++;
  2036. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2037. {
  2038. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2039. mcHostsToProcess = 0;
  2040. }
  2041. }
  2042. } //end of onload: function
  2043. }); //end of GM_xmlhttpRequest call
  2044. };//end of var gmxhrFunc
  2045.  
  2046. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2047. { //load individual redirector pages
  2048. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2049. mcHostURLs.push(mcRedirectorURL);
  2050. mcRedirectorIDs.push(mcRedirectors[2]);
  2051. gmxhrFunc(mcRedirectorURL);
  2052. } //end of while block
  2053.  
  2054. setTimeout(function(){ //in case the last page fails to load and call the function
  2055. timedOut = true;
  2056. if (mcHostsToProcess)
  2057. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2058. }, 60000);
  2059.  
  2060. } //end of onload function
  2061. }); //end of GM_xmlhttpRequest call
  2062. } //end of function processMirrorcreatorLink
  2063.  
  2064.  
  2065. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2066. {
  2067. var aEl, liEl, docFrag;
  2068. var hostName, mcRedirectorID, trimFilename = false;
  2069. var i = mcHostURLs.length;
  2070. if (i == 0)
  2071. {
  2072. trimFilename = true;
  2073. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2074. }
  2075. else
  2076. {
  2077. if (Display_full_links_in_link_containers)
  2078. { //full view
  2079. var wrapperEl = document.createElement('span');
  2080. wrapperEl.style.display = 'block';
  2081. var ulistEl = document.createElement('ul');
  2082. ulistEl.className = 'container_list';
  2083. while (i--)
  2084. {
  2085. liEl = document.createElement('li');
  2086. aEl = document.createElement('a');
  2087. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2088. aEl.href = mcHostURLs[i];
  2089. aEl.className = 'container_link';
  2090. liEl.appendChild(aEl);
  2091. ulistEl.appendChild(liEl);
  2092. }
  2093. wrapperEl.appendChild(ulistEl);
  2094. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2095. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2096. }
  2097. else
  2098. { //compact view
  2099. trimFilename = true;
  2100. docFrag = document.createDocumentFragment();
  2101. docFrag.appendChild(document.createTextNode(' |'));
  2102. while (i--)
  2103. {
  2104. mcRedirectorID = mcRedirectorIDs[i];
  2105. hostName = mcHostURLs[i];
  2106. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2107. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2108. else
  2109. hostName = mcShortHostNames[mcRedirectorID];
  2110. aEl = document.createElement('a');
  2111. aEl.href = mcHostURLs[i];
  2112. aEl.className = 'container_link';
  2113. aEl.appendChild(document.createTextNode(hostName));
  2114. docFrag.appendChild(aEl);
  2115. docFrag.appendChild(document.createTextNode('|'));
  2116. }
  2117. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2118. } //end of else block
  2119. } //end of else block
  2120. mcLink.className = '';
  2121. if (trimFilename)
  2122. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2123. cMirrorcreatorComProcessed++;
  2124. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2125. {
  2126. if (Do_not_linkify_DL_links)
  2127. delinkifySnapshot(mcSnapshot);
  2128. startBulkCheck('container_link');
  2129. start('container_link');
  2130. }
  2131. } //end of function processMirrorcreatorFoundHosts
  2132.  
  2133. containers_processed = true;
  2134.  
  2135.  
  2136. function initRedirectors()
  2137. {
  2138. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2139. {
  2140. var redirector = new Object();
  2141. redirector.linkRegex = linkRegex;
  2142. redirector.xpath = xpathEx; //xpath expression
  2143. redirector.cProcessed = 0; //processed links count
  2144. redirector.cTotal = 0; //total links count
  2145. redirector.type = redirType; //redirectorTypes enum
  2146. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2147. redirectors.push(redirector);
  2148. }
  2149. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2150. {
  2151. addRedirector(
  2152. 'safelinking\\.net\/d\/\\w+',
  2153. "//a[contains(@href,'safelinking.net/d/')]",
  2154. redirectorTypes.HTTP_302,
  2155. null);
  2156. }
  2157. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2158. {
  2159. addRedirector(
  2160. 'linksafe\\.me\/d\/\\w+',
  2161. "//a[contains(@href,'linksafe.me/d/')]",
  2162. redirectorTypes.HTTP_302,
  2163. null);
  2164. }
  2165. if (GM_getValue("Check_linkto_dot_net_links", false))
  2166. {
  2167. addRedirector(
  2168. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2169. "//a[contains(@href,'linkto.net/?')]",
  2170. redirectorTypes.INNER_LINK,
  2171. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2172. }
  2173. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2174. {
  2175. addRedirector(
  2176. '(?:the)?loo\\.katt\\.it\/\\w+',
  2177. "//a[contains(@href,'loo.katt.it/')]",
  2178. redirectorTypes.THELOO_KATT_IT,
  2179. /Proceed to URL - <a href="(.+?)">/);
  2180. }
  2181. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2182. {
  2183. addRedirector(
  2184. 'madlink\\.sk\/\\w+',
  2185. "//a[contains(@href,'madlink.sk/')]",
  2186. redirectorTypes.INNER_LINK,
  2187. /name="url" value="(.+?)\s*"\/>/);
  2188. }
  2189. if (GM_getValue("Check_adf_dot_ly_links", false))
  2190. {
  2191. addRedirector(
  2192. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2193. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2194. redirectorTypes.ADF_LY,
  2195. null);
  2196. }
  2197. if (GM_getValue("Check_redi_dot_re_links", false))
  2198. {
  2199. addRedirector(
  2200. 'redi\\.re\/\\w+',
  2201. "//a[contains(@href,'redi.re/')]",
  2202. redirectorTypes.HTTP_302,
  2203. null);
  2204. }
  2205. if (GM_getValue("Check_bit_dot_ly_links", false))
  2206. {
  2207. addRedirector(
  2208. 'bit\\.ly\/\\w+',
  2209. "//a[contains(@href,'bit.ly/')]",
  2210. redirectorTypes.HTTP_302,
  2211. null);
  2212. }
  2213. }
  2214.  
  2215. }
  2216.  
  2217. var bulkHosts = new Array();
  2218. var bulkHostNames = new Array();
  2219. function initBulkCheck()
  2220. {
  2221. /////////////////////////////
  2222. // Inits filehost object
  2223. /////////////////////////////
  2224. // params :
  2225. // hostName -- [string] host name (multiple domains separated with coma)
  2226. // linkRegex -- [string] link regex
  2227. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2228. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2229. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2230. // corrReplWhat -- [regex] link correction regex (replace)
  2231. // corrReplWith -- [string]
  2232. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2233. //
  2234. // apiUrl -- [string] web linkchecker or API URL
  2235. // postData -- [string] POSTDATA of xmlhttprequest
  2236. // resLinkRegex -- [regex]
  2237. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2238. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2239. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2240. // func -- [function] bulkcheck handler, genBulkCheck if null
  2241. //
  2242. //////////////////////////////
  2243. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2244. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2245. {
  2246. var fileHost = new Object();
  2247.  
  2248. fileHost.linkRegex = linkRegex;
  2249. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2250. fileHost.xpath = xpath;
  2251. fileHost.cFound = 0; //found links counter
  2252. fileHost.links = new Array(); //found links
  2253. if (blockSize == null)
  2254. {
  2255. fileHost.blockSize = 50;
  2256. }
  2257. else
  2258. {
  2259. fileHost.blockSize = blockSize;
  2260. }
  2261. fileHost.corrMatch = corrMatch;
  2262. fileHost.corrReplWhat = corrReplWhat;
  2263. fileHost.corrReplWith = corrReplWith;
  2264. if (splitSeparator == null)
  2265. {
  2266. fileHost.splitSeparator = "\r\n";
  2267. }
  2268. else
  2269. {
  2270. fileHost.splitSeparator = splitSeparator;
  2271. }
  2272. fileHost.apiUrl = apiUrl;
  2273. fileHost.postData = postData;
  2274. fileHost.resLinkRegex = resLinkRegex;
  2275. fileHost.resLiveRegex = resLiveRegex;
  2276. fileHost.resDeadRegex = resDeadRegex;
  2277. fileHost.resUnavaRegex = resUnavaRegex;
  2278. if (func == null)
  2279. {
  2280. fileHost.func = genBulkCheck;
  2281. }
  2282. else
  2283. {
  2284. fileHost.func = func;
  2285. }
  2286. bulkHosts.push(fileHost);
  2287. var names = hostName.split(',');
  2288. var i = names.length;
  2289. while(i--)
  2290. {
  2291. bulkHostNames[names[i]] = fileHost;
  2292. }
  2293. }
  2294. var genType1 = [
  2295. "rodfile.com", "downloadani.me", //"migahost.com",
  2296. "rarefile.net",
  2297. "filesabc.com",
  2298. "verzend.be",
  2299. // "movreel.com",
  2300. "4up.me",
  2301. "file4safe.com", "filemac.com", "4upfiles.com",
  2302. "idup.in", "novafile.com", "longfiles.com",
  2303. "bitupload.com",
  2304. "uploadbaz.com"
  2305. ];
  2306. var genType2 = [ "queenshare.com",
  2307. "hulkload.com",
  2308. "amonshare.com", //"edoc.com",
  2309. ];
  2310. //xfilesharing 1.0
  2311. function addGenericType1()
  2312. {
  2313. var i = genType1.length;
  2314. while(i--)
  2315. {
  2316. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2317. {
  2318. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2319. addHost(
  2320. genType1[i].match(/[\w-]+/)[0], //hostname
  2321. regexSafe + "\/\\w+", //linkregex
  2322. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2323. null, //blocksize
  2324. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2325. null, //corrreplwhat
  2326. null, //corrreplwith
  2327. null, //separator
  2328. "http://" + genType1[i] + "/checkfiles.html", //api url
  2329. "op=checkfiles&process=Check+URLs&list=", //postdata
  2330. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2331. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2332. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2333. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2334. null //function delegate
  2335. )
  2336. }
  2337. }
  2338. }
  2339. //xfilesharing 2.0
  2340. function addGenericType2()
  2341. {
  2342. var i = genType2.length;
  2343. while(i--)
  2344. {
  2345. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2346. {
  2347. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2348. addHost(
  2349. genType2[i].match(/[\w-]+/)[0], //hostname
  2350. regexSafe + "\/\\w+", //linkregex
  2351. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2352. null, //blocksize
  2353. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2354. null, //corrreplwhat
  2355. null, //corrreplwith
  2356. null, //separator
  2357. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2358. "op=checkfiles&process=Check+URLs&list=", //postdata
  2359. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2360. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2361. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2362. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2363. null //function delegate
  2364. )
  2365. }
  2366. }
  2367. }
  2368. // TEMPLATE
  2369. // if (GM_getValue("Check__dot_com_links", false))
  2370. // {
  2371. // addHost(
  2372. // "", //hostname
  2373. // "", //linkregex
  2374. // "//a[contains(@href,'.com/')]", //xpath
  2375. // null, //blocksize
  2376. // null, //corrmatch
  2377. // null, //corrreplwhat
  2378. // null, //corrreplwith
  2379. // null, //separator
  2380. // "", //api url
  2381. // "", //postdata
  2382. // /()/, //linkregex
  2383. // //liveregex
  2384. // //deadregex
  2385. // //unavaregex
  2386. // null //function delegate
  2387. // )
  2388. // }
  2389. addGenericType1();
  2390. addGenericType2();
  2391.  
  2392. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2393. {
  2394. addHost(
  2395. "myvdrive,fileserving", //hostname
  2396. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2397. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2398. null, //blocksize
  2399. null, //corrmatch
  2400. null, //corrreplwhat
  2401. null, //corrreplwith
  2402. null, //separator
  2403. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2404. "links=", //postdata
  2405. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2406. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2407. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2408. null, //unavaregex
  2409. null //function delegate
  2410. )
  2411. }
  2412. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2413. {
  2414. addHost(
  2415. "hackerbox", //hostname
  2416. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2417. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2418. null, //blocksize
  2419. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2420. null, //corrreplwhat
  2421. null, //corrreplwith
  2422. null, //separator
  2423. "http://host.hackerbox.org/checkfiles.html", //api url
  2424. "op=checkfiles&process=Check+URLs&list=", //postdata
  2425. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2426. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2427. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2428. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2429. null //function delegate
  2430. )
  2431. }
  2432. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2433. {
  2434. addHost(
  2435. "hellshare", //hostname
  2436. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2437. "//a[contains(@href,'hellshare.')]", //xpath
  2438. 48, //blocksize
  2439. null, //corrmatch
  2440. null, //corrreplwhat
  2441. null, //corrreplwith
  2442. null, //separator
  2443. null, //api url
  2444. null, //postdata
  2445. null, //linkregex
  2446. null, //liveregex
  2447. null, //deadregex
  2448. null, //unavaregex
  2449. hellshareBulkCheck //function delegate
  2450. )
  2451. }
  2452. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2453. {
  2454. addHost(
  2455. "ncrypt", //hostname
  2456. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2457. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2458. 100000, //blocksize
  2459. null, //corrmatch
  2460. null, //corrreplwhat
  2461. null, //corrreplwith
  2462. null, //separator
  2463. null,
  2464. null,
  2465. null,
  2466. null,
  2467. null,
  2468. null,
  2469. ncryptBulkCheck //function delegate
  2470. )
  2471. }
  2472. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2473. {
  2474. addHost(
  2475. "uploadrocket", //hostname
  2476. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2477. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2478. null, //blocksize
  2479. null, //corrmatch
  2480. null, //corrreplwhat
  2481. null, //corrreplwith
  2482. "\n", //separator
  2483. 'http://uploadrocket.net/?op=checkfiles',
  2484. 'op=checkfiles&process=Check+URLs&list=',
  2485. /uploadrocket.net\/(\w+)/,
  2486. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2487. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2488. null,
  2489. null //function delegate
  2490. )
  2491. }
  2492. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2493. {
  2494. addHost(
  2495. "k2s,keep2s,keep2share",
  2496. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2497. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2498. 100000, //blocksize
  2499. null, //corrmatch
  2500. null, //corrreplwhat
  2501. null, //corrreplwith
  2502. null, //separator
  2503. null,
  2504. null,
  2505. null,
  2506. null,
  2507. null,
  2508. null,
  2509. k2sBulkCheck //function delegate
  2510. )
  2511. }
  2512. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2513. {
  2514. addHost(
  2515. "tezfiles",
  2516. "(?:tezfiles\\.com)\/\\w+",
  2517. "//a[contains(@href,'tezfiles.com')]",
  2518. 100000, //blocksize
  2519. null, //corrmatch
  2520. null, //corrreplwhat
  2521. null, //corrreplwith
  2522. null, //separator
  2523. null,
  2524. null,
  2525. null,
  2526. null,
  2527. null,
  2528. null,
  2529. k2sBulkCheck //function delegate
  2530. )
  2531. }
  2532. if (GM_getValue("Check_fboom_dot_me_links", false))
  2533. {
  2534. addHost(
  2535. "fboom,fileboom",
  2536. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2537. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2538. 100000, //blocksize
  2539. null, //corrmatch
  2540. null, //corrreplwhat
  2541. null, //corrreplwith
  2542. null, //separator
  2543. null,
  2544. null,
  2545. null,
  2546. null,
  2547. null,
  2548. null,
  2549. fboomBulkCheck //function delegate
  2550. )
  2551. }
  2552. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2553. {
  2554. addHost(
  2555. "1fichier,dl4free",
  2556. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2557. "//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/?')]",
  2558. 100000, //blocksize
  2559. null, //corrmatch
  2560. null, //corrreplwhat
  2561. null, //corrreplwith
  2562. null, //separator
  2563. null,
  2564. null,
  2565. null,
  2566. null,
  2567. null,
  2568. null,
  2569. dl4free_1fichier_BulkCheck //function delegate
  2570. )
  2571. }
  2572. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2573. {
  2574. addHost(
  2575. "depositfiles,dfiles",
  2576. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2577. "//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/')]",
  2578. 100000, //blocksize
  2579. null, //corrmatch
  2580. null, //corrreplwhat
  2581. null, //corrreplwith
  2582. null, //separator
  2583. null,
  2584. null,
  2585. null,
  2586. null,
  2587. null,
  2588. null,
  2589. depositfilesBulkCheck //function delegate
  2590. )
  2591. }
  2592. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2593. {
  2594. addHost(
  2595. "filesflash", //hostname
  2596. "filesflash\\.com\/\\w+", //linkregex
  2597. "//a[contains(@href,'filesflash.com')]", //xpath
  2598. null, //blocksize
  2599. null, //corrmatch
  2600. /http:\/\//, //corrreplwhat
  2601. '', //corrreplwith
  2602. null, //separator
  2603. 'http://filesflash.com/checklinks.php',
  2604. 'submit=Go&links=',
  2605. /filesflash\.com\/(\w+)/,
  2606. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2607. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2608. null,
  2609. null //function delegate
  2610. )
  2611. }
  2612. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2613. {
  2614. addHost(
  2615. "jumbofiles", //hostname
  2616. "jumbofiles\\.com\/\\w+", //linkregex
  2617. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2618. null, //blocksize
  2619. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2620. null, //corrreplwhat
  2621. null, //corrreplwith
  2622. null, //separator
  2623. "http://jumbofiles.com/checkfiles.html", //api url
  2624. "op=checkfiles&process=Check+URLs&list=", //postdata
  2625. /(jumbofiles\.com\/\w+)/, //linkregex
  2626. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2627. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2628. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2629. null //function delegate
  2630. )
  2631. }
  2632. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2633. {
  2634. addHost(
  2635. "edisk", //hostname
  2636. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2637. "//a[contains(@href,'edisk.')]", //xpath
  2638. null, //blocksize
  2639. null, //corrmatch
  2640. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2641. 'edisk.cz/stahni', //corrreplwith
  2642. null, //separator
  2643. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2644. 'submitBtn=Zkontrolovat&checkFiles=',
  2645. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2646. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2647. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2648. null,
  2649. null //function delegate
  2650. )
  2651. }
  2652. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2653. {
  2654. GM_xmlhttpRequest( //age check skip
  2655. {
  2656. method: 'POST',
  2657. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2658. headers: {
  2659. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2660. 'Content-type': 'application/x-www-form-urlencoded',
  2661. 'Referer': ""
  2662. }
  2663. });
  2664. addHost(
  2665. "bezvadata", //hostname
  2666. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2667. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2668. null, //blocksize
  2669. null, //corrmatch
  2670. null, //corrreplwhat
  2671. null, //corrreplwith
  2672. null, //separator
  2673. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2674. 'zkontrolovat=Zkontrolovat&odkazy=',
  2675. /(bezvadata\.cz\/stahnout\/\d+)/,
  2676. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2677. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2678. null,
  2679. null //function delegate
  2680. )
  2681. }
  2682. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2683. {
  2684. addHost(
  2685. "linkcrypt", //hostname
  2686. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2687. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2688. 100000, //blocksize
  2689. null, //corrmatch
  2690. null, //corrreplwhat
  2691. null, //corrreplwith
  2692. null, //separator
  2693. null,
  2694. null,
  2695. null,
  2696. null,
  2697. null,
  2698. null,
  2699. linkcryptBulkCheck //function delegate
  2700. )
  2701. }
  2702. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2703. {
  2704. addHost(
  2705. "linksave", //hostname
  2706. "linksave\\.in\/\\w+", //linkregex
  2707. "//a[contains(@href,'linksave.in')]", //xpath
  2708. 100000, //blocksize
  2709. null, //corrmatch
  2710. null, //corrreplwhat
  2711. null, //corrreplwith
  2712. null, //separator
  2713. null,
  2714. null,
  2715. null,
  2716. null,
  2717. null,
  2718. null,
  2719. linksaveBulkCheck //function delegate
  2720. )
  2721. } */
  2722. if (GM_getValue("Check_videobb_dot_com_links", false))
  2723. {
  2724. addHost(
  2725. "videobb", //hostname
  2726. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2727. "//a[contains(@href,'videobb.com')]", //xpath
  2728. null, //blocksize
  2729. null, //corrmatch
  2730. /watch_video\.php\?v=/, //corrreplwhat
  2731. 'video/', //corrreplwith
  2732. null, //separator
  2733. 'http://www.videobb.com/link_checker.php',
  2734. 'links=',
  2735. /videobb\.com\/video\/(\w+)/,
  2736. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2737. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2738. null,
  2739. null //function delegate
  2740. )
  2741. }
  2742. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2743. {
  2744. addHost(
  2745. "cramit,cramitin", //hostname
  2746. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2747. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2748. null, //blocksize
  2749. null, //corrmatch
  2750. null, //corrreplwhat
  2751. null, //corrreplwith
  2752. null, //separator
  2753. 'http://cramit.in/checkfiles.html',
  2754. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2755. /(cramit(?:\.in|in\.net)\/\w+)/,
  2756. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2757. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2758. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2759. null //function delegate
  2760. )
  2761. }
  2762. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2763. {
  2764. addHost(
  2765. "turbobit", //hostname
  2766. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2767. "//a[contains(@href,'turbobit.')]", //xpath
  2768. null, //blocksize
  2769. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2770. null, //corrreplwhat
  2771. null, //corrreplwith
  2772. "\n", //separator
  2773. 'http://turbobit.net/linkchecker/csv',
  2774. 'links_to_check=',
  2775. /(turbobit\.(?:net|pl)\/\w+)/,
  2776. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2777. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2778. null,
  2779. null //function delegate
  2780. )
  2781. } */
  2782. if (GM_getValue("Check_filerio_dot_com_links", false))
  2783. {
  2784. addHost(
  2785. "filekeen,filerio", //hostname
  2786. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2787. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2788. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2789. null, //blocksize
  2790. null, //corrmatch
  2791. null, //corrreplwhat
  2792. null, //corrreplwith
  2793. null, //separator
  2794. 'http://filerio.in/checkfiles.html',
  2795. 'op=checkfiles&process=Check+URLs&list=',
  2796. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2797. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2798. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2799. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2800. null //function delegate
  2801. )
  2802. }
  2803. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2804. {
  2805. addHost(
  2806. "share-online,egoshare", //hostname
  2807. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2808. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2809. null, //blocksize
  2810. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2811. null, //corrreplwhat
  2812. null, //corrreplwith
  2813. "\n", //separator
  2814. 'http://api.share-online.biz/linkcheck.php',
  2815. 'links=',
  2816. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2817. /\w+;OK/g,
  2818. /\w+;(?:NOTFOUND|DELETED)/g,
  2819. null,
  2820. null //function delegate
  2821. )
  2822. }
  2823. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2824. {
  2825. addHost(
  2826. "quickshare", //hostname
  2827. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2828. "//a[contains(@href,'quickshare.cz')]", //xpath
  2829. null, //blocksize
  2830. null, //corrmatch
  2831. null, //corrreplwhat
  2832. null, //corrreplwith
  2833. null, //separator
  2834. 'http://www.quickshare.cz/nastroje/link-checker',
  2835. 'linky=',
  2836. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2837. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2838. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2839. null,
  2840. null //function delegate
  2841. )
  2842. } */
  2843. if (GM_getValue("Check_oboom_dot_com_links", false))
  2844. {
  2845. addHost(
  2846. "oboom", //hostname
  2847. "oboom\\.com\/#?\\w{8}", //linkregex
  2848. "//a[contains(@href,'oboom.com/')]", //xpath
  2849. null, //blocksize
  2850. /oboom\.com\/#?(\w{8})/, //corrmatch
  2851. null, //corrreplwhat
  2852. null, //corrreplwith
  2853. null, //separator
  2854. null,
  2855. null,
  2856. null,
  2857. null, //liveregex
  2858. null, //deadregex
  2859. null,
  2860. oboomBulk //function delegate
  2861. )
  2862. }
  2863. if (GM_getValue("Check_mega_dot_nz_links", false))
  2864. {
  2865. addHost(
  2866. "mega",
  2867. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2868. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2869. 100000, //blocksize
  2870. null, //corrmatch
  2871. null, //corrreplwhat
  2872. null, //corrreplwith
  2873. null, //separator
  2874. null,
  2875. null,
  2876. null,
  2877. null,
  2878. null,
  2879. null,
  2880. megaBulkCheck //function delegate
  2881. )
  2882. }
  2883.  
  2884. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2885.  
  2886. if (GM_getValue("Check_extabit_dot_com_links", false))
  2887. {
  2888. addHost(
  2889. "extabit", //hostname
  2890. "extabit\\.com\/file\/\\w+", //linkregex
  2891. "//a[contains(@href,'extabit.com')]", //xpath
  2892. null, //blocksize
  2893. null, //corrmatch
  2894. null, //corrreplwhat
  2895. null, //corrreplwith
  2896. "\n", //separator
  2897. "http://extabit.com/linkchecker.jsp", //api url
  2898. "url=", //postdata
  2899. /extabit\.com\/(file\/\w+)/, //linkregex
  2900. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2901. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2902. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2903. extabitBulkCheck //function delegate
  2904. )
  2905. }
  2906. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2907. {
  2908. addHost(
  2909. "junocloud", //hostname
  2910. "junocloud\\.me\/\\w+", //linkregex
  2911. "//a[contains(@href,'junocloud.me')]", //xpath
  2912. null, //blocksize
  2913. null, //corrmatch
  2914. null, //corrreplwhat
  2915. null, //corrreplwith
  2916. "\n", //separator
  2917. "http://junocloud.me/checkfiles.html", //api url
  2918. "op=checkfiles&process=Check+URLs&list=", //postdata
  2919. /(junocloud\.me\/\w+)/, //linkregex
  2920. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2921. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2922. null, //unavaregex
  2923. null //function delegate
  2924. )
  2925. }
  2926. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2927. {
  2928. addHost(
  2929. "webshare", //hostname
  2930. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2931. "//a[contains(@href,'webshare.cz')]", //xpath
  2932. 100000, //blocksize
  2933. null, //corrmatch
  2934. null, //corrreplwhat
  2935. null, //corrreplwith
  2936. null, //separator
  2937. null, //api url
  2938. null, //postdata
  2939. null, //linkregex
  2940. null, //liveregex
  2941. null, //deadregex
  2942. null, //unavaregex
  2943. webshareBulkCheck //function delegate
  2944. )
  2945. }
  2946. /////////////////////////////
  2947. // Common function delegate to send links to get checked by host linkchecker
  2948. /////////////////////////////
  2949. // If you define a new delegate, you may use following properties
  2950. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2951. // this.apiUrl [string] API or web linkchecker URL
  2952. // this.postData [string] POSTDATA for POST request
  2953. // this.resLiveRegex [regex] matches live substrings in the request response
  2954. // this.resDeadRegex [regex] matches dead substrings in the request response
  2955. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2956. //
  2957. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2958. //
  2959. // See the code below for standard bulkcheck handling reference.
  2960. //////////////////////////////
  2961. function genBulkCheck()
  2962. {
  2963. var blockIdx = this.links.length;
  2964. while (blockIdx--)
  2965. {
  2966. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2967. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2968. }
  2969. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2970. {
  2971. GM_xmlhttpRequest(
  2972. {
  2973. method: 'POST',
  2974. url: api,
  2975. headers: {
  2976. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2977. 'Content-type': 'application/x-www-form-urlencoded',
  2978. 'Referer': api,
  2979. 'X-Requested-With': 'XMLHttpRequest'
  2980. },
  2981. data: postData + encodeURIComponent(links),
  2982. onload: function (result)
  2983. {
  2984. var res = result.responseText;
  2985. // GM_log(res);
  2986. var i;
  2987.  
  2988. var livelinks = res.match(liveRegex);
  2989. var deadlinks = res.match(deadRegex);
  2990. // GM_log(livelinks);
  2991. // GM_log(deadlinks);
  2992. if (livelinks != null)
  2993. {
  2994. i = livelinks.length - 1;
  2995. do
  2996. {
  2997. livelinks[i] = livelinks[i].match(linkRegex)[1];
  2998. }
  2999. while (i--);
  3000. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3001. }
  3002.  
  3003. if (deadlinks != null)
  3004. {
  3005. i = deadlinks.length - 1;
  3006. do
  3007. {
  3008. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3009. }
  3010. while (i--);
  3011. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3012. }
  3013.  
  3014. if (unavaRegex != null)
  3015. {
  3016. var unavalinks = res.match(unavaRegex);
  3017. if (unavalinks)
  3018. {
  3019. i = unavalinks.length - 1;
  3020. do
  3021. {
  3022. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3023. }
  3024. while (i--);
  3025. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3026. }
  3027. }
  3028. }
  3029. });
  3030. }
  3031. }
  3032. //specialized bulkchecking handlers follow
  3033. function webshareBulkCheck()
  3034. {
  3035. var arr = this.links[0].split("\r\n");
  3036. var i = arr.length;
  3037. while(i--)
  3038. {
  3039. postRequest(arr[i]);
  3040. }
  3041. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3042. function postRequest(wsLink)
  3043. {
  3044. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3045. GM_xmlhttpRequest(
  3046. {
  3047. method: 'POST',
  3048. url: "http://webshare.cz/api/file_info/",
  3049. headers: {
  3050. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3051. 'Content-type': 'application/x-www-form-urlencoded',
  3052. 'Referer': "",
  3053. },
  3054. data: "wst=&ident=" + id,
  3055. onload: function (result)
  3056. {
  3057. var res = result.responseText;
  3058. if (res.match(/<name>.+?<\/name>/))
  3059. {
  3060. DisplayTheCheckedLinks([id], 'alive_link');
  3061. }
  3062. else
  3063. {
  3064. DisplayTheCheckedLinks([id], 'adead_link');
  3065. }
  3066. }
  3067. });
  3068. }
  3069. }
  3070. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3071. //extabit also doesn't like requests in fast succession, so some delays are added.
  3072. function extabitBulkCheck()
  3073. {
  3074. var timeoutDelay = 0;
  3075. var blockIdx = this.links.length;
  3076. while (blockIdx--)
  3077. {
  3078. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3079. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3080. }
  3081. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3082. {
  3083. GM_xmlhttpRequest(
  3084. {
  3085. method: 'POST',
  3086. url: api,
  3087. headers: {
  3088. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3089. 'Content-type': 'application/x-www-form-urlencoded',
  3090. 'Referer': api,
  3091. 'X-Requested-With': 'XMLHttpRequest'
  3092. },
  3093. data: postData + encodeURIComponent(links),
  3094. onload: function (result)
  3095. {
  3096. var res = result.responseText;
  3097. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3098. {
  3099. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3100. {
  3101. //GM_log(tryID + ': ' + link);
  3102. GM_xmlhttpRequest(
  3103. {
  3104. method: 'GET',
  3105. url: link,
  3106. 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': ""},
  3107. onload: function(result2)
  3108. {
  3109. var res2 = result2.responseText;
  3110. var res2Status = result.status;
  3111. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3112. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3113. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3114. {
  3115. if (tryID < 7)
  3116. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3117. else
  3118. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3119. }
  3120. }
  3121. });
  3122. }
  3123. //split the hrefs and check them one by one
  3124. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3125. links = links.split('\n');
  3126. var i = links.length;
  3127. while (i--)
  3128. {
  3129. if (links[i])
  3130. {
  3131. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3132. timeoutDelay += 500;
  3133. }
  3134. }
  3135. return;
  3136. }
  3137. var i;
  3138.  
  3139. var livelinks = res.match(liveRegex);
  3140. var deadlinks = res.match(deadRegex);
  3141. if (livelinks != null)
  3142. {
  3143. i = livelinks.length - 1;
  3144. do
  3145. {
  3146. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3147. }
  3148. while (i--);
  3149. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3150. }
  3151.  
  3152. if (deadlinks != null)
  3153. {
  3154. i = deadlinks.length - 1;
  3155. do
  3156. {
  3157. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3158. }
  3159. while (i--);
  3160. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3161. }
  3162.  
  3163. if (unavaRegex != null)
  3164. {
  3165. var unavalinks = res.match(unavaRegex);
  3166. if (unavalinks)
  3167. {
  3168. i = unavalinks.length - 1;
  3169. do
  3170. {
  3171. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3172. }
  3173. while (i--);
  3174. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3175. }
  3176. }
  3177. }
  3178. });
  3179. }
  3180. }
  3181. function k2sBulkCheck()
  3182. {
  3183. var arr = this.links[0].split("\r\n");
  3184. var i = arr.length;
  3185. c=0;
  3186. arrIDs=[];
  3187. while(i--)
  3188. {
  3189. id = arr[i].match(/\/file\/(\w+)/)[1];
  3190. if (id=='info')
  3191. {
  3192. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3193. continue;
  3194. }
  3195. k2salreadyexist=false;
  3196. for (j=0;j<arrIDs.length;j++)
  3197. {
  3198. if (arrIDs[j]==id)
  3199. {
  3200. k2salreadyexist=true;
  3201. break;
  3202. }
  3203. }
  3204. if (k2salreadyexist) continue;
  3205. arrIDs.push(id);
  3206. c++;
  3207. setTimeout(k2sRequest,c*500,arr[i]);
  3208. }
  3209. }
  3210. function k2sRequest(K2SLink)
  3211. {
  3212. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3213. GM_xmlhttpRequest(
  3214. {
  3215. method: 'GET',
  3216. url: K2SLink,
  3217. headers: {
  3218. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3219. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3220. 'Referer': ''
  3221. },
  3222. onload: function (result)
  3223. {
  3224. var res = result.responseText;
  3225. K2Dom='k2s.cc';
  3226. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3227. K2SLink2='http://'+K2Dom+'/file/'+id;
  3228.  
  3229. 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'))
  3230. {
  3231. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3232. return;
  3233. }
  3234. if (res.match('method="post">Displaying'))
  3235. {
  3236. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3237. return;
  3238. }
  3239. if (res.match('Premium only'))
  3240. {
  3241. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3242. return;
  3243. }
  3244. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3245. {
  3246. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3247. slID=slow_id.exec(res)[1];
  3248. GM_xmlhttpRequest(
  3249. {
  3250. method: 'POST',
  3251. url: K2SLink2,
  3252. headers: {
  3253. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3254. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3255. 'Content-Type': 'application/x-www-form-urlencoded',
  3256. 'Referer': K2SLink
  3257. },
  3258. data: 'slow_id='+slID+'&yt0=',
  3259. onload: function (result)
  3260. {
  3261. var newres = result.responseText;
  3262. newoversizedtest=new RegExp("Free user can't download large files.");
  3263. if (newoversizedtest.test(newres))
  3264. {
  3265. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3266. return;
  3267. }
  3268. else
  3269. {
  3270. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3271. return;
  3272. }
  3273. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3274. return;
  3275. }
  3276. });
  3277. /////////////////////end additional check for oversized links
  3278. return;
  3279. }
  3280. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3281. return;
  3282. },
  3283. onerror: function ()
  3284. {
  3285. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3286. return;
  3287. }
  3288. });
  3289. }
  3290. function fboomBulkCheck()
  3291. {
  3292. var arr = this.links[0].split("\r\n");
  3293. var i = arr.length;
  3294. c=0;
  3295. arrIDs=[];
  3296. while(i--)
  3297. {
  3298. id = arr[i].match(/\/file\/(\w+)/)[1];
  3299. if (id=='info')
  3300. {
  3301. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3302. continue;
  3303. }
  3304. fbalreadyexist=false;
  3305. for (j=0;j<arrIDs.length;j++)
  3306. {
  3307. if (arrIDs[j]==id)
  3308. {
  3309. fbalreadyexist=true;
  3310. break;
  3311. }
  3312. }
  3313. if (fbalreadyexist) continue;
  3314. arrIDs.push(id);
  3315. c++;
  3316. setTimeout(fboomRequest,c*500,arr[i]);
  3317. }
  3318. }
  3319. function fboomRequest(FBoomLink)
  3320. {
  3321. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3322. FBoomLink2='http://fboom.me/file/'+id;
  3323. GM_xmlhttpRequest(
  3324. {
  3325. method: 'GET',
  3326. url: FBoomLink,
  3327. headers: {
  3328. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3329. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3330. 'Referer': ''
  3331. },
  3332. onload: function (result)
  3333. {
  3334. var res = result.responseText;
  3335. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3336. {
  3337. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3338. return;
  3339. }
  3340. if (res.match('method="post">Displaying'))
  3341. {
  3342. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3343. return;
  3344. }
  3345. if (res.match('only for premium members'))
  3346. {
  3347. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3348. return;
  3349. }
  3350. if (res.match('id="download-free" href="#"'))
  3351. {
  3352. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3353. slID=slow_id.exec(res)[1];
  3354. GM_xmlhttpRequest(
  3355. {
  3356. method: 'POST',
  3357. url: FBoomLink2,
  3358. headers: {
  3359. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3360. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3361. 'Content-Type': 'application/x-www-form-urlencoded',
  3362. 'Referer': FBoomLink
  3363. },
  3364. data: 'slow_id='+slID,
  3365. onload: function (result)
  3366. {
  3367. var newres = result.responseText;
  3368. newoversizedtest=new RegExp("Downloading is not possible");
  3369. if (newoversizedtest.test(newres))
  3370. {
  3371. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3372. return;
  3373. }
  3374. else
  3375. {
  3376. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3377. return;
  3378. }
  3379. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3380. return;
  3381. }
  3382. });
  3383. /////////////////////end additional check for oversized links
  3384. return;
  3385. }
  3386. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3387. return;
  3388. },
  3389. onerror: function ()
  3390. {
  3391. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3392. return;
  3393. }
  3394. });
  3395. }
  3396. function dl4free_1fichier_BulkCheck()
  3397. {
  3398. var arr = this.links[0].split("\r\n");
  3399. var i = arr.length;
  3400. while(i--)
  3401. {
  3402. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3403. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3404. gethead_dl4free_1fichier(arr[i]);
  3405. }
  3406. }
  3407. function gethead_dl4free_1fichier(link)
  3408. {
  3409. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3410. GM_xmlhttpRequest(
  3411. {
  3412. method: 'HEAD',
  3413. url: link,
  3414. headers: {
  3415. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3416. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3417. 'Referer': ''
  3418. },
  3419. onload: function (result)
  3420. {
  3421. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3422. {
  3423. DisplayTheCheckedLinks([id], 'alive_link');
  3424. return;
  3425. }
  3426. else
  3427. {
  3428. getlink_dl4free_1fichier(link);
  3429. }
  3430. return;
  3431. },
  3432. onerror: function ()
  3433. {
  3434. DisplayTheCheckedLinks([id], 'unava_link');
  3435. }
  3436. });
  3437. }
  3438. function getlink_dl4free_1fichier(link)
  3439. {
  3440. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3441. GM_xmlhttpRequest(
  3442. {
  3443. method: 'GET',
  3444. url: link,
  3445. headers: {
  3446. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3447. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3448. 'Referer': ''
  3449. },
  3450. onload: function (result)
  3451. {
  3452. var res = result.responseText;
  3453. 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');
  3454. if (deadRegex.test(res))
  3455. {
  3456. DisplayTheCheckedLinks([id], 'adead_link');
  3457. return;
  3458. }
  3459. premiumRegex=new RegExp('only for premium users');
  3460. if (premiumRegex.test(res))
  3461. {
  3462. DisplayTheCheckedLinks([id], 'prem_link');
  3463. return;
  3464. }
  3465. 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="');
  3466. if (liveRegex.test(res))
  3467. {
  3468. DisplayTheCheckedLinks([id], 'alive_link');
  3469. return;
  3470. }
  3471. DisplayTheCheckedLinks([id], 'unava_link');
  3472. },
  3473. onerror: function ()
  3474. {
  3475. DisplayTheCheckedLinks([id], 'unava_link');
  3476. }
  3477. });
  3478. }
  3479. function depositfilesBulkCheck()
  3480. {
  3481. var arr = this.links[0].split("\r\n");
  3482. var i = arr.length;
  3483. var seqno = Math.floor(Math.random()*1000000000);
  3484. while(i--)
  3485. {
  3486. DFpostRequest(arr[i]);
  3487. }
  3488. }
  3489. function DFpostRequest(DFLink)
  3490. {
  3491. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3492. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3493. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3494. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3495. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3496. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3497. GM_xmlhttpRequest(
  3498. {
  3499. method: "GET",
  3500. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3501. headers: {
  3502. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3503. 'Content-Type': 'application/x-www-form-urlencoded',
  3504. 'Referer': ""
  3505. },
  3506. onload: function (result)
  3507. {
  3508. var res = result.responseText;
  3509. if (res.match('(?:no_file|file_ban)'))
  3510. {
  3511. DisplayTheCheckedLinks([id], 'adead_link');
  3512. return;
  3513. }
  3514. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3515. {
  3516. DisplayTheCheckedLinks([id], 'alive_link');
  3517. return;
  3518. }
  3519. DisplayTheCheckedLinks([id], 'unava_link');
  3520. }
  3521. });
  3522. }
  3523.  
  3524. function megaBulkCheck()
  3525. {
  3526. var arr = this.links[0].split("\r\n");
  3527. var i = arr.length;
  3528. var seqno = Math.floor(Math.random()*1000000000);
  3529. while(i--)
  3530. {
  3531. postRequest(arr[i]);
  3532. }
  3533. function postRequest(megaLink)
  3534. {
  3535. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3536. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3537. GM_xmlhttpRequest(
  3538. {
  3539. method: "POST",
  3540. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3541. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3542. headers: {
  3543. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3544. 'Content-Type': 'application/xml',
  3545. 'Referer': "https://mega.co.nz/"
  3546. },
  3547. onload: function (result)
  3548. {
  3549. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3550. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3551. {
  3552.  
  3553. DisplayTheCheckedLinks([id], 'adead_link');
  3554. }
  3555. if (res.at)
  3556. {
  3557. DisplayTheCheckedLinks([id], 'alive_link');
  3558. }
  3559. if (res.e == "ETEMPUNAVAIL")
  3560. {
  3561. DisplayTheCheckedLinks([id], 'unava_link');
  3562. }
  3563. }
  3564. });
  3565. }
  3566.  
  3567. }
  3568.  
  3569. function oboomBulk() {
  3570. var a = [], b = [], c = [];
  3571. var array = this.links;
  3572.  
  3573. GM_xmlhttpRequest({
  3574. method: 'GET',
  3575. url: 'https://www.oboom.com/1/guestsession',
  3576. headers: {
  3577. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3578. 'Content-type': 'application/x-www-form-urlencoded',
  3579. 'Referer': 'https://www.oboom.com',
  3580. 'X-Requested-With': 'XMLHttpRequest'
  3581. },
  3582. onload: function(result) {
  3583. var blockIdx = array.length;
  3584. var token = JSON.parse(result.responseText)[1];
  3585. while (blockIdx--) {
  3586. startCheck(array[blockIdx].split('\r\n'), token);
  3587. }
  3588. }
  3589. });
  3590.  
  3591. function startCheck(links, token) {
  3592. GM_xmlhttpRequest({
  3593. method: 'POST',
  3594. url: "https://api.oboom.com/1/info",
  3595. headers: {
  3596. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3597. 'Content-type': 'application/x-www-form-urlencoded',
  3598. 'Referer': 'https://www.oboom.com/',
  3599. 'X-Requested-With': 'XMLHttpRequest'
  3600. },
  3601. data: "token=" + token + "&items=" + links.join(","),
  3602. onload: function(result) {
  3603. var res = JSON.parse(result.responseText)[1];
  3604. var i = res.length, s;
  3605.  
  3606. while (i--) {
  3607. s = res[i].state;
  3608. if (s == 'online') a.push(res[i].id);
  3609. 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);
  3610. else c.push(res[i].id);
  3611. }
  3612.  
  3613. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3614. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3615. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3616. }
  3617. });
  3618. }
  3619. }
  3620. /* function linksaveBulkCheck()
  3621. {
  3622. var arr = this.links[0].split("\r\n");
  3623. var i = arr.length;
  3624. while(i--)
  3625. {
  3626. postRequest(arr[i]);
  3627. }
  3628. function postRequest(lsLink)
  3629. {
  3630. GM_xmlhttpRequest(
  3631. {
  3632. method: "GET",
  3633. url: lsLink + '-t.jpg',
  3634. headers: {
  3635. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3636. 'Accept': 'text/xml',
  3637. 'Referer': ""
  3638. },
  3639. onload: function (result)
  3640. {
  3641. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3642. if (imgLen == 965) //online
  3643. {
  3644. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3645. }
  3646.  
  3647. if (imgLen == 972) //offline
  3648. {
  3649. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3650. }
  3651. if (imgLen == 978) //unava
  3652. {
  3653. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3654. }
  3655. }
  3656. });
  3657. }
  3658.  
  3659. } */
  3660. function linkcryptBulkCheck()
  3661. {
  3662. var arr = this.links[0].split("\r\n");
  3663. var i = arr.length;
  3664. while(i--)
  3665. {
  3666. postRequest(arr[i]);
  3667. }
  3668. function postRequest(lcLink)
  3669. {
  3670. GM_xmlhttpRequest(
  3671. {
  3672. method: "GET",
  3673. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3674. headers: {
  3675. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3676. 'Accept': 'text/xml',
  3677. 'Referer': ""
  3678. },
  3679. onload: function (result)
  3680. {
  3681. var res = result.responseText;
  3682. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3683. {
  3684. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3685. return;
  3686. }
  3687. if (res.match(/folderStatus>1/)) //Online status
  3688. {
  3689. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3690. }
  3691. else
  3692. {
  3693. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3694. }
  3695. }
  3696. });
  3697. }
  3698. }
  3699.  
  3700. function megashareBulkCheck()
  3701. {
  3702. var arr = this.links[0].split("\r\n");
  3703. var i = arr.length;
  3704. while(i--)
  3705. {
  3706. postRequest(arr[i]);
  3707. }
  3708. function postRequest(msLink)
  3709. {
  3710. GM_xmlhttpRequest(
  3711. {
  3712. method: "GET",
  3713. url: msLink,
  3714. headers: {
  3715. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3716. 'Content-Type': 'application/x-www-form-urlencoded',
  3717. 'Referer': ""
  3718. },
  3719. onload: function (result)
  3720. {
  3721. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3722. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3723. if ((prZVal == null) || (btn3Name == null))
  3724. {
  3725. return;
  3726. }
  3727. GM_xmlhttpRequest(
  3728. {
  3729. method: "POST",
  3730. url: msLink,
  3731. headers: {
  3732. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3733. 'Content-Type': 'application/x-www-form-urlencoded',
  3734. 'Referer': ""
  3735. },
  3736. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3737. onload: function (result)
  3738. {
  3739. var res = result.responseText;
  3740. if (res.match(/<div id="err">/))
  3741. {
  3742. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3743. }
  3744. else
  3745. {
  3746. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3747. }
  3748. }
  3749. });
  3750. }
  3751. });
  3752. }
  3753. }
  3754. function ncryptBulkCheck()
  3755. {
  3756. var arr = this.links[0].split("\r\n");
  3757. var i = arr.length;
  3758. while(i--)
  3759. {
  3760. postRequest(arr[i]);
  3761. }
  3762. function postRequest(ncryptLink)
  3763. {
  3764. GM_xmlhttpRequest(
  3765. {
  3766. method: "POST",
  3767. url: 'http://ncrypt.in/api_status.php',
  3768. headers: {
  3769. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3770. 'Content-Type': 'application/x-www-form-urlencoded',
  3771. 'Referer': ""
  3772. },
  3773. data: 'link=' + encodeURI(ncryptLink),
  3774. onload: function (result)
  3775. {
  3776. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3777. switch(foldStatus + ""){
  3778. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3779. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3780. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3781. }
  3782. }
  3783. });
  3784. }
  3785. }
  3786. function hellshareBulkCheck()
  3787. {
  3788. var links = this.links;
  3789. GM_xmlhttpRequest(
  3790. {
  3791. method: "GET",
  3792. url: 'http://www.hellshare.com',
  3793. headers: {
  3794. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3795. 'Accept': 'text/xml',
  3796. 'Referer': ""
  3797. },
  3798. onload: function (result)
  3799. {
  3800. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3801.  
  3802. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3803. if (domain == 'sk')
  3804. loc = 'check=Skontrolova%C5%A5&links=';
  3805. if (domain == 'com')
  3806. loc = 'check=Check+availability&links=';
  3807. if (domain == 'hu')
  3808. loc = 'check=Kontrol%C3%A1lj&links=';
  3809. if (domain == 'pl')
  3810. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3811.  
  3812. genBulkCheck.call({ links: links,
  3813. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3814. postData: loc,
  3815. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3816. 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,
  3817. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3818. resUnavaRegex: null
  3819. });
  3820. }
  3821. });
  3822. }
  3823. /**
  3824. * Displays check result
  3825. * @param {Array} Array of links or link fragments.
  3826. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3827. */
  3828. function DisplayTheCheckedLinks(links, resultStatus)
  3829. {
  3830. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3831. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3832. if (Do_not_linkify_DL_links)
  3833. { //TODO into separate jQuery function
  3834. $links.replaceWith(function(){
  3835. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3836. });
  3837. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3838. }
  3839. $links.removeClass().addClass(resultStatus);
  3840. $links.each(function() {
  3841. this.href = Ref_anonymize_service + $(this).attr("href");
  3842. });
  3843. switch(resultStatus)
  3844. {
  3845. case "alive_link": cLinksAlive += $links.length;
  3846. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3847. break;
  3848. case "adead_link": cLinksDead += $links.length;
  3849. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3850. break;
  3851. case "prem_link": cLinksprem += $links.length;
  3852. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3853. break;
  3854. case "unava_link": cLinksUnava += $links.length; break;
  3855. default:
  3856. }
  3857. cLinksProcessed += $links.length;
  3858. }
  3859. }
  3860. // starts bulkchecking
  3861. //
  3862. // params
  3863. // filterId [string] restricts link detection with passed id attribute
  3864. function startBulkCheck(filterId)
  3865. {
  3866. var cHosts = bulkHosts.length;
  3867. if (cHosts == 0) //no filehostings selected
  3868. return;
  3869. // STEP 1 linkify the links
  3870. var linkifyRegex = '';
  3871. var hostIdx = cHosts;
  3872. while(hostIdx--)
  3873. {
  3874. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3875. }
  3876. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3877. linkify(linkifyRegex);
  3878. //
  3879. //STEP 2 detect link objects
  3880. var xpathAll = '';
  3881. var hostIdx = cHosts;
  3882. while(hostIdx--)
  3883. {
  3884. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3885. }
  3886. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3887. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3888. if (filterId != null) //insert id restriction in the xpath
  3889. {
  3890. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3891. }
  3892. else
  3893. {
  3894. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3895. }
  3896. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3897. if (filterId == null)
  3898. {
  3899. cLinksTotal += links.snapshotLength;
  3900. }
  3901. //
  3902. //STEP 3 bind links with hostings
  3903. var linkIdx = links.snapshotLength;
  3904. var href = null;
  3905. if (linkIdx == 0) // no links found
  3906. return;
  3907. var name;
  3908. while (linkIdx--)
  3909. {
  3910. href = links.snapshotItem(linkIdx).href;
  3911. try // DO NOT REMOVE, filters crap that went through xpath detection
  3912. {
  3913. name = gimmeHostName(href);
  3914. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3915. bulkHostNames[name].links.push(href);
  3916. }
  3917. catch(e)
  3918. {
  3919.  
  3920. }
  3921. }
  3922. //
  3923. //STEP 4 process the links for each filehosting
  3924. var hostIdx = cHosts;
  3925. var host;
  3926. var m,n;
  3927. var arr;
  3928. while (hostIdx--)
  3929. {
  3930. host = bulkHosts[hostIdx];
  3931. arr = host.links;
  3932. if (arr.length == 0) //no links for this hosting, skip
  3933. {
  3934. continue;
  3935. }
  3936. //links match corrections
  3937. if (host.corrMatch != null)
  3938. {
  3939. var idx = arr.length;
  3940. while (idx--)
  3941. {
  3942. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3943. }
  3944. }
  3945. //links replace corrections
  3946. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3947. {
  3948. var idx = arr.length;
  3949. while (idx--)
  3950. {
  3951. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3952. }
  3953. }
  3954. m = arr.length;
  3955. n = host.blockSize;
  3956. if (m > n)
  3957. {
  3958. //insert block separators (RAND_STRING) into the array
  3959. for(var i = n; i < m; i += n + 1)
  3960. {
  3961. arr.splice(i, 0, RAND_STRING);
  3962. }
  3963. }
  3964.  
  3965. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3966. apiUrl: host.apiUrl,
  3967. postData: host.postData,
  3968. resLinkRegex: host.resLinkRegex,
  3969. resLiveRegex: host.resLiveRegex,
  3970. resDeadRegex: host.resDeadRegex,
  3971. resUnavaRegex: host.resUnavaRegex
  3972. });
  3973. //clean up
  3974. arr.length = 0;
  3975. }
  3976. //
  3977.  
  3978. function gimmeHostName(link)
  3979. {
  3980. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3981. }
  3982. }
  3983. function checkLinks(filterId)
  3984. {
  3985. startBulkCheck(filterId);
  3986. start(filterId);
  3987. }
  3988.  
  3989. /**
  3990. * Initialises progress box including event binding and CSS
  3991. */
  3992. function initProgressBox()
  3993. {
  3994. if ($("#warlc-progressbox").length > 0)
  3995. return;
  3996. //progressbox css change size and color of progress box
  3997. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  3998. "; opacity:" + (Progress_box_opacity / 100) +
  3999. "; bottom:" + Progress_box_pos_bottom +
  4000. "px; right:" + Progress_box_pos_right +
  4001. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4002. \
  4003. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4004. \
  4005. .warlc-progressitem {}\
  4006. \
  4007. .alive {color:#00FF7F; " + Live_links_color +
  4008. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4009. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4010. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4011. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4012. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4013. );
  4014. //
  4015. $('body').append(' <div id="warlc-progressbox">\
  4016. <div class="warlc-progressbar"></div>\
  4017. <span class="warlc-progressitem alive"></span> - \
  4018. <span class="warlc-progressitem dead"></span> - \
  4019. <span class="warlc-progressitem unava"></span> - \
  4020. <span class="warlc-progressitem prem"></span> - \
  4021. <span class="warlc-progressitem processing"></span>\
  4022. </div>');
  4023. $('#warlc-progressbox').hide().click(function(){
  4024. clearInterval(intervalId);
  4025. $(this).hide();
  4026. return false;
  4027. });
  4028. $(".warlc-progressbar").progressbar({complete: function(){
  4029. $(this).fadeOut();
  4030. clearInterval(intervalId); //stop refreshing the stats
  4031. }
  4032. })
  4033. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4034. }
  4035. /**
  4036. * Updates progress data in progress box
  4037. */
  4038. function updateProgress()
  4039. {
  4040. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4041. if (cLinksTotal) // some links were detected on page
  4042. {
  4043. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4044. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4045. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4046. if ((cLinksTotal - cLinksProcessed) == 0)
  4047. {
  4048. $progressItems.first().text(cLinksAlive)
  4049. .next().text(cLinksDead)
  4050. .next().text(cLinksUnava)
  4051. .next().text(cLinksprem)
  4052. .next().remove();
  4053. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4054. $('#warlc-progressbox div:first-child').remove();
  4055. }
  4056. else
  4057. {
  4058. $progressItems.first().text(cLinksAlive)
  4059. .next().text(cLinksDead)
  4060. .next().text(cLinksUnava)
  4061. .next().text(cLinksprem)
  4062. .next().text(cLinksTotal - cLinksProcessed);
  4063. }
  4064. }
  4065. }
  4066.  
  4067. function check_all_links()
  4068. {
  4069. add_WARLC_style();
  4070.  
  4071. if (Show_progress_stats)
  4072. {
  4073. initProgressBox();
  4074. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4075. }
  4076.  
  4077. startBulkCheck(null);
  4078. start(null);
  4079.  
  4080. if (!containers_processed)
  4081. {
  4082. processContainers();
  4083. }
  4084. }
  4085.  
  4086. //Copies all found dead links to clipboard - right now for Scriptish only
  4087. function copy_dead_to_clipboard()
  4088. {
  4089. initClipBoardTools();
  4090.  
  4091. var deadlinksxpath = "//.[@class='adead_link']";
  4092.  
  4093. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4094. var foundlinkstext = '';
  4095.  
  4096. var foundlinkIdx = foundlinks.snapshotLength;
  4097.  
  4098. while(foundlinkIdx--)
  4099. {
  4100. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4101. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4102. }
  4103.  
  4104. unsafeWindow.copyToClipboard(foundlinkstext);
  4105. }
  4106.  
  4107. function toggle_autocheck()
  4108. {
  4109. var currentState = GM_getValue("Autocheck", false);
  4110. GM_setValue("Autocheck", !currentState);
  4111.  
  4112. if (currentState == true)
  4113. {
  4114. sendMessage('Autocheck disabled', 'red');
  4115. }
  4116. else
  4117. {
  4118. sendMessage('Autocheck enabled', 'SpringGreen');
  4119. }
  4120. }
  4121. function toggle_Enable_Anonymizer()
  4122. {
  4123. var currentState = GM_getValue("Enable_Anonymizer", false);
  4124. GM_setValue("Enable_Anonymizer", !currentState);
  4125.  
  4126. if (currentState == true)
  4127. {
  4128. GM_setValue("Ref_anonymize_service", "");
  4129. sendMessage('Anonymizer Disabled', 'red');
  4130. }
  4131. else
  4132. {
  4133. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4134. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4135. }
  4136. }
  4137.  
  4138. function KeyDownHandler(event)
  4139. {
  4140. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4141. if (event.ctrlKey && event.altKey)
  4142. {
  4143. switch(kcode)
  4144. {
  4145. case 65 : check_all_links(); break;
  4146. case 67 : configuration(); break;
  4147. case 68 : copy_dead_to_clipboard(); break;
  4148. case 87 : toggle_autocheck(); break;
  4149. case 90 : toggle_Enable_Anonymizer(); break;
  4150. }
  4151. }
  4152. }
  4153.  
  4154. //
  4155. //
  4156. // SCRIPT EXECUTION START POINT
  4157. //
  4158. //
  4159. // Safari specific GM_getResourceText override
  4160. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4161. {
  4162. GM_getResourceText = function(res) {
  4163. var $cssText = GM_getValue("jquery_css", "");
  4164. if ($cssText == "")
  4165. {
  4166. GM_xmlhttpRequest(
  4167. {
  4168. method: 'GET',
  4169. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4170. onload: function (result)
  4171. {
  4172. GM_setValue("jquery_css", result.responseText);
  4173. window.location.reload();
  4174. }
  4175. });
  4176. }
  4177. else
  4178. {
  4179. return $cssText;
  4180. }
  4181. }
  4182. }
  4183. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4184. GM_addStyle(jQueryUICSS);
  4185. //init the stuff
  4186. setVariables();
  4187. initBulkCheck();
  4188. //init info boxes
  4189. messageBox.style.position = 'fixed';
  4190. messageBox.style.top = '20px';
  4191. messageBox.style.left = '10px';
  4192. messageBox.style.opacity = '0.85';
  4193. messageBox.style.background = 'DimGray';
  4194. messageBox.style.fontSize = '36px';
  4195. document.body.appendChild(messageBox);
  4196.  
  4197. //register GM menu commands & keyboard shortcut event handler
  4198. if (Keyboard_functions)
  4199. {
  4200. $(document).keydown(KeyDownHandler);
  4201. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4202. 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);
  4203. }
  4204. else
  4205. {
  4206. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4207. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4208. }
  4209.  
  4210. //start linkchecking
  4211. if (Autocheck)
  4212. {
  4213. $(document).ready(check_all_links);
  4214. }
  4215.  
  4216. //
  4217. //
  4218. // SCRIPT EXECUTION END POINT
  4219. //
  4220. //
  4221.  
  4222. //shows configuration box
  4223. function configuration()
  4224. {
  4225.  
  4226. //prevent multiple creating of config window
  4227. if ($("#hideshow").length)
  4228. {
  4229. $("#hideshow").show();
  4230. return;
  4231. }
  4232.  
  4233. var configcss = '\
  4234. .popup_block .popup fieldset{\
  4235. padding: 1%;\
  4236. border-style: solid;\
  4237. border-width: 1px;\
  4238. border-color: gray;\
  4239. margin-bottom: 1px;\
  4240. }\
  4241. #h3hideshowtitle{\
  4242. font-size: 2em;\
  4243. }\
  4244. #h3hideshow{\
  4245. font-size: 1.5em;\
  4246. }\
  4247. #imghideshow {\
  4248. border: none;\
  4249. }\
  4250. #plusimage{\
  4251. display:inline;\
  4252. }\
  4253. #hideshow {\
  4254. position: fixed;\
  4255. width: 100%;\
  4256. height: 100%;\
  4257. top: 0;\
  4258. left: 0;\
  4259. font-size:12px;\
  4260. z-index:2147483645;\
  4261. text-align:left;\
  4262. }\
  4263. #fade {\
  4264. background: #000;\
  4265. position: fixed;\
  4266. width: 100%;\
  4267. height: 100%;\
  4268. opacity: .80;\
  4269. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4270. left: 0;\
  4271. z-index: 10;\
  4272. }\
  4273. .popup_block {\
  4274. font-family:verdana;\
  4275. color:black;\
  4276. background: #ddd;\
  4277. padding: 10px 20px;\
  4278. border: 2px solid DarkOrange;\
  4279. float: left;\
  4280. width: 700px;\
  4281. position: absolute;\
  4282. top: 7%;\
  4283. left: 50%;\
  4284. bottom: 7%;\
  4285. margin: 0 0 0 -350px;\
  4286. -moz-border-radius:10px;\
  4287. z-index: 100;\
  4288. \
  4289. }\
  4290. .popup_block .popup {\
  4291. float: left;\
  4292. width: 100%;\
  4293. background: #fff;\
  4294. margin: 10px 0;\
  4295. padding: 0px 0 0px;\
  4296. border-left: 1px solid #bbb;\
  4297. border-top: 1px solid #bbb;\
  4298. border-right: 1px solid #bbb;\
  4299. }\
  4300. #h3hideshow{\
  4301. margin: 1px 0 0px;\
  4302. padding: 1px 10px;\
  4303. border-bottom: 1px solid #bbb;\
  4304. font-size: 1.5em;\
  4305. font-weight: normal;\
  4306. cursor:pointer;\
  4307. background:#DDDDDD none repeat scroll 0 0;\
  4308. }\
  4309. #h3hideshow:hover{\
  4310. background:#C0BEBE none repeat scroll 0 0;\
  4311. }\
  4312. #h3hideshowtitle{\
  4313. margin: 2px 0 0px;\
  4314. padding: 7px 10px;\
  4315. border-bottom: 1px solid #bbb;\
  4316. font-size: 1.5em;\
  4317. font-weight: normal;\
  4318. }\
  4319. .popup_block .popup a {\
  4320. color:DarkSkyBlue;\
  4321. text-decoration:none;\
  4322. }\
  4323. .popup p {\
  4324. padding: 1px 10px;\
  4325. margin: 0px 0;\
  4326. -x-system-font:none;\
  4327. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4328. font-size:10pt;\
  4329. font-size-adjust:none;\
  4330. font-stretch:normal;\
  4331. font-style:normal;\
  4332. font-variant:normal;\
  4333. font-weight:normal;\
  4334. line-height:normal;\
  4335. }\
  4336. #sites {\
  4337. padding: 1px 10px;\
  4338. margin: 0px 0;display:inline-block;width:16em;\
  4339. }\
  4340. #dev_ver {\
  4341. color: #00FF00;\
  4342. background: Black;\
  4343. text-align: right;\
  4344. }\
  4345. #sites_suspended {\
  4346. padding: 1px 10px;\
  4347. margin: 0px 0;display:inline-block;width:16em;\
  4348. text-decoration: line-through;\
  4349. }\
  4350. .popup img.cntrl {\
  4351. position: absolute;\
  4352. right: -15px;\
  4353. top: -15px;\
  4354. }\
  4355. #bulk {\
  4356. font-size:8pt;\
  4357. color:orange;\
  4358. padding: 1px 10px;\
  4359. margin: 0px 0;\
  4360. display:inline-block;\
  4361. width:100px;\
  4362. }\
  4363. #note {\
  4364. font-size:7pt;\
  4365. color:gray;\
  4366. padding: 1px 10px;\
  4367. margin: 0px 0;display:inline-block;\
  4368. min-width:100px;\
  4369. }\
  4370. #rednote {\
  4371. font-size:7pt;\
  4372. color:red;\
  4373. padding: 1px 10px;\
  4374. margin: 0px 0;display:inline-block;\
  4375. }\
  4376. #configinfo {\
  4377. font-size:8pt;\
  4378. color:gray;\
  4379. padding: 1px 10px;\
  4380. margin: 0px 0;display:inline-block;width:60em;\
  4381. }\
  4382. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4383. color:black;\
  4384. border-style: solid;\
  4385. border-width: 1px;\
  4386. border-color: gray;\
  4387. }\
  4388. #h3hideshowcontent {\
  4389. min-height:220px;\
  4390. max-height:220px;\
  4391. overflow:auto;\
  4392. display: none;\
  4393. padding: 10px 10px;\
  4394. }\
  4395. #specinfo{\
  4396. font-size:14px;\
  4397. }\
  4398. .warlc-ui-tab {\
  4399. height:300px;\
  4400. overflow:auto;\
  4401. }\
  4402. #warlcsitelist2, #warlcsitelist1 {\
  4403. height:220px;\
  4404. border-top: 1px solid #ddd;\
  4405. padding-top: 5px;\
  4406. overflow:auto;\
  4407. }\
  4408. input:hover+label {\
  4409. background:#F1F77C;\
  4410. font-size:110%;\
  4411. }\
  4412. ';
  4413.  
  4414. GM_addStyle(configcss);
  4415.  
  4416. var customRulesRefHTML =
  4417. '\
  4418. <br>\
  4419. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4420. <b>@keyword</b> <i>parameter</i>\
  4421. <br><br>\
  4422. 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. \
  4423. <br><br>\
  4424. 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.\
  4425. 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.\
  4426. 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.\
  4427. 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,\
  4428. but all commands until the next valid @customrule are ignored.<br><br>\
  4429. Available forms and types:\
  4430. <ul>\
  4431. <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.\
  4432. <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.\
  4433. <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.\
  4434. <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.\
  4435. </ul>\
  4436. Other available commands:<br>\
  4437. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4438. <ul>\
  4439. <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.\
  4440. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4441. <ul>examples:<br>\
  4442. <li>good: <i>filehost.com/download/</i><br>\
  4443. <li>good: <i>download.filehost.net/?d=</i><br>\
  4444. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4445. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4446. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4447. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4448. <li>bad: <i>filehost.com</i> - no slash<br>\
  4449. </ul>\
  4450. \
  4451. <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.\
  4452. 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 \
  4453. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4454. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4455. 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.)\
  4456. Two spaces again match any whitespace.\
  4457. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4458. Two spaces again match any whitespace.\
  4459. <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. \
  4460. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4461. </ul>\
  4462. \
  4463. ';
  4464.  
  4465. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4466. var configurationinnerHTML =
  4467. '<div id="fade"></div>\
  4468. <div class="popup_block">\
  4469. <div class="popup">\
  4470. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiY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nfl34da2vcFCFTAMqYaBr07nD40/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>\
  4472. <div id="warlc-conf-tabs">\
  4473. <ul>\
  4474. <li><a href="#tabs-1">Filehostings</a></li>\
  4475. <li><a href="#tabs-2">Containers</a></li>\
  4476. <li><a href="#tabs-5">Custom rules</a></li>\
  4477. <li><a href="#tabs-3">Settings</a></li>\
  4478. <li><a href="#tabs-4">About</a></li>\
  4479. </ul>\
  4480. <div id="tabs-1" class="warlc-ui-tab">\
  4481. <div class="warlc-ui-buttonset">\
  4482. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4483. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4484. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4485. </div><br>\
  4486. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4487. <div id="warlcsitelist1"><span>Empty</span></div>\
  4488. </div>\
  4489. <div id="tabs-2" class="warlc-ui-tab">\
  4490. <div class="warlc-ui-buttonset">\
  4491. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4492. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4493. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4494. </div><br>\
  4495. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4496. <div id="warlcsitelist2"><span>Empty</span></div>\
  4497. </div>\
  4498. <div id="tabs-5" class="warlc-ui-tab">\
  4499. <div class="warlcsettings">\
  4500. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4501. <br>\
  4502. <div>Edit custom rules: \
  4503. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4504. <div id="customRulesReference" style="display:none;">'
  4505. + customRulesRefHTML + '\
  4506. </div>\
  4507. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4508. </div>\
  4509. </div>\
  4510. </div>\
  4511. <div id="tabs-3" class="warlc-ui-tab">\
  4512. <div class="warlcsettings">\
  4513. <fieldset>\
  4514. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4515. <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>\
  4516. </fieldset>\
  4517. <fieldset>\
  4518. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4519. <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>\
  4520. <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>\
  4521. <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>\
  4522. <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>\
  4523. <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>\
  4524. <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>\
  4525. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4526. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4527. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4528. <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>\
  4529. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4530. <fieldset>\
  4531. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4532. <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>\
  4533. <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>\
  4534. <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>\
  4535. </fieldset>\
  4536. </fieldset>\
  4537. <fieldset>\
  4538. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4539. </fieldset>\
  4540. <fieldset>\
  4541. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4542. </fieldset>\
  4543. <fieldset>\
  4544. <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>\
  4545. </fieldset>\
  4546. <fieldset>\
  4547. <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>\
  4548. </fieldset>\
  4549. </div>\
  4550. </div>\
  4551. <div id="tabs-4" class="warlc-ui-tab">\
  4552. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4553. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4554. <br />\
  4555. <p><b>Currently supported:</b><br>\
  4556. Filehostings: ' + allHostNames.length + '<br />\
  4557. Containers: ' + allContainerNames.length + '<br />\
  4558. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4559. <br />\
  4560. <p><b>Based on:</b><br>\
  4561. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4562. <br />\
  4563. <p><b>Uses:</b></p>\
  4564. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4565. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4566. <br />\
  4567. <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>\
  4568. </div>\
  4569. </div>\
  4570. </div>\
  4571. </div>';
  4572. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4573. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4574. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4575. var elmHostList = document.getElementById("warlcsitelist1");
  4576. var elmContainerList = document.getElementById("warlcsitelist2");
  4577. buildSettings();
  4578. buildSitelist("", allHostNames, elmHostList);
  4579. buildSitelist("", allContainerNames, elmContainerList);
  4580. if (DEBUG_MODE)
  4581. {
  4582. //log all sites availability status
  4583. diagSites();
  4584. }
  4585. //handler for checkbox state change
  4586. function changeConfiguration(e)
  4587. {
  4588. var element = e.target;
  4589.  
  4590. if (element.type == 'checkbox')
  4591. {
  4592. if (element.checked == 1)
  4593. {
  4594. GM_setValue(element.id, true);
  4595. }
  4596. else
  4597. {
  4598. GM_setValue(element.id, false);
  4599. }
  4600.  
  4601. }
  4602. setVariables();
  4603. }
  4604.  
  4605. //Selects all filehosting checkboxes
  4606. function selectAll()
  4607. {
  4608. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4609. .each(function(index, element){GM_setValue(this.id, true)});
  4610. }
  4611.  
  4612. //Deselects all filehosting checkboxes
  4613. function selectNone()
  4614. {
  4615. $(":checkbox:visible:checked").prop("checked",false)
  4616. .each(function(index, element){GM_setValue(this.id, false)});
  4617. }
  4618.  
  4619. //Inverts filehosting checkboxes selection
  4620. function selectInvert()
  4621. {
  4622. var $checked = $(":checkbox:visible:checked");
  4623. var $unchecked = $(":checkbox:visible:not(:checked)");
  4624. $unchecked.prop("checked",true)
  4625. .each(function(index, element){GM_setValue(this.id, true)});
  4626. $checked.prop("checked",false)
  4627. .each(function(index, element){GM_setValue(this.id, false)});
  4628. }
  4629. //toggles anonymizer on off
  4630. function Enable_Anonymizer()
  4631. {
  4632. var $checked = $(":checkbox:visible:checked");
  4633. var $unchecked = $(":checkbox:visible:not(:checked)");
  4634. $unchecked.prop("checked",true)
  4635. .each(function(index, element){GM_setValue(this.id, true)});
  4636. $checked.prop("checked",false)
  4637. .each(function(index, element){GM_setValue(this.id, false)});
  4638. }
  4639.  
  4640. function changeRefAnonymizer(){
  4641. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4642. }
  4643.  
  4644. //Sets live links color
  4645. function changeColorLive()
  4646. {
  4647. var inColorLive = document.getElementById("inputColorLive");
  4648. inColorLive.style.background = inColorLive.value;
  4649. GM_setValue("Live_links_color", inColorLive.value);
  4650. }
  4651.  
  4652. //Sets dead links color
  4653. function changeColorDead()
  4654. {
  4655. var inColorDead = document.getElementById("inputColorDead");
  4656. inColorDead.style.background = inColorDead.value;
  4657. GM_setValue("Dead_links_color", inColorDead.value);
  4658. }
  4659.  
  4660. //Sets temp. unavailable links color
  4661. function changeColorTemp()
  4662. {
  4663. var inColorTemp = document.getElementById("inputColorTemp");
  4664. inColorTemp.style.background = inColorTemp.value;
  4665. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4666. }
  4667.  
  4668. //Sets temp. unavailable links color
  4669. function changeColorCont()
  4670. {
  4671. var inColorCont = document.getElementById("inputColorCont");
  4672. inColorCont.style.background = inColorCont.value;
  4673. GM_setValue("Container_links_color", inColorCont.value);
  4674. }
  4675. //Sets premium. links color
  4676. function changeColorprem()
  4677. {
  4678. var inColorprem = document.getElementById("inputColorprem");
  4679. inColorprem.style.background = inColorprem.value;
  4680. GM_setValue("Premium_links_color", inColorprem.value);
  4681. }
  4682.  
  4683. //Diagnose sites for availability
  4684. function diagSites()
  4685. {
  4686. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4687.  
  4688. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4689. {
  4690. if (boxes[i].type == "checkbox")
  4691. {
  4692. checkAvailability(boxes[i]);
  4693. }
  4694. }
  4695.  
  4696. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4697.  
  4698. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4699. {
  4700. if (boxes[i].type == "checkbox")
  4701. {
  4702. checkAvailability(boxes[i]);
  4703. }
  4704. }
  4705.  
  4706. function checkAvailability(cbElm)
  4707. {
  4708. var cb = cbElm;
  4709. GM_xmlhttpRequest(
  4710. {
  4711. method: 'HEAD',
  4712. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4713. headers: {
  4714. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4715. 'Accept': 'text/xml',
  4716. 'Referer': ""
  4717. },
  4718. onload: function (result)
  4719. {
  4720. if (result.status != 200)
  4721. {
  4722. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4723. }
  4724. },
  4725. onerror: function (result)
  4726. {
  4727. if (result.status != 200)
  4728. {
  4729. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4730. }
  4731. }
  4732. });
  4733. }
  4734. }
  4735. function buildSettings()
  4736. {
  4737. $(".warlcsettings :checkbox").each(function(){
  4738. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4739. .click(function(e){
  4740. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4741. setVariables();
  4742. });
  4743. })
  4744. }
  4745. //Dynamic build of host list
  4746. //param search [string] searches for hostnames matching search substring
  4747. //param siteNames [array] array of site names
  4748. //param targetNode [DOM Node] where the list should be built
  4749. // first child node is replaced
  4750. function buildSitelist(search, siteNames, targetNode)
  4751. {
  4752. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4753. var $targetNode = $(targetNode).empty();
  4754. var searchedSite = "";
  4755. $.each(siteNames, function(i, site){
  4756. if (searchedSite = site.match(searchRegex))
  4757. {
  4758. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4759. //ensuring backward compatibility with the rest of code, to be refactored later
  4760. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4761. //
  4762. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4763. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4764. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4765. );
  4766. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4767. .change(changeConfiguration);
  4768. $targetNode.append('<br />');
  4769. }
  4770. });
  4771. $targetNode.append("<hr>");
  4772. //obsolete hosts checkbox
  4773. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4774. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4775. .change(changeConfiguration);
  4776. $targetNode.append('<br />');
  4777. var foundName = "";
  4778. $.each(allObsoleteNames, function(i, site){
  4779. if (foundName = allObsoleteNames[i].match(searchRegex))
  4780. {
  4781. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4782. }
  4783. })
  4784. }
  4785. var hostSearchBox = document.getElementById("hostSearchBox");
  4786. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4787. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4788. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4789. $(".warlc-ui-select-all").click(selectAll).button();
  4790. $(".warlc-ui-select-none").click(selectNone).button();
  4791. $(".warlc-ui-select-invert").click(selectInvert).button();
  4792. $(".warlc-ui-buttonset").buttonset();
  4793. var inColorLive = document.getElementById("inputColorLive");
  4794. inColorLive.addEventListener('keyup', changeColorLive, false);
  4795.  
  4796. var inColorDead = document.getElementById("inputColorDead");
  4797. inColorDead.addEventListener('keyup', changeColorDead, false);
  4798.  
  4799. var inColorTemp = document.getElementById("inputColorTemp");
  4800. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4801.  
  4802. var inColorCont = document.getElementById("inputColorCont");
  4803. inColorCont.addEventListener('keyup', changeColorCont, false);
  4804. var inColorprem = document.getElementById("inputColorprem");
  4805. inColorprem.addEventListener('keyup', changeColorprem, false);
  4806. $("#refAnonymizer").change(changeRefAnonymizer);
  4807. //buttons and edit boxes init end
  4808.  
  4809. //icon sets radio buttons
  4810. var radioButtons = document.getElementsByName("warlciconset");
  4811. radioButtons[Icon_set].checked = "checked";
  4812.  
  4813. radioButtons[0].addEventListener("change", updateIconSet);
  4814. radioButtons[1].addEventListener("change", updateIconSet);
  4815. radioButtons[2].addEventListener("change", updateIconSet);
  4816. radioButtons[3].addEventListener("change", updateIconSet);
  4817. function updateIconSet()
  4818. {
  4819. GM_setValue("Icon_set", this.value * 1);
  4820. }
  4821. //
  4822. $('#showCustomRulesReference').click(function(e){
  4823. e.preventDefault();
  4824. $('#customRulesReference').toggle();
  4825. });
  4826. $('#Custom_rules_text')
  4827. .val(Custom_rules_text)
  4828. .change(saveCustomRules);
  4829. function saveCustomRules(e)
  4830. {
  4831. var cr = parseCustomRules(this.value);
  4832. if (cr.info.length)
  4833. 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, ' '));
  4834. GM_setValue('Custom_rules_text', this.value);
  4835. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4836. }
  4837. }
  4838.  
  4839. //begin standard link checking algorithm
  4840. function start(filterId)
  4841. {
  4842. var doNotLinkify = Do_not_linkify_DL_links;
  4843.  
  4844. // USER SELECTED FILE HOSTS INITIALIZATION START
  4845. var http_file_hosts = new Array(); //standard hostings
  4846. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4847. var http_file_hosts_obsolete = new Array(); //dead hostings
  4848. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4849.  
  4850. initFileHosts();
  4851. initFileHostsHeadersOnly();
  4852. initFileHostsCustom(); //CustomRules
  4853. // USER SELECTED FILE HOSTS INITIALIZATION END
  4854.  
  4855. // LINKIFICATION START
  4856. var totalxpath = '';
  4857. var totalxpathcoded = '';
  4858. var totalxpathobsolete = '';
  4859. var totalxpathheadersonly = '';
  4860. var totalourls = '';
  4861.  
  4862. var filehostLen = http_file_hosts.length;
  4863. var filehostCodedLen = http_file_hosts_coded.length;
  4864. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4865. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4866.  
  4867. var filehostIdx = filehostLen;
  4868. var filehostCodedIdx = filehostCodedLen;
  4869. var filehostObsoleteIdx = filehostObsoleteLen;
  4870. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4871.  
  4872. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4873. return;
  4874.  
  4875. while (filehostIdx--)
  4876. {
  4877. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4878. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4879. }
  4880.  
  4881. while (filehostCodedIdx--)
  4882. {
  4883. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4884. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4885. }
  4886.  
  4887. while (filehostObsoleteIdx--)
  4888. {
  4889. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4890. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4891. }
  4892.  
  4893. while (filehostHeadersOnlyIdx--)
  4894. {
  4895. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4896. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4897. }
  4898.  
  4899. totalourls = totalourls.replace(/\|$/g, "");
  4900. //TODO: further refactoring needed
  4901. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4902. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4903. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4904. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4905. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4906. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4907. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4908. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4909. if (filterId != null) //insert id restriction in the xpath
  4910. {
  4911. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4912. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4913. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4914. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4915. }
  4916. else
  4917. {
  4918. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4919. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4920. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4921. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4922. }
  4923. linkify(totalourls);
  4924. //LINKIFICATION END
  4925. //ENCRYPTED LINKS PROCESSING START
  4926. if (http_file_hosts_coded.length > 0)
  4927. {
  4928. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4929.  
  4930. // decrypt coded links (redirects, link protectors etc.)
  4931. if (linksCoded.snapshotLength > 0)
  4932. {
  4933. var link;
  4934. var reallinkreg;
  4935. var reallinkcorrection;
  4936.  
  4937. if (filterId == null)
  4938. {
  4939. cLinksTotal += linksCoded.snapshotLength;
  4940. }
  4941.  
  4942. var y = linksCoded.snapshotLength - 1;
  4943. do
  4944. {
  4945. // linksCoded.snapshotItem(y).id = 'processing_link';
  4946. link = linksCoded.snapshotItem(y);
  4947. filehostIdx = filehostCodedLen;
  4948. while (filehostIdx--)
  4949. {
  4950. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4951. {
  4952. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4953. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4954. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4955.  
  4956. decurl(link, reallinkreg, reallinkcorrection);
  4957. break;
  4958. }
  4959. }
  4960. }
  4961. while (y--);
  4962. }
  4963. }
  4964. //ENCRYPTED LINKS PROCESSING END
  4965.  
  4966. //STANDARD LINKCHECKING START
  4967. if (http_file_hosts.length > 0)
  4968. {
  4969. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4970.  
  4971. if (filterId == null)
  4972. {
  4973. cLinksTotal += lianks.snapshotLength;
  4974. }
  4975.  
  4976. if (lianks.snapshotLength > 0)
  4977. {
  4978. var link;
  4979.  
  4980. var URL = "";
  4981. var name = "";
  4982. var isAliveRegex = "";
  4983. var isDeadRegex = "";
  4984. var isUnavaRegex = "";
  4985. var ispremRegex = "";
  4986. var tryLoop = false;
  4987.  
  4988. var y = lianks.snapshotLength;
  4989.  
  4990. while (y--)
  4991. {
  4992. link = lianks.snapshotItem(y);
  4993.  
  4994. filehostIdx = filehostLen;
  4995. while (filehostIdx--)
  4996. {
  4997. if (link.href.match(http_file_hosts[filehostIdx][0]))
  4998. {
  4999. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5000. isAliveRegex = http_file_hosts[filehostIdx][1];
  5001. isDeadRegex = http_file_hosts[filehostIdx][2];
  5002. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5003. ispremRegex = http_file_hosts[filehostIdx][6];
  5004. tryLoop = http_file_hosts[filehostIdx][5];
  5005.  
  5006. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5007.  
  5008. break;
  5009. }
  5010. }
  5011. }
  5012. }
  5013. }
  5014. //STANDARD LINKCHECKING END
  5015. //OBSOLETE FILE HOSTS PROCESSING START
  5016. if (filehostObsoleteLen > 0)
  5017. {
  5018. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5019.  
  5020. var obsoleteLink;
  5021.  
  5022. //check links
  5023. if (obsoletelinks.snapshotLength > 0)
  5024. {
  5025. var y = obsoletelinks.snapshotLength;
  5026.  
  5027. if (filterId == null)
  5028. {
  5029. cLinksTotal += y;
  5030. }
  5031.  
  5032. while (y--)
  5033. {
  5034. obsoleteLink = obsoletelinks.snapshotItem(y);
  5035.  
  5036. if (Display_tooltip_info)
  5037. {
  5038. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5039. }
  5040. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5041. }
  5042. }
  5043. }
  5044. //OBSOLETE FILE HOSTS PROCESSING END
  5045.  
  5046. //DIRECT LINKCHECKING START
  5047. if (http_file_hosts_headers_only.length > 0)
  5048. {
  5049. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5050.  
  5051. //check links
  5052. if (links.snapshotLength > 0)
  5053. {
  5054. var link;
  5055. var isAliveRegex;
  5056. var isDeadRegex;
  5057. var ispremRegex;
  5058.  
  5059. var y = links.snapshotLength;
  5060.  
  5061.  
  5062. if (filterId == null)
  5063. {
  5064. cLinksTotal += y;
  5065. }
  5066.  
  5067. while (y--)
  5068. {
  5069. // links.snapshotItem(y).id = 'processing_link';
  5070. link = links.snapshotItem(y);
  5071. filehostIdx = filehostHeadersOnlyLen;
  5072. while (filehostIdx--)
  5073. {
  5074. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5075. {
  5076. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5077. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5078. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5079. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5080.  
  5081. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5082.  
  5083. break;
  5084. }
  5085. }
  5086. }
  5087.  
  5088. }
  5089. }
  5090. //DIRECT LINKCHECKING END
  5091.  
  5092.  
  5093. //finds the real url on the page, replaces link.href with it and calls geturl
  5094. function decurl(link, reallinkreg, reallinkcorrection)
  5095. {
  5096.  
  5097. GM_xmlhttpRequest(
  5098. {
  5099. method: 'GET',
  5100. url: link.href,
  5101. headers: {
  5102. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5103. 'Accept': 'text/xml',
  5104. 'Referer': ""
  5105. },
  5106. onload: function (result)
  5107. {
  5108. // cLinksProcessed++;
  5109.  
  5110. var reallink = result.responseText.match(reallinkreg)[0];
  5111. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5112.  
  5113. link.href = reallink;
  5114.  
  5115. var i = http_file_hosts.length - 1;
  5116. do
  5117. {
  5118. if ((reallink.match(http_file_hosts[i][0])))
  5119. {
  5120. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5121. var isAliveRegex = http_file_hosts[i][1];
  5122. var isDeadRegex = http_file_hosts[i][2];
  5123. var isUnavaRegex = http_file_hosts[i][3];
  5124. var ispremRegex = http_file_hosts[i][4];
  5125.  
  5126. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5127.  
  5128. break;
  5129. }
  5130. }
  5131. while (i--);
  5132. }
  5133. });
  5134. }
  5135.  
  5136. function randUA()
  5137. {
  5138. //TODO
  5139. }
  5140. //Processes link
  5141. //
  5142. // [string] link link URL
  5143. // [string] isAliveRegex alive link regex
  5144. // [string] isDeadRegex dead link regex
  5145. // [string] isUnavaRegex unavailable link regex
  5146. // [string] ispremRegex premium link regex
  5147. // [boolean] tryLoop repeats request until succeeded
  5148. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5149. {
  5150. GM_xmlhttpRequest(
  5151. {
  5152. method: 'GET',
  5153. url: link.href,
  5154. headers: {
  5155. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5156. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5157. 'Referer': ""
  5158. },
  5159. onload: function (result)
  5160. {
  5161. var res = result.responseText;
  5162. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5163. {
  5164. displayTheCheckedLink(link, 'alive_link');
  5165. return;
  5166. }
  5167.  
  5168. if (res.match(isAliveRegex))
  5169. {
  5170. displayTheCheckedLink(link, 'alive_link');
  5171. return;
  5172. }
  5173.  
  5174. if (res.match(isDeadRegex))
  5175. {
  5176. displayTheCheckedLink(link, 'adead_link');
  5177. return;
  5178. }
  5179.  
  5180. if (isUnavaRegex && res.match(isUnavaRegex))
  5181. {
  5182. displayTheCheckedLink(link, 'unava_link');
  5183. return;
  5184. }
  5185. if (res.match(ispremRegex))
  5186. {
  5187. displayTheCheckedLink(link, 'prem_link');
  5188. return;
  5189. }
  5190.  
  5191. var resStatus = result.status;
  5192.  
  5193. if (resStatus == 404)
  5194. {
  5195. displayTheCheckedLink(link, 'adead_link');
  5196. }
  5197. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5198. {
  5199. if (tryLoop)
  5200. {
  5201. //wait 1-5 seconds and repeat the request
  5202. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5203. }
  5204. else
  5205. {
  5206. displayTheCheckedLink(link, 'unava_link');
  5207. }
  5208.  
  5209. return;
  5210. }
  5211. },
  5212. onerror: function ()
  5213. {
  5214. displayTheCheckedLink(link, 'unava_link');
  5215. }
  5216. });
  5217. }
  5218.  
  5219. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5220. {
  5221. GM_xmlhttpRequest(
  5222. {
  5223. method: 'HEAD',
  5224. url: link.href,
  5225. headers: {
  5226. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5227. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5228. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5229. 'Referer': ""
  5230. },
  5231. onload: function (result)
  5232. {
  5233. var resStatus = result.status;
  5234. var resHeaders = "";
  5235. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5236. {
  5237. displayTheCheckedLink(link, 'adead_link');
  5238. return;
  5239. }
  5240.  
  5241. resHeaders = result.responseHeaders;
  5242.  
  5243. if (resHeaders.match(isDeadRegex))
  5244. {
  5245. displayTheCheckedLink(link, 'adead_link');
  5246. return;
  5247. }
  5248.  
  5249. if (resHeaders.match(isAliveRegex))
  5250. {
  5251. displayTheCheckedLink(link, 'alive_link');
  5252. return;
  5253. }
  5254. if (resHeaders.match(ispremRegex))
  5255. {
  5256. displayTheCheckedLink(link, 'prem_link');
  5257. return;
  5258. }
  5259. },
  5260. onerror: function ()
  5261. {
  5262. displayTheCheckedLink(link, 'unava_link');
  5263. }
  5264. });
  5265. }
  5266.  
  5267. //Delinkfifies the <a> element object
  5268. function delinkifyLink(link)
  5269. {
  5270. var spanElm = document.createElement("span");
  5271. spanElm.className = link.className;
  5272. spanElm.innerHTML = link.innerHTML;
  5273.  
  5274. if (Display_tooltip_info)
  5275. {
  5276. spanElm.href = link.href;
  5277. spanElm.warlc_error = link.warlc_error;
  5278. switch (link.className){
  5279. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5280. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5281. case "unava_link": //reserved
  5282. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5283. default:
  5284. }
  5285. }
  5286. link.parentNode.replaceChild(spanElm, link);
  5287. }
  5288.  
  5289. //Assigns result status to the <a> element object and calls delinkifying eventually
  5290. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5291. function displayTheCheckedLink(link, resultStatus)
  5292. {
  5293. link.className = resultStatus;
  5294. link.href = Ref_anonymize_service + link.href;
  5295. if (Display_tooltip_info)
  5296. {
  5297. switch (resultStatus){
  5298. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5299. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5300. case "unava_link": //reserved
  5301. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5302. default:
  5303. }
  5304. }
  5305. if (doNotLinkify)
  5306. {
  5307. delinkifyLink(link);
  5308. }
  5309. cLinksProcessed++;
  5310.  
  5311. if (resultStatus == "alive_link")
  5312. {
  5313. cLinksAlive++;
  5314. return;
  5315. }
  5316.  
  5317. if (resultStatus == "adead_link")
  5318. {
  5319. cLinksDead++;
  5320. return;
  5321. }
  5322.  
  5323. if (resultStatus == "unava_link")
  5324. {
  5325. cLinksUnava++;
  5326. }
  5327. if (resultStatus == "prem_link")
  5328. {
  5329. cLinksprem++;
  5330. return;
  5331. }
  5332. }
  5333.  
  5334.  
  5335. function initFileHosts()
  5336. {
  5337.  
  5338. function addObsoleteHost(linkRegex, xpathEx)
  5339. {
  5340. var host = new Array(2);
  5341. host[0] = linkRegex;
  5342. host[1] = xpathEx;
  5343. http_file_hosts_obsolete.push(host);
  5344. }
  5345.  
  5346. //obsolete file hosts init start
  5347. if (Obsolete_file_hosts)
  5348. {
  5349. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5350. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5351. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5352. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5353. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5354. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5355. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5356. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5357. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5358. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5359. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5360. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5361. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5362. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5363. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5364. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5365. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5366. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5367. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5368. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5369. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5370. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5371. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5372. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5373. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5374. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5375. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5376. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5377. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5378. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5379. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5380. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5381. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5382. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5383. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5384. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5385. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5386. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5387. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5388. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5389. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5390. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5391. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5392. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5393. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5394. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5395. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5396. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5397. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5398. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5399. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5400. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5401. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5402. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5403. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5404. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5405. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5406. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5407. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5408. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5409. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5410. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5411. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5412. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5413. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5414. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5415. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5416. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5417. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5418. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5419. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5420. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5421. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5422. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5423. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5424. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5425. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5426. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5427. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5428. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5429. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5430. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5431. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5432. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5433. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5434. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5435. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5436. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5437. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5438. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5439. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5440. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5441. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5442. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5443. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5444. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5445. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5446. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5447. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5448. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5449. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5450. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5451. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5452. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5453. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5454. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5455. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5456. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5457. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5458. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5459. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5460. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5461. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5462. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5463. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5464. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5465. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5466. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5467. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5468. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5469. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5470. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5471. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5472. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5473. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5474. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5475. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5476. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5477. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5478. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5479. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5480. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5481. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5482. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5483. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5484. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5485. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5486. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5487. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5488. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5489. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5490. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5491. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5492. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5493. 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')]");
  5494. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5495. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5496. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5497. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5498. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5499. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5500. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5501. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5502. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5503. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5504. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5505. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5506. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5507. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5508. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5509. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5510. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5511. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5512. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5513. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5514. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5515. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5516. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5517. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5518. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5519. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5520. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5521. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5522. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5523. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5524. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5525. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5526. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5527. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5528. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5529. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5530. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5531. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5532. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5533. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5534. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5535. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5536. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5537. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5538. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5539. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5540. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5541. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5542. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5543. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5544. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5545. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5546. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5547. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5548. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5549. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5550. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5551. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5552. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5553. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5554. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5555. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5556. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5557. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5558. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5559. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5560. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5561. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5562. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5563. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5564. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5565. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5566. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5567. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5568. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5569. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5570. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5571. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5572. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5573. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5574. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5575. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5576. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5577. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5578. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5579. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5580. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5581. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5582. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5583. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5584. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5585. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5586. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5587. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5588. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5589. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5590. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5591. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5592. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5593. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5594. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5595. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5596. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5597. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5598. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5599. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5600. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5601. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5602. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5603. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5604. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5605. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5606. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5607. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5608. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5609. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5610. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5611. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5612. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5613. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5614. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5615. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5616. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5617. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5618. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5619. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5620. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5621. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5622. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5623. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5624. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5625. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5626. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5627. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5628. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5629. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5630. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5631. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5632. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5633. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5634. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5635. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5636. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5637. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5638. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5639. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5640. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5641. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5642. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5643. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5644. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5645. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5646. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5647. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5648. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5649. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5650. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5651. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5652. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5653. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5654. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5655. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5656. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5657. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5658. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5659. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5660. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5661. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5662. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5663. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5664. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5665. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5666. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5667. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5668. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5669. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5670. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5671. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5672. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5673. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5674. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5675. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5676. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5677. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5678. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5679. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5680. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5681. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5682. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5683. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5684. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5685. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5686. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5687. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5688. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5689. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5690. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5691. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5692. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5693. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5694. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5695. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5696. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5697. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5698. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5699. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5700. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5701. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5702. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5703. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5704. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5705. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5706. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5707. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5708. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5709. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5710. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5711. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5712. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5713. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5714. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5715. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5716. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5717. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5718. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5719. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5720. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5721. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5722. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5723. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5724. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5725. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5726. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5727. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5728. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5729. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5730. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5731. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5732. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5733. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5734. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5735. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5736. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5737. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5738. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5739. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5740. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5741. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5742. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5743. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5744. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5745. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5746. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5747. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5748. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5749. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5750. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5751. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5752. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5753. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5754. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5755. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5756. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5757. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5758. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5759. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5760. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5761. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5762. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5763. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5764. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5765. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5766. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5767. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5768. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5769. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5770. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5771. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5772. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5773. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5774. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5775. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5776. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5777. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5778. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5779. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5780. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5781. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5782. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5783. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5784. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5785. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5786. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5787. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5788. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5789. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5790. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5791. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5792. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5793. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5794. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5795. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5796. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5797. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5798. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5799. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5800. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5801. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5802. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5803. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5804. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5805. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5806. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5807. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5808. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5809. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5810. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5811. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5812. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5813. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5814. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5815. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5816. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5817. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5818. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5819. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5820. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5821. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5822. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5823. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5824. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5825. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5826. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5827. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5828. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5829. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5830. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5831. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5832. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5833. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5834. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5835. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5836. // obsolete start
  5837. }
  5838. //obsolete file hosts init end
  5839. //Add Host Example
  5840. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5841. {
  5842. addFileHost(
  5843. "datafile\.com\/\\w+",
  5844. 'var captchaPanel|<link href="/css/files_download.css"',
  5845. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5846. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5847. '<style type="text/css">',
  5848. "//a[contains(@href,'datafile.com')]",
  5849. true);
  5850. } */
  5851.  
  5852. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5853. {
  5854. var host = new Array(7);
  5855. host[0] = linkRegex;
  5856. host[1] = isAliveRegex;
  5857. host[2] = isDeadRegex;
  5858. host[3] = isUnavaRegex;
  5859. host[6] = ispremRegex;
  5860. host[4] = xpathEx;
  5861. tryLoop ? host[5] = true : host[5] = false;
  5862. http_file_hosts.push(host);
  5863. }
  5864. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5865. {
  5866. addFileHost(
  5867. "megafileupload\.com\/..\/file\/",
  5868. 'downloadbtn',
  5869. 'is not found',
  5870. 'optional--',
  5871. 'optional2--',
  5872. "//a[contains(@href,'megafileupload.com')]");
  5873. }
  5874. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5875. {
  5876. addFileHost(
  5877. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5878. 'download\\.gif"',
  5879. 'p_point">',
  5880. 'optional--',
  5881. 'optional2--',
  5882. "//a[contains(@href,'demo.ovh.eu')]");
  5883. }
  5884. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5885. {
  5886. addFileHost(
  5887. "xkeepfile\.com\/\\w+",
  5888. 'File has been found|Click here to download',
  5889. 'File cannot be found|class="error">',
  5890. 'optional--',
  5891. 'optional2--',
  5892. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5893. }
  5894. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5895. {
  5896. addFileHost(
  5897. "safelinking\\.net\/p\/\\w+",
  5898. 'color:green;"',
  5899. 'color:(?:red|orange);"',
  5900. 'color:(?:grey|brown);"',
  5901. 'optional2--',
  5902. "//a[contains(@href,'safelinking.net/p/')]",
  5903. true);
  5904. }
  5905. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5906. {
  5907. addFileHost(
  5908. "fastshare\\.cz\/\\d+\/\\w*",
  5909. 'dwntable">|speed-low',
  5910. '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',
  5911. 'optional--',
  5912. 'optional2--',
  5913. "//a[contains(@href,'fastshare.cz')]");
  5914. }
  5915. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5916. {
  5917. addFileHost(
  5918. "[fF]ast[sS]hare\\.org\/download",
  5919. 'Download ">',
  5920. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5921. 'optional--',
  5922. 'optional2--',
  5923. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5924. }
  5925. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5926. {
  5927. addFileHost(
  5928. "partage-facile\.com\/\\w+",
  5929. 'class="title"><strong>|colspan="2"',
  5930. 'Page introuvable|class="alert-message',
  5931. 'optional--',
  5932. 'optional2--',
  5933. "//a[contains(@href,'partage-facile.com')]");
  5934. }
  5935. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5936. {
  5937. addFileHost(
  5938. "rapidgator\\.net\/file\/\\w+",
  5939. '/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',
  5940. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5941. 'optional--',
  5942. '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',
  5943. "//a[contains(@href,'rapidgator.net/file')]",
  5944. true
  5945. );
  5946. }
  5947. if (GM_getValue("Check_relink_dot_us_links", false))
  5948. {
  5949. addFileHost(
  5950. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5951. 'online_detail\\.png" alt="Status',
  5952. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5953. 'unknown_detail\\.png" alt="Status',
  5954. 'optional2--',
  5955. "//a[contains(@href,'relink.us/')]"
  5956. );
  5957. }
  5958. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5959. {
  5960. addFileHost(
  5961. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5962. 'div id="dl"',
  5963. 'Sie haben den Link falsch',
  5964. 'optional--',
  5965. 'optional2--',
  5966. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5967. );
  5968. }
  5969. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5970. {
  5971. addFileHost(
  5972. "flyfiles\\.net\/\\w+",
  5973. 'download_button"|"Download file"',
  5974. 'File not found!|Файл не найден',
  5975. 'optional--',
  5976. 'optional2--',
  5977. "//a[contains(@href,'flyfiles.net/')]"
  5978. );
  5979. }
  5980. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5981. {
  5982. addFileHost(
  5983. "wikiupload\\.com\/\\w+",
  5984. 'download-button">',
  5985. 'Sorry, File not found',
  5986. 'optional--',
  5987. 'optional2--',
  5988. "//a[contains(@href,'wikiupload.com/')]"
  5989. );
  5990. }
  5991. if (GM_getValue("Check_hostuje_dot_net_links", false))
  5992. {
  5993. addFileHost(
  5994. "hostuje\\.net\/file\\.php\\?id=\\w+",
  5995. 'file\\.php">|Pobierz Plik',
  5996. 'Podany plik nie zosta',
  5997. 'optional--',
  5998. 'optional2--',
  5999. "//a[contains(@href,'hostuje.net/file')]"
  6000. );
  6001. }
  6002. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6003. {
  6004. addFileHost(
  6005. "gettyfile\\.ru\/\\d+",
  6006. 'download\\.gif border',
  6007. '<center><font size="3">',
  6008. 'optional--',
  6009. 'optional2--',
  6010. "//a[contains(@href,'gettyfile.ru/')]"
  6011. );
  6012. }
  6013. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6014. {
  6015. addFileHost(
  6016. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6017. 'download\\-file">',
  6018. 'col-1">\\s*<h1>',
  6019. 'optional--',
  6020. 'optional2--',
  6021. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6022. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6023. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6024. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6025. );
  6026. }
  6027. if (GM_getValue("Check_data_dot_hu_links", false))
  6028. {
  6029. addFileHost(
  6030. "data\\.hu\/get\/\\d+\/",
  6031. 'download_box_button',
  6032. 'missing\\.php',
  6033. 'optional--',
  6034. 'optional2--',
  6035. "//a[contains(@href,'data.hu/get')]",
  6036. true
  6037. );
  6038. }
  6039. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6040. {
  6041. addFileHost(
  6042. "filesmelt\\.com\/dl\/\\w+",
  6043. '(Your download is ready|Download File)',
  6044. 'Sorry, but your',
  6045. 'optional--',
  6046. 'optional2--',
  6047. "//a[contains(@href,'filesmelt.com/dl')]"
  6048. );
  6049. }
  6050. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6051. {
  6052. addFileHost(
  6053. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6054. 'premiumBtn"',
  6055. 'errorMessage"',
  6056. 'optional--',
  6057. 'optional2--',
  6058. "//a[contains(@href,'indowebster.com/download')]"
  6059. );
  6060. }
  6061. if (GM_getValue("Check_superload_dot_cz_links", false))
  6062. {
  6063. addFileHost(
  6064. "superload\\.cz\/dl\/\\w+",
  6065. 'icon-download">',
  6066. 'soubor nebyl nalezen',
  6067. 'optional--',
  6068. 'optional2--',
  6069. "//a[contains(@href,'superload.cz/dl')]"
  6070. );
  6071. }
  6072. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6073. {
  6074. addFileHost(
  6075. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6076. 'op" value="download',
  6077. 'class="err">|width:500px;text-align:left;">',
  6078. 'optional--',
  6079. 'optional2--',
  6080. "//a[contains(@href,'hulkfile.')]"
  6081. );
  6082. }
  6083. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6084. {
  6085. addFileHost(
  6086. "easybytez\\.com\/\\w+",
  6087. 'op" value="download',
  6088. 'stop_error\\.gif',
  6089. 'optional--',
  6090. 'optional2--',
  6091. "//a[contains(@href,'easybytez.com/')]"
  6092. );
  6093. }
  6094. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6095. {
  6096. addFileHost(
  6097. "filestore\\.com\\.ua\/\\?d=\\w+",
  6098. 'tdrow1>',
  6099. 'class=warn',
  6100. 'optional--',
  6101. 'optional2--',
  6102. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6103. );
  6104. }
  6105. if (GM_getValue("Check_netkups_dot_com_links", false))
  6106. {
  6107. addFileHost(
  6108. "netkups\\.com\/\\?d=\\w+",
  6109. 'submit">Continue',
  6110. 'page">File not found|deleted due to inactivity',
  6111. 'optional--',
  6112. 'optional2--',
  6113. "//a[contains(@href,'netkups.com/?d=')]"
  6114. );
  6115. }
  6116. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6117. {
  6118. addFileHost(
  6119. "openfile\\.ru\/(?:video\/|)\\d+",
  6120. 'videobox_left">',
  6121. 'blog_title">|not found on this server',
  6122. 'optional--',
  6123. 'optional2--',
  6124. "//a[contains(@href,'openfile.ru/')]"
  6125. );
  6126. }
  6127. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6128. {
  6129. addFileHost(
  6130. "extmatrix\\.com\/files\/\\w+",
  6131. 'div class="success"',
  6132. 'div class="error"',
  6133. 'optional--',
  6134. 'optional2--',
  6135. "//a[contains(@href,'extmatrix.com/files')]"
  6136. );
  6137. }
  6138. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6139. {
  6140. addFileHost(
  6141. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6142. 'content_lnkDownload',
  6143. 'error\\.aspx\\?',
  6144. 'optional--',
  6145. 'optional2--',
  6146. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6147. );
  6148. }
  6149. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6150. {
  6151. addFileHost(
  6152. "yourfilestore\\.com\/download\/\\d+\/",
  6153. 'download_data">',
  6154. 'may have been deleted|<h1>Sorry!<\/h1>',
  6155. 'optional--',
  6156. 'optional2--',
  6157. "//a[contains(@href,'yourfilestore.com/download')]"
  6158. );
  6159. }
  6160. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6161. {
  6162. addFileHost(
  6163. "nekaka\\.com\/d\/[\\w-]+",
  6164. 'downloadForm">',
  6165. 'invalid file link',
  6166. 'optional--',
  6167. 'optional2--',
  6168. "//a[contains(@href,'nekaka.com/d')]"
  6169. );
  6170. }
  6171. if (GM_getValue("Check_filebig_dot_net_links", false))
  6172. {
  6173. addFileHost(
  6174. "filebig\\.net\/files\/\\w+",
  6175. 'downloadFile">',
  6176. '<p>File not found<\/p>',
  6177. 'optional--',
  6178. 'optional2--',
  6179. "//a[contains(@href,'filebig.net/files')]"
  6180. );
  6181. }
  6182. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6183. {
  6184. addFileHost(
  6185. "files\\.filefront\\.com\/\/;\\d+;;",
  6186. 'downloadLink">',
  6187. 'File not found, you',
  6188. 'optional--',
  6189. 'optional2--',
  6190. "//a[contains(@href,'files.filefront.com')]"
  6191. );
  6192.  
  6193. addFileHost(
  6194. "gamefront\\.com\/files\/\\d+",
  6195. 'downloadLink">',
  6196. 'File not found, you',
  6197. 'optional--',
  6198. 'optional2--',
  6199. "//a[contains(@href,'gamefront.com/files')]"
  6200. );
  6201. }
  6202. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6203. {
  6204. addFileHost(
  6205. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6206. 'dnlLnk"',
  6207. 'already been deleted',
  6208. 'optional--',
  6209. 'optional2--',
  6210. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6211. );
  6212. }
  6213. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6214. {
  6215. addFileHost(
  6216. "hellupload\\.com\/\\w+",
  6217. '<h3>Download File<br',
  6218. 'id="podstrona">|AVOID_IE_BUG',
  6219. 'optional--',
  6220. 'optional2--',
  6221. "//a[contains(@href,'hellupload.com/')]"
  6222. );
  6223. }
  6224. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6225. {
  6226. addFileHost(
  6227. "free\\-uploading\\.com\/\\w+",
  6228. 'op" value="download',
  6229. 'class="err">|width:500px;text-align:left;">',
  6230. 'optional--',
  6231. 'optional2--',
  6232. "//a[contains(@href,'free-uploading.com/')]"
  6233. );
  6234. }
  6235. if (GM_getValue("Check_fileape_dot_com_links", false))
  6236. {
  6237. addFileHost(
  6238. "fileape\\.com\/download\\-",
  6239. 'button_dl\\.png',
  6240. 'does not exist\\.',
  6241. 'optional--',
  6242. 'optional2--',
  6243. "//a[contains(@href,'fileape.com/')]"
  6244. );
  6245. }
  6246. if (GM_getValue("Check_uppit_dot_com_links", false))
  6247. {
  6248. addFileHost(
  6249. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6250. 'op" value="download',
  6251. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6252. 'optional--',
  6253. 'optional2--',
  6254. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6255. true
  6256. );
  6257. }
  6258. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6259. {
  6260. addFileHost(
  6261. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6262. 'op" value="download',
  6263. '>File Not Found<',
  6264. 'optional--',
  6265. 'optional2--',
  6266. "//a[contains(@href,'nosupload.com')]",
  6267. true
  6268. );
  6269. }
  6270. if (GM_getValue("Check_filesin_dot_com_links", false))
  6271. {
  6272. addFileHost(
  6273. "filesin\\.com\/\\w+\/download\\.html",
  6274. 'download_area">',
  6275. 'error_note">',
  6276. 'optional--',
  6277. 'optional2--',
  6278. "//a[contains(@href,'filesin.com/')]",
  6279. true
  6280. );
  6281. }
  6282. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6283. {
  6284. addFileHost(
  6285. "nowdownload\\.ch\/dl\/\\w+",
  6286. 'alert-success"',
  6287. 'This file does not exist!',
  6288. 'The file is being transfered',
  6289. 'optional2--',
  6290. "//a[contains(@href,'nowdownload.ch/dl')]"
  6291. );
  6292. }
  6293. if (GM_getValue("Check_axifile_dot_com_links", false))
  6294. {
  6295. addFileHost(
  6296. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6297. 'Dbutton_big"',
  6298. 'download\\-error\\.php',
  6299. 'optional--',
  6300. 'optional2--',
  6301. "//a[contains(@href,'axifile.com/')]"
  6302. );
  6303. }
  6304. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6305. {
  6306. addFileHost(
  6307. "hulkshare\.com\/\\w+",
  6308. 'download\.sam\.png|This is a private file|id="filename',
  6309. 'File does not exist|fingerprint protected copyright',
  6310. 'optional--',
  6311. 'optional2--',
  6312. "//a[contains(@href,'hulkshare.com')]"
  6313. );
  6314. }
  6315. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6316. {
  6317. addFileHost(
  6318. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6319. 'col-1">\\s*<s',
  6320. 'col-1">\\s*<h',
  6321. 'optional--',
  6322. 'optional2--',
  6323. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6324. );
  6325. }
  6326. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6327. {
  6328. addFileHost(
  6329. "turbobit\\.(?:net|pl)",
  6330. 'id="download-gate-info|id="file-list',
  6331. 'afterWait()|no files in this folder',
  6332. 'optional--',
  6333. 'optional2--',
  6334. "//a[contains(@href,'turbobit.net')]"
  6335. );
  6336. }
  6337. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6338. {
  6339. addFileHost(
  6340. "hitfile\\.net\/download\/folder\/\\d+",
  6341. 'content">\\s*<s',
  6342. 'content">\\s*<h',
  6343. 'optional--',
  6344. 'optional2--',
  6345. "//a[contains(@href,'hitfile.net/download/folder')]"
  6346. );
  6347. }
  6348. if (GM_getValue("Check_movshare_dot_net_links", false))
  6349. {
  6350. addFileHost(
  6351. "movshare\\.net\\/video\\/\\w+",
  6352. 'optional--"',
  6353. 'no longer exists',
  6354. 'optional--',
  6355. 'optional2--',
  6356. "//a[contains(@href,'movshare.net/video')]"
  6357. );
  6358. }
  6359. if (GM_getValue("Check_plunder_dot_com_links", false))
  6360. {
  6361. addFileHost(
  6362. "plunder\.com\/\\w+",
  6363. 'x\/download\\.gif',
  6364. '404 - File or directory not found.',
  6365. 'optional--',
  6366. 'optional2--',
  6367. "//a[contains(@href,'plunder.com')]"
  6368. );
  6369. }
  6370. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6371. {
  6372. addFileHost(
  6373. "mafiastorage\\.com\/\\w+",
  6374. 'op" value="download',
  6375. 'class="err">|style="width:500px;text-align:left;"',
  6376. 'optional--',
  6377. 'optional2--',
  6378. "//a[contains(@href,'mafiastorage.com/')]"
  6379. );
  6380. }
  6381. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6382. {
  6383. addFileHost(
  6384. "uploadspace\.pl\/plik\\w+",
  6385. 'Downloading .+? \\|',
  6386. 'Downloading a file',
  6387. 'optional--',
  6388. 'optional2--',
  6389. "//a[contains(@href,'uploadspace.pl/plik')]"
  6390. );
  6391. }
  6392. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6393. {
  6394. addFileHost(
  6395. "uploadingit\\.com\/file\/\\w+",
  6396. 'downloadTitle">',
  6397. 'deleteContent">',
  6398. 'optional--',
  6399. 'optional2--',
  6400. "//a[contains(@href,'uploadingit.com/file')]"
  6401. );
  6402. }
  6403. if (GM_getValue("Check_rghost_dot_net_links", false))
  6404. {
  6405. addFileHost(
  6406. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6407. 'download_link|btn large download',
  6408. 'file is restricted|File is deleted|503 Service Unavailable',
  6409. 'optional--',
  6410. 'optional2--',
  6411. "//a[contains(@href,'rghost.')]"
  6412. );
  6413. }
  6414. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6415. {
  6416. addFileHost(
  6417. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6418. '">Staženo:\\s*<\/span>',
  6419. 'Soubor, který hledáte nenalezen',
  6420. 'optional--',
  6421. 'optional2--',
  6422. "//a[contains(@href,'xdisk.cz/')]"
  6423. );
  6424. }
  6425. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6426. {
  6427. addFileHost(
  6428. "expressleech\.com\/\\w+",
  6429. 'src="/img/Download.gif"|var _gaq =',
  6430. 'var rr =|403 Forbidden',
  6431. 'optional--',
  6432. 'optional2--',
  6433. "//a[contains(@href,'expressleech.com')]");
  6434. }
  6435. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6436. {
  6437. addFileHost(
  6438. "2downloadz\.com\/\\w+",
  6439. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6440. 'color="#006DCC|File error',
  6441. 'optional--',
  6442. 'optional2--',
  6443. "//a[contains(@href,'2downloadz.com')]");
  6444. }
  6445. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6446. {
  6447. addFileHost(
  6448. "mightyupload\.com\/\\w+",
  6449. 'background:#ccc;text-align|CONTENT="Download File"',
  6450. 'style="background:#eee|var rr =|File Not Found',
  6451. 'error-code">1010',
  6452. 'optional2--',
  6453. "//a[contains(@href,'mightyupload.com')]");
  6454. }
  6455. if (GM_getValue("Check_anysend_dot_com_links", false))
  6456. {
  6457. addFileHost(
  6458. "anysend\.com\/\\w+",
  6459. 'var openCalled=false;|content="noindex"',
  6460. '_trackPageview',
  6461. 'optional--',
  6462. 'optional2--',
  6463. "//a[contains(@href,'anysend.com')]");
  6464. }
  6465. if (GM_getValue("Check_datafile_dot_com_links", false))
  6466. {
  6467. addFileHost(
  6468. "datafile\.com\/\\w+",
  6469. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6470. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6471. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6472. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">', //<style type="text/css">
  6473. "//a[contains(@href,'datafile.com')]",
  6474. true);
  6475. }
  6476. if (GM_getValue("Check_upstore_dot_net_links", false))
  6477. {
  6478. addFileHost(
  6479. "upstore\.net\/\\w+",
  6480. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6481. 'File not found|onload="redirect|class="error">',
  6482. 'optional--',
  6483. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6484. "//a[contains(@href,'upstore.net')]");
  6485. }
  6486. if (GM_getValue("Check_upsto_dot_re_links", false))
  6487. {
  6488. addFileHost(
  6489. "upsto\.re\/\\w+",
  6490. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6491. 'File not found|onload="redirect|class="error">',
  6492. 'optional--',
  6493. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6494. "//a[contains(@href,'upsto.re')]");
  6495. }
  6496. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6497. {
  6498. addFileHost(
  6499. "speedy\.sh\/\\w+",
  6500. 'bgcolor=#eeeeee|class="addthis',
  6501. 'File not found|downloadfilenamenotfound>',
  6502. 'optional--',
  6503. 'optional2--',
  6504. "//a[contains(@href,'speedy.sh')]");
  6505. }
  6506. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6507. {
  6508. addFileHost(
  6509. "sanshare\.com\/\\w+",
  6510. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6511. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6512. 'optional--',
  6513. 'optional2--',
  6514. "//a[contains(@href,'sanshare.com')]");
  6515. }
  6516. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6517. {
  6518. addFileHost(
  6519. "kingfiles\.net\/\\w+",
  6520. 'method_free',
  6521. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6522. 'optional--',
  6523. 'optional2--',
  6524. "//a[contains(@href,'kingfiles.net')]");
  6525. }
  6526. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6527. {
  6528. addFileHost(
  6529. "uploadhero\\.co\/dl\/\\w+",
  6530. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6531. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6532. 'optional--',
  6533. 'optional2--',
  6534. "//a[contains(@href,'uploadhero.co/dl')]"
  6535. );
  6536. } */
  6537. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6538. {
  6539. addFileHost(
  6540. "secureupload\\.eu\/\\w+",
  6541. 'Downloading',
  6542. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6543. 'optional--',
  6544. 'optional2--',
  6545. "//a[contains(@href,'secureupload.eu')]"
  6546. );
  6547. }
  6548. if (GM_getValue("Check_ge_dot_tt_links", false))
  6549. {
  6550. addFileHost(
  6551. "ge\.tt\/\\w+",
  6552. 'downloads pic',
  6553. 'is NOT the same as',
  6554. 'optional--',
  6555. 'optional2--',
  6556. "//a[contains(@href,'ge.tt')]");
  6557. }
  6558. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6559. {
  6560. addFileHost(
  6561. "filefactory\.com\/\\w+",
  6562. 'div id="file_holder"|download.css',
  6563. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6564. 'Server Maintenance|temporarily overloaded',
  6565. 'Premium Account Required',
  6566. "//a[contains(@href,'filefactory.com')]");
  6567. }
  6568. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6569. {
  6570. addFileHost(
  6571. "filesflash\.net\/\\w+",
  6572. 'align:right">Filename:',
  6573. 'class="msg">',
  6574. 'optional--',
  6575. 'optional2--',
  6576. "//a[contains(@href,'filesflash.net')]");
  6577. }
  6578. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6579. {
  6580. addFileHost(
  6581. "rapidgator\\.net\/folder\/\\w+",
  6582. 'href="/folder/',
  6583. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6584. 'optional--',
  6585. 'optional2--',
  6586. "//a[contains(@href,'rapidgator.net/folder')]",
  6587. true
  6588. );
  6589. }
  6590. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6591. {
  6592. addFileHost(
  6593. "salefiles\.com\/\\w+",
  6594. 'name="method_free',
  6595. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6596. 'optional--',
  6597. 'optional2--',
  6598. "//a[contains(@href,'salefiles.com')]");
  6599. }
  6600. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6601. {
  6602. addFileHost(
  6603. "megairon\.net\/\\w+",
  6604. 'border: 5px #ffeb90 solid;',
  6605. 'CONTENT="Download File ">|var rr =',
  6606. 'error-code">523',
  6607. 'optional2--',
  6608. "//a[contains(@href,'megairon.net')]",
  6609. true);
  6610. } */
  6611. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6612. {
  6613. addFileHost(
  6614. "datoid\.cz\/\\w+",
  6615. 'btn-download|class="icon-download-large"',
  6616. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6617. 'optional--',
  6618. 'optional2--',
  6619. "//a[contains(@href,'datoid.cz')]");
  6620. }
  6621. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6622. {
  6623. addFileHost(
  6624. "stiahni\.si\/\\w+",
  6625. 'report_icon.png"|slow-download-button',
  6626. 'none.png|deleted|<h2>Error 500</h2>',
  6627. 'optional--',
  6628. 'optional2--',
  6629. "//a[contains(@href,'stiahni.si')]");
  6630. }
  6631. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6632. {
  6633. addFileHost(
  6634. "cloudstor\.es\/\\w+",
  6635. '"btn_download"',
  6636. '404: Page Not Found',
  6637. 'optional--',
  6638. 'optional2--',
  6639. "//a[contains(@href,'cloudstor.es')]");
  6640. }
  6641. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6642. {
  6643. addFileHost(
  6644. "streamfile\.com\/\\w+",
  6645. 'class="btn',
  6646. 'class="green-btn',
  6647. 'optional--',
  6648. 'optional2--',
  6649. "//a[contains(@href,'streamfile.com')]");
  6650. }
  6651. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6652. {
  6653. addFileHost(
  6654. "eyesfile\.ca\/\\w+",
  6655. 'value="Get Link',
  6656. 'var rr =',
  6657. 'optional--',
  6658. 'optional2--',
  6659. "//a[contains(@href,'eyesfile.ca')]");
  6660. }
  6661. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6662. {
  6663. addFileHost(
  6664. "filemoney\.com\/\\w+",
  6665. 'og:title',
  6666. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6667. 'error-code">1010',
  6668. 'optional2--',
  6669. "//a[contains(@href,'filemoney.com')]");
  6670. }
  6671. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6672. {
  6673. addFileHost(
  6674. "uploadboy\.com\/\\w+",
  6675. 'width="740">|method_free',
  6676. 'var rr =|background:#ffffff|not be found|file was removed',
  6677. 'optional--',
  6678. 'optional2--',
  6679. "//a[contains(@href,'uploadboy.com')]");
  6680. }
  6681. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6682. {
  6683. addFileHost(
  6684. "uploadboy\.com\/\\w+",
  6685. 'width="740">|method_free',
  6686. 'var rr =|background:#ffffff|not be found|file was removed',
  6687. 'optional--',
  6688. 'optional2--',
  6689. "//a[contains(@href,'uploadboy.me')]");
  6690. }
  6691. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6692. {
  6693. addFileHost(
  6694. "speedshare\.eu\/\\w+",
  6695. 'favicon.png|color:#3d87c0|cross.png"',
  6696. 'var rr =|File Not Found|style="background:#eee',
  6697. 'optional--',
  6698. 'optional2--',
  6699. "//a[contains(@href,'speedshare.eu')]");
  6700. }
  6701. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6702. {
  6703. addFileHost(
  6704. "unlimitzone\.com\/\\w+",
  6705. 'name="method_free',
  6706. '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',
  6707. 'optional--',
  6708. 'optional2--',
  6709. "//a[contains(@href,'unlimitzone.com')]");
  6710. }
  6711. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6712. {
  6713. addFileHost(
  6714. "rioupload\.com\/\\w+",
  6715. 'sell.jpg',
  6716. 'var rr =',
  6717. 'optional--',
  6718. 'optional2--',
  6719. "//a[contains(@href,'rioupload.com')]");
  6720. }
  6721. if (GM_getValue("Check_rg_dot_to_links", false))
  6722. {
  6723. addFileHost(
  6724. "rg\.to\/\\w+",
  6725. '/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',
  6726. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6727. 'optional--',
  6728. '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',
  6729. "//a[contains(@href,'rg.to')]");
  6730. }
  6731. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6732. {
  6733. addFileHost(
  6734. "jumbofiles\.org\/\\w+",
  6735. 'H71C5.png|class="downloadtitle">',
  6736. 'var swfu|ViewSourceBIN.png',
  6737. 'optional--',
  6738. 'optional2--',
  6739. "//a[contains(@href,'jumbofiles.org')]");
  6740. }
  6741. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6742. {
  6743. addFileHost(
  6744. "fshare\\.vn\/file\/\\w+",
  6745. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6746. 'không tồn tại|class="color_red m_t_50"',
  6747. 'optional--',
  6748. 'optional2--',
  6749. "//a[contains(@href,'fshare.vn/file')]",
  6750. true
  6751. );
  6752. }
  6753. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6754. {
  6755. addFileHost(
  6756. "spaceforfiles\.com\/\\w+",
  6757. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6758. 'var rr =|AVOID_IE_BUG',
  6759. 'optional--',
  6760. 'optional2--',
  6761. "//a[contains(@href,'spaceforfiles.com')]");
  6762. }
  6763. if (GM_getValue("Check_google_dot_com_links", false))
  6764. {
  6765. addFileHost(
  6766. "google\\.com\/file\/\\w+",
  6767. 'content="!">|color:#2d2d2d',
  6768. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6769. 'optional--',
  6770. 'optional2--',
  6771. "//a[contains(@href,'google.com/file')]",
  6772. true
  6773. );
  6774. }
  6775. if (GM_getValue("Check_google_dot_com_links", false))
  6776. {
  6777. addFileHost(
  6778. "docs.google.com\/\\w+",
  6779. 'content="!">|color:#2d2d2d',
  6780. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6781. 'optional--',
  6782. 'optional2--',
  6783. "//a[contains(@href,'docs.google.com')]",
  6784. true
  6785. );
  6786. }
  6787. if (GM_getValue("Check_google_dot_com_links", false))
  6788. {
  6789. addFileHost(
  6790. "drive.google.com\/\\w+",
  6791. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6792. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6793. 'optional--',
  6794. 'optional2--',
  6795. "//a[contains(@href,'drive.google.com')]",
  6796. true
  6797. );
  6798. }
  6799. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6800. {
  6801. addFileHost(
  6802. "up.media1fire\.com\/\\w+",
  6803. 'class="addthis_|value="download',
  6804. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6805. 'optional--',
  6806. 'optional2--',
  6807. "//a[contains(@href,'up.media1fire.com')]");
  6808. }
  6809. if (GM_getValue("Check_depfile_dot_com_links", false))
  6810. {
  6811. addFileHost(
  6812. "depfile\.com\/\\w+",
  6813. 'logo_0.png|downloads.gif"|verifycode',
  6814. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6815. 'optional--',
  6816. 'available only for Premium users',
  6817. "//a[contains(@href,'depfile.com')]");
  6818. }
  6819. if (GM_getValue("Check_go4up_dot_com_links", false))
  6820. {
  6821. addFileHost(
  6822. "go4up\.com\/\\w+",
  6823. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6824. '<title>GO4UP|dmca',
  6825. 'optional--',
  6826. 'optional2--',
  6827. "//a[contains(@href,'go4up.com')]");
  6828. }
  6829. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6830. {
  6831. addFileHost(
  6832. "redbunker\.net\/\\w+",
  6833. 'name="method_free"',
  6834. 'color="red">Unknow / Bilinmiyor<',
  6835. 'optional--',
  6836. '2.3 GB',
  6837. "//a[contains(@href,'redbunker.net')]");
  6838. }
  6839. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6840. {
  6841. addFileHost(
  6842. "divxpress\.com\/\\w+",
  6843. 'btn_download|logo.png"',
  6844. 'AVOID_IE_BUG|var rr =',
  6845. 'optional--',
  6846. 'optional2--',
  6847. "//a[contains(@href,'divxpress.com')]");
  6848. }
  6849. if (GM_getValue("Check_anafile_dot_com_links", false))
  6850. {
  6851. addFileHost(
  6852. "anafile\.com\/\\w+",
  6853. 'width="881" valign="top|color="#800080"|name="go"',
  6854. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6855. 'optional--',
  6856. 'optional2--',
  6857. "//a[contains(@href,'anafile.com')]");
  6858. }
  6859. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6860. {
  6861. addFileHost(
  6862. "uploadable\\.ch\/file\/\\w+",
  6863. 'captcha.js"|payment.js"|class="btn_download"',
  6864. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6865. 'optional--',
  6866. 'optional2--',
  6867. "//a[contains(@href,'uploadable.ch/file')]",
  6868. true
  6869. );
  6870. }
  6871. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6872. {
  6873. addFileHost(
  6874. "arabloads\.net\/\\w+",
  6875. 'name="method_free"|name="method_premium"',
  6876. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6877. 'optional--',
  6878. 'optional2--',
  6879. "//a[contains(@href,'arabloads.net')]");
  6880. }
  6881. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6882. {
  6883. addFileHost(
  6884. "sharerepo\.com\/\\w+",
  6885. 'name="method_free"',
  6886. 'var public_on=|The file you were looking for could not be found',
  6887. 'optional--',
  6888. 'optional2--',
  6889. "//a[contains(@href,'sharerepo.com')]");
  6890. }
  6891. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6892. {
  6893. addFileHost(
  6894. "sfshare\.se\/\\w+",
  6895. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6896. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6897. 'optional--',
  6898. 'optional2--',
  6899. "//a[contains(@href,'sfshare.se')]");
  6900. }
  6901. if (GM_getValue("Check_files_dot_fm_links", false))
  6902. {
  6903. addFileHost(
  6904. "files\.fm\/\\w+",
  6905. 'dl.png"|background-color: transparent',
  6906. 'margin: 40px 40px|background: none;',
  6907. 'optional--',
  6908. 'optional2--',
  6909. "//a[contains(@href,'files.fm')]");
  6910. }
  6911. if (GM_getValue("Check_koofile_dot_com_links", false))
  6912. {
  6913. addFileHost(
  6914. "koofile\.com\/\\w+",
  6915. 'value="download1">|name="method_free"',
  6916. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6917. 'optional--',
  6918. 'optional2--',
  6919. "//a[contains(@href,'koofile.com')]");
  6920. }
  6921. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6922. {
  6923. addFileHost(
  6924. "vidxden\\.com\/\\w+",
  6925. 'Continue to Video"',
  6926. 'No such file',
  6927. 'optional--',
  6928. 'optional2--',
  6929. "//a[contains(@href,'vidxden.com')]"
  6930. );
  6931. }
  6932. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6933. {
  6934. addFileHost(
  6935. "muchshare\\.net\/\\w+",
  6936. 'id="btn_download"',
  6937. 'File Not Found|width: 500px; text-align: left;',
  6938. 'optional--',
  6939. 'optional2--',
  6940. "//a[contains(@href,'muchshare.net')]"
  6941. );
  6942. }
  6943. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6944. {
  6945. addFileHost(
  6946. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6947. 'Details zur Datei|Details page',
  6948. 'Jetzt hochladen|upload now',
  6949. 'optional--',
  6950. 'optional2--',
  6951. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6952. );
  6953. }
  6954. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6955. {
  6956. addFileHost(
  6957. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6958. 'downloadbtn"',
  6959. 'DL_FileNotFound',
  6960. 'optional--',
  6961. 'optional2--',
  6962. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6963. );
  6964. }
  6965. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6966. {
  6967. addFileHost(
  6968. "fileflyer\.com\/view\/\\w+",
  6969. '(?:dwl|locked)btn"',
  6970. 'error.gif"|link">Removed|removedlink">',
  6971. 'optional--',
  6972. 'optional2--',
  6973. "//a[contains(@href,'fileflyer.com')]"
  6974. );
  6975. }
  6976. if (GM_getValue("Check_filestore_dot_to_links", false))
  6977. {
  6978. addFileHost(
  6979. "filestore\.to\/\\?d=\\w+",
  6980. '"downloading"',
  6981. 'Datei wurde nicht gefunden',
  6982. 'optional--',
  6983. 'optional2--',
  6984. "//a[contains(@href,'filestore.to')]"
  6985. );
  6986. }
  6987. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6988. {
  6989. addFileHost(
  6990. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6991. 'fz24">Download|class="pl15">',
  6992. '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',
  6993. 'optional--',
  6994. 'optional2--',
  6995. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  6996. );
  6997. }
  6998. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  6999. {
  7000. addFileHost(
  7001. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7002. 'File size:',
  7003. 'file is not found',
  7004. 'optional--',
  7005. 'optional2--',
  7006. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7007. );
  7008. } */
  7009. if (GM_getValue("Check_datei_dot_to_links", false))
  7010. {
  7011. addFileHost(
  7012. "datei\\.to\/\\??\\w+",
  7013. 'icon_downloaden\\.png|>Download starten<',
  7014. 'Datei wurde nicht gefunden|icon_deleted.png',
  7015. 'optional--',
  7016. 'optional2--',
  7017. "//a[contains(@href,'datei.to')]"
  7018. );
  7019. }
  7020. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7021. {
  7022. addFileHost(
  7023. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7024. '<body class="body" id="body">|value="Slow Download"',
  7025. '<body class="body" >',
  7026. 'optional--',
  7027. 'optional2--',
  7028. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7029. );
  7030. }
  7031. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7032. {
  7033. addFileHost(
  7034. "uploadhero\\.com\/dl\/\\w+",
  7035. 'content-dl">',
  7036. 'men_file_lost\\.jpg"',
  7037. 'optional--',
  7038. 'optional2--',
  7039. "//a[contains(@href,'uploadhero.com/dl')]"
  7040. );
  7041. } */
  7042. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7043. {
  7044. addFileHost(
  7045. "unibytes\\.com\/[\\w\.]+",
  7046. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7047. 'File not found|Файл не найден|',
  7048. 'optional--',
  7049. 'optional2--',
  7050. "//a[contains(@href,'unibytes.com')]"
  7051. );
  7052. }
  7053. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7054. {
  7055. addFileHost(
  7056. "www\\.hellshare\\.com\/\\d+",
  7057. 'tab\\-details"',
  7058. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7059. 'optional--',
  7060. 'optional2--',
  7061. "//a[contains(@href,'www.hellshare.com')]"
  7062. );
  7063. }
  7064. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7065. {
  7066. addFileHost(
  7067. "www\\.download.cz.hellshare\\.com\/\\w+",
  7068. 'tab\\-details"',
  7069. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7070. 'optional--',
  7071. 'optional2--',
  7072. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7073. );
  7074. }
  7075. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7076. {
  7077. addFileHost(
  7078. "quickshare\\.cz\/slozka-\\d+",
  7079. 'Počet souborů: <strong>[1-9]',
  7080. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7081. 'optional--',
  7082. 'optional2--',
  7083. "//a[contains(@href,'quickshare.cz/slozka')]"
  7084. );
  7085. } */
  7086. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7087. {
  7088. addFileHost(
  7089. "filefactory\\.com\/f\/\\w+",
  7090. 'folderFileList">',
  7091. 'table class="items"|Pointer" class="red">',
  7092. 'optional--',
  7093. 'optional2--',
  7094. "//a[contains(@href,'filefactory.com/f/')]"
  7095. );
  7096. }
  7097. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7098. {
  7099. addFileHost(
  7100. "netfolder\\.in\/\\w+",
  7101. 'list" value="http',
  7102. 'InPage_Error">|list" value=""',
  7103. 'optional--',
  7104. 'optional2--',
  7105. "//a[contains(@href,'netfolder.in')]"
  7106. );
  7107. } */
  7108. if (GM_getValue("Check_load_dot_to_links", false))
  7109. {
  7110. addFileHost(
  7111. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7112. '"download_table_left">Size',
  7113. 'Can\'t find file',
  7114. 'optional--',
  7115. 'optional2--',
  7116. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7117. );
  7118. }
  7119. if (GM_getValue("Check_divshare_dot_com_links", false))
  7120. {
  7121. addFileHost(
  7122. "divshare\\.com\/download\/",
  7123. 'download_new\.png',
  7124. 'have been removed',
  7125. 'optional--',
  7126. 'optional2--',
  7127. "//a[contains(@href,'divshare.com')]"
  7128. );
  7129. }
  7130. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7131. {
  7132. addFileHost(
  7133. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7134. 'class="nazev-souboru',
  7135. '<div class="background margin-top vlevo" style="width: 600px;">',
  7136. 'optional--',
  7137. 'optional2--',
  7138. "//a[contains(@href,'euroshare.eu/file')]"
  7139. );
  7140. }
  7141. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7142. {
  7143. addFileHost(
  7144. 'files\\.mail\\.ru/(?:\\w*)',
  7145. 'fileList',
  7146. 'errorMessage',
  7147. 'optional--',
  7148. 'optional2--',
  7149. "//a[contains(@href,'files.mail.ru')]"
  7150. );
  7151. }
  7152. if (GM_getValue("Check_megashares_dot_com_links", false))
  7153. {
  7154. addFileHost(
  7155. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7156. 'Filesize',
  7157. 'Invalid|deleted|Could not download file',
  7158. 'slots|scheduled maintenance',
  7159. 'optional2--',
  7160. "//a[contains(@href,'megashares.com/')]"
  7161. );
  7162. }
  7163. if (GM_getValue("Check_narod_dot_ru_links", false))
  7164. {
  7165. addFileHost(
  7166. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7167. 'b-submit|action="resource.download"',
  7168. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7169. 'Внутренняя ошибка сервиса',
  7170. 'optional2--',
  7171. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7172. );
  7173. }
  7174. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7175. {
  7176. addFileHost(
  7177. "rayfile\\.com\/",
  7178. 'FILEtitleTXT',
  7179. 'blueRow',
  7180. 'optional--',
  7181. 'optional2--',
  7182. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7183. );
  7184. }
  7185. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7186. {
  7187. addFileHost(
  7188. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7189. 'button_green_body"',
  7190. 'error">',
  7191. 'optional--',
  7192. 'optional2--',
  7193. "//a[contains(@href,'filesmonster.com/download')]"
  7194. );
  7195. }
  7196. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7197. {
  7198. addFileHost(
  7199. 'usaupload\\.net\/d\/(?:\w*)',
  7200. '<strong>File size:</strong>',
  7201. 'is not available',
  7202. 'optional--',
  7203. 'optional2--',
  7204. "//a[contains(@href,'usaupload.net/d/')]"
  7205. );
  7206. }
  7207. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7208. {
  7209. addFileHost(
  7210. 'sendspace\\.com\/file\/\\w+',
  7211. 'file_description',
  7212. 'msg error"',
  7213. 'optional--',
  7214. 'optional2--',
  7215. "//a[contains(@href,'sendspace.com/file')]"
  7216. );
  7217. }
  7218. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7219. {
  7220. addFileHost(
  7221. 'sendspace\\.pl\/file\/\\w+',
  7222. 'download_file"',
  7223. 'Podany plik nie',
  7224. 'optional--',
  7225. 'optional2--',
  7226. "//a[contains(@href,'sendspace.pl/file')]"
  7227. );
  7228. }
  7229. if (GM_getValue("Check_uploading_dot_com_links", false))
  7230. {
  7231. addFileHost(
  7232. 'uploading\\.com\/(?:files\/)?\\w+',
  7233. 'free_method">',
  7234. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7235. 'optional--',
  7236. 'optional2--',
  7237. "//a[contains(@href,'uploading.com')]"
  7238. );
  7239. }
  7240. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7241. {
  7242. addFileHost(
  7243. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7244. 'fileId"',
  7245. 'error">',
  7246. 'optional--',
  7247. 'optional2--',
  7248. "//a[contains(@href,'gigasize.com/get')]"
  7249. );
  7250. }
  7251. if (GM_getValue("Check_good_dot_com_links", false))
  7252. {
  7253. addFileHost(
  7254. 'good\\.net\/(?:_|dl)',
  7255. 'Free Download',
  7256. 'Not Found',
  7257. 'Forbidden',
  7258. 'optional2--',
  7259. "//a[contains(@href,'good.net')]"
  7260. );
  7261. }
  7262. if (GM_getValue("Check_2shared_dot_com_links", false))
  7263. {
  7264. addFileHost(
  7265. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7266. 'File size',
  7267. 'File not found|is not valid|/images/important.gif',
  7268. 'optional--',
  7269. 'optional2--',
  7270. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7271. );
  7272. }
  7273. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7274. {
  7275. addFileHost(
  7276. 'turboupload\\.com\/\\w*',
  7277. 'You have requested',
  7278. 'File Not Found',
  7279. 'optional--',
  7280. 'optional2--',
  7281. "//a[contains(@href,'turboupload.com')]"
  7282. );
  7283. }
  7284. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7285. {
  7286. addFileHost(
  7287. 'gigapeta\\.com\/dl\/',
  7288. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7289. '404|page_error',
  7290. 'optional--',
  7291. 'optional2--',
  7292. "//a[contains(@href,'gigapeta.com/dl')]"
  7293. );
  7294. }
  7295. if (GM_getValue("Check_veehd_dot_com_links", false))
  7296. {
  7297. addFileHost(
  7298. 'veehd\.com\/video\/.*?',
  7299. 'No sound|Download video',
  7300. 'Featured Videos',
  7301. 'optional--',
  7302. 'optional2--',
  7303. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7304. );
  7305. }
  7306. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7307. {
  7308. addFileHost(
  7309. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7310. 'fast_download_form">|submit_sms_download',
  7311. '<p style="text-align:center">',
  7312. 'optional--',
  7313. 'optional2--',
  7314. "//a[contains(@href,'vip-file.com/download')]"
  7315. );
  7316. }
  7317. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7318. {
  7319. addFileHost(
  7320. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7321. 'download\\-pnl ',
  7322. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7323. 'optional--',
  7324. 'optional2--',
  7325. "//a[contains(@href,'letitbit.net/download')]"
  7326. );
  7327. }
  7328. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7329. {
  7330. addFileHost(
  7331. 'ifolder\.ru\/\\d+',
  7332. 'file-info',
  7333. 'ui-state-error',
  7334. 'optional--',
  7335. 'optional2--',
  7336. "//a[contains(@href,'ifolder.ru')]"
  7337. );
  7338. }
  7339. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7340. {
  7341. addFileHost(
  7342. 'fileswap\\.com\/dl\/\\w+',
  7343. 'bttnDownloadLink"',
  7344. 'rounded_block_error"',
  7345. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7346. 'optional2--',
  7347. "//a[contains(@href,'fileswap.com/dl')]"
  7348. );
  7349. }
  7350. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7351. {
  7352. addFileHost(
  7353. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7354. 'var __error = 0|id="recaptchaPanel">',
  7355. 'FILES__DOESNT_EXIST|removed or did not exist',
  7356. 'optional--',
  7357. 'optional2--',
  7358. "//a[contains(@href,'filecloud.io/')]"
  7359. );
  7360. addFileHost(
  7361. 'ifile\\.it\/\\w+',
  7362. 'var __error = 0',
  7363. 'FILES__DOESNT_EXIST',
  7364. 'optional--',
  7365. 'optional2--',
  7366. "//a[contains(@href,'ifile.it/')]"
  7367. );
  7368. }
  7369. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7370. {
  7371. addFileHost(
  7372. 'solidfiles\\.com\/d\/\\w+',
  7373. 'id="download"|content="Download',
  7374. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7375. 'optional--',
  7376. 'optional2--',
  7377. "//a[contains(@href,'solidfiles.com/d')]"
  7378. );
  7379. }
  7380. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7381. {
  7382. addFileHost(
  7383. "(?:.\\.|)shareflare\\.net",
  7384. 'download-pnl|<div class="premium-block">',
  7385. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7386. 'optional--',
  7387. 'optional2--',
  7388. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7389. );
  7390. }
  7391. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7392. {
  7393. addFileHost(
  7394. "u18116681.shareflare\\.net",
  7395. 'download-pnl|<div class="premium-block">',
  7396. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7397. 'optional--',
  7398. 'optional2--',
  7399. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7400. );
  7401. }
  7402. if (GM_getValue("Check_uloz_dot_to_links", false))
  7403. {
  7404. addFileHost(
  7405. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7406. 'fileDownload">|fileSize">',
  7407. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7408. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7409. 'optional2--',
  7410. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7411. true
  7412. );
  7413. }
  7414. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7415. {
  7416. addFileHost(
  7417. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7418. 'file\\-list-orderby|section-filedetail">',
  7419. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7420. 'optional--',
  7421. 'optional2--',
  7422. "//a[contains(@href,'hellspy.')]"
  7423. );
  7424. }
  7425. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7426. {
  7427. addFileHost(
  7428. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7429. '<body onload="">',
  7430. 'neexistuje|not exist',
  7431. 'optional--',
  7432. 'optional2--',
  7433. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7434. );
  7435. }
  7436. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7437. {
  7438. addFileHost(
  7439. "stahovanizasms\\.cz\/\\w+",
  7440. 'download\\.png>|font-size:11px><tr>',
  7441. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7442. 'optional--',
  7443. 'optional2--',
  7444. "//a[contains(@href,'stahovanizasms.cz')]"
  7445. );
  7446. }
  7447. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7448. {
  7449. addFileHost(
  7450. "share-links\\.biz\/\\w*",
  7451. 'online\\.gif',
  7452. '(?:offline|parts)\\.gif',
  7453. 'optional--',
  7454. 'optional2--',
  7455. "//a[contains(@href,'share-links.biz')]"
  7456. );
  7457. }
  7458. if (GM_getValue("Check_4shared_dot_com_links", false))
  7459. {
  7460. addFileHost(
  7461. "4shared\\.com\/.+\/",
  7462. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7463. 'class="warn\"|big red"|GetDataBack',
  7464. 'Service Unavailable',
  7465. 'optional2--',
  7466. "//a[contains(@href,'4shared.com')]"
  7467. );
  7468. }
  7469. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7470. {
  7471. addFileHost(
  7472. "(?:www\\d+\.|)zippyshare\.com\/",
  7473. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7474. 'not exist|Status 404',
  7475. 'optional--',
  7476. 'optional2--',
  7477. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7478. );
  7479. }
  7480. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7481. {
  7482. addFileHost(
  7483. "mediafire\.com\/",
  7484. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7485. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7486. 'set to private',
  7487. 'optional2--',
  7488. "//a[contains(@href,'mediafire.com')]"
  7489. );
  7490. }
  7491. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7492. {
  7493. addFileHost(
  7494. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7495. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB',
  7496. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7497. 'optional--',
  7498. 'GB</small>',
  7499. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7500. );
  7501. }
  7502. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7503. {
  7504. addFileHost(
  7505. "ulozisko\.sk\/",
  7506. 'Detaily',
  7507. 'neexistuje',
  7508. 'optional--',
  7509. 'optional2--',
  7510. "//a[contains(@href,'ulozisko.sk')]"
  7511. );
  7512. }
  7513. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7514. {
  7515. addFileHost(
  7516. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7517. 'download.php',
  7518. 'notfound|upload\\-suborov\\.php"',
  7519. 'optional--',
  7520. 'optional2--',
  7521. "//a[contains(@href,'upnito.sk')]"
  7522. );
  7523. }
  7524. if (GM_getValue("Check_box_dot_com_links", false))
  7525. {
  7526. addFileHost(
  7527. "box\.com\/\\w+",
  7528. 'download-file-btn|id="download_button|preview-download',
  7529. 'BIyMin.png| <div class="error_message|link has been removed',
  7530. 'optional--',
  7531. 'optional2--',
  7532. "//a[contains(@href,'app.box.com')]");
  7533. }
  7534. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7535. {
  7536. addFileHost(
  7537. "uptobox\\.com\/\\w+",
  7538. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link',
  7539. '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|لا يوجد أي ملف',
  7540. 'Maintenance',
  7541. 'optional2--',
  7542. "//a[contains(@href,'uptobox.com')]"
  7543. );
  7544. }
  7545. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7546. {
  7547. addFileHost(
  7548. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7549. 'FILE DOWNLOAD<',
  7550. 'File Does Not Exist',
  7551. 'optional--',
  7552. 'optional2--',
  7553. "//a[contains(@href,'sharecash.org/download.php')]"
  7554. );
  7555. }
  7556. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7557. {
  7558. addFileHost(
  7559. "depositfiles\\.com\/folders\/\\w+",
  7560. '<div class="progressContainer">',
  7561. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7562. 'optional--',
  7563. 'optional2--',
  7564. "//a[contains(@href,'depositfiles.com/folders')]"
  7565. );
  7566. }
  7567. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7568. {
  7569. addFileHost(
  7570. "rapidfileshare\\.net/\\w+",
  7571. '<div id="upload-header-bg">',
  7572. '<div style="width:500px;text-align:left;">',
  7573. 'optional--',
  7574. 'optional2--',
  7575. "//a[contains(@href,'rapidfileshare.net/')]"
  7576. );
  7577. }
  7578. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7579. {
  7580. addFileHost(
  7581. "stiahnito\\.sk/",
  7582. '<span class="filesize right">',
  7583. '<ol class="list-purp-2">',
  7584. 'optional--',
  7585. 'optional2--',
  7586. "//a[contains(@href,'stiahnito.sk/')]"
  7587. );
  7588. }
  7589. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7590. {
  7591. addFileHost(
  7592. "rusfolder\\.(?:com|net)",
  7593. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7594. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7595. 'optional--',
  7596. 'optional2--',
  7597. "//a[contains(@href,'rusfolder')]"
  7598. );
  7599. }
  7600. if (GM_getValue("Check_fileover_dot_net_links", false))
  7601. {
  7602. addFileHost(
  7603. "fileover\\.net/\\d+",
  7604. 'id="filesize"',
  7605. 'Not found or deleted|The following file is unavailable',
  7606. 'optional--',
  7607. 'optional2--',
  7608. "//a[contains(@href,'fileover.net/')]"
  7609. );
  7610. }
  7611. if (GM_getValue("Check_catshare_dot_net_links", false))
  7612. {
  7613. addFileHost(
  7614. "catshare\\.net/\\w+",
  7615. '"icon-share',
  7616. 'alert alert-error',
  7617. 'optional--',
  7618. 'optional2--',
  7619. "//a[contains(@href,'catshare.net/')]"
  7620. );
  7621. }
  7622. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7623. {
  7624. addFileHost(
  7625. "anonfiles\\.com/\\w+",
  7626. '"download_button"',
  7627. '<legend><b>404</b>',
  7628. 'optional--',
  7629. 'optional2--',
  7630. "//a[contains(@href,'anonfiles.com')]"
  7631. );
  7632. }
  7633. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7634. {
  7635. addFileHost(
  7636. "mixturecloud\\.com/media/\\w+",
  7637. '"btn icon i_globe gray share_150',
  7638. '"s_cross_close"></span> 404:',
  7639. 'optional--',
  7640. 'optional2--',
  7641. "//a[contains(@href,'mixturecloud.com/media/')]"
  7642. );
  7643. }
  7644. if (GM_getValue("Check_akafile_dot_com_links", false))
  7645. {
  7646. addFileHost(
  7647. "akafile\\.com\/\\w+",
  7648. 'download1',
  7649. 'File Not Found',
  7650. 'optional--',
  7651. 'optional2--',
  7652. "//a[contains(@href,'akafile.com/')]"
  7653. );
  7654. }
  7655. if (GM_getValue("Check_creafile_dot_net_links", false))
  7656. {
  7657. addFileHost(
  7658. "creafile\\.net\/\\w+",
  7659. 'downloadblock',
  7660. 'errtitle',
  7661. 'optional--',
  7662. 'optional2--',
  7663. "//a[contains(@href,'creafile.net/')]"
  7664. );
  7665. }
  7666. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7667. {
  7668. addFileHost(
  7669. "hugefiles\\.net\/\\w+",
  7670. 'download1|class="btn-create-download" value="Create Download Link">',
  7671. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7672. 'optional--',
  7673. 'optional2--',
  7674. "//a[contains(@href,'hugefiles.net/')]"
  7675. );
  7676. }
  7677. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7678. {
  7679. addFileHost(
  7680. "sendmyway\\.com\/\\w+",
  7681. 'id="btn_download"',
  7682. '500px;text-align:left;"|<center><h3>',
  7683. 'optional--',
  7684. 'optional2--',
  7685. "//a[contains(@href,'sendmyway.com/')]"
  7686. );
  7687. }
  7688. if (GM_getValue("Check_upload_dot_ee_links", false))
  7689. {
  7690. addFileHost(
  7691. "upload\\.ee\/\\w+",
  7692. 'onmouseout="document.dllink.src',
  7693. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7694. 'optional--',
  7695. 'optional2--',
  7696. "//a[contains(@href,'upload.ee/')]"
  7697. );
  7698. }
  7699. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7700. {
  7701. addFileHost(
  7702. "shareplace\\.org\/\\?\\w+",
  7703. 'Download-Link',
  7704. 'Your requested file is not found|Select file to send',
  7705. 'optional--',
  7706. 'optional2--',
  7707. "//a[contains(@href,'shareplace.org/?')]"
  7708. );
  7709. }
  7710. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7711. {
  7712. addFileHost(
  7713. "uploadc\\.com\/\\w+",
  7714. 'id="prebut"',
  7715. 'File Not Found|This file has been removed due',
  7716. 'optional--',
  7717. 'optional2--',
  7718. "//a[contains(@href,'uploadc.com/')]"
  7719. );
  7720. }
  7721. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7722. {
  7723. addFileHost(
  7724. "remixshare\\.com\/\\w+",
  7725. 'id="dl2"',
  7726. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7727. 'optional--',
  7728. 'optional2--',
  7729. "//a[contains(@href,'remixshare.com/')]"
  7730. );
  7731. }
  7732. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7733. {
  7734. addFileHost(
  7735. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7736. 'Last Download :',
  7737. 'img src="\\/404.jpg"',
  7738. 'optional--',
  7739. 'optional2--',
  7740. "//a[contains(@href,'exoshare.com/download.php')]"
  7741. );
  7742. }
  7743. if (GM_getValue("Check_borncash_dot_org_links", false))
  7744. {
  7745. addFileHost(
  7746. "borncash\\.org\/download\/\\?a=\\w+",
  7747. 'class="knop_1"',
  7748. '\/error\/er00',
  7749. 'optional--',
  7750. 'optional2--',
  7751. "//a[contains(@href,'borncash.org/download/')]"
  7752. );
  7753. }
  7754. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7755. {
  7756. addFileHost(
  7757. "vidplay\.net\/\\w+",
  7758. 'solvemedia puzzle widget',
  7759. 'File not found|AVOID_IE_BUG',
  7760. 'optional--',
  7761. 'optional2--',
  7762. "//a[contains(@href,'vidplay.net')]");
  7763. }
  7764. if (GM_getValue("Check_storagon_dot_com_links", false))
  7765. {
  7766. addFileHost(
  7767. "storagon\.com\/\\w+",
  7768. 'class="icon-cloud-download"></i>|content="Download Options',
  7769. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7770. 'optional--',
  7771. 'optional2--',
  7772. "//a[contains(@href,'storagon.com')]");
  7773. }
  7774. if (GM_getValue("Check_filedais_dot_com_links", false))
  7775. {
  7776. addFileHost(
  7777. "filedais\.com\/\\w+",
  7778. 'class="btn btn-info"|name="method_free"',
  7779. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7780. 'optional--',
  7781. 'optional2--',
  7782. "//a[contains(@href,'filedais.com')]");
  7783. }
  7784. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7785. {
  7786. addFileHost(
  7787. "up.4share\.vn\/\\w+",
  7788. '<font size="2" face="Verdana">',
  7789. 'font: 13px Tahoma; color: Brown',
  7790. 'optional--',
  7791. 'optional2--',
  7792. "//a[contains(@href,'up.4share.vn')]");
  7793. }
  7794. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7795. {
  7796. addFileHost(
  7797. "share.vnn\.vn\/\\w+",
  7798. '"index,follow"|<div class="main" id="download-box">',
  7799. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7800. 'optional--',
  7801. 'optional2--',
  7802. "//a[contains(@href,'share.vnn.vn')]");
  7803. }
  7804. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7805. {
  7806. addFileHost(
  7807. "upfile\.vn\/\\w+",
  7808. 'download-timer',
  7809. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7810. 'optional--',
  7811. 'optional2--',
  7812. "//a[contains(@href,'upfile.vn')]");
  7813. }
  7814. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7815. {
  7816. addFileHost(
  7817. "aisfile\.com\/\\w+",
  7818. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7819. '<div style="width:500px;text-align:left;">|File Not Found',
  7820. 'optional--',
  7821. 'optional2--',
  7822. "//a[contains(@href,'aisfile.com')]");
  7823. }
  7824. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7825. {
  7826. addFileHost(
  7827. "usersfiles\.com\/\\w+",
  7828. 'class="btn btn-success|id="btn_download" class="btn"',
  7829. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7830. 'optional--',
  7831. 'optional2--',
  7832. "//a[contains(@href,'usersfiles.com')]");
  7833. }
  7834. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7835. {
  7836. addFileHost(
  7837. "pan.baidu\.com\/\\w+",
  7838. 'target="_blank" title=|share-personal-info',
  7839. 'share_notfound.png|background:#f9f9f9',
  7840. 'optional--',
  7841. 'optional2--',
  7842. "//a[contains(@href,'pan.baidu.com')]");
  7843. }
  7844. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7845. {
  7846. addFileHost(
  7847. "yunpan\.cn\/\\w+",
  7848. 'class="icon icon-download',
  7849. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7850. 'optional--',
  7851. 'optional2--',
  7852. "//a[contains(@href,'yunpan.cn')]");
  7853. }
  7854. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7855. {
  7856. addFileHost(
  7857. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7858. 'getElementById("downbild")|style.display',
  7859. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7860. 'optional--',
  7861. 'optional2--',
  7862. "//a[contains(@href,'file-upload.net')]");
  7863. }
  7864. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7865. {
  7866. addFileHost(
  7867. "gulfup\.com\/",
  7868. '<!-- Downlod template -->|download.gif',
  7869. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7870. 'optional--',
  7871. 'optional2--',
  7872. "//a[contains(@href,'gulfup.com')]");
  7873. }
  7874. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7875. {
  7876. addFileHost(
  7877. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7878. 'dldtable">',
  7879. 'does not exist\\.',
  7880. 'optional--',
  7881. 'optional2--',
  7882. "//a[contains(@href,'datafilehost.com')]");
  7883. }
  7884. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7885. {
  7886. addFileHost(
  7887. "dropbox\.com\/s\/\\w+",
  7888. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7889. '>Nothing Here<|>Error (404)<',
  7890. 'title>Dropbox - 509|Error (403)|Error: 429',
  7891. 'optional2--',
  7892. "//a[contains(@href,'dropbox.com')]");
  7893. }
  7894. if (GM_getValue("Check_box_dot_net_links", false))
  7895. {
  7896. addFileHost(
  7897. "box\.net\/\\w+",
  7898. 'download-file-btn|id="download_button',
  7899. 'BIyMin.png| <div class="error_message',
  7900. 'optional--',
  7901. 'optional2--',
  7902. "//a[contains(@href,'box.net')]");
  7903. }
  7904. if (GM_getValue("Check_fileband_dot_com_links", false))
  7905. {
  7906. addFileHost(
  7907. "fileband\.com\/\\w+",
  7908. 'value="download1">|name="id" value=',
  7909. '<div style="width:500px;text-align:left;">|not be found',
  7910. 'optional--',
  7911. 'optional2--',
  7912. "//a[contains(@href,'fileband.com')]");
  7913. }
  7914. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7915. {
  7916. addFileHost(
  7917. "filedropper\.com\/\\w+",
  7918. 'background:#ddd;|width:985px; ',
  7919. 'background-color:#FFFFFF;|margin-left: -400px;',
  7920. 'optional--',
  7921. 'optional2--',
  7922. "//a[contains(@href,'filedropper.com')]");
  7923. }
  7924. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7925. {
  7926. addFileHost(
  7927. "tropicshare\\.com\/files\/\\d+",
  7928. 'MB</span>|GB</span>|KB</span>',
  7929. '>FNF<|size: </span>',
  7930. 'optional--',
  7931. 'optional2--',
  7932. "//a[contains(@href,'tropicshare.com')]");
  7933. }
  7934. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7935. {
  7936. addFileHost(
  7937. "goldbytez\.com\/\\w+",
  7938. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7939. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7940. 'optional--',
  7941. 'optional2--',
  7942. "//a[contains(@href,'goldbytez.com')]");
  7943. }
  7944. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7945. {
  7946. addFileHost(
  7947. "worldbytez\.com\/\\w+",
  7948. '<div class="download_type">',
  7949. '<div style="width:500px;text-align:left;">',
  7950. 'optional--',
  7951. 'optional2--',
  7952. "//a[contains(@href,'worldbytez.com')]");
  7953. }
  7954. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7955. {
  7956. addFileHost(
  7957. "freefilehosting\.net\/\\w+",
  7958. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7959. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7960. 'optional--',
  7961. 'optional2--',
  7962. "//a[contains(@href,'freefilehosting.net')]");
  7963. }
  7964. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7965. {
  7966. addFileHost(
  7967. "ziddu\.com\/\\w+",
  7968. 'downloads.ziddu.com|downloadfilelinkicon',
  7969. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7970. 'optional--',
  7971. 'optional2--',
  7972. "//a[contains(@href,'ziddu.com')]");
  7973. }
  7974. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7975. {
  7976. addFileHost(
  7977. "exclusiveloader\.com\/\\w+",
  7978. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7979. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7980. 'optional--',
  7981. 'optional2--',
  7982. "//a[contains(@href,'exclusiveloader.com')]");
  7983. }
  7984. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7985. {
  7986. addFileHost(
  7987. "sharerapid\.cz\/\\w+",
  7988. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7989. 'error_div">|404 - Not Found',
  7990. 'optional--',
  7991. 'optional2--',
  7992. "//a[contains(@href,'sharerapid.cz')]");
  7993. }
  7994. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7995. {
  7996. addFileHost(
  7997. "sdilej\.cz\/\\w+",
  7998. 'class="page-download"',
  7999. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8000. 'optional--',
  8001. 'optional2--',
  8002. "//a[contains(@href,'sdilej.cz')]");
  8003. }
  8004. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8005. {
  8006. addFileHost(
  8007. "lafiles\.com\/\\w+",
  8008. '<div id="pay_modes">',
  8009. '<b class="err"></b>',
  8010. 'optional--',
  8011. 'optional2--',
  8012. "//a[contains(@href,'lafiles.com')]");
  8013. }
  8014. if (GM_getValue("Check_acefile_dot_net_links", false))
  8015. {
  8016. addFileHost(
  8017. "acefile\.net\/\\w+",
  8018. 'align=right nowrap><b>',
  8019. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8020. 'optional--',
  8021. 'optional2--',
  8022. "//a[contains(@href,'acefile.net')]");
  8023. }
  8024. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8025. {
  8026. addFileHost(
  8027. "megarapid\.cz\/\\w+",
  8028. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8029. 'error_div">|404 - Not Found',
  8030. 'optional--',
  8031. 'optional2--',
  8032. "//a[contains(@href,'megarapid.cz')]");
  8033. }
  8034. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8035. {
  8036. addFileHost(
  8037. "yadi\.sk\/\\w+",
  8038. 'twitter:site|View and download',
  8039. 'error code|Nothing found',
  8040. 'optional--',
  8041. 'optional2--',
  8042. "//a[contains(@href,'yadi.sk')]");
  8043. }
  8044. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8045. {
  8046. addFileHost(
  8047. "imdb\.com\/\\w+",
  8048. 'imdb.com',
  8049. '404 Error',
  8050. 'optional--',
  8051. 'optional2--',
  8052. "//a[contains(@href,'imdb.com')]");
  8053. } */
  8054. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8055. {
  8056. addFileHost(
  8057. "hitfile\.net\/\\w+",
  8058. 'class="download-file',
  8059. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8060. 'optional--',
  8061. 'optional2--',
  8062. "//a[contains(@href,'hitfile.net')]");
  8063. }
  8064. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8065. {
  8066. addFileHost(
  8067. "nitroflare\.com\/\\w+",
  8068. 'Report this file</a>|KB</span>',
  8069. 'file has been removed|id="error" style="display|Probably deleted',
  8070. 'optional--',
  8071. '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',
  8072. "//a[contains(@href,'nitroflare.com')]");
  8073. }
  8074. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8075. {
  8076. addFileHost(
  8077. "up.top4top\.net\/\\w+",
  8078. 'start Downlod template',
  8079. 'start err template',
  8080. 'optional--',
  8081. 'optional2--',
  8082. "//a[contains(@href,'up.top4top.net')]");
  8083. }
  8084. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8085. {
  8086. addFileHost(
  8087. "filejoker\.net\/\\w+",
  8088. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8089. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8090. 'optional--',
  8091. 'id="download" class="premium-only">',
  8092. "//a[contains(@href,'filejoker.net')]");
  8093. }
  8094. if (GM_getValue("Check_free_dot_fr_links", false))
  8095. {
  8096. addFileHost(
  8097. "(?:dl.\\.|)free\\.fr",
  8098. 'Valider et t&eacute;l&eacute',
  8099. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8100. 'optional--',
  8101. 'optional2--',
  8102. "//a[contains(@href,'dl.free.fr')]");
  8103. }
  8104. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8105. {
  8106. addFileHost(
  8107. "gboxes\.com\/\\w+",
  8108. 'You have requested|color="red">http://www.gboxes.com',
  8109. 'File Not Found|<div style="width:500px;text-align:left;">',
  8110. 'optional--',
  8111. 'optional2--',
  8112. "//a[contains(@href,'gboxes.com')]");
  8113. }
  8114. if (GM_getValue("Check_led_dot_wf_links", false))
  8115. {
  8116. addFileHost(
  8117. "led\.wf\/\\w+",
  8118. 'logo_0.png|downloads.gif"|verifycode',
  8119. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8120. 'optional--',
  8121. 'available only for Premium users',
  8122. "//a[contains(@href,'led.wf')]");
  8123. }
  8124. if (GM_getValue("Check_lan_dot_wf_links", false))
  8125. {
  8126. addFileHost(
  8127. "lan\.wf\/\\w+",
  8128. 'logo_0.png|downloads.gif"|verifycode',
  8129. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8130. 'optional--',
  8131. 'available only for Premium users',
  8132. "//a[contains(@href,'lan.wf')]");
  8133. }
  8134. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8135. {
  8136. addFileHost(
  8137. "adlink\.wf\/\\w+",
  8138. 'logo_0.png|downloads.gif"|verifycode',
  8139. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8140. 'optional--',
  8141. 'available only for Premium users',
  8142. "//a[contains(@href,'adlink.wf')]");
  8143. }
  8144. if (GM_getValue("Check_click_dot_tf_links", false))
  8145. {
  8146. addFileHost(
  8147. "click\.tf\/\\w+",
  8148. 'logo_0.png|downloads.gif"|verifycode',
  8149. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8150. 'optional--',
  8151. 'available only for Premium users',
  8152. "//a[contains(@href,'click.tf')]");
  8153. }
  8154. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8155. {
  8156. addFileHost(
  8157. "ssh\.tf\/\\w+",
  8158. 'logo_0.png|downloads.gif"|verifycode',
  8159. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8160. 'optional--',
  8161. 'available only for Premium users',
  8162. "//a[contains(@href,'ssh.tf')]");
  8163. }
  8164. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8165. {
  8166. addFileHost(
  8167. "ssh\.yt\/\\w+",
  8168. 'logo_0.png|downloads.gif"|verifycode',
  8169. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8170. 'optional--',
  8171. 'available only for Premium users',
  8172. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8173. }
  8174. if (GM_getValue("Check_yep_dot_pm_links", false))
  8175. {
  8176. addFileHost(
  8177. "yep\.pm\/\\w+",
  8178. 'logo_0.png|downloads.gif"|verifycode',
  8179. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8180. 'optional--',
  8181. 'available only for Premium users',
  8182. "//a[contains(@href,'yep.pm')]");
  8183. }
  8184. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8185. {
  8186. addFileHost(
  8187. "kyc\.pm\/\\w+",
  8188. 'logo_0.png|downloads.gif"|verifycode',
  8189. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8190. 'optional--',
  8191. 'available only for Premium users',
  8192. "//a[contains(@href,'kyc.pm')]");
  8193. }
  8194. if (GM_getValue("Check_brupload_dot_net_links", false))
  8195. {
  8196. addFileHost(
  8197. "brupload\.net\/\\w+",
  8198. 'Download Gratuito',
  8199. '<div style="width:500px;text-align:left;">',
  8200. 'optional--',
  8201. 'optional2--',
  8202. "//a[contains(@href,'brupload.net')]");
  8203. }
  8204. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8205. {
  8206. addFileHost(
  8207. "cloudzilla\.to\/\\w+",
  8208. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8209. 'File not found|/imgs/broken.png',
  8210. 'optional--',
  8211. 'optional2--',
  8212. "//a[contains(@href,'cloudzilla.to')]");
  8213. }
  8214. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8215. {
  8216. addFileHost(
  8217. "fileparadox\.in\/\\w+",
  8218. 'CONTENT="Download File|method_free_file',
  8219. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8220. 'optional--',
  8221. 'optional2--',
  8222. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8223. } */
  8224. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8225. {
  8226. addFileHost(
  8227. "clicknupload\.com\/\\w+",
  8228. 'name="method_free',
  8229. 'File Not Found',
  8230. 'optional--',
  8231. 'optional2--',
  8232. "//a[contains(@href,'clicknupload.com')]");
  8233. }
  8234. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8235. {
  8236. addFileHost(
  8237. "clicknupload\.me\/\\w+",
  8238. 'name="method_free',
  8239. 'File Not Found',
  8240. 'optional--',
  8241. 'optional2--',
  8242. "//a[contains(@href,'clicknupload.me')]");
  8243. }
  8244. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8245. {
  8246. addFileHost(
  8247. "ex-load\.com\/\\w+",
  8248. 'name="method_free|<p>Download File:</p>',
  8249. 'Folder Not Found|File Not Found|Error 404',
  8250. 'optional--',
  8251. 'class="downprem wow bounceInLeft',
  8252. "//a[contains(@href,'ex-load.com')]");
  8253. }
  8254. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8255. {
  8256. addFileHost(
  8257. "hexupload\.com\/\\w+",
  8258. 'button" value="Free|type="submit" value=""',
  8259. 'File Not Found|<div style="width:500px;text-align:left;">',
  8260. 'optional--',
  8261. 'optional2--',
  8262. "//a[contains(@href,'hexupload.com')]");
  8263. }
  8264. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8265. {
  8266. addFileHost(
  8267. "wizupload\.com\/\\w+",
  8268. 'btn_download|class="downloadbtn"',
  8269. '>File Not Found<',
  8270. 'optional--',
  8271. 'optional2--',
  8272. "//a[contains(@href,'wizupload.com')]");
  8273. }
  8274. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8275. {
  8276. addFileHost(
  8277. "filecloud\.cc\/\\w+",
  8278. 'align="center"><input type="submit" name=',
  8279. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8280. 'optional--',
  8281. 'optional2--',
  8282. "//a[contains(@href,'filecloud.cc')]");
  8283. }
  8284. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8285. {
  8286. addFileHost(
  8287. "inclouddrive\.com\/\\w+",
  8288. 'initfreedownload',
  8289. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8290. 'optional--',
  8291. 'optional2--',
  8292. "//a[contains(@href,'inclouddrive.com')]");
  8293. }
  8294. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8295. {
  8296. addFileHost(
  8297. "radicalshare\.com\/\\w+",
  8298. 'value="download1|name="method_free"',
  8299. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8300. 'optional--',
  8301. 'optional2--',
  8302. "//a[contains(@href,'radicalshare.com')]");
  8303. }
  8304. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8305. {
  8306. addFileHost(
  8307. "sharemods\.com\/\\w+",
  8308. 'name="method_free"',
  8309. 'File Not Found<',
  8310. 'optional--',
  8311. 'optional2--',
  8312. "//a[contains(@href,'sharemods.com')]");
  8313. }
  8314. if (GM_getValue("Check_hostr_dot_co_links", false))
  8315. {
  8316. addFileHost(
  8317. "hostr\.co\/\\w+",
  8318. 'method="get"',
  8319. 'File not found<|error-page',
  8320. 'optional--',
  8321. 'optional2--',
  8322. "//a[contains(@href,'hostr.co')]");
  8323. }
  8324. if (GM_getValue("Check_filepi_dot_com_links", false))
  8325. {
  8326. addFileHost(
  8327. "filepi\.com\/\\w+",
  8328. 'id="button_start">',
  8329. 'File not found',
  8330. 'optional--',
  8331. 'optional2--',
  8332. "//a[contains(@href,'filepi.com')]");
  8333. }
  8334. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8335. {
  8336. addFileHost(
  8337. "tikfile\.com\/\\w+",
  8338. 'btn_download',
  8339. 'File Not Found|file was removed|Reason for deletion',
  8340. 'optional--',
  8341. 'optional2--',
  8342. "//a[contains(@href,'tikfile.com')]");
  8343. }
  8344. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8345. {
  8346. addFileHost(
  8347. "cloudsix\.me\/\\w+",
  8348. 'name="method_free"',
  8349. 'File Not Found|width:500px;text-align:left;">',
  8350. 'optional--',
  8351. 'optional2--',
  8352. "//a[contains(@href,'cloudsix.me')]");
  8353. }
  8354. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8355. {
  8356. addFileHost(
  8357. "neodrive\.co\/\\w+",
  8358. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8359. 'File not found|/imgs/broken.png',
  8360. 'optional--',
  8361. 'optional2--',
  8362. "//a[contains(@href,'neodrive.co')]");
  8363. }
  8364. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8365. {
  8366. addFileHost(
  8367. "chayfile\.com\/\\w+",
  8368. 'name="method_free"',
  8369. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8370. 'optional--',
  8371. 'optional2--',
  8372. "//a[contains(@href,'chayfile.com')]");
  8373. }
  8374. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8375. {
  8376. addFileHost(
  8377. "xfileload\.com\/\\w+",
  8378. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8379. '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..|הקובץ שחיפשת לא נמצא.',
  8380. 'optional--',
  8381. 'optional2--',
  8382. "//a[contains(@href,'xfileload.com')]");
  8383. }
  8384. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8385. {
  8386. addFileHost(
  8387. "rockfile\.eu\/\\w+",
  8388. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8389. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8390. 'optional--',
  8391. 'optional2--',
  8392. "//a[contains(@href,'rockfile.eu')]");
  8393. }
  8394. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8395. {
  8396. addFileHost(
  8397. "24uploading\.com\/\\w+",
  8398. 'File:|Download Speed:',
  8399. '<b>File Not Found</b>|file was removed',
  8400. 'optional--',
  8401. 'optional2--',
  8402. "//a[contains(@href,'24uploading.com')]");
  8403. }
  8404. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8405. {
  8406. addFileHost(
  8407. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8408. 'i/icon/dll.png"|>Start download<br',
  8409. 'no longer available<|i/ino.png"',
  8410. 'optional--',
  8411. 'optional2--',
  8412. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8413. }
  8414. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8415. {
  8416. addFileHost(
  8417. "jumbofile\.net\/\\w+",
  8418. 'button" class="" value="Free',
  8419. 'This File Was Deleted',
  8420. 'optional--',
  8421. 'optional2--',
  8422. "//a[contains(@href,'jumbofile.net')]");
  8423. } */
  8424. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8425. {
  8426. addFileHost(
  8427. "ozofiles\.com\/\\w+",
  8428. 'button" value="Free|name="method_free',
  8429. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8430. 'optional--',
  8431. 'optional2--',
  8432. "//a[contains(@href,'ozofiles.com')]");
  8433. }
  8434. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8435. {
  8436. addFileHost(
  8437. "loudupload\.net\/\\w+",
  8438. 'value="Get Links',
  8439. 'File Not Found',
  8440. 'optional--',
  8441. 'optional2--',
  8442. "//a[contains(@href,'loudupload.net')]");
  8443. }
  8444. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8445. {
  8446. addFileHost(
  8447. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8448. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8449. '>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">',
  8450. 'optional--',
  8451. 'optional2--',
  8452. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8453. }
  8454. if (GM_getValue("Check_krotix_dot_net_links", false))
  8455. {
  8456. addFileHost(
  8457. "krotix\.net\/\\w+",
  8458. 'btn btn-warning|btn-free',
  8459. 'pageErrors|This File has been removed',
  8460. 'content="Scheduled Maintenance',
  8461. 'optional2--',
  8462. "//a[contains(@href,'krotix.net')]");
  8463. } */
  8464. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8465. {
  8466. addFileHost(
  8467. "userscloud\.com\/\\w+",
  8468. 'btn_download',
  8469. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8470. 'optional--',
  8471. 'optional2--',
  8472. "//a[contains(@href,'userscloud.com')]");
  8473. }
  8474. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8475. {
  8476. addFileHost(
  8477. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8478. 'class="button download',
  8479. 'internal server error',
  8480. 'optional--',
  8481. 'optional2--',
  8482. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8483. }
  8484. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8485. {
  8486. addFileHost(
  8487. "kb.simple-aja\.info\/\\w+",
  8488. 'class="button download',
  8489. 'internal server error|<p>404</p>',
  8490. 'optional--',
  8491. 'optional2--',
  8492. "//a[contains(@href,'kb.simple')]");
  8493. }
  8494. if (GM_getValue("Check_faststore_dot_org_links", false))
  8495. {
  8496. addFileHost(
  8497. "faststore\.org\/\\w+",
  8498. 'name="method_free',
  8499. 'File Not Found',
  8500. 'optional--',
  8501. 'optional2--',
  8502. "//a[contains(@href,'faststore.org')]");
  8503. }
  8504. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8505. {
  8506. addFileHost(
  8507. "prefiles\.com\/\\w+",
  8508. 'id="method_free',
  8509. 'File not Found',
  8510. 'optional--',
  8511. 'optional2--',
  8512. "//a[contains(@href,'prefiles.com')]");
  8513. }
  8514. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8515. {
  8516. addFileHost(
  8517. "doraupload\.com\/\\w+",
  8518. 'btn_download|name="method_free',
  8519. 'class="error-code|Could Not Be Found',
  8520. 'optional--',
  8521. 'optional2--',
  8522. "//a[contains(@href,'doraupload.com')]");
  8523. }
  8524. if (GM_getValue("Check_openload_dot_io_links", false))
  8525. {
  8526. addFileHost(
  8527. "openload\.io\/\\w+",
  8528. 'btn btn-primary|class="count">|secondsleftouter',
  8529. 'class="jumbotron">|We are sorry',
  8530. 'optional--',
  8531. 'optional2--',
  8532. "//a[contains(@href,'openload.io')]");
  8533. }
  8534. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8535. {
  8536. addFileHost(
  8537. "uploads\.xxx\/\\w+",
  8538. 'downoadForFree',
  8539. 'File not found',
  8540. 'optional--',
  8541. 'optional2--',
  8542. "//a[contains(@href,'uploads.xxx')]");
  8543. }
  8544. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8545. {
  8546. addFileHost(
  8547. "zxcfiles\.com\/\\w+",
  8548. 'class="downloadbtn',
  8549. 'File Not Found',
  8550. 'optional--',
  8551. 'optional2--',
  8552. "//a[contains(@href,'zxcfiles.com')]");
  8553. }
  8554. if (GM_getValue("Check_up07_dot_net_links", false))
  8555. {
  8556. addFileHost(
  8557. "up07\.net\/\\w+",
  8558. 'name="method_free',
  8559. 'File Not Found',
  8560. 'optional--',
  8561. 'optional2--',
  8562. "//a[contains(@href,'up07.net')]");
  8563. }
  8564. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8565. {
  8566. addFileHost(
  8567. "fileupload\.pw\/\\w+",
  8568. 'value="Free"',
  8569. 'File Not Found',
  8570. 'optional--',
  8571. 'optional2--',
  8572. "//a[contains(@href,'fileupload.pw')]");
  8573. }
  8574. if (GM_getValue("Check_4upld_dot_com_links", false))
  8575. {
  8576. addFileHost(
  8577. "4upld\.com\/\\w+",
  8578. 'alt="Download Now"|content="Download file">|btn-free-element',
  8579. '<title>Error|content="error|File not found',
  8580. 'optional--',
  8581. 'optional2--',
  8582. "//a[contains(@href,'4upld.com')]");
  8583. }
  8584. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8585. {
  8586. addFileHost(
  8587. "newfileland\.com\/\\w+",
  8588. 'name="method_free',
  8589. 'File Not Found',
  8590. 'optional--',
  8591. 'optional2--',
  8592. "//a[contains(@href,'newfileland.com')]");
  8593. } */
  8594. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8595. {
  8596. addFileHost(
  8597. "(?:.swoopshare)\\.com\/\\w+",
  8598. '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',
  8599. '<input type="file" name="f"',
  8600. 'optional--',
  8601. 'optional2--',
  8602. "//a[contains(@href,'swoopshare.com')]"
  8603. );
  8604. }
  8605. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8606. {
  8607. addFileHost(
  8608. "cloudshares\.net\/\\w+",
  8609. '"method_free|"Low Speed Download|submit" name="go',
  8610. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8611. 'optional--',
  8612. 'optional2--',
  8613. "//a[contains(@href,'cloudshares.net')]"
  8614. );
  8615. }
  8616. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8617. {
  8618. addFileHost(
  8619. "allmyvideos\.net\/\\w+",
  8620. 'Continue to Video',
  8621. 'File Not Found|class="err">Removed for',
  8622. 'optional--',
  8623. 'optional2--',
  8624. "//a[contains(@href,'allmyvideos.net')]"
  8625. );
  8626. }
  8627. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8628. {
  8629. addFileHost(
  8630. "vodlocker\.com\/\\w+",
  8631. 'Proceed to video',
  8632. 'Not Found',
  8633. 'optional--',
  8634. 'optional2--',
  8635. "//a[contains(@href,'vodlocker.com')]"
  8636. );
  8637. }
  8638. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8639. {
  8640. addFileHost(
  8641. "vidbull\.com\/\\w+",
  8642. 'Verifying Video Request',
  8643. 'File Not Found',
  8644. 'optional--',
  8645. 'optional2--',
  8646. "//a[contains(@href,'vidbull.com')]");
  8647. }
  8648. if (GM_getValue("Check_novamov_dot_com_links", false))
  8649. {
  8650. addFileHost(
  8651. "novamov\.com\/\\w+",
  8652. 'For version detection',
  8653. 'file no longer exists',
  8654. 'optional--',
  8655. 'optional2--',
  8656. "//a[contains(@href,'novamov.com')]"
  8657. );
  8658. }
  8659. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8660. {
  8661. addFileHost(
  8662. "filehoot\.com\/\\w+",
  8663. 'Continue to watch',
  8664. 'File Not Found',
  8665. 'optional--',
  8666. 'optional2--',
  8667. "//a[contains(@href,'filehoot.com')]"
  8668. );
  8669. }
  8670. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8671. {
  8672. addFileHost(
  8673. "stagevu\.com\/\\w+",
  8674. 'Video Info',
  8675. 'No video with the provided',
  8676. 'optional--',
  8677. 'optional2--',
  8678. "//a[contains(@href,'stagevu.com')]"
  8679. );
  8680. }
  8681. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8682. {
  8683. addFileHost(
  8684. "cloudtime\.to\/\\w+",
  8685. 'Download the video',
  8686. 'no longer exists',
  8687. 'optional--',
  8688. 'optional2--',
  8689. "//a[contains(@href,'cloudtime.to')]"
  8690. );
  8691. }
  8692. if (GM_getValue("Check_streamin_dot_to_links", false))
  8693. {
  8694. addFileHost(
  8695. "streamin\.to\/\\w+",
  8696. 'id="btn_download',
  8697. 'Not Found|Copyright Infringement|File Deleted',
  8698. 'optional--',
  8699. 'optional2--',
  8700. "//a[contains(@href,'streamin.to')]"
  8701. );
  8702. }
  8703. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8704. {
  8705. addFileHost(
  8706. "videoweed\.es\/\\w+",
  8707. 'version detection',
  8708. 'no longer exists',
  8709. 'optional--',
  8710. 'optional2--',
  8711. "//a[contains(@href,'videoweed.es')]"
  8712. );
  8713. }
  8714. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8715. {
  8716. addFileHost(
  8717. "nowvideo\.sx\/\\w+",
  8718. 'Download this video|value="submit">Continue',
  8719. 'no longer exists',
  8720. 'optional--',
  8721. 'optional2--',
  8722. "//a[contains(@href,'nowvideo.sx')]"
  8723. );
  8724. }
  8725. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8726. {
  8727. addFileHost(
  8728. "thevideo\.me\/\\w+",
  8729. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8730. 'File Not Found',
  8731. 'optional--',
  8732. 'optional2--',
  8733. "//a[contains(@href,'thevideo.me')]"
  8734. );
  8735. }
  8736. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8737. {
  8738. addFileHost(
  8739. "gorillavid\.in\/\\w+",
  8740. 'Wait 5 seconds',
  8741. 'File Not Found',
  8742. 'optional--',
  8743. 'optional2--',
  8744. "//a[contains(@href,'gorillavid.in')]"
  8745. );
  8746. }
  8747. if (GM_getValue("Check_thefile_dot_me_links", false))
  8748. {
  8749. addFileHost(
  8750. "thefile\.me\/\\w+",
  8751. 'Choose free or',
  8752. '',
  8753. 'optional--',
  8754. 'optional2--',
  8755. "//a[contains(@href,'thefile.me')]"
  8756. );
  8757. }
  8758. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8759. {
  8760. addFileHost(
  8761. "vidzi\.tv\/\\w+",
  8762. 'video-embed-modal row',
  8763. 'File Not Found|file was deleted',
  8764. 'optional--',
  8765. 'optional2--',
  8766. "//a[contains(@href,'vidzi.tv')]"
  8767. );
  8768. }
  8769. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8770. {
  8771. addFileHost(
  8772. "filenuke\.com\/\\w+",
  8773. 'Download File',
  8774. 'Earn with us',
  8775. 'optional--',
  8776. 'optional2--',
  8777. "//a[contains(@href,'filenuke.com')]"
  8778. );
  8779. }
  8780. if (GM_getValue("Check_vidto_dot_me_links", false))
  8781. {
  8782. addFileHost(
  8783. "vidto\.me\/\\w+",
  8784. 'Proceed to video',
  8785. 'Not Found',
  8786. 'optional--',
  8787. 'optional2--',
  8788. "//a[contains(@href,'vidto.me')]"
  8789. );
  8790. }
  8791. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8792. {
  8793. addFileHost(
  8794. "vidspot\.net\/\\w+",
  8795. 'Duration',
  8796. 'Removed for',
  8797. 'optional--',
  8798. 'optional2--',
  8799. "//a[contains(@href,'vidspot.net')]"
  8800. );
  8801. }
  8802. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8803. {
  8804. addFileHost(
  8805. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8806. 'Download File',
  8807. 'File Not Found',
  8808. 'optional--',
  8809. 'optional2--',
  8810. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8811. );
  8812. }
  8813. if (GM_getValue("Check_movpod_dot_in_links", false))
  8814. {
  8815. addFileHost(
  8816. "movpod\.in\/\\w+",
  8817. 'Continue',
  8818. 'File Not Found',
  8819. 'optional--',
  8820. 'optional2--',
  8821. "//a[contains(@href,'movpod.in')]"
  8822. );
  8823. }
  8824. /* if (GM_getValue("Check_down4files_dot_com_links", false))
  8825. {
  8826. addFileHost(
  8827. "down4files\.com\/\\w+",
  8828. 'down_table.png',
  8829. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8830. 'optional--',
  8831. 'optional2--',
  8832. "//a[contains(@href,'down4files.com')]"
  8833. );
  8834. } */
  8835. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8836. {
  8837. addFileHost(
  8838. "storefiles\.co\/\\w+",
  8839. 'btn_download',
  8840. 'No such file|>Error<|mqmaintitle">',
  8841. 'optional--',
  8842. 'optional2--',
  8843. "//a[contains(@href,'storefiles.co')]"
  8844. );
  8845. }
  8846. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8847. {
  8848. addFileHost(
  8849. "filehost\.pw\/\\w+",
  8850. 'name="method_free',
  8851. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8852. 'optional--',
  8853. 'optional2--',
  8854. "//a[contains(@href,'filehost.pw')]"
  8855. );
  8856. }
  8857. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8858. {
  8859. addFileHost(
  8860. "inafile\.com\/\\w+",
  8861. 'value="download1">|<h2>File: <font style="color:darkred">',
  8862. '<div style="width:500px;text-align:left;">|File Not Found',
  8863. 'optional--',
  8864. 'optional2--',
  8865. "//a[contains(@href,'inafile.com')]"
  8866. );
  8867. } */
  8868. if (GM_getValue("Check_uplea_dot_com_links", false))
  8869. {
  8870. addFileHost(
  8871. "uplea\.com\/\\w+",
  8872. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8873. 'expired link|ou est invalide',
  8874. 'optional--',
  8875. 'optional2--',
  8876. "//a[contains(@href,'uplea.com/dl')]",
  8877. true);
  8878. }
  8879. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8880. {
  8881. addFileHost(
  8882. "toutbox\.fr\/\\w+",
  8883. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8884. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8885. 'Serviço temporariamente indisponível',
  8886. 'optional2--',
  8887. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8888. );
  8889. }
  8890. if (GM_getValue("Check_openload_dot_co_links", false))
  8891. {
  8892. addFileHost(
  8893. "openload\.co\/\\w+",
  8894. 'id="downloadTimer">|button dlbutton',
  8895. 'jumbotron{color|got deleted|center !important',
  8896. 'optional--',
  8897. 'optional2--',
  8898. "//a[contains(@href,'openload.co')]"
  8899. );
  8900. }
  8901. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8902. {
  8903. addFileHost(
  8904. "lolabits\.es\/\\w+",
  8905. 'Descargar:',
  8906. '<title>Archivos de usuario',
  8907. 'Service Unavailable',
  8908. 'optional2--',
  8909. "//a[contains(@href,'lolabits.es')]"
  8910. );
  8911. }
  8912. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8913. {
  8914. addFileHost(
  8915. "alfafile\.net\/\\w+",
  8916. 'id="slow_download_btn',
  8917. 'class="error-box">',
  8918. 'optional--',
  8919. 'optional2--',
  8920. "//a[contains(@href,'alfafile.net')]"
  8921. );
  8922. }
  8923. if (GM_getValue("Check_multiup_dot_org_links", false))
  8924. {
  8925. addFileHost(
  8926. "multiup\.org\/\\w+",
  8927. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8928. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8929. 'optional--',
  8930. 'optional2--',
  8931. "//a[contains(@href,'multiup.org')]"
  8932. );
  8933. }
  8934. if (GM_getValue("Check_file_dot_al_links", false))
  8935. {
  8936. addFileHost(
  8937. "file\.al\/\\w+",
  8938. 'method_free',
  8939. 'style="width:500px;text-align:left;">',
  8940. 'optional--',
  8941. 'optional2--',
  8942. "//a[contains(@href,'file.al')]"
  8943. );
  8944. }
  8945. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8946. {
  8947. addFileHost(
  8948. "devilshare\.net\/\\w+",
  8949. '<div class="large-12" id="download">',
  8950. '(Link: 0 Invalid)|File Not Found',
  8951. 'optional--',
  8952. 'optional2--',
  8953. "//a[contains(@href,'devilshare.net')]"
  8954. );
  8955. }
  8956. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8957. {
  8958. addFileHost(
  8959. "dailyuploads\.net\/\\w+",
  8960. 'id="downloadBtnClickOrignal',
  8961. '<div style="width:500px;text-align:left;">',
  8962. 'optional--',
  8963. 'optional2--',
  8964. "//a[contains(@href,'dailyuploads.net')]"
  8965. );
  8966. }
  8967. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8968. {
  8969. addFileHost(
  8970. "datoteke\.com\/\\w+",
  8971. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8972. '&nbsp;File has been removed',
  8973. 'optional--',
  8974. '<title>Error - Datoteke',
  8975. "//a[contains(@href,'datoteke.com')]"
  8976. );
  8977. }
  8978. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  8979. {
  8980. addFileHost(
  8981. "tezfiles\.com\/\\w+",
  8982. 'virtual/low-speed-download',
  8983. 'class="alert alert-block|file is no longer available',
  8984. 'optional--',
  8985. 'This file is available<br>only for premium members',
  8986. "//a[contains(@href,'tezfiles.com')]"
  8987. );
  8988. } */
  8989. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8990. {
  8991. addFileHost(
  8992. "sharehost\.eu\/\\w+",
  8993. '/?v=download_free&',
  8994. 'Errors occured|Wystąpiły błędy',
  8995. 'optional--',
  8996. 'optional2--',
  8997. "//a[contains(@href,'sharehost.eu')]"
  8998. );
  8999. }
  9000. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9001. {
  9002. addFileHost(
  9003. "pornfile\.cz\/\\w+",
  9004. 'Stáhnout soubor',
  9005. 'Soubor byl smazán',
  9006. 'optional--',
  9007. 'optional2--',
  9008. "//a[contains(@href,'pornfile.cz')]"
  9009. );
  9010. }
  9011. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9012. {
  9013. addFileHost(
  9014. "pornoid\.cz\/\\w+",
  9015. 'class="btn btn-large btn-download',
  9016. 'Soubor byl smazán',
  9017. 'optional--',
  9018. 'optional2--',
  9019. "//a[contains(@href,'pornoid.cz')]"
  9020. );
  9021. }
  9022. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9023. {
  9024. addFileHost(
  9025. "file-share\.top\/\\w+",
  9026. 'btn-success btn-lg download',
  9027. 'Stránka neexistuje|404 Not Found',
  9028. 'optional--',
  9029. 'optional2--',
  9030. "//a[contains(@href,'file-share.top')]"
  9031. );
  9032. }
  9033. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9034. {
  9035. addFileHost(
  9036. "bitster\.cz\/\\w+",
  9037. 'section" content="VIDEO"',
  9038. 'section" content=""',
  9039. 'optional--',
  9040. 'optional2--',
  9041. "//a[contains(@href,'bitster.cz')]"
  9042. );
  9043. }
  9044. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9045. {
  9046. addFileHost(
  9047. "rapidu\.net\/\\w+",
  9048. 'onclick="downloadFreeFile',
  9049. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9050. 'optional--',
  9051. 'optional2--',
  9052. "//a[contains(@href,'rapidu.net')]"
  9053. );
  9054. }
  9055. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9056. {
  9057. addFileHost(
  9058. "dinoshare\.cz\/\\w+",
  9059. 'class="download-button"',
  9060. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9061. 'optional--',
  9062. 'optional2--',
  9063. "//a[contains(@href,'dinoshare.cz')]"
  9064. );
  9065. }
  9066. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9067. {
  9068. addFileHost(
  9069. "bytewhale\.com\/\\w+",
  9070. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9071. 'var rawest = "0 MB',
  9072. 'optional--',
  9073. 'optional--',
  9074. "//a[contains(@href,'bytewhale.com')]"
  9075. );
  9076. }
  9077. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9078. {
  9079. addFileHost(
  9080. "rapidrar\.com\/\\w+",
  9081. 'value="Free Download',
  9082. '<div style="width:500px;text-align:left;">',
  9083. 'optional--',
  9084. 'optional--',
  9085. "//a[contains(@href,'rapidrar.com')]"
  9086. );
  9087. }
  9088. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9089. {
  9090. addFileHost(
  9091. "gigasize\.com\/\\w+",
  9092. 'class="estimate">',
  9093. 'class="error">',
  9094. 'optional--',
  9095. 'optional--',
  9096. "//a[contains(@href,'gigasize.com')]"
  9097. );
  9098. }
  9099. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9100. {
  9101. addFileHost(
  9102. "filesupload\.org\/\\w+",
  9103. '<a href="/download-or-watch/',
  9104. 'File not found',
  9105. 'optional--',
  9106. 'optional--',
  9107. "//a[contains(@href,'filesupload.org')]"
  9108. );
  9109. }
  9110. if (GM_getValue("Check_filecad_dot_com_links", false))
  9111. {
  9112. addFileHost(
  9113. "filecad\.com\/\\w+",
  9114. '<title>Download-|<div class="heading-1">Download-',
  9115. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9116. 'optional--',
  9117. 'optional--',
  9118. "//a[contains(@href,'filecad.com')]"
  9119. );
  9120. }
  9121. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9122. {
  9123. addFileHost(
  9124. "file.up09\.com\/\\w+",
  9125. 'name="method_free',
  9126. 'style="width:500px;text-align:left;">',
  9127. 'optional--',
  9128. 'optional--',
  9129. "//a[contains(@href,'file.up09.com')]"
  9130. );
  9131. }
  9132. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9133. {
  9134. addFileHost(
  9135. "lunaticfiles\.com\/\\w+",
  9136. 'name="method_free"',
  9137. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9138. 'optional--',
  9139. 'optional--',
  9140. "//a[contains(@href,'lunaticfiles.com')]"
  9141. );
  9142. }
  9143.  
  9144. }
  9145. //start here
  9146.  
  9147. //hosts with direct download, so they must be requested for headers only
  9148. function initFileHostsHeadersOnly()
  9149. {
  9150. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9151. {
  9152. var host = new Array(5);
  9153. host[0] = linkRegex;
  9154. host[1] = isAliveRegex;
  9155. host[2] = isDeadRegex;
  9156. host[3] = xpathEx;
  9157. host[4] = ispremRegex;
  9158. http_file_hosts_headers_only.push(host);
  9159. }
  9160. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9161. {
  9162. addFileHostHeadersOnly(
  9163. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9164. 'Connection: Keep-Alive',
  9165. 'Content-Length: 3857',
  9166. "//a[contains(@href,'uloziste.com')]"
  9167. )
  9168. }
  9169. if (GM_getValue("Check_adrive_dot_com_links", false))
  9170. {
  9171. addFileHostHeadersOnly(
  9172. "adrive\\.com\/public\/\\w+",
  9173. 'Connection: keep-alive',
  9174. 'orig_ref=deleted',
  9175. "//a[contains(@href,'adrive.com')]"
  9176. )
  9177. }
  9178. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9179. {
  9180. addFileHostHeadersOnly(
  9181. "myupload\\.dk\/showfile\/\\w+",
  9182. 'Expires:',
  9183. 'squeeze1\\s+Vary',
  9184. "//a[contains(@href,'myupload.dk/showfile')]"
  9185. )
  9186. }
  9187. }
  9188. //CustomRules
  9189. //functions add...Host copied here
  9190. function addObsoleteHost(linkRegex, xpathEx)
  9191. {
  9192. var host = new Array(2);
  9193. host[0] = linkRegex;
  9194. host[1] = xpathEx;
  9195. http_file_hosts_obsolete.push(host);
  9196. }
  9197. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9198. {
  9199. var host = new Array(7);
  9200. host[0] = linkRegex;
  9201. host[1] = isAliveRegex;
  9202. host[2] = isDeadRegex;
  9203. host[3] = isUnavaRegex;
  9204. host[4] = xpathEx;
  9205. tryLoop ? host[5] = true : host[5] = false;
  9206. host[6] = ispremRegex;
  9207. http_file_hosts.push(host);
  9208. }
  9209. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9210. {
  9211. var host = new Array(5);
  9212. host[0] = linkRegex;
  9213. host[1] = isAliveRegex;
  9214. host[2] = isDeadRegex;
  9215. host[3] = xpathEx;
  9216. host[4] = ispremRegex;
  9217. http_file_hosts_headers_only.push(host);
  9218. }
  9219. //takes a fully built rules array and adds the rules to WARLC
  9220. function applyCustomRules(customRules)
  9221. {
  9222. if (!customRules) return;
  9223. var rules, r, i;
  9224. rules = customRules.rules;
  9225. for (i = 0 ; i < rules.length ; i++)
  9226. {
  9227. r = rules[i];
  9228. if (r.enabled)
  9229. {
  9230. switch (r.type)
  9231. {
  9232. case 'single':
  9233. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9234. break;
  9235. case 'headers':
  9236. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9237. break;
  9238. case 'obsolete':
  9239. addObsoleteHost(r.urlregex, r.xpath)
  9240. break;
  9241. }
  9242. }
  9243. }
  9244. }
  9245.  
  9246.  
  9247. function initFileHostsCustom()
  9248. {
  9249. if (Custom_rules && Custom_rules_text)
  9250. {
  9251. var msg = '';
  9252. if (newVersion)
  9253. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9254. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9255. msg = '60 or more days have passed since this notification.\n\n';
  9256. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9257. {
  9258. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9259. msg +=
  9260. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9261. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9262. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9263. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9264. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9265. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9266. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9267. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9268. setTimeout(function(){alert(msg)},0);
  9269. }
  9270. var customRules = parseCustomRules(Custom_rules_text);
  9271. if (customRules.warning || customRules.error)
  9272. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9273. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9274. JSON.stringify(customRules.info, null, ' '));
  9275. applyCustomRules(customRules);
  9276. }
  9277. }
  9278. //end of CustomRules processing
  9279.  
  9280.  
  9281.  
  9282. } //end of function start
  9283.  
  9284.  
  9285.  
  9286. function initClipBoardTools()
  9287. {
  9288. unsafeWindow.copyToClipboard = function(text)
  9289. {
  9290. try
  9291. {
  9292. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9293.  
  9294. var str = Components.classes["@mozilla.org/supports-string;1"].
  9295. createInstance(Components.interfaces.nsISupportsString);
  9296. if (!str) return false;
  9297.  
  9298. str.data = text;
  9299.  
  9300. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9301. createInstance(Components.interfaces.nsITransferable);
  9302. if (!trans) return false;
  9303.  
  9304. trans.addDataFlavor("text/unicode");
  9305. trans.setTransferData("text/unicode", str, text.length * 2);
  9306.  
  9307. var clipid = Components.interfaces.nsIClipboard;
  9308. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9309. if (!clip) return false;
  9310.  
  9311. clip.setData(trans, null, clipid.kGlobalClipboard);
  9312. } catch (e) {
  9313. GM_log("Error copyToClipboard : " + e);
  9314. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9315. }
  9316. }
  9317. }
  9318.  
  9319.  
  9320.  
  9321. //CustomRules
  9322.  
  9323. function escapeRegex(str)
  9324. {
  9325. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9326. }
  9327.  
  9328.  
  9329. //called internally from parseCustomRules.
  9330. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9331. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9332. function makeCustomRule(rule)
  9333. {
  9334. function makeMatchRegex(arrmatch)
  9335. {
  9336. return escapeRegex(arrmatch.join('\n'))
  9337. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9338. .replace(/\n/g,'|'); //join together
  9339. }
  9340. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9341. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9342. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9343. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9344. if (rule.baseurl)
  9345. {
  9346. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9347. for (i = 0 ; i < len ; i++)
  9348. {
  9349. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9350. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9351. {
  9352. 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'])
  9353. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9354. }
  9355. else //baseurl in the form: example.com/xxx
  9356. {
  9357. xpath.push(m[0]);
  9358. urlregex.push(escapeRegex(m[0]) + '.');
  9359. }
  9360. }
  9361. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9362. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9363. }
  9364. return rule;
  9365. } //function makeCustomRule
  9366.  
  9367.  
  9368. /*
  9369. Takes a string containing custom link checking rules.
  9370. Returns an object with fields:
  9371. info - contains notes, warnings and errors found during parsing
  9372. rules - the array of custom rules
  9373. note, warning, error - number of each of them found during parsing
  9374. Format of the input string:
  9375. One command per line. Command format: @keyword parameter
  9376. Keywords:
  9377. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9378. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9379. These keywords can be multiple (any of them will work):
  9380. @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...)
  9381. @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+
  9382. @alivelink, @deadlink - example links
  9383. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9384. Lines starting with // and empty lines are ignored.
  9385. Invalid parameters generate errors and those lines are skipped.
  9386. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9387. Example:
  9388. @customrule filehost
  9389. @baseurl filehost.com/download/
  9390. @baseurl filehost2. com net /d?=
  9391. @alivematch id="download">
  9392. @deadmatch File not found
  9393. @deadmatch File deleted
  9394. */
  9395. function parseCustomRules(rulesStr)
  9396. {
  9397. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9398. function addInfo(type, msg, ln){
  9399. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9400. customRules[type]++;
  9401. }
  9402. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9403. if (!lines) return null;
  9404. lines.push('@#customrule _'); //to save the last rule
  9405. var m, linecount = lines.length;
  9406. var keyword, param, constr, rule, err;
  9407. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9408. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9409. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9410. var constraints = {
  9411. 'baseurl': {
  9412. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9413. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9414. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9415. 'alivematch': {
  9416. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9417. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9418. 'deadmatch': {
  9419. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9420. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9421. 'unavamatch': {
  9422. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9423. 'alivelink': {
  9424. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9425. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9426. 'deadlink': {
  9427. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9428. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9429. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9430. };
  9431. for (linenum = 0 ; linenum < linecount ; linenum++)
  9432. {
  9433. //capturing groups: 1 23 4 5 6
  9434. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9435. if (m)
  9436. {
  9437. if (m[1] || !m[2])
  9438. continue; // ignore empty lines and lines starting with //
  9439. keyword = (m[4] || m[2]).toLowerCase();
  9440. param = m[6];
  9441. if (keyword == 'customrule')
  9442. {
  9443. //save the current rule if all required fields are provided
  9444. if (rule)
  9445. {
  9446. err = false;
  9447. $.each(constraints, function(kw, constraint){
  9448. var l, constr = constraint[rule.type];
  9449. if (constr)
  9450. {
  9451. l = rule[kw] ? rule[kw].length : 0;
  9452. if (l < constr.min || l > constr.max)
  9453. {
  9454. 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);
  9455. err = true;
  9456. }
  9457. }
  9458. });
  9459. if (!err)
  9460. customRules.rules.push(makeCustomRule(rule));
  9461. }
  9462. //start a new rule
  9463. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9464. {
  9465. rule = {
  9466. 'enabled': !m[3],
  9467. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9468. 'name': param
  9469. };
  9470. }
  9471. else
  9472. {
  9473. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9474. rule = null;
  9475. }
  9476. }
  9477. else //good line format, but keyword other than customrule
  9478. {
  9479. if (!rule)
  9480. {
  9481. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9482. continue;
  9483. }
  9484. if (constraints[keyword])
  9485. {
  9486. constr = constraints[keyword][rule.type];
  9487. if (constr)
  9488. {
  9489. if (constr.paramRE && !constr.paramRE.test(param))
  9490. {
  9491. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9492. continue;
  9493. }
  9494. }
  9495. else
  9496. {
  9497. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9498. continue;
  9499. }
  9500. }
  9501. //line OK, save
  9502. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9503. }
  9504. } //if (m)
  9505. else
  9506. addInfo('warning', 'Unknown line format. Line skipped.');
  9507. } //for loop
  9508. return customRules;
  9509. } //function parseCustomRules
  9510.  
  9511.  
  9512. /* ********************UPDATES********************
  9513.  
  9514. February 15, 2016
  9515. Version 1.2.4.6
  9516. fixed kumpulbagi.id
  9517. added sangfile.com to obsolete hosts
  9518.  
  9519. February 14, 2016
  9520. Version 1.2.4.5
  9521. fixed yandex.ru
  9522.  
  9523. February 13, 2016
  9524. Version 1.2.4.4
  9525. added lunaticfiles.com.
  9526.  
  9527. February 09, 2016
  9528. Version 1.2.4.3
  9529. added file.up09.com.
  9530.  
  9531. February 09, 2016
  9532. Version 1.2.4.2
  9533. tezfiles.com premium links now detected.
  9534.  
  9535. February 09, 2016
  9536. Version 1.2.4.1
  9537. added seenupload.com to obsolete hosts
  9538. fixed 180upload.com to show obsolete
  9539.  
  9540. February 08, 2016
  9541. Version 1.2.4.0
  9542. added tusfiles.com
  9543. added filesupload.org
  9544. added gigasize.com
  9545. added filecad.com
  9546. fixed filecloud.io
  9547. added uploadnet.co to obsolete hosts
  9548.  
  9549. February 07,2016
  9550. Vession 1.2.3.9
  9551. fixed depositfiles.com folders
  9552. fixed turbobit.net folders
  9553.  
  9554. February 06, 2016
  9555. Version 1.2.3.8
  9556. fixed 1fichier false dead links
  9557.  
  9558. February 04, 2106
  9559. Version 1.2.3.7
  9560. added geupload and lenfile to obsolete hosts
  9561. fixed kyc.pm/depfile
  9562.  
  9563. February 03, 2016
  9564. Version 1.2.3.6
  9565. fixed some nitroflare.com dead links not being detected
  9566.  
  9567. February 01, 2016
  9568. Version 1.2.3.5
  9569. script moved to new site
  9570.  
  9571. January 20, 2016
  9572. Version 1.2.3.3
  9573. fixed some rapidgator premium link not being detected
  9574.  
  9575. January 17, 2016
  9576. Version 1.2.3.2
  9577. added bytewhale.com
  9578. added rapidrar.com
  9579.  
  9580. Version 1.2.3.1
  9581. added 180upload.com to obsolete hosts
  9582. fixed hellspy.com
  9583. added dinoshare.cz,
  9584.  
  9585. January 13, 2016
  9586. Version 1.2.3.0
  9587. added rapidu.net
  9588. added uploadboy.me
  9589. fixed euroshare.eu
  9590.  
  9591. January 12, 2016
  9592. Version 1.2.2.9
  9593. added kb.simple-aja.info
  9594.  
  9595. January 10, 2016
  9596. Version 1.2.2.8
  9597. made changes to fastshare.cz
  9598.  
  9599. January 10, 2016
  9600. Version 1.2.2.7
  9601. fixed uptobox.com
  9602.  
  9603. January 09, 2016
  9604. Version 1.2.2.6
  9605. datoteke.com now detects premium links
  9606. fixed turbobit.net
  9607. fixed uptobox.com
  9608. added pornfile.cz
  9609. added pornoid.cz
  9610. added file-share.top
  9611. added bitster.cz
  9612.  
  9613. January 05, 2016
  9614. Version 1.2.2.5
  9615. fixed salefiles.com
  9616. fixed ozofile.com
  9617.  
  9618. January 04, 2016
  9619. Version 1.2.2.4
  9620. added sharehost.eu
  9621.  
  9622. December 30, 2015
  9623. Version 1.2.2.3
  9624. added tezfiles.com
  9625.  
  9626. December 28, 2015
  9627. Version 1.2.2.2
  9628. fixed some k2s & fboom dead link not getting detected
  9629. fixed some k2s premium links not getting detected.
  9630. fixed ssh.yt not detecting some dead links
  9631. fixed ncrypt.in dead links showing yellow
  9632.  
  9633. December 20, 2015
  9634. Version 1.2.2.0
  9635. added datoteke.com
  9636.  
  9637. December 19, 2015
  9638. Version 1.2.1.9
  9639. added secured.in & linksave.in to obsolete hosts
  9640.  
  9641. December 17, 2015
  9642. Version 1.2.1.8
  9643. added german for dead links to secureupload.eu.
  9644.  
  9645. December 17, 2015
  9646. Version 1.2.1.7
  9647. added french for dead links to secureupload.eu.
  9648. fixed problem with tooltip display.
  9649.  
  9650. December 13, 2015
  9651. Version 1.2.1.6
  9652. added netload.me & fileparadox.in to obsolete hosts
  9653.  
  9654. December 09, 2015
  9655. Version 1.2.1.5
  9656. added rapidsonic.com & fileparadox.com to obsolete hosts
  9657.  
  9658. December 04, 2015
  9659. Version 1.2.1.4
  9660. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  9661.  
  9662. December 03, 2015
  9663. Version 1.2.1.3
  9664. added dailyuploads.net
  9665.  
  9666. December 02, 2015
  9667. Version 1.2.1.2
  9668. fixed hitfile.net
  9669. fixed kingfiles.net
  9670.  
  9671. November 30, 2015
  9672. Version 1.2.1.1
  9673. added filepost.com to obsolete hosts
  9674. added devilshare.net
  9675.  
  9676. November 28, 2015
  9677. Version 1.2.1.0
  9678. fixed datafile.com not detecting some premium links.
  9679.  
  9680. November 25, 2015
  9681. Version 1.2.0.9
  9682. fixed filejoker.net
  9683. fixed toutbox.fr
  9684. fixed nowvideo.sx
  9685.  
  9686. November 24, 2015
  9687. Version 1.2.0.8
  9688. fixed openload.io
  9689.  
  9690. November 20, 2015
  9691. Version 1.2.0.7
  9692. //added file.al
  9693. //fixed nitroflare.com false live links
  9694. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  9695.  
  9696. November 17, 2015
  9697. Version 1.2.0.6
  9698. added clicknupload.me
  9699.  
  9700. November 09, 2015
  9701. Version 1.2.0.5
  9702. fixed some depfile premium links not being detected
  9703.  
  9704. November 08, 2015
  9705. Version 1.2.0.4
  9706. fixed some rapidgator premium links not being detected
  9707. fixed doraupload.com
  9708.  
  9709. November 08, 2015
  9710. Version 1.2.0.3
  9711. fixed uploaded false premium
  9712.  
  9713. November 07, 2015
  9714. Version 1.2.0.2
  9715. fixed redbunker.net
  9716.  
  9717. November 05, 2015
  9718. Version 1.2.0.1
  9719. fixed app.box.com
  9720. added multiup.org (does not detect all dead links)
  9721.  
  9722. November 01, 2015
  9723. Version 1.2.0.0
  9724. added more languages to rockfile and 1fichier
  9725.  
  9726. November 01, 2015
  9727. Version 1.1.9.9
  9728. fixed rockfile.eu
  9729. changed 1fichier code (Thanks yurri)
  9730. added to obsolete hosts... (Thanks Love Buzz)
  9731. burnupload.com
  9732. cramit.in
  9733. cramitin.net
  9734. down4files.com
  9735. edoc.com
  9736. jumbofile.net
  9737. krotix.net
  9738. migahost.com
  9739. movreel.com
  9740. netload.in
  9741. newfileland.com
  9742. quickshare.cz
  9743.  
  9744. October 30, 2015
  9745. Version 1.1.9.8
  9746. added alfafile.net
  9747.  
  9748. October 26, 2015
  9749. Version 1.1.9.7
  9750. changed datafile.com and uplea.com
  9751. added lolabits.es
  9752.  
  9753. October 26, 2015
  9754. Version 1.1.9.6
  9755. added toutbox.fr
  9756.  
  9757. October 25, 2015
  9758. Version 1.1.9.5
  9759. fixed counter error
  9760.  
  9761. October 25, 2015
  9762. Version 1.1.9.4
  9763. changed uptobox.com code
  9764.  
  9765. October 21, 2015
  9766. Version 1.1.9.3
  9767. fixed uptobox.com
  9768.  
  9769. October 20, 2015
  9770. Version 1.1.9.2
  9771. bug fixes and new method of detecting premium links.
  9772.  
  9773. October 15, 2015
  9774. Version 1.1.9.1
  9775. fixed hugefiles.net false premium
  9776. changed uptobox.com code
  9777.  
  9778. October 06, 2015
  9779. Version 1.1.9.0
  9780. fixed filefactory
  9781. fixed rockfile false premium
  9782. keep2share & fileboom now detect premium links (fixed by yurii)
  9783.  
  9784. October 01, 2015
  9785. Version 1.1.8.9
  9786. fixed free.fr false premium
  9787. fixed thevideo.me false premium
  9788.  
  9789. September 28, 2015
  9790. Version 1.1.8.8
  9791. added uplea.com and openload.co
  9792.  
  9793. September 27, 2015
  9794. Version 1.1.8.7
  9795. fixed fileparadox.in false premium
  9796. added kingfiles.net to obsolete hosts
  9797. removed inafile.com from obsolete hosts
  9798.  
  9799. September 22, 2015
  9800. Version 1.1.8.6
  9801. fixed nitroflare false premium
  9802.  
  9803. September 22, 2015
  9804. Version 1.1.8.5
  9805. fixed userscloud.com false premium
  9806. fixed usersfiles.com false premium
  9807. changed arabloads.com to arabloads.net
  9808. changed nowdownloads.eu to nowdownloads.ch
  9809.  
  9810. September 21, 2015
  9811. Version 1.1.8.3
  9812. added ryushare.com to obsolete hosts.
  9813.  
  9814. September 20, 2015
  9815. Version 1.1.8.2
  9816. fixed nitroflare not showing premium links
  9817. added down4files.com,storfiles.co,filehost.pw
  9818.  
  9819. September 16, 2015
  9820. Version 1.1.8.1
  9821. added crisshare.com to obsolete hosts
  9822. fixed filemoney.com false premium
  9823. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  9824.  
  9825. September 14, 2015
  9826. Version 1.1.8.0
  9827. added to obsolete hosts...
  9828. sharebeast.com
  9829. tufiles.ru
  9830.  
  9831. September 12, 2015
  9832. Version 1.1.7.9
  9833. fixed rghost.net false premium
  9834. fixed unlimitzone.com false premium
  9835. fixed turbobit.net false live link
  9836.  
  9837. September 11, 2015
  9838. Version 1.1.7.8
  9839. Fixed filefactory.com false premium.
  9840.  
  9841. September 07, 2015
  9842. Version 1.1.7.7
  9843. fixed "depositfiles.com/en/files" links not checking
  9844.  
  9845. September 06, 2015
  9846. Version 1.1.7.6
  9847. added French code for 1fichier
  9848.  
  9849. August 29, 2015
  9850. Version 1.1.7.5
  9851. fixed depositfiles
  9852. fixed mega.co.nz/mega.nz
  9853. (fixed by yurii)
  9854.  
  9855. August 23, 2015
  9856. Version 1.1.7.4
  9857. Fixed uploadrocket (by yurii)
  9858.  
  9859. August 20, 2015
  9860. Version 1.1.7.3
  9861. fixed depfile.com false premium
  9862. fixed 1fichier false premium
  9863. fixed rapidgator false premium
  9864.  
  9865. August 08, 2015
  9866. Version 1.1.7.1
  9867. fixed unlimitzone.com, added freakshare to obsolete hosts.
  9868.  
  9869. August 07, 2015
  9870. Version 1.1.7.0
  9871. fixed...
  9872. streamin.to
  9873. thefile.me
  9874. vidzi.tv
  9875. added...
  9876. filenuke.com
  9877. vidto.me
  9878. vidspot.net
  9879. sharesix.com
  9880. sharesix.net
  9881. movpod.in,
  9882.  
  9883. August 07, 2015
  9884. Version 1.1.6.9 added...
  9885. thefile.me
  9886. vidzi.tv
  9887. videoweed.es
  9888. vodlocker.com
  9889. nowvideo.sx
  9890. cloudtime.to
  9891. thevideo.me
  9892. vidbull.com
  9893. allmyvideos.net
  9894. novamov.com
  9895. filehoot.com
  9896. stagevu.com
  9897. gorillavid.in
  9898. streamin.to
  9899.  
  9900. August 02, 2015
  9901. Version 1.1.6.8
  9902. added cloudshares.net
  9903.  
  9904. August 01, 2015
  9905. Version 1.1.6.7
  9906. fixed depfile redirectors false premium
  9907.  
  9908. July 31, 2015
  9909. Version 1.1.6.6
  9910. fixed depfile.com false premium
  9911. */