W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  1. //1245 fixed yandex.ru
  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.5
  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/JA9XQCeBLAIQD2ASnLG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50GK5q4E8A0A88fgoOnBihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/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",
  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. "filepost.com|fp.io",
  403. "uploadnet.co",
  404. "180upload.com",
  405. "rapidsonic.com",
  406. "fileparadox.com",
  407. "geupload.com",
  408. "lenfile.com",
  409. "fileparadox.in",
  410. "uploadhero.co",
  411. "uploadhero.com",
  412. "newfileland.com",
  413. "quickshare.cz",
  414. "netload.in",
  415. "netload.me",
  416. "movreel.com",
  417. "migahost.com",
  418. "krotix.net",
  419. "jumbofile.net",
  420. "edoc.com",
  421. "down4files.com",
  422. "cramit.in|cramitin.net",
  423. "freakshare.com",
  424. "burnupload.com|burnupload.ihiphop.com",
  425. "freakshare.net",
  426. "daj.to",
  427. "bl.st",
  428. "2drive.net",
  429. "ryushare.com",
  430. "crisshare.com",
  431. "tufiles.ru",
  432. "uncapped-downloads.com",
  433. "sockshare.com",
  434. "ddlstorage.com",
  435. "dataport.cz",
  436. "dizzcloud.com",
  437. "sharebeast.com",
  438. "stahovadlo.cz",
  439. "shared.com",
  440. "storage.to",
  441. "putlocker.com",
  442. "lumfile.com",
  443. "lumfile.se",
  444. "lumfile.eu",
  445. "firedrive.com",
  446. "fileshare.in.ua",
  447. "filecore.co.nz",
  448. "iskladka.cz",
  449. "file-rack.com",
  450. "fast-load.net",
  451. "subory.sk",
  452. "bigandfree.com",
  453. "fileop.com",
  454. "mujsoubor.cz",
  455. "sendfile.to",
  456. "superfastfile.com",
  457. "quickyshare.com",
  458. "duckload.com",
  459. "uploadstore.net",
  460. "meinupload.com",
  461. "dualshare.com",
  462. "2xupload.to|2xupload.de",
  463. "oxedion.com",
  464. "uploadline.com",
  465. "dll.bz",
  466. "movieshare.in",
  467. "milledrive.com",
  468. "quickupload.net",
  469. "safelink.in",
  470. "metadivx.com",
  471. "divxlink.com",
  472. "uploadrack.com",
  473. "teradepot.com",
  474. "dataup.to",
  475. "upit.to",
  476. "driveway.com",
  477. "eatlime.com",
  478. "a2zuploads.com",
  479. "friendlyfiles.net",
  480. "flyfile.us",
  481. "speedyshare.com",
  482. "uploadspace.eu",
  483. "keepfile.com",
  484. "piggyshare.com",
  485. "uplly.com",
  486. "filecrown.com",
  487. "6giga.com",
  488. "uploadjockey.com",
  489. "bluehost.to",
  490. "filegu.ru",
  491. "filebase.to",
  492. "up-file.com",
  493. "xvideos.com",
  494. "ufox.com",
  495. "filebling.com",
  496. "loaded.it",
  497. "uploadcell.com",
  498. "uploadshare.cz",
  499. "mangoshare.com",
  500. "filestab.com",
  501. "crazyupload.com",
  502. "gaiafile.com",
  503. "sharejunky.com",
  504. "fileho.com",
  505. "bigandfree.com",
  506. "bigfile.in",
  507. "bigshare.eu",
  508. "dahosting.org",
  509. "digisofts.net",
  510. "file4save.com",
  511. "filechip.com",
  512. "filescloud.com",
  513. "saveqube.com",
  514. "turboshare.de",
  515. "z-upload.com",
  516. "youshare.com",
  517. "jiffyupload.com",
  518. "gigeshare.com",
  519. "datenklo.net",
  520. "upload.dj",
  521. "loadfiles.in",
  522. "upit.to",
  523. "dsfileshare.com",
  524. "sharesimple.net",
  525. "4files.net",
  526. "wooupload.com",
  527. "odsiebie.com",
  528. "filenavi.com",
  529. "3oof.com",
  530. "meshwaar.com",
  531. "maxupload.com",
  532. "share.cx",
  533. "atserver.eu",
  534. "hotfiles.ws",
  535. "esnips.com",
  536. "tuxfile.com",
  537. "file2upload.net",
  538. "filebling.com",
  539. "turboshare.com",
  540. "rarhost.com",
  541. "isharehd.com",
  542. "i741.com",
  543. "dataup.de",
  544. "fofly.com",
  545. "shareonall.com",
  546. "sexuploader.com",
  547. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  548. "uploadhyper.com",
  549. "filespawn.com",
  550. "caizzii.com",
  551. "volnyweb.cz",
  552. "usershare.net",
  553. "filescash.net",
  554. "metahyper.com",
  555. "combozip.com",
  556. "x7.to",
  557. "uploadbox.com",
  558. "enterupload.com|flyupload.com",
  559. "filepoint.de",
  560. "mystream.to",
  561. "x-fs.com",
  562. "shareator.com",
  563. "srapid.eu",
  564. "sosame.cz",
  565. "filesdump.com",
  566. "2-klicks.de",
  567. "uploking.com",
  568. "silofiles.com",
  569. "upfile.in",
  570. "filehook.com",
  571. "uploadking.com",
  572. "uploadhere.com",
  573. "kewlshare.com",
  574. "rapidable.com",
  575. "uploadwaste.com",
  576. "filemup.com",
  577. "filesonic.com|sharingmatrix.com",
  578. "fileserve.com",
  579. "wupload.com",
  580. "skipfile.com",
  581. "smartuploader.com",
  582. "dualshare.com",
  583. "storeandserve.com",
  584. "mountfile.com",
  585. "transitfiles.com",
  586. "uploadstation.com",
  587. "filejungle.com",
  588. "shareshared.com",
  589. "quickyshare.com",
  590. "save.am",
  591. "petandrive.com",
  592. "file2box.com",
  593. "flyshare.cz",
  594. "yabadaba.ru",
  595. "cloudcache.cc",
  596. "yourfilehost.com",
  597. "jakfile.com",
  598. "kickload.com",
  599. "pyramidfiles.com",
  600. "refile.net",
  601. "zshare.net",
  602. "ddlani.me|ddlanime.com",
  603. "ftp2share.com",
  604. "fooget.com",
  605. "rapidhide.com",
  606. "gotupload.com",
  607. "mooload.com",
  608. "zupload.com",
  609. "mytempdir.com",
  610. "onionshare.com",
  611. "stahnu.to",
  612. "oron.com",
  613. "badongo.com",
  614. "filereactor.com",
  615. "filegaze.com",
  616. "4bytez.com",
  617. "1hostclick.com",
  618. "anonstream.com",
  619. "batshare.com",
  620. "bitroad.net",
  621. "brontofile.com",
  622. "cloudnxt.net",
  623. "cloudnator.com|shragle.com",
  624. "filesfrog.net",
  625. "coolshare.cz",
  626. "dotavi.com",
  627. "ezyfile.net",
  628. "file-bit.net",
  629. "filecosy.com",
  630. "fileduct.com|fileduct.net",
  631. "filefat.com",
  632. "filelaser.com",
  633. "filemashine.com",
  634. "fileserver.cc",
  635. "filetechnology.com",
  636. "fireuploads.net",
  637. "gigfiles.net",
  638. "holderfile.com",
  639. "ihostia.com",
  640. "k2files.com",
  641. "mojofile.com",
  642. "ovfile.com",
  643. "qshare.com",
  644. "shafiles.me",
  645. "sharefilehost.com",
  646. "shareupload.com",
  647. "stahuj.to",
  648. "ugotfile.com",
  649. "uploadboost.com",
  650. "fileom.com",
  651. "vidhog.com",
  652. "xfileshare.eu",
  653. "bzlink.us",
  654. "bulletupload.com",
  655. "bloggerarticles.com",
  656. "mojedata.sk",
  657. "sharpfile.com",
  658. "upgrand.com",
  659. "nasdilej.cz",
  660. "mediatack.cz",
  661. "share-it.to",
  662. "primeupload.com",
  663. "filebeer.info",
  664. "baberepublic",
  665. "xtu.me",
  666. "sharebase.de",
  667. "luckyshare.net",
  668. "filerobo.com",
  669. "filevelocity.com",
  670. "filezpro.com",
  671. "file4sharing.com",
  672. "cing.be",
  673. "ufile.eu",
  674. "pigsonic.com",
  675. "fileupped.com",
  676. "sharerun.com",
  677. "filesaur.com",
  678. "rapidslnare.com",
  679. "bestsharing.com",
  680. "savefiles.net",
  681. "file2share.biz",
  682. "filecache.de",
  683. "monsteruploads.eu",
  684. "b9bb.com",
  685. "aiotool.net",
  686. "jamber.info",
  687. "megaftp.com",
  688. "desiupload.net",
  689. "file27.com",
  690. "yastorage.com",
  691. "filehost.ws",
  692. "copyload.com",
  693. "venusfile.com",
  694. "aieshare.com",
  695. "terafile.co",
  696. "terafile.com",
  697. "fileza.net",
  698. "filerose.com",
  699. "squillion.com",
  700. "fileprohost.com",
  701. "bitbonus.com",
  702. "warserver.cz",
  703. "uload.to",
  704. "sharedbit.net",
  705. "megaload.it",
  706. "filewinds.com",
  707. "uploadcore.com",
  708. "syfiles.com",
  709. "eyesfile.com",
  710. "hotfile.com",
  711. "superupl.com",
  712. "oteupload.com",
  713. "henchfile.com",
  714. "filegag.com",
  715. "HenchFile.com",
  716. "filedefend.com",
  717. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  718. "megabitshare.com",
  719. "cloudzer.com",
  720. "asfile.com",
  721. "cloudzer.net",
  722. "clz.to",
  723. "extabit.com",
  724. "247upload.com",
  725. "2download.de",
  726. "4fastfile.com",
  727. "asixfiles.com",
  728. "berofile.com",
  729. "bigupload.com",
  730. "cepzo.com",
  731. "clouds.to",
  732. "cobrashare.sk",
  733. "coraldrive.net",
  734. "cyberlocker.ch",
  735. "czshare.com",
  736. "darkport.org",
  737. "dark-uploads.com",
  738. "davvas.com",
  739. "enigmashare.com",
  740. "erofly.cz",
  741. "fastsonic.net",
  742. "filebox.com",
  743. "filecity.net",
  744. "filedap.com",
  745. "filedino.com",
  746. "filedownloads.org",
  747. "filefolks.com",
  748. "fileking.co",
  749. "filemates.com",
  750. "files.to",
  751. "files2k.eu",
  752. "filesector.cc",
  753. "bitshare.com",
  754. "filesega.com",
  755. "filesend.net",
  756. "filestay.com",
  757. "filestrum.com",
  758. "fileuplo.de",
  759. "fileupup.com",
  760. "forunesia.com",
  761. "freeuploads.fr",
  762. "uploa.dk",
  763. "getthebit.com",
  764. "getzilla.net",
  765. "goldfile.eu",
  766. "good.com",
  767. "grupload.com",
  768. "hellfile.com",
  769. "hipfile.com",
  770. "hitfile.com",
  771. "hulkfile.eu|duckfile.net",
  772. "i-filez.com",
  773. "ifile.ws",
  774. "kupload.org",
  775. "packupload.com",
  776. "lemuploads.com",
  777. "limelinx.com",
  778. "maxshare.pl",
  779. "megarelease.org",
  780. "megashare.com",
  781. "minus.com",
  782. "mlfat4arab.com",
  783. "multishare.cz",
  784. "nirafile.com",
  785. "ok2upload.com",
  786. "peejeshare.com",
  787. "premiuns.org",
  788. "przeklej.net",
  789. "qkup.net",
  790. "rapidupload.sk",
  791. "rockdizfile.com",
  792. "rocketfile.net",
  793. "share-now.net",
  794. "share76.com",
  795. "sharebees.com",
  796. "sharefiles.co",
  797. "slingfile.com",
  798. "sms4file.com",
  799. "space4file.com",
  800. "tigershare.net",
  801. "toucansharing.com",
  802. "ubuntuone.com",
  803. "unextfiles.com",
  804. "upaj.pl",
  805. "upfile.biz",
  806. "uploadbin.net",
  807. "uploadic.com",
  808. "uploadinc.com",
  809. "uploading4u.eu",
  810. "uploadjet.net",
  811. "uploadorb.com",
  812. "upthe.net",
  813. "uptorch.com",
  814. "vidbox.yt",
  815. "videozer.com",
  816. "vreer.com",
  817. "wallobit.com",
  818. "zooupload.com",
  819. "privatefiles.com",
  820. "xerver.co",
  821. "BillionUploads.com",
  822. "rapidshare.com",
  823. "rapidshare.ru",
  824. "4savefile.com",
  825. "bayfiles.com",
  826. "bayfiles.net",
  827. "dodane.pl",
  828. "dotsemper.com",
  829. "egofiles.com",
  830. "epicshare.net",
  831. "fiberupload.net",
  832. "filemonkey.in",
  833. "filemonster.net",
  834. "filepom.com",
  835. "filesbb.com",
  836. "fileshareup.com",
  837. "filevice.com",
  838. "gigaup.fr",
  839. "isavelink.com",
  840. "loombo.com",
  841. "megafiles.se",
  842. "migupload.com",
  843. "mydisc.net",
  844. "nitrobits.com",
  845. "potload.com",
  846. "redload.net",
  847. "shareprofi.com",
  848. "sharesuper.info",
  849. "sinhro.net",
  850. "speedfile.cz",
  851. "speedshare.org",
  852. "storage.novoro.net",
  853. "swankshare.com",
  854. "swatupload.com",
  855. "upafile.com",
  856. "uploadmachine.com",
  857. "uploadsat.com",
  858. "upshared.com",
  859. "usefile.com",
  860. "yourfiles.to",
  861. "zomgupload.com",
  862. "ultramegabit.com",
  863. "uploadto.us",
  864. "inafile.com",
  865. "megairon.net",
  866.  
  867. ];
  868. ///////////////////////////////////////////////////////////////////////////////////////
  869. var firstRun = GM_getValue("First_run", true);
  870.  
  871. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  872. //////////////////////////////////////////////////////////////////////////////////////
  873. try
  874. {
  875. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  876. var last_known_version = GM_getValue("last_known_version", "");
  877. if (!last_known_version)
  878. {
  879. last_known_version = thisVersion;
  880. GM_setValue("last_known_version", last_known_version);
  881. }
  882. //var newVersion = !(thisVersion == last_known_version);
  883. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  884. GM_setValue("last_known_version", thisVersion);
  885. }
  886. catch (err)
  887. {
  888. var newVersion = false;
  889. }
  890.  
  891. var now = (new Date()).getTime();
  892. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  893. if (!last_custom_rules_nag)
  894. {
  895. last_custom_rules_nag = now;
  896. GM_setValue('last_custom_rules_nag', ''+now);
  897. }
  898.  
  899.  
  900. allHostNames.sort();
  901. allContainerNames.sort();
  902. allObsoleteNames.sort();
  903.  
  904. var RAND_STRING = "8QyvpOSsRG3QWq";
  905. var DEBUG_MODE = false;
  906.  
  907. var TOOLTIP_MAXWIDTH = 600; //in pixels
  908. var TOOLTIP_THUMBWIDTH = 200;
  909. var containers_processed = false;
  910.  
  911. //settings for keyboard functions start
  912. var CHECK_ALL_LINKS_KEY = "A";
  913. var CONFIGURATION_KEY = "C";
  914. var copy_to_dead_key = "D";
  915. var toggle_autocheck_key = "W";
  916. var toggle_Enable_Anonymizer_key = "Z";
  917. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  918. var first_key_keycodename = 'CTRL';
  919. var second_key_keycode = '18';
  920. var second_key_keycodename = 'ALT';
  921. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  922. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  923. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  924. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  925. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  926. //settings for keyboard functions end
  927.  
  928. //global settings start
  929. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  930. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  931. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  932. var Show_progress_stats, Display_tooltip_info, Icon_set;
  933. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  934. var Progress_box_refresh_rate;
  935. var Obsolete_file_hosts;
  936. var Custom_rules, Custom_rules_text;
  937.  
  938. var messageBox = document.createElement('b'); // top-left message box
  939.  
  940. var cLinksTotal = 0;
  941. var cLinksDead = 0;
  942. var cLinksAlive = 0;
  943. var cLinksUnava = 0;
  944. var cLinksprem = 0;
  945. var cLinksProcessed = 0;
  946.  
  947. var intervalId; //for updateProgress()
  948.  
  949. //icon resources
  950. 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+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//U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mvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAaJJREFUeNpkkk1rE1EUhp9zJ21NpxJocxctiAQXXYkQQQsG/EJo0a0LyW8ws9KFP0E3HQv6D9x1KbixdTGIlrZuzUJLCM2iEykRJ23S5B4XsZOpPXAW957zXM773iNkQquUgAKAAlpISx3vDXunB8kA5Zbb3hr6l032HtDc7/rQzlWWJt6yk0Japfxr4udWN3dRAMP5UI5bzi5cu5F/ya7RKqWW204BG66c6bart0ePX1iQRjP6krygZIDCv5FMce0+cELx9WMAimuPUCPY8B6AmfYXcy5PwWhGW/vpR2AKdB8bPkScIswRBxupB84Dk3EIgDh4j+CjHIImxLV18sM/Z3rOibard1A5wcg8Kn1s+IAjb2bsiAPjlNNvwYbLINOgfQ5q6yCTqBzjv7qbMgoYl6PTTerSY+Di4ANqBrSDz0z1D2nXPtHr+STPNgFcN6mLm6EjAEfPKTea0Y74V5yHmEm8/6d23aRu7M1KOf4afTMAjWa0e6lUua7JDzNEtceATGoWWHx3a7wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  959.  
  960. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw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W5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  963. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  964.  
  965. //global settings end
  966. if (window.opera && !window.console)
  967. {
  968. window.console = {};
  969.  
  970. function fn()
  971. {
  972. opera.postError(arguments);
  973. };
  974. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  975. {
  976. window.console[name] = fn;
  977. });
  978. }
  979.  
  980. //displays colored text in message box
  981. function sendMessage(text, color)
  982. {
  983. var msgDiv = document.createElement('div');
  984. msgDiv.style.color = color;
  985. msgDiv.innerHTML = text;
  986. messageBox.appendChild(msgDiv);
  987. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  988. }
  989.  
  990. function linkify(totalourls)
  991. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  992. var ikkeTilladteTags;
  993. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  994. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  995. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  996. allLinksRegex = new RegExp(allLinksRegex, "g");
  997. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  998.  
  999. if (Do_not_linkify_DL_links)
  1000. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1001. else
  1002. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1003.  
  1004. var regex = new RegExp(regexy);
  1005. var textNode, muligtLink;
  1006.  
  1007. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1008. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1009.  
  1010. var i = textNodes.snapshotLength;
  1011. while (i--)
  1012. {
  1013. textNode = textNodes.snapshotItem(i);
  1014.  
  1015. muligtLink = textNode.nodeValue; //all links on page
  1016.  
  1017. var myArray = null;
  1018. var span = null;
  1019. var lastLastIndex = 0;
  1020. allLinksRegex.lastIndex = 0;
  1021. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1022. {
  1023. if (textNode.parentNode.className == "adead_link") continue;
  1024. var censoredLink = muligtLink;
  1025. var span = document.createElement('span');
  1026. span.className = "adead_link";
  1027. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1028. $(span).html(censoredLink);
  1029. span.addEventListener("mouseover", displayTooltipError, false);
  1030. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1031. textNode.parentNode.replaceChild(span, textNode);
  1032. continue;
  1033. alert(censoredLink);
  1034. }
  1035. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1036. {
  1037. if (!regex.test(myArray[0])) //this link is not recognized
  1038. {
  1039.  
  1040. continue;
  1041. }
  1042. if (!span)
  1043. span = document.createElement('span');
  1044.  
  1045. var link = myArray[0];
  1046. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1047.  
  1048. var $a = $("<a>" + link + "</a>")
  1049. if (!link.match(/https?:\/\//))
  1050. {
  1051. link = 'http://' + link;
  1052. }
  1053.  
  1054. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1055. .addClass("processing_link")
  1056. .appendTo(span);
  1057. lastLastIndex = allLinksRegex.lastIndex;
  1058. }
  1059. if (span)
  1060. {
  1061. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1062. textNode.parentNode.replaceChild(span, textNode);
  1063. }
  1064. }
  1065. }
  1066.  
  1067. function add_WARLC_style()
  1068. {
  1069. if (!(document.getElementsByTagName('WARLC')[0]))
  1070. {
  1071. var meta_not_to_add_more_style = document.createElement("WARLC");
  1072. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1073. meta_not_to_add_more_style.setAttribute('name', 'description');
  1074. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1075. alive_link_png = "";
  1076. adead_link_png = "";
  1077. unava_link_png = "";
  1078. prem_link_png = "";
  1079. switch(Icon_set)
  1080. {
  1081. //no icons
  1082. case 0: break;
  1083. // cat paws
  1084. case 1: alive_link_png = PAW_ICON_GREEN;
  1085. adead_link_png = PAW_ICON_RED;
  1086. unava_link_png = PAW_ICON_YELLOW;
  1087. prem_link_png = PAW_ICON_PINK;
  1088. break;
  1089. // classic RSLC look
  1090. case 2: alive_link_png = RSLC_ICON_GREEN;
  1091. adead_link_png = RSLC_ICON_RED;
  1092. unava_link_png = RSLC_ICON_YELLOW;
  1093. prem_link_png = RSLC_ICON_PINK;
  1094. break;
  1095. // New Icons
  1096. case 3: alive_link_png = NEW_ICON_GREEN;
  1097. adead_link_png = NEW_ICON_RED;
  1098. unava_link_png = NEW_ICON_YELLOW;
  1099. prem_link_png = NEW_ICON_PINK;
  1100. break;
  1101. // cat paws
  1102. default:alive_link_png = PAW_ICON_GREEN;
  1103. adead_link_png = PAW_ICON_RED;
  1104. unava_link_png = PAW_ICON_YELLOW;
  1105. prem_link_png = PAW_ICON_PINK;
  1106. break;
  1107. }
  1108. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1109. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1110.  
  1111. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1112.  
  1113. if (Color_DL_links)
  1114. {
  1115. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1116. live_color_css = 'color:' + Live_links_color + ' !important;';
  1117. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1118. container_color_css = 'color:' + Container_links_color + ' !important;';
  1119. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1120. }
  1121. else
  1122. {
  1123. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1124. }
  1125.  
  1126. if (Show_black_background_in_DL_links)
  1127. {
  1128. black_background_css = 'background-color: black !important;';
  1129. }
  1130. else
  1131. {
  1132. black_background_css = '';
  1133. }
  1134.  
  1135. if (Show_line_through_in_dead_links)
  1136. {
  1137. line_through_css = 'text-decoration: line-through !important;';
  1138. }
  1139. else
  1140. {
  1141. line_through_css = '';
  1142. }
  1143.  
  1144. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1145. 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 + "}");
  1146. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1147. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1148. GM_addStyle(".container_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_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1150. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1151. }
  1152. }
  1153.  
  1154. var warlcTooltip = null;
  1155. var mouseoverLink = null; //link href with mouse cursor over it
  1156.  
  1157. var lastX = 0;
  1158. var lastY = 0;
  1159.  
  1160. $(document).ready(initTooltip);
  1161. //inits tooltip
  1162. function initTooltip()
  1163. { warlcTooltip = document.createElement("div");
  1164. 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;");
  1165. warlcTooltip.style.visibility = "hidden";
  1166. document.body.appendChild(warlcTooltip);
  1167. }
  1168.  
  1169. //"mousemove" event handler for all links
  1170. function moveTooltip(event)
  1171. {
  1172. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1173. { //no need to reflow if the cursor moved just a little
  1174. return;
  1175. }
  1176. else
  1177. {
  1178. lastX = event.clientX;
  1179. lastY = event.clientY;
  1180. }
  1181.  
  1182. posX = event.clientX + window.pageXOffset + 10;
  1183. posY = event.clientY + window.pageYOffset;
  1184. var ttHeight = warlcTooltip.offsetHeight;
  1185. var ttFreeSpace = window.innerHeight - event.clientY;
  1186. if (ttHeight > ttFreeSpace)
  1187. { //prevents tooltip from getting out of the window
  1188. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1189. }
  1190. else
  1191. {
  1192. posY += 7;
  1193. }
  1194. warlcTooltip.style.top = posY + "px";
  1195. warlcTooltip.style.left = posX + "px";
  1196. }
  1197.  
  1198. //"mouseout" event handler for all links
  1199. function hideTooltip(){
  1200. warlcTooltip.style.visibility = "hidden";
  1201. mouseoverLink = null;
  1202. }
  1203.  
  1204.  
  1205. //"mouseover" event handler for dead links
  1206. //displays tooltip error message on dead links
  1207. function displayTooltipError()
  1208. {
  1209. mouseoverLink = this.href;
  1210. this.addEventListener("mouseout", hideTooltip);
  1211. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1212. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1213. warlcTooltip.style.minWidth = 0;
  1214. warlcTooltip.style.visibility = "visible";
  1215. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1216. {
  1217. warlcTooltip.innerHTML = this.warlc_error;
  1218. }
  1219. else
  1220. {
  1221. loadErrorInfo(this);
  1222. }
  1223. function loadErrorInfo(link)
  1224. {
  1225. var href = link.href;
  1226. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1227. GM_xmlhttpRequest({
  1228. method: 'GET',
  1229. url: href.replace(Ref_anonymize_service, ""),
  1230. headers: {
  1231. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1232. 'Accept': 'text/xml',
  1233. 'Referer': ""
  1234. },
  1235. onload: function(result) {
  1236. var res = result.responseText;
  1237. //TODO: errorRegexs -
  1238. var errorRegexs = [ //generic error messages follow
  1239. /(empty directory)/i,
  1240. /(soubor nebyl nalezen)/i,
  1241. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1242. //server specific error messages follow
  1243. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1244. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1245. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1246. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1247. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1248. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1249. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1250. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1251. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1252. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1253. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1254. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1255. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1256. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1257. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1258. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1259. /(File has been removed due to Copyright Claim)/, //filerio
  1260. ];
  1261. var errorIdx = errorRegexs.length;
  1262. var error = "Cause of error: <b>unknown</b>";
  1263. var errorCandidate = "";
  1264. while(errorIdx--)
  1265. {
  1266. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1267. if (errorCandidate != null)
  1268. {
  1269. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1270. break;
  1271. }
  1272. }
  1273. //link attributes
  1274. link.warlc_error = error;
  1275. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1276. {
  1277. warlcTooltip.innerHTML = error;
  1278. }
  1279. }
  1280. });
  1281. }
  1282. }
  1283.  
  1284. //"mouseover" event handler for alive links
  1285. //displays tooltip info (file size, file name,...) on alive links
  1286. function displayTooltipInfo()
  1287. {
  1288. mouseoverLink = this.href;
  1289. //exclude direct download filehostings
  1290. 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)/))
  1291. {
  1292. return;
  1293. }
  1294. this.addEventListener("mouseout", hideTooltip);
  1295. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1296. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1297. warlcTooltip.style.minWidth = 0;
  1298. warlcTooltip.style.visibility = "visible";
  1299. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1300. {
  1301. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1302. }
  1303. else
  1304. {
  1305. loadInfo(this);
  1306. }
  1307. function loadInfo(link)
  1308. {
  1309. var href = link.href;
  1310. GM_xmlhttpRequest({
  1311. method: 'GET',
  1312. url: href.replace(Ref_anonymize_service, ""),
  1313. headers: {
  1314. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1315. 'Accept': 'text/xml',
  1316. 'Referer': ""
  1317. },
  1318. onload: function(result) {
  1319. var res = result.responseText;
  1320. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1321. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1322. /fl" title="(.+?)">/, //edisk
  1323. /<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
  1324. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1325. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1326. /title="download (.+?)">/, //sendspace
  1327. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1328. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1329. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1330. /d0FileName = "(.+?)";/, //letitbit
  1331. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1332. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1333. /fname" value="(.+?)">/, //syfiles, grupload,
  1334. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1335. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1336. /Complete name : (.+?)<br \/>/, //bezvadata
  1337. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1338. ];
  1339. var nameIdx = nameRegexs.length;
  1340. // [sizeRegexs]
  1341. // / \ \?
  1342. // prefix (size) postfix
  1343. // / \
  1344. // val quant
  1345. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1346. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1347. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1348. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1349. var postSizeRegex = '(?:\\))?';
  1350. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1351. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1352. ];
  1353. var sizeIdx = sizeRegexs.length;
  1354. //
  1355. //
  1356. var tooltip = "File Name: <b>";
  1357. var fileName = "unknown";
  1358. var nameCandidate = "";
  1359. while(nameIdx--)
  1360. {
  1361. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1362. if (nameCandidate != null)
  1363. {
  1364. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1365. break;
  1366. }
  1367. }
  1368. tooltip += fileName + "</b><br>File Size: <b>";
  1369. var fileSize = "unknown";
  1370. var sizeCandidate = "";
  1371. while(sizeIdx--)
  1372. {
  1373. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1374. if (sizeCandidate != null)
  1375. {
  1376. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1377. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1378. {
  1379. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1380. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1381. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1382. }
  1383. break;
  1384. }
  1385. }
  1386. tooltip += fileSize + "</b>";
  1387. // PROTOTYPE
  1388. // video thumbnails
  1389. if (href.match('hellshare'))
  1390. {
  1391. var thumbs;
  1392. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1393. if (thumbs)
  1394. {
  1395. tooltip += '<br>';
  1396. var j = Math.min(thumbs.length, 9);
  1397. for (var i = 0; i < j; i++)
  1398. {
  1399. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1400. }
  1401. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1402. }
  1403. }
  1404. if (href.match('czshare'))
  1405. {
  1406. var thumbs;
  1407. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1408. if (thumbs)
  1409. {
  1410. var thumbsServer = thumbs[1];
  1411. var thumbsId = thumbs[2];
  1412. tooltip += '<br>';
  1413. for (var i = 1; i < 9; i++)
  1414. {
  1415. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1416. }
  1417. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1418. }
  1419. }
  1420. if (href.match('bezvadata'))
  1421. {
  1422. var thumbs;
  1423. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1424. if (thumbs)
  1425. {
  1426. tooltip += '<br>';
  1427. var j = Math.min(thumbs.length, 9);
  1428. for (var i = 0; i < j; i++)
  1429. {
  1430. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1431. }
  1432. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1433. }
  1434. }
  1435. link.warlc_tooltipcache = tooltip;
  1436. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1437. {
  1438. warlcTooltip.innerHTML = tooltip;
  1439. }
  1440. }
  1441. });
  1442. }
  1443. }
  1444.  
  1445. function setVariables()
  1446. {
  1447. if (firstRun)
  1448. {
  1449. GM_log('First run, applying default settings...');
  1450. GM_setValue("Icon_set",1);
  1451. GM_setValue("Display_tooltip_info",true);
  1452. GM_setValue("Show_black_background_in_DL_links",false);
  1453. GM_setValue("Show_line_through_in_dead_links",false);
  1454. GM_setValue("Display_full_links_in_link_containers",false);
  1455. GM_setValue("Allow_spaces_in_DL_links",false);
  1456. GM_setValue("Autocheck",true);
  1457. GM_setValue("Enable_Anonymizer",false);
  1458. GM_setValue("Do_not_linkify_DL_links",false);
  1459. GM_setValue("Show_progress_stats",true);
  1460. GM_setValue("Keyboard_functions",true);
  1461. GM_setValue("Obsolete_file_hosts",false);
  1462. GM_setValue("Color_DL_links",true);
  1463. GM_setValue("Live_links_color","Green");
  1464. GM_setValue("Dead_links_color","#FF3300");
  1465. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1466. GM_setValue("Container_links_color","DarkKhaki");
  1467. GM_setValue("Premium_links_color","DeepPink");
  1468. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1469. GM_setValue("Custom_rules",false);
  1470. GM_setValue("Custom_rules_text","");
  1471. GM_setValue("First_run", false);
  1472. }
  1473. //hidden settings
  1474. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1475. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1476. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1477. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1478. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1479. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1480. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1481. //hidden settings end
  1482.  
  1483. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1484. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1485. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1486. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1487. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1488. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1489. Autocheck = GM_getValue("Autocheck", true);
  1490. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1491. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1492. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1493. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1494. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1495. Color_DL_links = GM_getValue("Color_DL_links", true);
  1496. Live_links_color = GM_getValue("Live_links_color", "Green");
  1497. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1498. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1499. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1500. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1501. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1502. Custom_rules = GM_getValue("Custom_rules", false);
  1503. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1504. }
  1505.  
  1506.  
  1507. // Delinkifies the links
  1508. // params:
  1509. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1510. // e.g. 'uloz.to/xs68skxl8')
  1511. function delinkifySnapshot(snapshot)
  1512. {
  1513. var n = snapshot.snapshotLength;
  1514.  
  1515. while (n--)
  1516. {
  1517. thisLink = snapshot.snapshotItem(n);
  1518.  
  1519. var spanElm = document.createElement("span");
  1520. spanElm.className = thisLink.className;
  1521. spanElm.innerHTML = thisLink.innerHTML;
  1522.  
  1523. if (Display_tooltip_info)
  1524. {
  1525. spanElm.href = thisLink.href;
  1526. switch (thisLink.className){
  1527. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1528. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1529. case "unava_link": //reserved
  1530. default:
  1531. }
  1532. }
  1533. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1534. }
  1535. }
  1536.  
  1537. function processContainers()
  1538. {
  1539. var redirectorTypes = { "HTTP_302": 0,
  1540. "INNER_LINK": 1,
  1541. "THELOO_KATT_IT": 2,
  1542. "CING_BE": 3,
  1543. "ADF_LY": 4};
  1544. var cMultiloadTotal = 0;
  1545. var cMultiloadProcessed = 0;
  1546.  
  1547. var cMirrorcreatorComTotal = 0;
  1548. var cMirrorcreatorComProcessed = 0;
  1549.  
  1550. var hostRestrictionRegex = "";
  1551. var multiloadComRestriction = "";
  1552. var multiloadComRestrictionRegex;
  1553.  
  1554. //
  1555. //HANDLING REDIRECTORS START
  1556. //
  1557.  
  1558. var redirectors = new Array();
  1559. initRedirectors();
  1560.  
  1561. var redirectorsCount = redirectors.length;
  1562.  
  1563. if (redirectorsCount > 0)
  1564. {
  1565. var allRedirectorsRegex = "";
  1566.  
  1567. //linkify redirector links
  1568. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1569. {
  1570. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1571. }
  1572. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1573. linkify(allRedirectorsRegex);
  1574. //
  1575. //process redirector links
  1576. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1577. {
  1578. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1579. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1580.  
  1581. cLinksTotal += redirectors[redirIdx].cTotal;
  1582. var linkIdx = redirectors[redirIdx].cTotal;
  1583.  
  1584. while(linkIdx--)
  1585. {
  1586. switch(redirectors[redirIdx].type)
  1587. {
  1588. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1589. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1590. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1591. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1592. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1593. default:
  1594. }
  1595. }
  1596. }
  1597. //
  1598. }
  1599.  
  1600. //HTTP_302
  1601. function processRedirectorLink(link, redirectorId)
  1602. {
  1603. link.className = 'container_link';
  1604.  
  1605. GM_xmlhttpRequest({
  1606. method: 'HEAD',
  1607. url: link.href,
  1608. headers: {
  1609. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1610. 'Accept': 'text/xml',
  1611. 'Referer': ""
  1612. },
  1613. onload: function(result) {
  1614. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1615. {
  1616. processRedirectorLink(link, redirectorId);
  1617. }
  1618. else
  1619. {
  1620. redirectors[redirectorId].cProcessed++;
  1621. link.href = result.finalUrl;
  1622. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1623. checkLinks('container_link');
  1624. }
  1625. },
  1626. onerror: function(result) { //probably caused by unresponsive filehosting
  1627. redirectors[redirectorId].cProcessed++;
  1628. link.className = 'unava_link';
  1629. cLinksProcessed++;
  1630. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1631. checkLinks('container_link');
  1632. }
  1633. });
  1634. }
  1635. //INNER_LINK
  1636. function processRedirectorLinkEx(link, redirectorId)
  1637. {
  1638. link.className = 'container_link';
  1639. GM_xmlhttpRequest({
  1640. method: 'GET',
  1641. url: link.href,
  1642. headers: {
  1643. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1644. 'Accept': 'text/xml',
  1645. 'Referer': ""
  1646. },
  1647. onload: function(result) {
  1648. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1649. redirectors[redirectorId].cProcessed++;
  1650. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1651. checkLinks('container_link');
  1652. }
  1653. });
  1654. }
  1655. //theloo.katt.it (wrapped safelinking.net)
  1656. function processThelooKattItLink(link, redirectorId)
  1657. {
  1658. link.className = 'container_link';
  1659. GM_xmlhttpRequest({
  1660. method: 'GET',
  1661. url: link.href,
  1662. headers: {
  1663. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1664. 'Accept': 'text/xml',
  1665. 'Referer': ""
  1666. },
  1667. onload: function(result) {
  1668. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1669. redirectors[redirectorId].cProcessed++;
  1670. //the inner links are safelinking.net links, so lets proceed with it
  1671. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1672. {
  1673. processRedirectorLink(link, 0);
  1674. }
  1675. }
  1676. });
  1677. }
  1678. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1679. function processAdfLyLink(link, redirectorId)
  1680. {
  1681. link.className = 'container_link';
  1682. GM_xmlhttpRequest({
  1683. method: 'GET',
  1684. url: link.href,
  1685. headers: {
  1686. 'User-agent': 'Mozilla/4.0',
  1687. 'Accept': 'text/xml',
  1688. 'Referer': ""
  1689. },
  1690. onload: function(result) {
  1691. if (result.finalUrl.match('/locked/'))
  1692. {
  1693. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1694. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1695. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1696. }
  1697. else
  1698. {
  1699. // GM_log('Processing... ' + link.href);
  1700. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1701. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1702. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1703. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1704. //confirm advert
  1705. GM_xmlhttpRequest(
  1706. {
  1707. method: 'POST',
  1708. url: 'http://adf.ly/l.php',
  1709. headers: {
  1710. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1711. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1712. 'Referer': link.href
  1713. },
  1714. data: users + '&lt=' + logToken,
  1715. onload: function(result) {
  1716. //retrieve final url from .../go/... link
  1717. GM_xmlhttpRequest({
  1718. method: 'GET',
  1719. url: directLink,
  1720. headers: {
  1721. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1722. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1723. 'Referer': link.href
  1724. },
  1725. onload: function(result) {
  1726. link.href = result.finalUrl;
  1727. redirectors[redirectorId].cProcessed++;
  1728. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1729. checkLinks('container_link');
  1730. }
  1731. });
  1732. }
  1733. });
  1734. }
  1735. }
  1736. });
  1737. function proceedOK()
  1738. {
  1739. }
  1740. }
  1741. //MULTILOAD.CZ START
  1742. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1743. {
  1744. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1745. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1746.  
  1747. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1748.  
  1749. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1750. hostRestrictionRegex += 'hellshare|';
  1751. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1752. hostRestrictionRegex += 'downloadhellshare|';
  1753. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1754. hostRestrictionRegex += 'share-rapid\\.com|';
  1755. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1756. hostRestrictionRegex += 'quickshare\\.cz|';
  1757. if (GM_getValue("Check_czshare_dot_com_links", false))
  1758. hostRestrictionRegex += 'czshare\\.com|';
  1759. if (GM_getValue("Check_uloz_dot_to_links", false))
  1760. hostRestrictionRegex += 'uloz\\.to|';
  1761. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1762. hostRestrictionRegex += 'hellspy|';
  1763. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1764. hostRestrictionRegex += 'multishare\\.cz|';
  1765.  
  1766. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1767.  
  1768. linkify(mlRegex);
  1769.  
  1770. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1771. var mlCount = mlSnapshot.snapshotLength;
  1772.  
  1773. if (mlCount > 0)
  1774. {
  1775. cMultiloadTotal += mlCount;
  1776.  
  1777. mlIdx = mlCount - 1;
  1778. do
  1779. {
  1780. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1781. }
  1782. while(mlIdx--)
  1783. }
  1784. }
  1785. //MULTILOAD.CZ END
  1786.  
  1787.  
  1788.  
  1789. function processMultiloadLink(mlLink)
  1790. {
  1791. GM_xmlhttpRequest({
  1792. method: 'GET',
  1793. url: mlLink.href,
  1794. headers: {
  1795. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1796. 'Accept': 'text/xml',
  1797. 'Referer': ""
  1798. },
  1799. onload: function(result) {
  1800. var res = result.responseText;
  1801.  
  1802. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1803. 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;
  1804. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1805. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1806.  
  1807. var blocks; // blocks of links
  1808. var blockIdx;
  1809.  
  1810. mlLink.className = '';
  1811.  
  1812. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1813. {
  1814. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1815. return;
  1816. }
  1817.  
  1818. blocks = res.match(innerBlockRegex);
  1819.  
  1820. if (blocks == null) //no links found, cancel further processing
  1821. {
  1822. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1823. cMultiloadProcessed++;
  1824. if (cMultiloadTotal <= cMultiloadProcessed)
  1825. {
  1826. startBulkCheck('container_link');
  1827. start('container_link');
  1828. }
  1829. return;
  1830. }
  1831.  
  1832. blockIdx = blocks.length;
  1833.  
  1834. if (Display_full_links_in_link_containers)
  1835. {
  1836. var ulElm = document.createElement('ul');
  1837. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1838.  
  1839. while(blockIdx--)
  1840. {
  1841. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1842. {
  1843. continue;
  1844. }
  1845.  
  1846. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1847.  
  1848. var linkIdx = innerLinks.length;
  1849. while (linkIdx--)
  1850. {
  1851. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1852.  
  1853. var liElm = document.createElement('li');
  1854.  
  1855. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1856. {
  1857. liElm.appendChild(document.createTextNode(innerLink));
  1858. }
  1859. else
  1860. {
  1861. var aElm = document.createElement('a');
  1862. aElm.innerHTML = innerLink;
  1863. aElm.href = innerLink;
  1864. aElm.className = 'container_link';
  1865.  
  1866. liElm.appendChild(aElm);
  1867. }
  1868.  
  1869. ulElm.appendChild(liElm);
  1870. cLinksTotal++;
  1871. }
  1872. }
  1873.  
  1874. mlLink.parentNode.appendChild(ulElm);
  1875. }
  1876. else //compact view
  1877. {
  1878. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1879.  
  1880. while(blockIdx--)
  1881. {
  1882. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1883. {
  1884. continue;
  1885. }
  1886.  
  1887. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1888.  
  1889. var linkIdx = innerLinks.length;
  1890. while (linkIdx--)
  1891. {
  1892. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1893.  
  1894. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1895. {
  1896. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1897. }
  1898. else
  1899. {
  1900. var aElm = document.createElement('a');
  1901.  
  1902. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1903.  
  1904. //abbreviate host name
  1905. switch(hostName + ""){
  1906.  
  1907. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1908. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1909. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1910. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1911. case 'multishare': aElm.innerHTML = 'MS'; break;
  1912. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1913. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1914. case 'czshare': aElm.innerHTML = 'CS'; break;
  1915. default: aElm.innerHTML = 'xx';
  1916.  
  1917. }
  1918.  
  1919. aElm.href = innerLink;
  1920. aElm.className = 'container_link';
  1921.  
  1922. mlLink.parentNode.appendChild(aElm);
  1923. cLinksTotal++;
  1924. }
  1925. }
  1926.  
  1927. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1928.  
  1929. }
  1930. }
  1931.  
  1932. cMultiloadProcessed++;
  1933. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1934. {
  1935. if (Do_not_linkify_DL_links)
  1936. {
  1937. delinkifySnapshot(mlSnapshot);
  1938. }
  1939. startBulkCheck('container_link');
  1940. start('container_link');
  1941. }
  1942. }
  1943. });
  1944. }
  1945.  
  1946.  
  1947. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1948. {
  1949. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1950. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1951. var mcShortHostNames =
  1952. '?? 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';
  1953. // 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
  1954. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1955. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1956. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1957. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1958.  
  1959. linkify(mcRegex);
  1960.  
  1961. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1962. var mcCount = mcSnapshot.snapshotLength;
  1963.  
  1964. cMirrorcreatorComTotal = mcCount;
  1965.  
  1966. if (mcCount > 0)
  1967. {
  1968. mcShortHostNames = mcShortHostNames.split(' ');
  1969. mcIdx = mcCount;
  1970. while(mcIdx--)
  1971. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1972. }
  1973.  
  1974. }
  1975. //MIRRORCREATOR.CZ END
  1976.  
  1977.  
  1978. //mirrorcreator.com checking works like this:
  1979. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1980. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1981. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1982. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1983. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1984. function processMirrorcreatorLink(mcLink)
  1985. {
  1986. var mcURL = mcLink.href.match(mcRegex);
  1987. if(!mcURL || !mcURL[1]) return;
  1988. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1989. GM_xmlhttpRequest({
  1990. method: 'GET',
  1991. url: mcURL,
  1992. headers: {
  1993. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1994. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1995. 'Referer': ""
  1996. },
  1997. onload: function(mcLinkResult) {
  1998. var mcLinkRes = mcLinkResult.responseText;
  1999.  
  2000. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2001. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2002.  
  2003. var mcRedirectors;
  2004. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2005. var m = mcLinkRes.match(mcLinkBlockRegex);
  2006. if (m)
  2007. mcHostsFound = m.length;
  2008. else
  2009. { //no files inside container
  2010. processMirrorcreatorFoundHosts(mcLink, []);
  2011. return;
  2012. }
  2013.  
  2014. var mcRedirectorURL, idx, timedOut = false;
  2015.  
  2016. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2017. GM_xmlhttpRequest({
  2018. method: 'GET',
  2019. url: mcRedirectorURL,
  2020. headers: {
  2021. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2022. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2023. 'Referer': ""
  2024. },
  2025. onload: function(mcHostResult) {
  2026. if (timedOut) return; //too late, the list is already displayed
  2027. var mcHostRes = mcHostResult.responseText;
  2028. var mcHost = mcHostRes.match(mcHostRegex);
  2029. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2030. if (mcHost && idx!=-1)
  2031. {
  2032. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2033. mcHostsRetrieved++;
  2034. mcHostsToProcess++;
  2035. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2036. {
  2037. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2038. mcHostsToProcess = 0;
  2039. }
  2040. }
  2041. } //end of onload: function
  2042. }); //end of GM_xmlhttpRequest call
  2043. };//end of var gmxhrFunc
  2044.  
  2045. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2046. { //load individual redirector pages
  2047. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2048. mcHostURLs.push(mcRedirectorURL);
  2049. mcRedirectorIDs.push(mcRedirectors[2]);
  2050. gmxhrFunc(mcRedirectorURL);
  2051. } //end of while block
  2052.  
  2053. setTimeout(function(){ //in case the last page fails to load and call the function
  2054. timedOut = true;
  2055. if (mcHostsToProcess)
  2056. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2057. }, 60000);
  2058.  
  2059. } //end of onload function
  2060. }); //end of GM_xmlhttpRequest call
  2061. } //end of function processMirrorcreatorLink
  2062.  
  2063.  
  2064. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2065. {
  2066. var aEl, liEl, docFrag;
  2067. var hostName, mcRedirectorID, trimFilename = false;
  2068. var i = mcHostURLs.length;
  2069. if (i == 0)
  2070. {
  2071. trimFilename = true;
  2072. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2073. }
  2074. else
  2075. {
  2076. if (Display_full_links_in_link_containers)
  2077. { //full view
  2078. var wrapperEl = document.createElement('span');
  2079. wrapperEl.style.display = 'block';
  2080. var ulistEl = document.createElement('ul');
  2081. ulistEl.className = 'container_list';
  2082. while (i--)
  2083. {
  2084. liEl = document.createElement('li');
  2085. aEl = document.createElement('a');
  2086. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2087. aEl.href = mcHostURLs[i];
  2088. aEl.className = 'container_link';
  2089. liEl.appendChild(aEl);
  2090. ulistEl.appendChild(liEl);
  2091. }
  2092. wrapperEl.appendChild(ulistEl);
  2093. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2094. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2095. }
  2096. else
  2097. { //compact view
  2098. trimFilename = true;
  2099. docFrag = document.createDocumentFragment();
  2100. docFrag.appendChild(document.createTextNode(' |'));
  2101. while (i--)
  2102. {
  2103. mcRedirectorID = mcRedirectorIDs[i];
  2104. hostName = mcHostURLs[i];
  2105. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2106. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2107. else
  2108. hostName = mcShortHostNames[mcRedirectorID];
  2109. aEl = document.createElement('a');
  2110. aEl.href = mcHostURLs[i];
  2111. aEl.className = 'container_link';
  2112. aEl.appendChild(document.createTextNode(hostName));
  2113. docFrag.appendChild(aEl);
  2114. docFrag.appendChild(document.createTextNode('|'));
  2115. }
  2116. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2117. } //end of else block
  2118. } //end of else block
  2119. mcLink.className = '';
  2120. if (trimFilename)
  2121. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2122. cMirrorcreatorComProcessed++;
  2123. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2124. {
  2125. if (Do_not_linkify_DL_links)
  2126. delinkifySnapshot(mcSnapshot);
  2127. startBulkCheck('container_link');
  2128. start('container_link');
  2129. }
  2130. } //end of function processMirrorcreatorFoundHosts
  2131.  
  2132. containers_processed = true;
  2133.  
  2134.  
  2135. function initRedirectors()
  2136. {
  2137. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2138. {
  2139. var redirector = new Object();
  2140. redirector.linkRegex = linkRegex;
  2141. redirector.xpath = xpathEx; //xpath expression
  2142. redirector.cProcessed = 0; //processed links count
  2143. redirector.cTotal = 0; //total links count
  2144. redirector.type = redirType; //redirectorTypes enum
  2145. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2146. redirectors.push(redirector);
  2147. }
  2148. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2149. {
  2150. addRedirector(
  2151. 'safelinking\\.net\/d\/\\w+',
  2152. "//a[contains(@href,'safelinking.net/d/')]",
  2153. redirectorTypes.HTTP_302,
  2154. null);
  2155. }
  2156. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2157. {
  2158. addRedirector(
  2159. 'linksafe\\.me\/d\/\\w+',
  2160. "//a[contains(@href,'linksafe.me/d/')]",
  2161. redirectorTypes.HTTP_302,
  2162. null);
  2163. }
  2164. if (GM_getValue("Check_linkto_dot_net_links", false))
  2165. {
  2166. addRedirector(
  2167. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2168. "//a[contains(@href,'linkto.net/?')]",
  2169. redirectorTypes.INNER_LINK,
  2170. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2171. }
  2172. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2173. {
  2174. addRedirector(
  2175. '(?:the)?loo\\.katt\\.it\/\\w+',
  2176. "//a[contains(@href,'loo.katt.it/')]",
  2177. redirectorTypes.THELOO_KATT_IT,
  2178. /Proceed to URL - <a href="(.+?)">/);
  2179. }
  2180. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2181. {
  2182. addRedirector(
  2183. 'madlink\\.sk\/\\w+',
  2184. "//a[contains(@href,'madlink.sk/')]",
  2185. redirectorTypes.INNER_LINK,
  2186. /name="url" value="(.+?)\s*"\/>/);
  2187. }
  2188. if (GM_getValue("Check_adf_dot_ly_links", false))
  2189. {
  2190. addRedirector(
  2191. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2192. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2193. redirectorTypes.ADF_LY,
  2194. null);
  2195. }
  2196. if (GM_getValue("Check_redi_dot_re_links", false))
  2197. {
  2198. addRedirector(
  2199. 'redi\\.re\/\\w+',
  2200. "//a[contains(@href,'redi.re/')]",
  2201. redirectorTypes.HTTP_302,
  2202. null);
  2203. }
  2204. if (GM_getValue("Check_bit_dot_ly_links", false))
  2205. {
  2206. addRedirector(
  2207. 'bit\\.ly\/\\w+',
  2208. "//a[contains(@href,'bit.ly/')]",
  2209. redirectorTypes.HTTP_302,
  2210. null);
  2211. }
  2212. }
  2213.  
  2214. }
  2215.  
  2216. var bulkHosts = new Array();
  2217. var bulkHostNames = new Array();
  2218. function initBulkCheck()
  2219. {
  2220. /////////////////////////////
  2221. // Inits filehost object
  2222. /////////////////////////////
  2223. // params :
  2224. // hostName -- [string] host name (multiple domains separated with coma)
  2225. // linkRegex -- [string] link regex
  2226. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2227. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2228. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2229. // corrReplWhat -- [regex] link correction regex (replace)
  2230. // corrReplWith -- [string]
  2231. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2232. //
  2233. // apiUrl -- [string] web linkchecker or API URL
  2234. // postData -- [string] POSTDATA of xmlhttprequest
  2235. // resLinkRegex -- [regex]
  2236. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2237. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2238. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2239. // func -- [function] bulkcheck handler, genBulkCheck if null
  2240. //
  2241. //////////////////////////////
  2242. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2243. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2244. {
  2245. var fileHost = new Object();
  2246.  
  2247. fileHost.linkRegex = linkRegex;
  2248. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2249. fileHost.xpath = xpath;
  2250. fileHost.cFound = 0; //found links counter
  2251. fileHost.links = new Array(); //found links
  2252. if (blockSize == null)
  2253. {
  2254. fileHost.blockSize = 50;
  2255. }
  2256. else
  2257. {
  2258. fileHost.blockSize = blockSize;
  2259. }
  2260. fileHost.corrMatch = corrMatch;
  2261. fileHost.corrReplWhat = corrReplWhat;
  2262. fileHost.corrReplWith = corrReplWith;
  2263. if (splitSeparator == null)
  2264. {
  2265. fileHost.splitSeparator = "\r\n";
  2266. }
  2267. else
  2268. {
  2269. fileHost.splitSeparator = splitSeparator;
  2270. }
  2271. fileHost.apiUrl = apiUrl;
  2272. fileHost.postData = postData;
  2273. fileHost.resLinkRegex = resLinkRegex;
  2274. fileHost.resLiveRegex = resLiveRegex;
  2275. fileHost.resDeadRegex = resDeadRegex;
  2276. fileHost.resUnavaRegex = resUnavaRegex;
  2277. if (func == null)
  2278. {
  2279. fileHost.func = genBulkCheck;
  2280. }
  2281. else
  2282. {
  2283. fileHost.func = func;
  2284. }
  2285. bulkHosts.push(fileHost);
  2286. var names = hostName.split(',');
  2287. var i = names.length;
  2288. while(i--)
  2289. {
  2290. bulkHostNames[names[i]] = fileHost;
  2291. }
  2292. }
  2293. var genType1 = [
  2294. "rodfile.com", "downloadani.me", //"migahost.com",
  2295. "rarefile.net",
  2296. "filesabc.com",
  2297. "verzend.be",
  2298. // "movreel.com",
  2299. "4up.me",
  2300. "file4safe.com", "filemac.com", "4upfiles.com",
  2301. "idup.in", "novafile.com", "longfiles.com",
  2302. "bitupload.com",
  2303. "uploadbaz.com"
  2304. ];
  2305. var genType2 = [ "queenshare.com",
  2306. "hulkload.com",
  2307. "amonshare.com", //"edoc.com",
  2308. ];
  2309. //xfilesharing 1.0
  2310. function addGenericType1()
  2311. {
  2312. var i = genType1.length;
  2313. while(i--)
  2314. {
  2315. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2316. {
  2317. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2318. addHost(
  2319. genType1[i].match(/[\w-]+/)[0], //hostname
  2320. regexSafe + "\/\\w+", //linkregex
  2321. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2322. null, //blocksize
  2323. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2324. null, //corrreplwhat
  2325. null, //corrreplwith
  2326. null, //separator
  2327. "http://" + genType1[i] + "/checkfiles.html", //api url
  2328. "op=checkfiles&process=Check+URLs&list=", //postdata
  2329. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2330. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2331. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2332. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2333. null //function delegate
  2334. )
  2335. }
  2336. }
  2337. }
  2338. //xfilesharing 2.0
  2339. function addGenericType2()
  2340. {
  2341. var i = genType2.length;
  2342. while(i--)
  2343. {
  2344. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2345. {
  2346. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2347. addHost(
  2348. genType2[i].match(/[\w-]+/)[0], //hostname
  2349. regexSafe + "\/\\w+", //linkregex
  2350. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2351. null, //blocksize
  2352. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2353. null, //corrreplwhat
  2354. null, //corrreplwith
  2355. null, //separator
  2356. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2357. "op=checkfiles&process=Check+URLs&list=", //postdata
  2358. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2359. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2360. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2361. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2362. null //function delegate
  2363. )
  2364. }
  2365. }
  2366. }
  2367. // TEMPLATE
  2368. // if (GM_getValue("Check__dot_com_links", false))
  2369. // {
  2370. // addHost(
  2371. // "", //hostname
  2372. // "", //linkregex
  2373. // "//a[contains(@href,'.com/')]", //xpath
  2374. // null, //blocksize
  2375. // null, //corrmatch
  2376. // null, //corrreplwhat
  2377. // null, //corrreplwith
  2378. // null, //separator
  2379. // "", //api url
  2380. // "", //postdata
  2381. // /()/, //linkregex
  2382. // //liveregex
  2383. // //deadregex
  2384. // //unavaregex
  2385. // null //function delegate
  2386. // )
  2387. // }
  2388. addGenericType1();
  2389. addGenericType2();
  2390.  
  2391. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2392. {
  2393. addHost(
  2394. "myvdrive,fileserving", //hostname
  2395. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2396. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2397. null, //blocksize
  2398. null, //corrmatch
  2399. null, //corrreplwhat
  2400. null, //corrreplwith
  2401. null, //separator
  2402. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2403. "links=", //postdata
  2404. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2405. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2406. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2407. null, //unavaregex
  2408. null //function delegate
  2409. )
  2410. }
  2411. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2412. {
  2413. addHost(
  2414. "hackerbox", //hostname
  2415. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2416. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2417. null, //blocksize
  2418. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2419. null, //corrreplwhat
  2420. null, //corrreplwith
  2421. null, //separator
  2422. "http://host.hackerbox.org/checkfiles.html", //api url
  2423. "op=checkfiles&process=Check+URLs&list=", //postdata
  2424. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2425. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2426. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2427. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2428. null //function delegate
  2429. )
  2430. }
  2431. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2432. {
  2433. addHost(
  2434. "hellshare", //hostname
  2435. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2436. "//a[contains(@href,'hellshare.')]", //xpath
  2437. 48, //blocksize
  2438. null, //corrmatch
  2439. null, //corrreplwhat
  2440. null, //corrreplwith
  2441. null, //separator
  2442. null, //api url
  2443. null, //postdata
  2444. null, //linkregex
  2445. null, //liveregex
  2446. null, //deadregex
  2447. null, //unavaregex
  2448. hellshareBulkCheck //function delegate
  2449. )
  2450. }
  2451. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2452. {
  2453. addHost(
  2454. "ncrypt", //hostname
  2455. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2456. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2457. 100000, //blocksize
  2458. null, //corrmatch
  2459. null, //corrreplwhat
  2460. null, //corrreplwith
  2461. null, //separator
  2462. null,
  2463. null,
  2464. null,
  2465. null,
  2466. null,
  2467. null,
  2468. ncryptBulkCheck //function delegate
  2469. )
  2470. }
  2471. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2472. {
  2473. addHost(
  2474. "uploadrocket", //hostname
  2475. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2476. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2477. null, //blocksize
  2478. null, //corrmatch
  2479. null, //corrreplwhat
  2480. null, //corrreplwith
  2481. "\n", //separator
  2482. 'http://uploadrocket.net/?op=checkfiles',
  2483. 'op=checkfiles&process=Check+URLs&list=',
  2484. /uploadrocket.net\/(\w+)/,
  2485. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2486. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2487. null,
  2488. null //function delegate
  2489. )
  2490. }
  2491. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2492. {
  2493. addHost(
  2494. "k2s,keep2s,keep2share",
  2495. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2496. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2497. 100000, //blocksize
  2498. null, //corrmatch
  2499. null, //corrreplwhat
  2500. null, //corrreplwith
  2501. null, //separator
  2502. null,
  2503. null,
  2504. null,
  2505. null,
  2506. null,
  2507. null,
  2508. k2sBulkCheck //function delegate
  2509. )
  2510. }
  2511. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2512. {
  2513. addHost(
  2514. "tezfiles",
  2515. "(?:tezfiles\\.com)\/\\w+",
  2516. "//a[contains(@href,'tezfiles.com')]",
  2517. 100000, //blocksize
  2518. null, //corrmatch
  2519. null, //corrreplwhat
  2520. null, //corrreplwith
  2521. null, //separator
  2522. null,
  2523. null,
  2524. null,
  2525. null,
  2526. null,
  2527. null,
  2528. k2sBulkCheck //function delegate
  2529. )
  2530. }
  2531. if (GM_getValue("Check_fboom_dot_me_links", false))
  2532. {
  2533. addHost(
  2534. "fboom,fileboom",
  2535. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2536. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2537. 100000, //blocksize
  2538. null, //corrmatch
  2539. null, //corrreplwhat
  2540. null, //corrreplwith
  2541. null, //separator
  2542. null,
  2543. null,
  2544. null,
  2545. null,
  2546. null,
  2547. null,
  2548. fboomBulkCheck //function delegate
  2549. )
  2550. }
  2551. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2552. {
  2553. addHost(
  2554. "1fichier,dl4free",
  2555. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2556. "//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/?')]",
  2557. 100000, //blocksize
  2558. null, //corrmatch
  2559. null, //corrreplwhat
  2560. null, //corrreplwith
  2561. null, //separator
  2562. null,
  2563. null,
  2564. null,
  2565. null,
  2566. null,
  2567. null,
  2568. dl4free_1fichier_BulkCheck //function delegate
  2569. )
  2570. }
  2571. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2572. {
  2573. addHost(
  2574. "depositfiles,dfiles",
  2575. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2576. "//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/')]",
  2577. 100000, //blocksize
  2578. null, //corrmatch
  2579. null, //corrreplwhat
  2580. null, //corrreplwith
  2581. null, //separator
  2582. null,
  2583. null,
  2584. null,
  2585. null,
  2586. null,
  2587. null,
  2588. depositfilesBulkCheck //function delegate
  2589. )
  2590. }
  2591. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2592. {
  2593. addHost(
  2594. "filesflash", //hostname
  2595. "filesflash\\.com\/\\w+", //linkregex
  2596. "//a[contains(@href,'filesflash.com')]", //xpath
  2597. null, //blocksize
  2598. null, //corrmatch
  2599. /http:\/\//, //corrreplwhat
  2600. '', //corrreplwith
  2601. null, //separator
  2602. 'http://filesflash.com/checklinks.php',
  2603. 'submit=Go&links=',
  2604. /filesflash\.com\/(\w+)/,
  2605. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2606. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2607. null,
  2608. null //function delegate
  2609. )
  2610. }
  2611. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2612. {
  2613. addHost(
  2614. "jumbofiles", //hostname
  2615. "jumbofiles\\.com\/\\w+", //linkregex
  2616. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2617. null, //blocksize
  2618. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2619. null, //corrreplwhat
  2620. null, //corrreplwith
  2621. null, //separator
  2622. "http://jumbofiles.com/checkfiles.html", //api url
  2623. "op=checkfiles&process=Check+URLs&list=", //postdata
  2624. /(jumbofiles\.com\/\w+)/, //linkregex
  2625. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2626. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2627. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2628. null //function delegate
  2629. )
  2630. }
  2631. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2632. {
  2633. addHost(
  2634. "edisk", //hostname
  2635. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2636. "//a[contains(@href,'edisk.')]", //xpath
  2637. null, //blocksize
  2638. null, //corrmatch
  2639. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2640. 'edisk.cz/stahni', //corrreplwith
  2641. null, //separator
  2642. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2643. 'submitBtn=Zkontrolovat&checkFiles=',
  2644. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2645. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2646. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2647. null,
  2648. null //function delegate
  2649. )
  2650. }
  2651. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2652. {
  2653. GM_xmlhttpRequest( //age check skip
  2654. {
  2655. method: 'POST',
  2656. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2657. headers: {
  2658. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2659. 'Content-type': 'application/x-www-form-urlencoded',
  2660. 'Referer': ""
  2661. }
  2662. });
  2663. addHost(
  2664. "bezvadata", //hostname
  2665. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2666. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2667. null, //blocksize
  2668. null, //corrmatch
  2669. null, //corrreplwhat
  2670. null, //corrreplwith
  2671. null, //separator
  2672. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2673. 'zkontrolovat=Zkontrolovat&odkazy=',
  2674. /(bezvadata\.cz\/stahnout\/\d+)/,
  2675. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2676. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2677. null,
  2678. null //function delegate
  2679. )
  2680. }
  2681. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2682. {
  2683. addHost(
  2684. "linkcrypt", //hostname
  2685. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2686. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2687. 100000, //blocksize
  2688. null, //corrmatch
  2689. null, //corrreplwhat
  2690. null, //corrreplwith
  2691. null, //separator
  2692. null,
  2693. null,
  2694. null,
  2695. null,
  2696. null,
  2697. null,
  2698. linkcryptBulkCheck //function delegate
  2699. )
  2700. }
  2701. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2702. {
  2703. addHost(
  2704. "linksave", //hostname
  2705. "linksave\\.in\/\\w+", //linkregex
  2706. "//a[contains(@href,'linksave.in')]", //xpath
  2707. 100000, //blocksize
  2708. null, //corrmatch
  2709. null, //corrreplwhat
  2710. null, //corrreplwith
  2711. null, //separator
  2712. null,
  2713. null,
  2714. null,
  2715. null,
  2716. null,
  2717. null,
  2718. linksaveBulkCheck //function delegate
  2719. )
  2720. } */
  2721. if (GM_getValue("Check_videobb_dot_com_links", false))
  2722. {
  2723. addHost(
  2724. "videobb", //hostname
  2725. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2726. "//a[contains(@href,'videobb.com')]", //xpath
  2727. null, //blocksize
  2728. null, //corrmatch
  2729. /watch_video\.php\?v=/, //corrreplwhat
  2730. 'video/', //corrreplwith
  2731. null, //separator
  2732. 'http://www.videobb.com/link_checker.php',
  2733. 'links=',
  2734. /videobb\.com\/video\/(\w+)/,
  2735. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2736. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2737. null,
  2738. null //function delegate
  2739. )
  2740. }
  2741. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2742. {
  2743. addHost(
  2744. "cramit,cramitin", //hostname
  2745. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2746. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2747. null, //blocksize
  2748. null, //corrmatch
  2749. null, //corrreplwhat
  2750. null, //corrreplwith
  2751. null, //separator
  2752. 'http://cramit.in/checkfiles.html',
  2753. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2754. /(cramit(?:\.in|in\.net)\/\w+)/,
  2755. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2756. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2757. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2758. null //function delegate
  2759. )
  2760. }
  2761. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2762. {
  2763. addHost(
  2764. "turbobit", //hostname
  2765. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2766. "//a[contains(@href,'turbobit.')]", //xpath
  2767. null, //blocksize
  2768. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2769. null, //corrreplwhat
  2770. null, //corrreplwith
  2771. "\n", //separator
  2772. 'http://turbobit.net/linkchecker/csv',
  2773. 'links_to_check=',
  2774. /(turbobit\.(?:net|pl)\/\w+)/,
  2775. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2776. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2777. null,
  2778. null //function delegate
  2779. )
  2780. } */
  2781. if (GM_getValue("Check_filerio_dot_com_links", false))
  2782. {
  2783. addHost(
  2784. "filekeen,filerio", //hostname
  2785. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2786. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2787. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2788. null, //blocksize
  2789. null, //corrmatch
  2790. null, //corrreplwhat
  2791. null, //corrreplwith
  2792. null, //separator
  2793. 'http://filerio.in/checkfiles.html',
  2794. 'op=checkfiles&process=Check+URLs&list=',
  2795. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2796. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2797. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2798. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2799. null //function delegate
  2800. )
  2801. }
  2802. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2803. {
  2804. addHost(
  2805. "share-online,egoshare", //hostname
  2806. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2807. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2808. null, //blocksize
  2809. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2810. null, //corrreplwhat
  2811. null, //corrreplwith
  2812. "\n", //separator
  2813. 'http://api.share-online.biz/linkcheck.php',
  2814. 'links=',
  2815. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2816. /\w+;OK/g,
  2817. /\w+;(?:NOTFOUND|DELETED)/g,
  2818. null,
  2819. null //function delegate
  2820. )
  2821. }
  2822. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2823. {
  2824. addHost(
  2825. "quickshare", //hostname
  2826. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2827. "//a[contains(@href,'quickshare.cz')]", //xpath
  2828. null, //blocksize
  2829. null, //corrmatch
  2830. null, //corrreplwhat
  2831. null, //corrreplwith
  2832. null, //separator
  2833. 'http://www.quickshare.cz/nastroje/link-checker',
  2834. 'linky=',
  2835. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2836. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2837. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2838. null,
  2839. null //function delegate
  2840. )
  2841. } */
  2842. if (GM_getValue("Check_oboom_dot_com_links", false))
  2843. {
  2844. addHost(
  2845. "oboom", //hostname
  2846. "oboom\\.com\/#?\\w{8}", //linkregex
  2847. "//a[contains(@href,'oboom.com/')]", //xpath
  2848. null, //blocksize
  2849. /oboom\.com\/#?(\w{8})/, //corrmatch
  2850. null, //corrreplwhat
  2851. null, //corrreplwith
  2852. null, //separator
  2853. null,
  2854. null,
  2855. null,
  2856. null, //liveregex
  2857. null, //deadregex
  2858. null,
  2859. oboomBulk //function delegate
  2860. )
  2861. }
  2862. if (GM_getValue("Check_mega_dot_nz_links", false))
  2863. {
  2864. addHost(
  2865. "mega",
  2866. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2867. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2868. 100000, //blocksize
  2869. null, //corrmatch
  2870. null, //corrreplwhat
  2871. null, //corrreplwith
  2872. null, //separator
  2873. null,
  2874. null,
  2875. null,
  2876. null,
  2877. null,
  2878. null,
  2879. megaBulkCheck //function delegate
  2880. )
  2881. }
  2882.  
  2883. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2884.  
  2885. if (GM_getValue("Check_extabit_dot_com_links", false))
  2886. {
  2887. addHost(
  2888. "extabit", //hostname
  2889. "extabit\\.com\/file\/\\w+", //linkregex
  2890. "//a[contains(@href,'extabit.com')]", //xpath
  2891. null, //blocksize
  2892. null, //corrmatch
  2893. null, //corrreplwhat
  2894. null, //corrreplwith
  2895. "\n", //separator
  2896. "http://extabit.com/linkchecker.jsp", //api url
  2897. "url=", //postdata
  2898. /extabit\.com\/(file\/\w+)/, //linkregex
  2899. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2900. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2901. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2902. extabitBulkCheck //function delegate
  2903. )
  2904. }
  2905. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2906. {
  2907. addHost(
  2908. "junocloud", //hostname
  2909. "junocloud\\.me\/\\w+", //linkregex
  2910. "//a[contains(@href,'junocloud.me')]", //xpath
  2911. null, //blocksize
  2912. null, //corrmatch
  2913. null, //corrreplwhat
  2914. null, //corrreplwith
  2915. "\n", //separator
  2916. "http://junocloud.me/checkfiles.html", //api url
  2917. "op=checkfiles&process=Check+URLs&list=", //postdata
  2918. /(junocloud\.me\/\w+)/, //linkregex
  2919. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2920. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2921. null, //unavaregex
  2922. null //function delegate
  2923. )
  2924. }
  2925. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2926. {
  2927. addHost(
  2928. "webshare", //hostname
  2929. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2930. "//a[contains(@href,'webshare.cz')]", //xpath
  2931. 100000, //blocksize
  2932. null, //corrmatch
  2933. null, //corrreplwhat
  2934. null, //corrreplwith
  2935. null, //separator
  2936. null, //api url
  2937. null, //postdata
  2938. null, //linkregex
  2939. null, //liveregex
  2940. null, //deadregex
  2941. null, //unavaregex
  2942. webshareBulkCheck //function delegate
  2943. )
  2944. }
  2945. /////////////////////////////
  2946. // Common function delegate to send links to get checked by host linkchecker
  2947. /////////////////////////////
  2948. // If you define a new delegate, you may use following properties
  2949. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2950. // this.apiUrl [string] API or web linkchecker URL
  2951. // this.postData [string] POSTDATA for POST request
  2952. // this.resLiveRegex [regex] matches live substrings in the request response
  2953. // this.resDeadRegex [regex] matches dead substrings in the request response
  2954. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2955. //
  2956. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2957. //
  2958. // See the code below for standard bulkcheck handling reference.
  2959. //////////////////////////////
  2960. function genBulkCheck()
  2961. {
  2962. var blockIdx = this.links.length;
  2963. while (blockIdx--)
  2964. {
  2965. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2966. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2967. }
  2968. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2969. {
  2970. GM_xmlhttpRequest(
  2971. {
  2972. method: 'POST',
  2973. url: api,
  2974. headers: {
  2975. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2976. 'Content-type': 'application/x-www-form-urlencoded',
  2977. 'Referer': api,
  2978. 'X-Requested-With': 'XMLHttpRequest'
  2979. },
  2980. data: postData + encodeURIComponent(links),
  2981. onload: function (result)
  2982. {
  2983. var res = result.responseText;
  2984. // GM_log(res);
  2985. var i;
  2986.  
  2987. var livelinks = res.match(liveRegex);
  2988. var deadlinks = res.match(deadRegex);
  2989. // GM_log(livelinks);
  2990. // GM_log(deadlinks);
  2991. if (livelinks != null)
  2992. {
  2993. i = livelinks.length - 1;
  2994. do
  2995. {
  2996. livelinks[i] = livelinks[i].match(linkRegex)[1];
  2997. }
  2998. while (i--);
  2999. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3000. }
  3001.  
  3002. if (deadlinks != null)
  3003. {
  3004. i = deadlinks.length - 1;
  3005. do
  3006. {
  3007. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3008. }
  3009. while (i--);
  3010. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3011. }
  3012.  
  3013. if (unavaRegex != null)
  3014. {
  3015. var unavalinks = res.match(unavaRegex);
  3016. if (unavalinks)
  3017. {
  3018. i = unavalinks.length - 1;
  3019. do
  3020. {
  3021. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3022. }
  3023. while (i--);
  3024. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3025. }
  3026. }
  3027. }
  3028. });
  3029. }
  3030. }
  3031. //specialized bulkchecking handlers follow
  3032. function webshareBulkCheck()
  3033. {
  3034. var arr = this.links[0].split("\r\n");
  3035. var i = arr.length;
  3036. while(i--)
  3037. {
  3038. postRequest(arr[i]);
  3039. }
  3040. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3041. function postRequest(wsLink)
  3042. {
  3043. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3044. GM_xmlhttpRequest(
  3045. {
  3046. method: 'POST',
  3047. url: "http://webshare.cz/api/file_info/",
  3048. headers: {
  3049. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3050. 'Content-type': 'application/x-www-form-urlencoded',
  3051. 'Referer': "",
  3052. },
  3053. data: "wst=&ident=" + id,
  3054. onload: function (result)
  3055. {
  3056. var res = result.responseText;
  3057. if (res.match(/<name>.+?<\/name>/))
  3058. {
  3059. DisplayTheCheckedLinks([id], 'alive_link');
  3060. }
  3061. else
  3062. {
  3063. DisplayTheCheckedLinks([id], 'adead_link');
  3064. }
  3065. }
  3066. });
  3067. }
  3068. }
  3069. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3070. //extabit also doesn't like requests in fast succession, so some delays are added.
  3071. function extabitBulkCheck()
  3072. {
  3073. var timeoutDelay = 0;
  3074. var blockIdx = this.links.length;
  3075. while (blockIdx--)
  3076. {
  3077. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3078. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3079. }
  3080. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3081. {
  3082. GM_xmlhttpRequest(
  3083. {
  3084. method: 'POST',
  3085. url: api,
  3086. headers: {
  3087. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3088. 'Content-type': 'application/x-www-form-urlencoded',
  3089. 'Referer': api,
  3090. 'X-Requested-With': 'XMLHttpRequest'
  3091. },
  3092. data: postData + encodeURIComponent(links),
  3093. onload: function (result)
  3094. {
  3095. var res = result.responseText;
  3096. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3097. {
  3098. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3099. {
  3100. //GM_log(tryID + ': ' + link);
  3101. GM_xmlhttpRequest(
  3102. {
  3103. method: 'GET',
  3104. url: link,
  3105. 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': ""},
  3106. onload: function(result2)
  3107. {
  3108. var res2 = result2.responseText;
  3109. var res2Status = result.status;
  3110. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3111. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3112. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3113. {
  3114. if (tryID < 7)
  3115. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3116. else
  3117. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3118. }
  3119. }
  3120. });
  3121. }
  3122. //split the hrefs and check them one by one
  3123. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3124. links = links.split('\n');
  3125. var i = links.length;
  3126. while (i--)
  3127. {
  3128. if (links[i])
  3129. {
  3130. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3131. timeoutDelay += 500;
  3132. }
  3133. }
  3134. return;
  3135. }
  3136. var i;
  3137.  
  3138. var livelinks = res.match(liveRegex);
  3139. var deadlinks = res.match(deadRegex);
  3140. if (livelinks != null)
  3141. {
  3142. i = livelinks.length - 1;
  3143. do
  3144. {
  3145. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3146. }
  3147. while (i--);
  3148. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3149. }
  3150.  
  3151. if (deadlinks != null)
  3152. {
  3153. i = deadlinks.length - 1;
  3154. do
  3155. {
  3156. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3157. }
  3158. while (i--);
  3159. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3160. }
  3161.  
  3162. if (unavaRegex != null)
  3163. {
  3164. var unavalinks = res.match(unavaRegex);
  3165. if (unavalinks)
  3166. {
  3167. i = unavalinks.length - 1;
  3168. do
  3169. {
  3170. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3171. }
  3172. while (i--);
  3173. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3174. }
  3175. }
  3176. }
  3177. });
  3178. }
  3179. }
  3180. function k2sBulkCheck()
  3181. {
  3182. var arr = this.links[0].split("\r\n");
  3183. var i = arr.length;
  3184. c=0;
  3185. arrIDs=[];
  3186. while(i--)
  3187. {
  3188. id = arr[i].match(/\/file\/(\w+)/)[1];
  3189. if (id=='info')
  3190. {
  3191. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3192. continue;
  3193. }
  3194. k2salreadyexist=false;
  3195. for (j=0;j<arrIDs.length;j++)
  3196. {
  3197. if (arrIDs[j]==id)
  3198. {
  3199. k2salreadyexist=true;
  3200. break;
  3201. }
  3202. }
  3203. if (k2salreadyexist) continue;
  3204. arrIDs.push(id);
  3205. c++;
  3206. setTimeout(k2sRequest,c*500,arr[i]);
  3207. }
  3208. }
  3209. function k2sRequest(K2SLink)
  3210. {
  3211. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3212. GM_xmlhttpRequest(
  3213. {
  3214. method: 'GET',
  3215. url: K2SLink,
  3216. headers: {
  3217. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3218. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3219. 'Referer': ''
  3220. },
  3221. onload: function (result)
  3222. {
  3223. var res = result.responseText;
  3224. K2Dom='k2s.cc';
  3225. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3226. K2SLink2='http://'+K2Dom+'/file/'+id;
  3227.  
  3228. 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'))
  3229. {
  3230. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3231. return;
  3232. }
  3233. if (res.match('method="post">Displaying'))
  3234. {
  3235. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3236. return;
  3237. }
  3238. if (res.match('Premium only'))
  3239. {
  3240. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3241. return;
  3242. }
  3243. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3244. {
  3245. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3246. slID=slow_id.exec(res)[1];
  3247. GM_xmlhttpRequest(
  3248. {
  3249. method: 'POST',
  3250. url: K2SLink2,
  3251. headers: {
  3252. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3253. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3254. 'Content-Type': 'application/x-www-form-urlencoded',
  3255. 'Referer': K2SLink
  3256. },
  3257. data: 'slow_id='+slID+'&yt0=',
  3258. onload: function (result)
  3259. {
  3260. var newres = result.responseText;
  3261. newoversizedtest=new RegExp("Free user can't download large files.");
  3262. if (newoversizedtest.test(newres))
  3263. {
  3264. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3265. return;
  3266. }
  3267. else
  3268. {
  3269. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3270. return;
  3271. }
  3272. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3273. return;
  3274. }
  3275. });
  3276. /////////////////////end additional check for oversized links
  3277. return;
  3278. }
  3279. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3280. return;
  3281. },
  3282. onerror: function ()
  3283. {
  3284. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3285. return;
  3286. }
  3287. });
  3288. }
  3289. function fboomBulkCheck()
  3290. {
  3291. var arr = this.links[0].split("\r\n");
  3292. var i = arr.length;
  3293. c=0;
  3294. arrIDs=[];
  3295. while(i--)
  3296. {
  3297. id = arr[i].match(/\/file\/(\w+)/)[1];
  3298. if (id=='info')
  3299. {
  3300. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3301. continue;
  3302. }
  3303. fbalreadyexist=false;
  3304. for (j=0;j<arrIDs.length;j++)
  3305. {
  3306. if (arrIDs[j]==id)
  3307. {
  3308. fbalreadyexist=true;
  3309. break;
  3310. }
  3311. }
  3312. if (fbalreadyexist) continue;
  3313. arrIDs.push(id);
  3314. c++;
  3315. setTimeout(fboomRequest,c*500,arr[i]);
  3316. }
  3317. }
  3318. function fboomRequest(FBoomLink)
  3319. {
  3320. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3321. FBoomLink2='http://fboom.me/file/'+id;
  3322. GM_xmlhttpRequest(
  3323. {
  3324. method: 'GET',
  3325. url: FBoomLink,
  3326. headers: {
  3327. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3328. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3329. 'Referer': ''
  3330. },
  3331. onload: function (result)
  3332. {
  3333. var res = result.responseText;
  3334. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3335. {
  3336. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3337. return;
  3338. }
  3339. if (res.match('method="post">Displaying'))
  3340. {
  3341. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3342. return;
  3343. }
  3344. if (res.match('only for premium members'))
  3345. {
  3346. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3347. return;
  3348. }
  3349. if (res.match('id="download-free" href="#"'))
  3350. {
  3351. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3352. slID=slow_id.exec(res)[1];
  3353. GM_xmlhttpRequest(
  3354. {
  3355. method: 'POST',
  3356. url: FBoomLink2,
  3357. headers: {
  3358. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3359. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3360. 'Content-Type': 'application/x-www-form-urlencoded',
  3361. 'Referer': FBoomLink
  3362. },
  3363. data: 'slow_id='+slID,
  3364. onload: function (result)
  3365. {
  3366. var newres = result.responseText;
  3367. newoversizedtest=new RegExp("Downloading is not possible");
  3368. if (newoversizedtest.test(newres))
  3369. {
  3370. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3371. return;
  3372. }
  3373. else
  3374. {
  3375. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3376. return;
  3377. }
  3378. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3379. return;
  3380. }
  3381. });
  3382. /////////////////////end additional check for oversized links
  3383. return;
  3384. }
  3385. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3386. return;
  3387. },
  3388. onerror: function ()
  3389. {
  3390. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3391. return;
  3392. }
  3393. });
  3394. }
  3395. function dl4free_1fichier_BulkCheck()
  3396. {
  3397. var arr = this.links[0].split("\r\n");
  3398. var i = arr.length;
  3399. while(i--)
  3400. {
  3401. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3402. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3403. gethead_dl4free_1fichier(arr[i]);
  3404. }
  3405. }
  3406. function gethead_dl4free_1fichier(link)
  3407. {
  3408. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3409. GM_xmlhttpRequest(
  3410. {
  3411. method: 'HEAD',
  3412. url: link,
  3413. headers: {
  3414. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3415. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3416. 'Referer': ''
  3417. },
  3418. onload: function (result)
  3419. {
  3420. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3421. {
  3422. DisplayTheCheckedLinks([id], 'alive_link');
  3423. return;
  3424. }
  3425. else
  3426. {
  3427. getlink_dl4free_1fichier(link);
  3428. }
  3429. return;
  3430. },
  3431. onerror: function ()
  3432. {
  3433. DisplayTheCheckedLinks([id], 'unava_link');
  3434. }
  3435. });
  3436. }
  3437. function getlink_dl4free_1fichier(link)
  3438. {
  3439. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3440. GM_xmlhttpRequest(
  3441. {
  3442. method: 'GET',
  3443. url: link,
  3444. headers: {
  3445. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3446. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3447. 'Referer': ''
  3448. },
  3449. onload: function (result)
  3450. {
  3451. var res = result.responseText;
  3452. 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');
  3453. if (deadRegex.test(res))
  3454. {
  3455. DisplayTheCheckedLinks([id], 'adead_link');
  3456. return;
  3457. }
  3458. premiumRegex=new RegExp('only for premium users');
  3459. if (premiumRegex.test(res))
  3460. {
  3461. DisplayTheCheckedLinks([id], 'prem_link');
  3462. return;
  3463. }
  3464. 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="');
  3465. if (liveRegex.test(res))
  3466. {
  3467. DisplayTheCheckedLinks([id], 'alive_link');
  3468. return;
  3469. }
  3470. DisplayTheCheckedLinks([id], 'unava_link');
  3471. },
  3472. onerror: function ()
  3473. {
  3474. DisplayTheCheckedLinks([id], 'unava_link');
  3475. }
  3476. });
  3477. }
  3478. function depositfilesBulkCheck()
  3479. {
  3480. var arr = this.links[0].split("\r\n");
  3481. var i = arr.length;
  3482. var seqno = Math.floor(Math.random()*1000000000);
  3483. while(i--)
  3484. {
  3485. DFpostRequest(arr[i]);
  3486. }
  3487. }
  3488. function DFpostRequest(DFLink)
  3489. {
  3490. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3491. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3492. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3493. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3494. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3495. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3496. GM_xmlhttpRequest(
  3497. {
  3498. method: "GET",
  3499. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3500. headers: {
  3501. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3502. 'Content-Type': 'application/x-www-form-urlencoded',
  3503. 'Referer': ""
  3504. },
  3505. onload: function (result)
  3506. {
  3507. var res = result.responseText;
  3508. if (res.match('(?:no_file|file_ban)'))
  3509. {
  3510. DisplayTheCheckedLinks([id], 'adead_link');
  3511. return;
  3512. }
  3513. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3514. {
  3515. DisplayTheCheckedLinks([id], 'alive_link');
  3516. return;
  3517. }
  3518. DisplayTheCheckedLinks([id], 'unava_link');
  3519. }
  3520. });
  3521. }
  3522.  
  3523. function megaBulkCheck()
  3524. {
  3525. var arr = this.links[0].split("\r\n");
  3526. var i = arr.length;
  3527. var seqno = Math.floor(Math.random()*1000000000);
  3528. while(i--)
  3529. {
  3530. postRequest(arr[i]);
  3531. }
  3532. function postRequest(megaLink)
  3533. {
  3534. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3535. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3536. GM_xmlhttpRequest(
  3537. {
  3538. method: "POST",
  3539. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3540. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3541. headers: {
  3542. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3543. 'Content-Type': 'application/xml',
  3544. 'Referer': "https://mega.co.nz/"
  3545. },
  3546. onload: function (result)
  3547. {
  3548. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3549. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3550. {
  3551.  
  3552. DisplayTheCheckedLinks([id], 'adead_link');
  3553. }
  3554. if (res.at)
  3555. {
  3556. DisplayTheCheckedLinks([id], 'alive_link');
  3557. }
  3558. if (res.e == "ETEMPUNAVAIL")
  3559. {
  3560. DisplayTheCheckedLinks([id], 'unava_link');
  3561. }
  3562. }
  3563. });
  3564. }
  3565.  
  3566. }
  3567.  
  3568. function oboomBulk() {
  3569. var a = [], b = [], c = [];
  3570. var array = this.links;
  3571.  
  3572. GM_xmlhttpRequest({
  3573. method: 'GET',
  3574. url: 'https://www.oboom.com/1/guestsession',
  3575. headers: {
  3576. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3577. 'Content-type': 'application/x-www-form-urlencoded',
  3578. 'Referer': 'https://www.oboom.com',
  3579. 'X-Requested-With': 'XMLHttpRequest'
  3580. },
  3581. onload: function(result) {
  3582. var blockIdx = array.length;
  3583. var token = JSON.parse(result.responseText)[1];
  3584. while (blockIdx--) {
  3585. startCheck(array[blockIdx].split('\r\n'), token);
  3586. }
  3587. }
  3588. });
  3589.  
  3590. function startCheck(links, token) {
  3591. GM_xmlhttpRequest({
  3592. method: 'POST',
  3593. url: "https://api.oboom.com/1/info",
  3594. headers: {
  3595. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3596. 'Content-type': 'application/x-www-form-urlencoded',
  3597. 'Referer': 'https://www.oboom.com/',
  3598. 'X-Requested-With': 'XMLHttpRequest'
  3599. },
  3600. data: "token=" + token + "&items=" + links.join(","),
  3601. onload: function(result) {
  3602. var res = JSON.parse(result.responseText)[1];
  3603. var i = res.length, s;
  3604.  
  3605. while (i--) {
  3606. s = res[i].state;
  3607. if (s == 'online') a.push(res[i].id);
  3608. 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);
  3609. else c.push(res[i].id);
  3610. }
  3611.  
  3612. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3613. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3614. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3615. }
  3616. });
  3617. }
  3618. }
  3619. /* function linksaveBulkCheck()
  3620. {
  3621. var arr = this.links[0].split("\r\n");
  3622. var i = arr.length;
  3623. while(i--)
  3624. {
  3625. postRequest(arr[i]);
  3626. }
  3627. function postRequest(lsLink)
  3628. {
  3629. GM_xmlhttpRequest(
  3630. {
  3631. method: "GET",
  3632. url: lsLink + '-t.jpg',
  3633. headers: {
  3634. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3635. 'Accept': 'text/xml',
  3636. 'Referer': ""
  3637. },
  3638. onload: function (result)
  3639. {
  3640. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3641. if (imgLen == 965) //online
  3642. {
  3643. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3644. }
  3645.  
  3646. if (imgLen == 972) //offline
  3647. {
  3648. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3649. }
  3650. if (imgLen == 978) //unava
  3651. {
  3652. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3653. }
  3654. }
  3655. });
  3656. }
  3657.  
  3658. } */
  3659. function linkcryptBulkCheck()
  3660. {
  3661. var arr = this.links[0].split("\r\n");
  3662. var i = arr.length;
  3663. while(i--)
  3664. {
  3665. postRequest(arr[i]);
  3666. }
  3667. function postRequest(lcLink)
  3668. {
  3669. GM_xmlhttpRequest(
  3670. {
  3671. method: "GET",
  3672. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3673. headers: {
  3674. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3675. 'Accept': 'text/xml',
  3676. 'Referer': ""
  3677. },
  3678. onload: function (result)
  3679. {
  3680. var res = result.responseText;
  3681. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3682. {
  3683. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3684. return;
  3685. }
  3686. if (res.match(/folderStatus>1/)) //Online status
  3687. {
  3688. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3689. }
  3690. else
  3691. {
  3692. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3693. }
  3694. }
  3695. });
  3696. }
  3697. }
  3698.  
  3699. function megashareBulkCheck()
  3700. {
  3701. var arr = this.links[0].split("\r\n");
  3702. var i = arr.length;
  3703. while(i--)
  3704. {
  3705. postRequest(arr[i]);
  3706. }
  3707. function postRequest(msLink)
  3708. {
  3709. GM_xmlhttpRequest(
  3710. {
  3711. method: "GET",
  3712. url: msLink,
  3713. headers: {
  3714. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3715. 'Content-Type': 'application/x-www-form-urlencoded',
  3716. 'Referer': ""
  3717. },
  3718. onload: function (result)
  3719. {
  3720. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3721. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3722. if ((prZVal == null) || (btn3Name == null))
  3723. {
  3724. return;
  3725. }
  3726. GM_xmlhttpRequest(
  3727. {
  3728. method: "POST",
  3729. url: msLink,
  3730. headers: {
  3731. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3732. 'Content-Type': 'application/x-www-form-urlencoded',
  3733. 'Referer': ""
  3734. },
  3735. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3736. onload: function (result)
  3737. {
  3738. var res = result.responseText;
  3739. if (res.match(/<div id="err">/))
  3740. {
  3741. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3742. }
  3743. else
  3744. {
  3745. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3746. }
  3747. }
  3748. });
  3749. }
  3750. });
  3751. }
  3752. }
  3753. function ncryptBulkCheck()
  3754. {
  3755. var arr = this.links[0].split("\r\n");
  3756. var i = arr.length;
  3757. while(i--)
  3758. {
  3759. postRequest(arr[i]);
  3760. }
  3761. function postRequest(ncryptLink)
  3762. {
  3763. GM_xmlhttpRequest(
  3764. {
  3765. method: "POST",
  3766. url: 'http://ncrypt.in/api_status.php',
  3767. headers: {
  3768. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3769. 'Content-Type': 'application/x-www-form-urlencoded',
  3770. 'Referer': ""
  3771. },
  3772. data: 'link=' + encodeURI(ncryptLink),
  3773. onload: function (result)
  3774. {
  3775. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3776. switch(foldStatus + ""){
  3777. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3778. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3779. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3780. }
  3781. }
  3782. });
  3783. }
  3784. }
  3785. function hellshareBulkCheck()
  3786. {
  3787. var links = this.links;
  3788. GM_xmlhttpRequest(
  3789. {
  3790. method: "GET",
  3791. url: 'http://www.hellshare.com',
  3792. headers: {
  3793. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3794. 'Accept': 'text/xml',
  3795. 'Referer': ""
  3796. },
  3797. onload: function (result)
  3798. {
  3799. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3800.  
  3801. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3802. if (domain == 'sk')
  3803. loc = 'check=Skontrolova%C5%A5&links=';
  3804. if (domain == 'com')
  3805. loc = 'check=Check+availability&links=';
  3806. if (domain == 'hu')
  3807. loc = 'check=Kontrol%C3%A1lj&links=';
  3808. if (domain == 'pl')
  3809. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3810.  
  3811. genBulkCheck.call({ links: links,
  3812. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3813. postData: loc,
  3814. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3815. 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,
  3816. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3817. resUnavaRegex: null
  3818. });
  3819. }
  3820. });
  3821. }
  3822. /**
  3823. * Displays check result
  3824. * @param {Array} Array of links or link fragments.
  3825. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3826. */
  3827. function DisplayTheCheckedLinks(links, resultStatus)
  3828. {
  3829. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3830. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3831. if (Do_not_linkify_DL_links)
  3832. { //TODO into separate jQuery function
  3833. $links.replaceWith(function(){
  3834. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3835. });
  3836. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3837. }
  3838. $links.removeClass().addClass(resultStatus);
  3839. $links.each(function() {
  3840. this.href = Ref_anonymize_service + $(this).attr("href");
  3841. });
  3842. switch(resultStatus)
  3843. {
  3844. case "alive_link": cLinksAlive += $links.length;
  3845. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3846. break;
  3847. case "adead_link": cLinksDead += $links.length;
  3848. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3849. break;
  3850. case "prem_link": cLinksprem += $links.length;
  3851. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3852. break;
  3853. case "unava_link": cLinksUnava += $links.length; break;
  3854. default:
  3855. }
  3856. cLinksProcessed += $links.length;
  3857. }
  3858. }
  3859. // starts bulkchecking
  3860. //
  3861. // params
  3862. // filterId [string] restricts link detection with passed id attribute
  3863. function startBulkCheck(filterId)
  3864. {
  3865. var cHosts = bulkHosts.length;
  3866. if (cHosts == 0) //no filehostings selected
  3867. return;
  3868. // STEP 1 linkify the links
  3869. var linkifyRegex = '';
  3870. var hostIdx = cHosts;
  3871. while(hostIdx--)
  3872. {
  3873. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3874. }
  3875. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3876. linkify(linkifyRegex);
  3877. //
  3878. //STEP 2 detect link objects
  3879. var xpathAll = '';
  3880. var hostIdx = cHosts;
  3881. while(hostIdx--)
  3882. {
  3883. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3884. }
  3885. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3886. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3887. if (filterId != null) //insert id restriction in the xpath
  3888. {
  3889. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3890. }
  3891. else
  3892. {
  3893. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3894. }
  3895. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3896. if (filterId == null)
  3897. {
  3898. cLinksTotal += links.snapshotLength;
  3899. }
  3900. //
  3901. //STEP 3 bind links with hostings
  3902. var linkIdx = links.snapshotLength;
  3903. var href = null;
  3904. if (linkIdx == 0) // no links found
  3905. return;
  3906. var name;
  3907. while (linkIdx--)
  3908. {
  3909. href = links.snapshotItem(linkIdx).href;
  3910. try // DO NOT REMOVE, filters crap that went through xpath detection
  3911. {
  3912. name = gimmeHostName(href);
  3913. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3914. bulkHostNames[name].links.push(href);
  3915. }
  3916. catch(e)
  3917. {
  3918.  
  3919. }
  3920. }
  3921. //
  3922. //STEP 4 process the links for each filehosting
  3923. var hostIdx = cHosts;
  3924. var host;
  3925. var m,n;
  3926. var arr;
  3927. while (hostIdx--)
  3928. {
  3929. host = bulkHosts[hostIdx];
  3930. arr = host.links;
  3931. if (arr.length == 0) //no links for this hosting, skip
  3932. {
  3933. continue;
  3934. }
  3935. //links match corrections
  3936. if (host.corrMatch != null)
  3937. {
  3938. var idx = arr.length;
  3939. while (idx--)
  3940. {
  3941. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3942. }
  3943. }
  3944. //links replace corrections
  3945. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3946. {
  3947. var idx = arr.length;
  3948. while (idx--)
  3949. {
  3950. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3951. }
  3952. }
  3953. m = arr.length;
  3954. n = host.blockSize;
  3955. if (m > n)
  3956. {
  3957. //insert block separators (RAND_STRING) into the array
  3958. for(var i = n; i < m; i += n + 1)
  3959. {
  3960. arr.splice(i, 0, RAND_STRING);
  3961. }
  3962. }
  3963.  
  3964. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3965. apiUrl: host.apiUrl,
  3966. postData: host.postData,
  3967. resLinkRegex: host.resLinkRegex,
  3968. resLiveRegex: host.resLiveRegex,
  3969. resDeadRegex: host.resDeadRegex,
  3970. resUnavaRegex: host.resUnavaRegex
  3971. });
  3972. //clean up
  3973. arr.length = 0;
  3974. }
  3975. //
  3976.  
  3977. function gimmeHostName(link)
  3978. {
  3979. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3980. }
  3981. }
  3982. function checkLinks(filterId)
  3983. {
  3984. startBulkCheck(filterId);
  3985. start(filterId);
  3986. }
  3987.  
  3988. /**
  3989. * Initialises progress box including event binding and CSS
  3990. */
  3991. function initProgressBox()
  3992. {
  3993. if ($("#warlc-progressbox").length > 0)
  3994. return;
  3995. //progressbox css change size and color of progress box
  3996. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  3997. "; opacity:" + (Progress_box_opacity / 100) +
  3998. "; bottom:" + Progress_box_pos_bottom +
  3999. "px; right:" + Progress_box_pos_right +
  4000. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4001. \
  4002. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4003. \
  4004. .warlc-progressitem {}\
  4005. \
  4006. .alive {color:#00FF7F; " + Live_links_color +
  4007. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4008. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4009. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4010. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4011. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4012. );
  4013. //
  4014. $('body').append(' <div id="warlc-progressbox">\
  4015. <div class="warlc-progressbar"></div>\
  4016. <span class="warlc-progressitem alive"></span> - \
  4017. <span class="warlc-progressitem dead"></span> - \
  4018. <span class="warlc-progressitem unava"></span> - \
  4019. <span class="warlc-progressitem prem"></span> - \
  4020. <span class="warlc-progressitem processing"></span>\
  4021. </div>');
  4022. $('#warlc-progressbox').hide().click(function(){
  4023. clearInterval(intervalId);
  4024. $(this).hide();
  4025. return false;
  4026. });
  4027. $(".warlc-progressbar").progressbar({complete: function(){
  4028. $(this).fadeOut();
  4029. clearInterval(intervalId); //stop refreshing the stats
  4030. }
  4031. })
  4032. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4033. }
  4034. /**
  4035. * Updates progress data in progress box
  4036. */
  4037. function updateProgress()
  4038. {
  4039. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4040. if (cLinksTotal) // some links were detected on page
  4041. {
  4042. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4043. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4044. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4045. if ((cLinksTotal - cLinksProcessed) == 0)
  4046. {
  4047. $progressItems.first().text(cLinksAlive)
  4048. .next().text(cLinksDead)
  4049. .next().text(cLinksUnava)
  4050. .next().text(cLinksprem)
  4051. .next().remove();
  4052. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4053. $('#warlc-progressbox div:first-child').remove();
  4054. }
  4055. else
  4056. {
  4057. $progressItems.first().text(cLinksAlive)
  4058. .next().text(cLinksDead)
  4059. .next().text(cLinksUnava)
  4060. .next().text(cLinksprem)
  4061. .next().text(cLinksTotal - cLinksProcessed);
  4062. }
  4063. }
  4064. }
  4065.  
  4066. function check_all_links()
  4067. {
  4068. add_WARLC_style();
  4069.  
  4070. if (Show_progress_stats)
  4071. {
  4072. initProgressBox();
  4073. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4074. }
  4075.  
  4076. startBulkCheck(null);
  4077. start(null);
  4078.  
  4079. if (!containers_processed)
  4080. {
  4081. processContainers();
  4082. }
  4083. }
  4084.  
  4085. //Copies all found dead links to clipboard - right now for Scriptish only
  4086. function copy_dead_to_clipboard()
  4087. {
  4088. initClipBoardTools();
  4089.  
  4090. var deadlinksxpath = "//.[@class='adead_link']";
  4091.  
  4092. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4093. var foundlinkstext = '';
  4094.  
  4095. var foundlinkIdx = foundlinks.snapshotLength;
  4096.  
  4097. while(foundlinkIdx--)
  4098. {
  4099. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4100. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4101. }
  4102.  
  4103. unsafeWindow.copyToClipboard(foundlinkstext);
  4104. }
  4105.  
  4106. function toggle_autocheck()
  4107. {
  4108. var currentState = GM_getValue("Autocheck", false);
  4109. GM_setValue("Autocheck", !currentState);
  4110.  
  4111. if (currentState == true)
  4112. {
  4113. sendMessage('Autocheck disabled', 'red');
  4114. }
  4115. else
  4116. {
  4117. sendMessage('Autocheck enabled', 'SpringGreen');
  4118. }
  4119. }
  4120. function toggle_Enable_Anonymizer()
  4121. {
  4122. var currentState = GM_getValue("Enable_Anonymizer", false);
  4123. GM_setValue("Enable_Anonymizer", !currentState);
  4124.  
  4125. if (currentState == true)
  4126. {
  4127. GM_setValue("Ref_anonymize_service", "");
  4128. sendMessage('Anonymizer Disabled', 'red');
  4129. }
  4130. else
  4131. {
  4132. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4133. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4134. }
  4135. }
  4136.  
  4137. function KeyDownHandler(event)
  4138. {
  4139. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4140. if (event.ctrlKey && event.altKey)
  4141. {
  4142. switch(kcode)
  4143. {
  4144. case 65 : check_all_links(); break;
  4145. case 67 : configuration(); break;
  4146. case 68 : copy_dead_to_clipboard(); break;
  4147. case 87 : toggle_autocheck(); break;
  4148. case 90 : toggle_Enable_Anonymizer(); break;
  4149. }
  4150. }
  4151. }
  4152.  
  4153. //
  4154. //
  4155. // SCRIPT EXECUTION START POINT
  4156. //
  4157. //
  4158. // Safari specific GM_getResourceText override
  4159. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4160. {
  4161. GM_getResourceText = function(res) {
  4162. var $cssText = GM_getValue("jquery_css", "");
  4163. if ($cssText == "")
  4164. {
  4165. GM_xmlhttpRequest(
  4166. {
  4167. method: 'GET',
  4168. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4169. onload: function (result)
  4170. {
  4171. GM_setValue("jquery_css", result.responseText);
  4172. window.location.reload();
  4173. }
  4174. });
  4175. }
  4176. else
  4177. {
  4178. return $cssText;
  4179. }
  4180. }
  4181. }
  4182. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4183. GM_addStyle(jQueryUICSS);
  4184. //init the stuff
  4185. setVariables();
  4186. initBulkCheck();
  4187. //init info boxes
  4188. messageBox.style.position = 'fixed';
  4189. messageBox.style.top = '20px';
  4190. messageBox.style.left = '10px';
  4191. messageBox.style.opacity = '0.85';
  4192. messageBox.style.background = 'DimGray';
  4193. messageBox.style.fontSize = '36px';
  4194. document.body.appendChild(messageBox);
  4195.  
  4196. //register GM menu commands & keyboard shortcut event handler
  4197. if (Keyboard_functions)
  4198. {
  4199. $(document).keydown(KeyDownHandler);
  4200. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4201. 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);
  4202. }
  4203. else
  4204. {
  4205. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4206. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4207. }
  4208.  
  4209. //start linkchecking
  4210. if (Autocheck)
  4211. {
  4212. $(document).ready(check_all_links);
  4213. }
  4214.  
  4215. //
  4216. //
  4217. // SCRIPT EXECUTION END POINT
  4218. //
  4219. //
  4220.  
  4221. //shows configuration box
  4222. function configuration()
  4223. {
  4224.  
  4225. //prevent multiple creating of config window
  4226. if ($("#hideshow").length)
  4227. {
  4228. $("#hideshow").show();
  4229. return;
  4230. }
  4231.  
  4232. var configcss = '\
  4233. .popup_block .popup fieldset{\
  4234. padding: 1%;\
  4235. border-style: solid;\
  4236. border-width: 1px;\
  4237. border-color: gray;\
  4238. margin-bottom: 1px;\
  4239. }\
  4240. #h3hideshowtitle{\
  4241. font-size: 2em;\
  4242. }\
  4243. #h3hideshow{\
  4244. font-size: 1.5em;\
  4245. }\
  4246. #imghideshow {\
  4247. border: none;\
  4248. }\
  4249. #plusimage{\
  4250. display:inline;\
  4251. }\
  4252. #hideshow {\
  4253. position: fixed;\
  4254. width: 100%;\
  4255. height: 100%;\
  4256. top: 0;\
  4257. left: 0;\
  4258. font-size:12px;\
  4259. z-index:2147483645;\
  4260. text-align:left;\
  4261. }\
  4262. #fade {\
  4263. background: #000;\
  4264. position: fixed;\
  4265. width: 100%;\
  4266. height: 100%;\
  4267. opacity: .80;\
  4268. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4269. left: 0;\
  4270. z-index: 10;\
  4271. }\
  4272. .popup_block {\
  4273. font-family:verdana;\
  4274. color:black;\
  4275. background: #ddd;\
  4276. padding: 10px 20px;\
  4277. border: 2px solid DarkOrange;\
  4278. float: left;\
  4279. width: 700px;\
  4280. position: absolute;\
  4281. top: 7%;\
  4282. left: 50%;\
  4283. bottom: 7%;\
  4284. margin: 0 0 0 -350px;\
  4285. -moz-border-radius:10px;\
  4286. z-index: 100;\
  4287. \
  4288. }\
  4289. .popup_block .popup {\
  4290. float: left;\
  4291. width: 100%;\
  4292. background: #fff;\
  4293. margin: 10px 0;\
  4294. padding: 0px 0 0px;\
  4295. border-left: 1px solid #bbb;\
  4296. border-top: 1px solid #bbb;\
  4297. border-right: 1px solid #bbb;\
  4298. }\
  4299. #h3hideshow{\
  4300. margin: 1px 0 0px;\
  4301. padding: 1px 10px;\
  4302. border-bottom: 1px solid #bbb;\
  4303. font-size: 1.5em;\
  4304. font-weight: normal;\
  4305. cursor:pointer;\
  4306. background:#DDDDDD none repeat scroll 0 0;\
  4307. }\
  4308. #h3hideshow:hover{\
  4309. background:#C0BEBE none repeat scroll 0 0;\
  4310. }\
  4311. #h3hideshowtitle{\
  4312. margin: 2px 0 0px;\
  4313. padding: 7px 10px;\
  4314. border-bottom: 1px solid #bbb;\
  4315. font-size: 1.5em;\
  4316. font-weight: normal;\
  4317. }\
  4318. .popup_block .popup a {\
  4319. color:DarkSkyBlue;\
  4320. text-decoration:none;\
  4321. }\
  4322. .popup p {\
  4323. padding: 1px 10px;\
  4324. margin: 0px 0;\
  4325. -x-system-font:none;\
  4326. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4327. font-size:10pt;\
  4328. font-size-adjust:none;\
  4329. font-stretch:normal;\
  4330. font-style:normal;\
  4331. font-variant:normal;\
  4332. font-weight:normal;\
  4333. line-height:normal;\
  4334. }\
  4335. #sites {\
  4336. padding: 1px 10px;\
  4337. margin: 0px 0;display:inline-block;width:16em;\
  4338. }\
  4339. #dev_ver {\
  4340. color: #00FF00;\
  4341. background: Black;\
  4342. text-align: right;\
  4343. }\
  4344. #sites_suspended {\
  4345. padding: 1px 10px;\
  4346. margin: 0px 0;display:inline-block;width:16em;\
  4347. text-decoration: line-through;\
  4348. }\
  4349. .popup img.cntrl {\
  4350. position: absolute;\
  4351. right: -15px;\
  4352. top: -15px;\
  4353. }\
  4354. #bulk {\
  4355. font-size:8pt;\
  4356. color:orange;\
  4357. padding: 1px 10px;\
  4358. margin: 0px 0;\
  4359. display:inline-block;\
  4360. width:100px;\
  4361. }\
  4362. #note {\
  4363. font-size:7pt;\
  4364. color:gray;\
  4365. padding: 1px 10px;\
  4366. margin: 0px 0;display:inline-block;\
  4367. min-width:100px;\
  4368. }\
  4369. #rednote {\
  4370. font-size:7pt;\
  4371. color:red;\
  4372. padding: 1px 10px;\
  4373. margin: 0px 0;display:inline-block;\
  4374. }\
  4375. #configinfo {\
  4376. font-size:8pt;\
  4377. color:gray;\
  4378. padding: 1px 10px;\
  4379. margin: 0px 0;display:inline-block;width:60em;\
  4380. }\
  4381. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4382. color:black;\
  4383. border-style: solid;\
  4384. border-width: 1px;\
  4385. border-color: gray;\
  4386. }\
  4387. #h3hideshowcontent {\
  4388. min-height:220px;\
  4389. max-height:220px;\
  4390. overflow:auto;\
  4391. display: none;\
  4392. padding: 10px 10px;\
  4393. }\
  4394. #specinfo{\
  4395. font-size:14px;\
  4396. }\
  4397. .warlc-ui-tab {\
  4398. height:300px;\
  4399. overflow:auto;\
  4400. }\
  4401. #warlcsitelist2, #warlcsitelist1 {\
  4402. height:220px;\
  4403. border-top: 1px solid #ddd;\
  4404. padding-top: 5px;\
  4405. overflow:auto;\
  4406. }\
  4407. input:hover+label {\
  4408. background:#F1F77C;\
  4409. font-size:110%;\
  4410. }\
  4411. ';
  4412.  
  4413. GM_addStyle(configcss);
  4414.  
  4415. var customRulesRefHTML =
  4416. '\
  4417. <br>\
  4418. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4419. <b>@keyword</b> <i>parameter</i>\
  4420. <br><br>\
  4421. 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. \
  4422. <br><br>\
  4423. 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.\
  4424. 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.\
  4425. 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.\
  4426. 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,\
  4427. but all commands until the next valid @customrule are ignored.<br><br>\
  4428. Available forms and types:\
  4429. <ul>\
  4430. <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.\
  4431. <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.\
  4432. <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.\
  4433. <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.\
  4434. </ul>\
  4435. Other available commands:<br>\
  4436. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4437. <ul>\
  4438. <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.\
  4439. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4440. <ul>examples:<br>\
  4441. <li>good: <i>filehost.com/download/</i><br>\
  4442. <li>good: <i>download.filehost.net/?d=</i><br>\
  4443. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4444. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4445. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4446. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4447. <li>bad: <i>filehost.com</i> - no slash<br>\
  4448. </ul>\
  4449. \
  4450. <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.\
  4451. 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 \
  4452. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4453. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4454. 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.)\
  4455. Two spaces again match any whitespace.\
  4456. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4457. Two spaces again match any whitespace.\
  4458. <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. \
  4459. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4460. </ul>\
  4461. \
  4462. ';
  4463.  
  4464. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4465. var configurationinnerHTML =
  4466. '<div id="fade"></div>\
  4467. <div class="popup_block">\
  4468. <div class="popup">\
  4469. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa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CB3gF8FegrBB6x5qrri9688a+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>\
  4471. <div id="warlc-conf-tabs">\
  4472. <ul>\
  4473. <li><a href="#tabs-1">Filehostings</a></li>\
  4474. <li><a href="#tabs-2">Containers</a></li>\
  4475. <li><a href="#tabs-5">Custom rules</a></li>\
  4476. <li><a href="#tabs-3">Settings</a></li>\
  4477. <li><a href="#tabs-4">About</a></li>\
  4478. </ul>\
  4479. <div id="tabs-1" class="warlc-ui-tab">\
  4480. <div class="warlc-ui-buttonset">\
  4481. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4482. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4483. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4484. </div><br>\
  4485. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4486. <div id="warlcsitelist1"><span>Empty</span></div>\
  4487. </div>\
  4488. <div id="tabs-2" class="warlc-ui-tab">\
  4489. <div class="warlc-ui-buttonset">\
  4490. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4491. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4492. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4493. </div><br>\
  4494. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4495. <div id="warlcsitelist2"><span>Empty</span></div>\
  4496. </div>\
  4497. <div id="tabs-5" class="warlc-ui-tab">\
  4498. <div class="warlcsettings">\
  4499. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4500. <br>\
  4501. <div>Edit custom rules: \
  4502. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4503. <div id="customRulesReference" style="display:none;">'
  4504. + customRulesRefHTML + '\
  4505. </div>\
  4506. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4507. </div>\
  4508. </div>\
  4509. </div>\
  4510. <div id="tabs-3" class="warlc-ui-tab">\
  4511. <div class="warlcsettings">\
  4512. <fieldset>\
  4513. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4514. <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>\
  4515. </fieldset>\
  4516. <fieldset>\
  4517. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4518. <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>\
  4519. <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>\
  4520. <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>\
  4521. <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>\
  4522. <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>\
  4523. <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>\
  4524. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4525. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4526. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4527. <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>\
  4528. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4529. <fieldset>\
  4530. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4531. <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>\
  4532. <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>\
  4533. <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>\
  4534. </fieldset>\
  4535. </fieldset>\
  4536. <fieldset>\
  4537. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4538. </fieldset>\
  4539. <fieldset>\
  4540. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4541. </fieldset>\
  4542. <fieldset>\
  4543. <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>\
  4544. </fieldset>\
  4545. <fieldset>\
  4546. <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>\
  4547. </fieldset>\
  4548. </div>\
  4549. </div>\
  4550. <div id="tabs-4" class="warlc-ui-tab">\
  4551. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4552. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4553. <br />\
  4554. <p><b>Currently supported:</b><br>\
  4555. Filehostings: ' + allHostNames.length + '<br />\
  4556. Containers: ' + allContainerNames.length + '<br />\
  4557. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4558. <br />\
  4559. <p><b>Based on:</b><br>\
  4560. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4561. <br />\
  4562. <p><b>Uses:</b></p>\
  4563. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4564. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4565. <br />\
  4566. <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>\
  4567. </div>\
  4568. </div>\
  4569. </div>\
  4570. </div>';
  4571. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4572. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4573. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4574. var elmHostList = document.getElementById("warlcsitelist1");
  4575. var elmContainerList = document.getElementById("warlcsitelist2");
  4576. buildSettings();
  4577. buildSitelist("", allHostNames, elmHostList);
  4578. buildSitelist("", allContainerNames, elmContainerList);
  4579. if (DEBUG_MODE)
  4580. {
  4581. //log all sites availability status
  4582. diagSites();
  4583. }
  4584. //handler for checkbox state change
  4585. function changeConfiguration(e)
  4586. {
  4587. var element = e.target;
  4588.  
  4589. if (element.type == 'checkbox')
  4590. {
  4591. if (element.checked == 1)
  4592. {
  4593. GM_setValue(element.id, true);
  4594. }
  4595. else
  4596. {
  4597. GM_setValue(element.id, false);
  4598. }
  4599.  
  4600. }
  4601. setVariables();
  4602. }
  4603.  
  4604. //Selects all filehosting checkboxes
  4605. function selectAll()
  4606. {
  4607. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4608. .each(function(index, element){GM_setValue(this.id, true)});
  4609. }
  4610.  
  4611. //Deselects all filehosting checkboxes
  4612. function selectNone()
  4613. {
  4614. $(":checkbox:visible:checked").prop("checked",false)
  4615. .each(function(index, element){GM_setValue(this.id, false)});
  4616. }
  4617.  
  4618. //Inverts filehosting checkboxes selection
  4619. function selectInvert()
  4620. {
  4621. var $checked = $(":checkbox:visible:checked");
  4622. var $unchecked = $(":checkbox:visible:not(:checked)");
  4623. $unchecked.prop("checked",true)
  4624. .each(function(index, element){GM_setValue(this.id, true)});
  4625. $checked.prop("checked",false)
  4626. .each(function(index, element){GM_setValue(this.id, false)});
  4627. }
  4628. //toggles anonymizer on off
  4629. function Enable_Anonymizer()
  4630. {
  4631. var $checked = $(":checkbox:visible:checked");
  4632. var $unchecked = $(":checkbox:visible:not(:checked)");
  4633. $unchecked.prop("checked",true)
  4634. .each(function(index, element){GM_setValue(this.id, true)});
  4635. $checked.prop("checked",false)
  4636. .each(function(index, element){GM_setValue(this.id, false)});
  4637. }
  4638.  
  4639. function changeRefAnonymizer(){
  4640. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4641. }
  4642.  
  4643. //Sets live links color
  4644. function changeColorLive()
  4645. {
  4646. var inColorLive = document.getElementById("inputColorLive");
  4647. inColorLive.style.background = inColorLive.value;
  4648. GM_setValue("Live_links_color", inColorLive.value);
  4649. }
  4650.  
  4651. //Sets dead links color
  4652. function changeColorDead()
  4653. {
  4654. var inColorDead = document.getElementById("inputColorDead");
  4655. inColorDead.style.background = inColorDead.value;
  4656. GM_setValue("Dead_links_color", inColorDead.value);
  4657. }
  4658.  
  4659. //Sets temp. unavailable links color
  4660. function changeColorTemp()
  4661. {
  4662. var inColorTemp = document.getElementById("inputColorTemp");
  4663. inColorTemp.style.background = inColorTemp.value;
  4664. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4665. }
  4666.  
  4667. //Sets temp. unavailable links color
  4668. function changeColorCont()
  4669. {
  4670. var inColorCont = document.getElementById("inputColorCont");
  4671. inColorCont.style.background = inColorCont.value;
  4672. GM_setValue("Container_links_color", inColorCont.value);
  4673. }
  4674. //Sets premium. links color
  4675. function changeColorprem()
  4676. {
  4677. var inColorprem = document.getElementById("inputColorprem");
  4678. inColorprem.style.background = inColorprem.value;
  4679. GM_setValue("Premium_links_color", inColorprem.value);
  4680. }
  4681.  
  4682. //Diagnose sites for availability
  4683. function diagSites()
  4684. {
  4685. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4686.  
  4687. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4688. {
  4689. if (boxes[i].type == "checkbox")
  4690. {
  4691. checkAvailability(boxes[i]);
  4692. }
  4693. }
  4694.  
  4695. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4696.  
  4697. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4698. {
  4699. if (boxes[i].type == "checkbox")
  4700. {
  4701. checkAvailability(boxes[i]);
  4702. }
  4703. }
  4704.  
  4705. function checkAvailability(cbElm)
  4706. {
  4707. var cb = cbElm;
  4708. GM_xmlhttpRequest(
  4709. {
  4710. method: 'HEAD',
  4711. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4712. headers: {
  4713. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4714. 'Accept': 'text/xml',
  4715. 'Referer': ""
  4716. },
  4717. onload: function (result)
  4718. {
  4719. if (result.status != 200)
  4720. {
  4721. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4722. }
  4723. },
  4724. onerror: function (result)
  4725. {
  4726. if (result.status != 200)
  4727. {
  4728. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4729. }
  4730. }
  4731. });
  4732. }
  4733. }
  4734. function buildSettings()
  4735. {
  4736. $(".warlcsettings :checkbox").each(function(){
  4737. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4738. .click(function(e){
  4739. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4740. setVariables();
  4741. });
  4742. })
  4743. }
  4744. //Dynamic build of host list
  4745. //param search [string] searches for hostnames matching search substring
  4746. //param siteNames [array] array of site names
  4747. //param targetNode [DOM Node] where the list should be built
  4748. // first child node is replaced
  4749. function buildSitelist(search, siteNames, targetNode)
  4750. {
  4751. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4752. var $targetNode = $(targetNode).empty();
  4753. var searchedSite = "";
  4754. $.each(siteNames, function(i, site){
  4755. if (searchedSite = site.match(searchRegex))
  4756. {
  4757. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4758. //ensuring backward compatibility with the rest of code, to be refactored later
  4759. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4760. //
  4761. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4762. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4763. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4764. );
  4765. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4766. .change(changeConfiguration);
  4767. $targetNode.append('<br />');
  4768. }
  4769. });
  4770. $targetNode.append("<hr>");
  4771. //obsolete hosts checkbox
  4772. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4773. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4774. .change(changeConfiguration);
  4775. $targetNode.append('<br />');
  4776. var foundName = "";
  4777. $.each(allObsoleteNames, function(i, site){
  4778. if (foundName = allObsoleteNames[i].match(searchRegex))
  4779. {
  4780. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4781. }
  4782. })
  4783. }
  4784. var hostSearchBox = document.getElementById("hostSearchBox");
  4785. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4786. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4787. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4788. $(".warlc-ui-select-all").click(selectAll).button();
  4789. $(".warlc-ui-select-none").click(selectNone).button();
  4790. $(".warlc-ui-select-invert").click(selectInvert).button();
  4791. $(".warlc-ui-buttonset").buttonset();
  4792. var inColorLive = document.getElementById("inputColorLive");
  4793. inColorLive.addEventListener('keyup', changeColorLive, false);
  4794.  
  4795. var inColorDead = document.getElementById("inputColorDead");
  4796. inColorDead.addEventListener('keyup', changeColorDead, false);
  4797.  
  4798. var inColorTemp = document.getElementById("inputColorTemp");
  4799. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4800.  
  4801. var inColorCont = document.getElementById("inputColorCont");
  4802. inColorCont.addEventListener('keyup', changeColorCont, false);
  4803. var inColorprem = document.getElementById("inputColorprem");
  4804. inColorprem.addEventListener('keyup', changeColorprem, false);
  4805. $("#refAnonymizer").change(changeRefAnonymizer);
  4806. //buttons and edit boxes init end
  4807.  
  4808. //icon sets radio buttons
  4809. var radioButtons = document.getElementsByName("warlciconset");
  4810. radioButtons[Icon_set].checked = "checked";
  4811.  
  4812. radioButtons[0].addEventListener("change", updateIconSet);
  4813. radioButtons[1].addEventListener("change", updateIconSet);
  4814. radioButtons[2].addEventListener("change", updateIconSet);
  4815. radioButtons[3].addEventListener("change", updateIconSet);
  4816. function updateIconSet()
  4817. {
  4818. GM_setValue("Icon_set", this.value * 1);
  4819. }
  4820. //
  4821. $('#showCustomRulesReference').click(function(e){
  4822. e.preventDefault();
  4823. $('#customRulesReference').toggle();
  4824. });
  4825. $('#Custom_rules_text')
  4826. .val(Custom_rules_text)
  4827. .change(saveCustomRules);
  4828. function saveCustomRules(e)
  4829. {
  4830. var cr = parseCustomRules(this.value);
  4831. if (cr.info.length)
  4832. 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, ' '));
  4833. GM_setValue('Custom_rules_text', this.value);
  4834. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4835. }
  4836. }
  4837.  
  4838. //begin standard link checking algorithm
  4839. function start(filterId)
  4840. {
  4841. var doNotLinkify = Do_not_linkify_DL_links;
  4842.  
  4843. // USER SELECTED FILE HOSTS INITIALIZATION START
  4844. var http_file_hosts = new Array(); //standard hostings
  4845. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4846. var http_file_hosts_obsolete = new Array(); //dead hostings
  4847. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4848.  
  4849. initFileHosts();
  4850. initFileHostsHeadersOnly();
  4851. initFileHostsCustom(); //CustomRules
  4852. // USER SELECTED FILE HOSTS INITIALIZATION END
  4853.  
  4854. // LINKIFICATION START
  4855. var totalxpath = '';
  4856. var totalxpathcoded = '';
  4857. var totalxpathobsolete = '';
  4858. var totalxpathheadersonly = '';
  4859. var totalourls = '';
  4860.  
  4861. var filehostLen = http_file_hosts.length;
  4862. var filehostCodedLen = http_file_hosts_coded.length;
  4863. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4864. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4865.  
  4866. var filehostIdx = filehostLen;
  4867. var filehostCodedIdx = filehostCodedLen;
  4868. var filehostObsoleteIdx = filehostObsoleteLen;
  4869. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4870.  
  4871. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4872. return;
  4873.  
  4874. while (filehostIdx--)
  4875. {
  4876. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4877. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4878. }
  4879.  
  4880. while (filehostCodedIdx--)
  4881. {
  4882. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4883. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4884. }
  4885.  
  4886. while (filehostObsoleteIdx--)
  4887. {
  4888. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4889. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4890. }
  4891.  
  4892. while (filehostHeadersOnlyIdx--)
  4893. {
  4894. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4895. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4896. }
  4897.  
  4898. totalourls = totalourls.replace(/\|$/g, "");
  4899. //TODO: further refactoring needed
  4900. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4901. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4902. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4903. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4904. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4905. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4906. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4907. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4908. if (filterId != null) //insert id restriction in the xpath
  4909. {
  4910. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4911. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4912. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4913. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4914. }
  4915. else
  4916. {
  4917. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4918. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4919. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4920. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4921. }
  4922. linkify(totalourls);
  4923. //LINKIFICATION END
  4924. //ENCRYPTED LINKS PROCESSING START
  4925. if (http_file_hosts_coded.length > 0)
  4926. {
  4927. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4928.  
  4929. // decrypt coded links (redirects, link protectors etc.)
  4930. if (linksCoded.snapshotLength > 0)
  4931. {
  4932. var link;
  4933. var reallinkreg;
  4934. var reallinkcorrection;
  4935.  
  4936. if (filterId == null)
  4937. {
  4938. cLinksTotal += linksCoded.snapshotLength;
  4939. }
  4940.  
  4941. var y = linksCoded.snapshotLength - 1;
  4942. do
  4943. {
  4944. // linksCoded.snapshotItem(y).id = 'processing_link';
  4945. link = linksCoded.snapshotItem(y);
  4946. filehostIdx = filehostCodedLen;
  4947. while (filehostIdx--)
  4948. {
  4949. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4950. {
  4951. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4952. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4953. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4954.  
  4955. decurl(link, reallinkreg, reallinkcorrection);
  4956. break;
  4957. }
  4958. }
  4959. }
  4960. while (y--);
  4961. }
  4962. }
  4963. //ENCRYPTED LINKS PROCESSING END
  4964.  
  4965. //STANDARD LINKCHECKING START
  4966. if (http_file_hosts.length > 0)
  4967. {
  4968. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4969.  
  4970. if (filterId == null)
  4971. {
  4972. cLinksTotal += lianks.snapshotLength;
  4973. }
  4974.  
  4975. if (lianks.snapshotLength > 0)
  4976. {
  4977. var link;
  4978.  
  4979. var URL = "";
  4980. var name = "";
  4981. var isAliveRegex = "";
  4982. var isDeadRegex = "";
  4983. var isUnavaRegex = "";
  4984. var ispremRegex = "";
  4985. var tryLoop = false;
  4986.  
  4987. var y = lianks.snapshotLength;
  4988.  
  4989. while (y--)
  4990. {
  4991. link = lianks.snapshotItem(y);
  4992.  
  4993. filehostIdx = filehostLen;
  4994. while (filehostIdx--)
  4995. {
  4996. if (link.href.match(http_file_hosts[filehostIdx][0]))
  4997. {
  4998. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  4999. isAliveRegex = http_file_hosts[filehostIdx][1];
  5000. isDeadRegex = http_file_hosts[filehostIdx][2];
  5001. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5002. ispremRegex = http_file_hosts[filehostIdx][6];
  5003. tryLoop = http_file_hosts[filehostIdx][5];
  5004.  
  5005. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5006.  
  5007. break;
  5008. }
  5009. }
  5010. }
  5011. }
  5012. }
  5013. //STANDARD LINKCHECKING END
  5014. //OBSOLETE FILE HOSTS PROCESSING START
  5015. if (filehostObsoleteLen > 0)
  5016. {
  5017. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5018.  
  5019. var obsoleteLink;
  5020.  
  5021. //check links
  5022. if (obsoletelinks.snapshotLength > 0)
  5023. {
  5024. var y = obsoletelinks.snapshotLength;
  5025.  
  5026. if (filterId == null)
  5027. {
  5028. cLinksTotal += y;
  5029. }
  5030.  
  5031. while (y--)
  5032. {
  5033. obsoleteLink = obsoletelinks.snapshotItem(y);
  5034.  
  5035. if (Display_tooltip_info)
  5036. {
  5037. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5038. }
  5039. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5040. }
  5041. }
  5042. }
  5043. //OBSOLETE FILE HOSTS PROCESSING END
  5044.  
  5045. //DIRECT LINKCHECKING START
  5046. if (http_file_hosts_headers_only.length > 0)
  5047. {
  5048. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5049.  
  5050. //check links
  5051. if (links.snapshotLength > 0)
  5052. {
  5053. var link;
  5054. var isAliveRegex;
  5055. var isDeadRegex;
  5056. var ispremRegex;
  5057.  
  5058. var y = links.snapshotLength;
  5059.  
  5060.  
  5061. if (filterId == null)
  5062. {
  5063. cLinksTotal += y;
  5064. }
  5065.  
  5066. while (y--)
  5067. {
  5068. // links.snapshotItem(y).id = 'processing_link';
  5069. link = links.snapshotItem(y);
  5070. filehostIdx = filehostHeadersOnlyLen;
  5071. while (filehostIdx--)
  5072. {
  5073. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5074. {
  5075. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5076. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5077. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5078. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5079.  
  5080. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5081.  
  5082. break;
  5083. }
  5084. }
  5085. }
  5086.  
  5087. }
  5088. }
  5089. //DIRECT LINKCHECKING END
  5090.  
  5091.  
  5092. //finds the real url on the page, replaces link.href with it and calls geturl
  5093. function decurl(link, reallinkreg, reallinkcorrection)
  5094. {
  5095.  
  5096. GM_xmlhttpRequest(
  5097. {
  5098. method: 'GET',
  5099. url: link.href,
  5100. headers: {
  5101. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5102. 'Accept': 'text/xml',
  5103. 'Referer': ""
  5104. },
  5105. onload: function (result)
  5106. {
  5107. // cLinksProcessed++;
  5108.  
  5109. var reallink = result.responseText.match(reallinkreg)[0];
  5110. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5111.  
  5112. link.href = reallink;
  5113.  
  5114. var i = http_file_hosts.length - 1;
  5115. do
  5116. {
  5117. if ((reallink.match(http_file_hosts[i][0])))
  5118. {
  5119. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5120. var isAliveRegex = http_file_hosts[i][1];
  5121. var isDeadRegex = http_file_hosts[i][2];
  5122. var isUnavaRegex = http_file_hosts[i][3];
  5123. var ispremRegex = http_file_hosts[i][4];
  5124.  
  5125. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5126.  
  5127. break;
  5128. }
  5129. }
  5130. while (i--);
  5131. }
  5132. });
  5133. }
  5134.  
  5135. function randUA()
  5136. {
  5137. //TODO
  5138. }
  5139. //Processes link
  5140. //
  5141. // [string] link link URL
  5142. // [string] isAliveRegex alive link regex
  5143. // [string] isDeadRegex dead link regex
  5144. // [string] isUnavaRegex unavailable link regex
  5145. // [string] ispremRegex premium link regex
  5146. // [boolean] tryLoop repeats request until succeeded
  5147. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5148. {
  5149. GM_xmlhttpRequest(
  5150. {
  5151. method: 'GET',
  5152. url: link.href,
  5153. headers: {
  5154. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5155. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5156. 'Referer': ""
  5157. },
  5158. onload: function (result)
  5159. {
  5160. var res = result.responseText;
  5161. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5162. {
  5163. displayTheCheckedLink(link, 'alive_link');
  5164. return;
  5165. }
  5166.  
  5167. if (res.match(isAliveRegex))
  5168. {
  5169. displayTheCheckedLink(link, 'alive_link');
  5170. return;
  5171. }
  5172.  
  5173. if (res.match(isDeadRegex))
  5174. {
  5175. displayTheCheckedLink(link, 'adead_link');
  5176. return;
  5177. }
  5178.  
  5179. if (isUnavaRegex && res.match(isUnavaRegex))
  5180. {
  5181. displayTheCheckedLink(link, 'unava_link');
  5182. return;
  5183. }
  5184. if (res.match(ispremRegex))
  5185. {
  5186. displayTheCheckedLink(link, 'prem_link');
  5187. return;
  5188. }
  5189.  
  5190. var resStatus = result.status;
  5191.  
  5192. if (resStatus == 404)
  5193. {
  5194. displayTheCheckedLink(link, 'adead_link');
  5195. }
  5196. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5197. {
  5198. if (tryLoop)
  5199. {
  5200. //wait 1-5 seconds and repeat the request
  5201. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5202. }
  5203. else
  5204. {
  5205. displayTheCheckedLink(link, 'unava_link');
  5206. }
  5207.  
  5208. return;
  5209. }
  5210. },
  5211. onerror: function ()
  5212. {
  5213. displayTheCheckedLink(link, 'unava_link');
  5214. }
  5215. });
  5216. }
  5217.  
  5218. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5219. {
  5220. GM_xmlhttpRequest(
  5221. {
  5222. method: 'HEAD',
  5223. url: link.href,
  5224. headers: {
  5225. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5226. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5227. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5228. 'Referer': ""
  5229. },
  5230. onload: function (result)
  5231. {
  5232. var resStatus = result.status;
  5233. var resHeaders = "";
  5234. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5235. {
  5236. displayTheCheckedLink(link, 'adead_link');
  5237. return;
  5238. }
  5239.  
  5240. resHeaders = result.responseHeaders;
  5241.  
  5242. if (resHeaders.match(isDeadRegex))
  5243. {
  5244. displayTheCheckedLink(link, 'adead_link');
  5245. return;
  5246. }
  5247.  
  5248. if (resHeaders.match(isAliveRegex))
  5249. {
  5250. displayTheCheckedLink(link, 'alive_link');
  5251. return;
  5252. }
  5253. if (resHeaders.match(ispremRegex))
  5254. {
  5255. displayTheCheckedLink(link, 'prem_link');
  5256. return;
  5257. }
  5258. },
  5259. onerror: function ()
  5260. {
  5261. displayTheCheckedLink(link, 'unava_link');
  5262. }
  5263. });
  5264. }
  5265.  
  5266. //Delinkfifies the <a> element object
  5267. function delinkifyLink(link)
  5268. {
  5269. var spanElm = document.createElement("span");
  5270. spanElm.className = link.className;
  5271. spanElm.innerHTML = link.innerHTML;
  5272.  
  5273. if (Display_tooltip_info)
  5274. {
  5275. spanElm.href = link.href;
  5276. spanElm.warlc_error = link.warlc_error;
  5277. switch (link.className){
  5278. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5279. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5280. case "unava_link": //reserved
  5281. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5282. default:
  5283. }
  5284. }
  5285. link.parentNode.replaceChild(spanElm, link);
  5286. }
  5287.  
  5288. //Assigns result status to the <a> element object and calls delinkifying eventually
  5289. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5290. function displayTheCheckedLink(link, resultStatus)
  5291. {
  5292. link.className = resultStatus;
  5293. link.href = Ref_anonymize_service + link.href;
  5294. if (Display_tooltip_info)
  5295. {
  5296. switch (resultStatus){
  5297. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5298. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5299. case "unava_link": //reserved
  5300. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5301. default:
  5302. }
  5303. }
  5304. if (doNotLinkify)
  5305. {
  5306. delinkifyLink(link);
  5307. }
  5308. cLinksProcessed++;
  5309.  
  5310. if (resultStatus == "alive_link")
  5311. {
  5312. cLinksAlive++;
  5313. return;
  5314. }
  5315.  
  5316. if (resultStatus == "adead_link")
  5317. {
  5318. cLinksDead++;
  5319. return;
  5320. }
  5321.  
  5322. if (resultStatus == "unava_link")
  5323. {
  5324. cLinksUnava++;
  5325. }
  5326. if (resultStatus == "prem_link")
  5327. {
  5328. cLinksprem++;
  5329. return;
  5330. }
  5331. }
  5332.  
  5333.  
  5334. function initFileHosts()
  5335. {
  5336.  
  5337. function addObsoleteHost(linkRegex, xpathEx)
  5338. {
  5339. var host = new Array(2);
  5340. host[0] = linkRegex;
  5341. host[1] = xpathEx;
  5342. http_file_hosts_obsolete.push(host);
  5343. }
  5344.  
  5345. //obsolete file hosts init start
  5346. if (Obsolete_file_hosts)
  5347. {
  5348. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5349. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5350. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5351. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5352. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5353. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5354. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5355. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5356. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5357. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5358. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5359. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5360. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5361. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5362. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5363. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5364. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5365. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5366. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5367. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5368. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5369. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5370. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5371. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5372. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5373. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5374. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5375. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5376. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5377. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5378. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5379. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5380. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5381. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5382. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5383. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5384. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5385. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5386. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5387. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5388. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5389. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5390. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5391. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5392. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5393. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5394. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5395. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5396. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5397. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5398. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5399. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5400. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5401. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5402. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5403. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5404. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5405. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5406. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5407. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5408. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5409. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5410. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5411. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5412. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5413. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5414. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5415. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5416. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5417. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5418. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5419. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5420. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5421. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5422. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5423. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5424. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5425. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5426. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5427. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5428. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5429. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5430. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5431. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5432. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5433. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5434. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5435. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5436. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5437. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5438. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5439. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5440. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5441. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5442. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5443. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5444. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5445. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5446. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5447. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5448. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5449. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5450. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5451. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5452. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5453. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5454. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5455. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5456. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5457. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5458. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5459. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5460. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5461. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5462. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5463. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5464. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5465. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5466. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5467. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5468. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5469. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5470. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5471. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5472. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5473. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5474. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5475. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5476. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5477. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5478. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5479. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5480. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5481. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5482. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5483. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5484. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5485. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5486. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5487. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5488. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5489. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5490. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5491. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5492. 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')]");
  5493. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5494. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5495. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5496. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5497. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5498. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5499. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5500. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5501. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5502. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5503. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5504. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5505. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5506. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5507. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5508. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5509. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5510. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5511. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5512. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5513. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5514. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5515. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5516. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5517. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5518. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5519. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5520. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5521. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5522. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5523. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5524. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5525. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5526. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5527. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5528. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5529. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5530. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5531. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5532. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5533. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5534. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5535. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5536. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5537. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5538. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5539. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5540. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5541. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5542. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5543. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5544. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5545. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5546. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5547. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5548. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5549. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5550. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5551. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5552. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5553. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5554. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5555. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5556. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5557. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5558. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5559. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5560. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5561. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5562. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5563. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5564. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5565. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5566. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5567. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5568. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5569. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5570. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5571. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5572. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5573. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5574. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5575. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5576. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5577. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5578. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5579. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5580. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5581. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5582. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5583. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5584. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5585. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5586. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5587. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5588. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5589. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5590. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5591. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5592. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5593. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5594. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5595. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5596. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5597. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5598. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5599. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5600. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5601. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5602. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5603. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5604. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5605. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5606. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5607. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5608. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5609. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5610. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5611. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5612. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5613. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5614. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5615. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5616. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5617. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5618. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5619. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5620. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5621. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5622. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5623. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5624. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5625. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5626. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5627. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5628. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5629. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5630. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5631. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5632. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5633. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5634. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5635. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5636. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5637. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5638. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5639. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5640. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5641. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5642. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5643. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5644. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5645. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5646. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5647. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5648. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5649. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5650. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5651. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5652. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5653. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5654. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5655. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5656. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5657. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5658. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5659. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5660. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5661. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5662. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5663. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5664. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5665. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5666. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5667. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5668. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5669. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5670. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5671. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5672. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5673. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5674. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5675. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5676. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5677. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5678. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5679. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5680. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5681. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5682. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5683. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5684. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5685. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5686. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5687. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5688. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5689. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5690. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5691. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5692. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5693. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5694. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5695. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5696. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5697. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5698. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5699. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5700. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5701. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5702. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5703. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5704. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5705. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5706. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5707. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5708. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5709. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5710. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5711. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5712. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5713. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5714. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5715. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5716. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5717. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5718. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5719. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5720. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5721. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5722. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5723. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5724. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5725. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5726. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5727. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5728. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5729. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5730. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5731. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5732. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5733. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5734. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5735. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5736. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5737. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5738. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5739. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5740. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5741. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5742. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5743. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5744. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5745. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5746. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5747. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5748. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5749. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5750. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5751. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5752. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5753. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5754. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5755. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5756. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5757. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5758. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5759. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5760. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5761. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5762. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5763. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5764. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5765. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5766. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5767. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5768. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5769. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5770. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5771. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5772. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5773. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5774. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5775. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5776. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5777. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5778. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5779. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5780. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5781. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5782. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5783. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5784. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5785. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5786. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5787. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5788. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5789. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5790. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5791. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5792. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5793. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5794. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5795. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5796. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5797. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5798. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5799. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5800. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5801. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5802. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5803. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5804. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5805. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5806. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5807. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5808. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5809. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5810. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5811. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5812. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5813. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5814. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5815. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5816. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5817. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5818. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5819. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5820. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5821. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5822. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5823. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5824. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5825. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5826. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5827. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5828. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5829. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5830. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5831. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5832. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5833. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5834. // obsolete start
  5835. }
  5836. //obsolete file hosts init end
  5837. //Add Host Example
  5838. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5839. {
  5840. addFileHost(
  5841. "datafile\.com\/\\w+",
  5842. 'var captchaPanel|<link href="/css/files_download.css"',
  5843. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5844. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5845. '<style type="text/css">',
  5846. "//a[contains(@href,'datafile.com')]",
  5847. true);
  5848. } */
  5849.  
  5850. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5851. {
  5852. var host = new Array(7);
  5853. host[0] = linkRegex;
  5854. host[1] = isAliveRegex;
  5855. host[2] = isDeadRegex;
  5856. host[3] = isUnavaRegex;
  5857. host[6] = ispremRegex;
  5858. host[4] = xpathEx;
  5859. tryLoop ? host[5] = true : host[5] = false;
  5860. http_file_hosts.push(host);
  5861. }
  5862. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5863. {
  5864. addFileHost(
  5865. "megafileupload\.com\/..\/file\/",
  5866. 'downloadbtn',
  5867. 'is not found',
  5868. 'optional--',
  5869. 'optional2--',
  5870. "//a[contains(@href,'megafileupload.com')]");
  5871. }
  5872. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5873. {
  5874. addFileHost(
  5875. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5876. 'download\\.gif"',
  5877. 'p_point">',
  5878. 'optional--',
  5879. 'optional2--',
  5880. "//a[contains(@href,'demo.ovh.eu')]");
  5881. }
  5882. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5883. {
  5884. addFileHost(
  5885. "xkeepfile\.com\/\\w+",
  5886. 'File has been found|Click here to download',
  5887. 'File cannot be found|class="error">',
  5888. 'optional--',
  5889. 'optional2--',
  5890. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5891. }
  5892. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5893. {
  5894. addFileHost(
  5895. "safelinking\\.net\/p\/\\w+",
  5896. 'color:green;"',
  5897. 'color:(?:red|orange);"',
  5898. 'color:(?:grey|brown);"',
  5899. 'optional2--',
  5900. "//a[contains(@href,'safelinking.net/p/')]",
  5901. true);
  5902. }
  5903. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5904. {
  5905. addFileHost(
  5906. "fastshare\\.cz\/\\d+\/\\w*",
  5907. 'dwntable">|speed-low',
  5908. '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',
  5909. 'optional--',
  5910. 'optional2--',
  5911. "//a[contains(@href,'fastshare.cz')]");
  5912. }
  5913. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5914. {
  5915. addFileHost(
  5916. "[fF]ast[sS]hare\\.org\/download",
  5917. 'Download ">',
  5918. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5919. 'optional--',
  5920. 'optional2--',
  5921. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5922. }
  5923. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5924. {
  5925. addFileHost(
  5926. "partage-facile\.com\/\\w+",
  5927. 'class="title"><strong>|colspan="2"',
  5928. 'Page introuvable|class="alert-message',
  5929. 'optional--',
  5930. 'optional2--',
  5931. "//a[contains(@href,'partage-facile.com')]");
  5932. }
  5933. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5934. {
  5935. addFileHost(
  5936. "rapidgator\\.net\/file\/\\w+",
  5937. '/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',
  5938. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5939. 'optional--',
  5940. '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',
  5941. "//a[contains(@href,'rapidgator.net/file')]",
  5942. true
  5943. );
  5944. }
  5945. if (GM_getValue("Check_relink_dot_us_links", false))
  5946. {
  5947. addFileHost(
  5948. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5949. 'online_detail\\.png" alt="Status',
  5950. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5951. 'unknown_detail\\.png" alt="Status',
  5952. 'optional2--',
  5953. "//a[contains(@href,'relink.us/')]"
  5954. );
  5955. }
  5956. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5957. {
  5958. addFileHost(
  5959. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5960. 'div id="dl"',
  5961. 'Sie haben den Link falsch',
  5962. 'optional--',
  5963. 'optional2--',
  5964. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5965. );
  5966. }
  5967. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5968. {
  5969. addFileHost(
  5970. "flyfiles\\.net\/\\w+",
  5971. 'download_button"|"Download file"',
  5972. 'File not found!|Файл не найден',
  5973. 'optional--',
  5974. 'optional2--',
  5975. "//a[contains(@href,'flyfiles.net/')]"
  5976. );
  5977. }
  5978. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5979. {
  5980. addFileHost(
  5981. "wikiupload\\.com\/\\w+",
  5982. 'download-button">',
  5983. 'Sorry, File not found',
  5984. 'optional--',
  5985. 'optional2--',
  5986. "//a[contains(@href,'wikiupload.com/')]"
  5987. );
  5988. }
  5989. if (GM_getValue("Check_hostuje_dot_net_links", false))
  5990. {
  5991. addFileHost(
  5992. "hostuje\\.net\/file\\.php\\?id=\\w+",
  5993. 'file\\.php">|Pobierz Plik',
  5994. 'Podany plik nie zosta',
  5995. 'optional--',
  5996. 'optional2--',
  5997. "//a[contains(@href,'hostuje.net/file')]"
  5998. );
  5999. }
  6000. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6001. {
  6002. addFileHost(
  6003. "gettyfile\\.ru\/\\d+",
  6004. 'download\\.gif border',
  6005. '<center><font size="3">',
  6006. 'optional--',
  6007. 'optional2--',
  6008. "//a[contains(@href,'gettyfile.ru/')]"
  6009. );
  6010. }
  6011. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6012. {
  6013. addFileHost(
  6014. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6015. 'download\\-file">',
  6016. 'col-1">\\s*<h1>',
  6017. 'optional--',
  6018. 'optional2--',
  6019. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6020. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6021. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6022. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6023. );
  6024. }
  6025. if (GM_getValue("Check_data_dot_hu_links", false))
  6026. {
  6027. addFileHost(
  6028. "data\\.hu\/get\/\\d+\/",
  6029. 'download_box_button',
  6030. 'missing\\.php',
  6031. 'optional--',
  6032. 'optional2--',
  6033. "//a[contains(@href,'data.hu/get')]",
  6034. true
  6035. );
  6036. }
  6037. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6038. {
  6039. addFileHost(
  6040. "filesmelt\\.com\/dl\/\\w+",
  6041. '(Your download is ready|Download File)',
  6042. 'Sorry, but your',
  6043. 'optional--',
  6044. 'optional2--',
  6045. "//a[contains(@href,'filesmelt.com/dl')]"
  6046. );
  6047. }
  6048. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6049. {
  6050. addFileHost(
  6051. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6052. 'premiumBtn"',
  6053. 'errorMessage"',
  6054. 'optional--',
  6055. 'optional2--',
  6056. "//a[contains(@href,'indowebster.com/download')]"
  6057. );
  6058. }
  6059. if (GM_getValue("Check_superload_dot_cz_links", false))
  6060. {
  6061. addFileHost(
  6062. "superload\\.cz\/dl\/\\w+",
  6063. 'icon-download">',
  6064. 'soubor nebyl nalezen',
  6065. 'optional--',
  6066. 'optional2--',
  6067. "//a[contains(@href,'superload.cz/dl')]"
  6068. );
  6069. }
  6070. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6071. {
  6072. addFileHost(
  6073. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6074. 'op" value="download',
  6075. 'class="err">|width:500px;text-align:left;">',
  6076. 'optional--',
  6077. 'optional2--',
  6078. "//a[contains(@href,'hulkfile.')]"
  6079. );
  6080. }
  6081. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6082. {
  6083. addFileHost(
  6084. "easybytez\\.com\/\\w+",
  6085. 'op" value="download',
  6086. 'stop_error\\.gif',
  6087. 'optional--',
  6088. 'optional2--',
  6089. "//a[contains(@href,'easybytez.com/')]"
  6090. );
  6091. }
  6092. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6093. {
  6094. addFileHost(
  6095. "filestore\\.com\\.ua\/\\?d=\\w+",
  6096. 'tdrow1>',
  6097. 'class=warn',
  6098. 'optional--',
  6099. 'optional2--',
  6100. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6101. );
  6102. }
  6103. if (GM_getValue("Check_netkups_dot_com_links", false))
  6104. {
  6105. addFileHost(
  6106. "netkups\\.com\/\\?d=\\w+",
  6107. 'submit">Continue',
  6108. 'page">File not found|deleted due to inactivity',
  6109. 'optional--',
  6110. 'optional2--',
  6111. "//a[contains(@href,'netkups.com/?d=')]"
  6112. );
  6113. }
  6114. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6115. {
  6116. addFileHost(
  6117. "openfile\\.ru\/(?:video\/|)\\d+",
  6118. 'videobox_left">',
  6119. 'blog_title">|not found on this server',
  6120. 'optional--',
  6121. 'optional2--',
  6122. "//a[contains(@href,'openfile.ru/')]"
  6123. );
  6124. }
  6125. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6126. {
  6127. addFileHost(
  6128. "extmatrix\\.com\/files\/\\w+",
  6129. 'div class="success"',
  6130. 'div class="error"',
  6131. 'optional--',
  6132. 'optional2--',
  6133. "//a[contains(@href,'extmatrix.com/files')]"
  6134. );
  6135. }
  6136. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6137. {
  6138. addFileHost(
  6139. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6140. 'content_lnkDownload',
  6141. 'error\\.aspx\\?',
  6142. 'optional--',
  6143. 'optional2--',
  6144. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6145. );
  6146. }
  6147. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6148. {
  6149. addFileHost(
  6150. "yourfilestore\\.com\/download\/\\d+\/",
  6151. 'download_data">',
  6152. 'may have been deleted|<h1>Sorry!<\/h1>',
  6153. 'optional--',
  6154. 'optional2--',
  6155. "//a[contains(@href,'yourfilestore.com/download')]"
  6156. );
  6157. }
  6158. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6159. {
  6160. addFileHost(
  6161. "nekaka\\.com\/d\/[\\w-]+",
  6162. 'downloadForm">',
  6163. 'invalid file link',
  6164. 'optional--',
  6165. 'optional2--',
  6166. "//a[contains(@href,'nekaka.com/d')]"
  6167. );
  6168. }
  6169. if (GM_getValue("Check_filebig_dot_net_links", false))
  6170. {
  6171. addFileHost(
  6172. "filebig\\.net\/files\/\\w+",
  6173. 'downloadFile">',
  6174. '<p>File not found<\/p>',
  6175. 'optional--',
  6176. 'optional2--',
  6177. "//a[contains(@href,'filebig.net/files')]"
  6178. );
  6179. }
  6180. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6181. {
  6182. addFileHost(
  6183. "files\\.filefront\\.com\/\/;\\d+;;",
  6184. 'downloadLink">',
  6185. 'File not found, you',
  6186. 'optional--',
  6187. 'optional2--',
  6188. "//a[contains(@href,'files.filefront.com')]"
  6189. );
  6190.  
  6191. addFileHost(
  6192. "gamefront\\.com\/files\/\\d+",
  6193. 'downloadLink">',
  6194. 'File not found, you',
  6195. 'optional--',
  6196. 'optional2--',
  6197. "//a[contains(@href,'gamefront.com/files')]"
  6198. );
  6199. }
  6200. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6201. {
  6202. addFileHost(
  6203. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6204. 'dnlLnk"',
  6205. 'already been deleted',
  6206. 'optional--',
  6207. 'optional2--',
  6208. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6209. );
  6210. }
  6211. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6212. {
  6213. addFileHost(
  6214. "hellupload\\.com\/\\w+",
  6215. '<h3>Download File<br',
  6216. 'id="podstrona">|AVOID_IE_BUG',
  6217. 'optional--',
  6218. 'optional2--',
  6219. "//a[contains(@href,'hellupload.com/')]"
  6220. );
  6221. }
  6222. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6223. {
  6224. addFileHost(
  6225. "free\\-uploading\\.com\/\\w+",
  6226. 'op" value="download',
  6227. 'class="err">|width:500px;text-align:left;">',
  6228. 'optional--',
  6229. 'optional2--',
  6230. "//a[contains(@href,'free-uploading.com/')]"
  6231. );
  6232. }
  6233. if (GM_getValue("Check_fileape_dot_com_links", false))
  6234. {
  6235. addFileHost(
  6236. "fileape\\.com\/download\\-",
  6237. 'button_dl\\.png',
  6238. 'does not exist\\.',
  6239. 'optional--',
  6240. 'optional2--',
  6241. "//a[contains(@href,'fileape.com/')]"
  6242. );
  6243. }
  6244. if (GM_getValue("Check_uppit_dot_com_links", false))
  6245. {
  6246. addFileHost(
  6247. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6248. 'op" value="download',
  6249. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6250. 'optional--',
  6251. 'optional2--',
  6252. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6253. true
  6254. );
  6255. }
  6256. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6257. {
  6258. addFileHost(
  6259. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6260. 'op" value="download',
  6261. '>File Not Found<',
  6262. 'optional--',
  6263. 'optional2--',
  6264. "//a[contains(@href,'nosupload.com')]",
  6265. true
  6266. );
  6267. }
  6268. if (GM_getValue("Check_filesin_dot_com_links", false))
  6269. {
  6270. addFileHost(
  6271. "filesin\\.com\/\\w+\/download\\.html",
  6272. 'download_area">',
  6273. 'error_note">',
  6274. 'optional--',
  6275. 'optional2--',
  6276. "//a[contains(@href,'filesin.com/')]",
  6277. true
  6278. );
  6279. }
  6280. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6281. {
  6282. addFileHost(
  6283. "nowdownload\\.ch\/dl\/\\w+",
  6284. 'alert-success"',
  6285. 'This file does not exist!',
  6286. 'The file is being transfered',
  6287. 'optional2--',
  6288. "//a[contains(@href,'nowdownload.ch/dl')]"
  6289. );
  6290. }
  6291. if (GM_getValue("Check_axifile_dot_com_links", false))
  6292. {
  6293. addFileHost(
  6294. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6295. 'Dbutton_big"',
  6296. 'download\\-error\\.php',
  6297. 'optional--',
  6298. 'optional2--',
  6299. "//a[contains(@href,'axifile.com/')]"
  6300. );
  6301. }
  6302. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6303. {
  6304. addFileHost(
  6305. "hulkshare\.com\/\\w+",
  6306. 'download\.sam\.png|This is a private file|id="filename',
  6307. 'File does not exist|fingerprint protected copyright',
  6308. 'optional--',
  6309. 'optional2--',
  6310. "//a[contains(@href,'hulkshare.com')]"
  6311. );
  6312. }
  6313. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6314. {
  6315. addFileHost(
  6316. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6317. 'col-1">\\s*<s',
  6318. 'col-1">\\s*<h',
  6319. 'optional--',
  6320. 'optional2--',
  6321. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6322. );
  6323. }
  6324. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6325. {
  6326. addFileHost(
  6327. "turbobit\\.(?:net|pl)",
  6328. 'id="download-gate-info|id="file-list',
  6329. 'afterWait()|no files in this folder',
  6330. 'optional--',
  6331. 'optional2--',
  6332. "//a[contains(@href,'turbobit.net')]"
  6333. );
  6334. }
  6335. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6336. {
  6337. addFileHost(
  6338. "hitfile\\.net\/download\/folder\/\\d+",
  6339. 'content">\\s*<s',
  6340. 'content">\\s*<h',
  6341. 'optional--',
  6342. 'optional2--',
  6343. "//a[contains(@href,'hitfile.net/download/folder')]"
  6344. );
  6345. }
  6346. if (GM_getValue("Check_movshare_dot_net_links", false))
  6347. {
  6348. addFileHost(
  6349. "movshare\\.net\\/video\\/\\w+",
  6350. 'optional--"',
  6351. 'no longer exists',
  6352. 'optional--',
  6353. 'optional2--',
  6354. "//a[contains(@href,'movshare.net/video')]"
  6355. );
  6356. }
  6357. if (GM_getValue("Check_plunder_dot_com_links", false))
  6358. {
  6359. addFileHost(
  6360. "plunder\.com\/\\w+",
  6361. 'x\/download\\.gif',
  6362. '404 - File or directory not found.',
  6363. 'optional--',
  6364. 'optional2--',
  6365. "//a[contains(@href,'plunder.com')]"
  6366. );
  6367. }
  6368. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6369. {
  6370. addFileHost(
  6371. "mafiastorage\\.com\/\\w+",
  6372. 'op" value="download',
  6373. 'class="err">|style="width:500px;text-align:left;"',
  6374. 'optional--',
  6375. 'optional2--',
  6376. "//a[contains(@href,'mafiastorage.com/')]"
  6377. );
  6378. }
  6379. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6380. {
  6381. addFileHost(
  6382. "uploadspace\.pl\/plik\\w+",
  6383. 'Downloading .+? \\|',
  6384. 'Downloading a file',
  6385. 'optional--',
  6386. 'optional2--',
  6387. "//a[contains(@href,'uploadspace.pl/plik')]"
  6388. );
  6389. }
  6390. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6391. {
  6392. addFileHost(
  6393. "uploadingit\\.com\/file\/\\w+",
  6394. 'downloadTitle">',
  6395. 'deleteContent">',
  6396. 'optional--',
  6397. 'optional2--',
  6398. "//a[contains(@href,'uploadingit.com/file')]"
  6399. );
  6400. }
  6401. if (GM_getValue("Check_rghost_dot_net_links", false))
  6402. {
  6403. addFileHost(
  6404. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6405. 'download_link|btn large download',
  6406. 'file is restricted|File is deleted|503 Service Unavailable',
  6407. 'optional--',
  6408. 'optional2--',
  6409. "//a[contains(@href,'rghost.')]"
  6410. );
  6411. }
  6412. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6413. {
  6414. addFileHost(
  6415. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6416. '">Staženo:\\s*<\/span>',
  6417. 'Soubor, který hledáte nenalezen',
  6418. 'optional--',
  6419. 'optional2--',
  6420. "//a[contains(@href,'xdisk.cz/')]"
  6421. );
  6422. }
  6423. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6424. {
  6425. addFileHost(
  6426. "expressleech\.com\/\\w+",
  6427. 'src="/img/Download.gif"|var _gaq =',
  6428. 'var rr =|403 Forbidden',
  6429. 'optional--',
  6430. 'optional2--',
  6431. "//a[contains(@href,'expressleech.com')]");
  6432. }
  6433. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6434. {
  6435. addFileHost(
  6436. "2downloadz\.com\/\\w+",
  6437. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6438. 'color="#006DCC|File error',
  6439. 'optional--',
  6440. 'optional2--',
  6441. "//a[contains(@href,'2downloadz.com')]");
  6442. }
  6443. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6444. {
  6445. addFileHost(
  6446. "mightyupload\.com\/\\w+",
  6447. 'background:#ccc;text-align|CONTENT="Download File"',
  6448. 'style="background:#eee|var rr =|File Not Found',
  6449. 'error-code">1010',
  6450. 'optional2--',
  6451. "//a[contains(@href,'mightyupload.com')]");
  6452. }
  6453. if (GM_getValue("Check_anysend_dot_com_links", false))
  6454. {
  6455. addFileHost(
  6456. "anysend\.com\/\\w+",
  6457. 'var openCalled=false;|content="noindex"',
  6458. '_trackPageview',
  6459. 'optional--',
  6460. 'optional2--',
  6461. "//a[contains(@href,'anysend.com')]");
  6462. }
  6463. if (GM_getValue("Check_datafile_dot_com_links", false))
  6464. {
  6465. addFileHost(
  6466. "datafile\.com\/\\w+",
  6467. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6468. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6469. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6470. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">', //<style type="text/css">
  6471. "//a[contains(@href,'datafile.com')]",
  6472. true);
  6473. }
  6474. if (GM_getValue("Check_upstore_dot_net_links", false))
  6475. {
  6476. addFileHost(
  6477. "upstore\.net\/\\w+",
  6478. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6479. 'File not found|onload="redirect|class="error">',
  6480. 'optional--',
  6481. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6482. "//a[contains(@href,'upstore.net')]");
  6483. }
  6484. if (GM_getValue("Check_upsto_dot_re_links", false))
  6485. {
  6486. addFileHost(
  6487. "upsto\.re\/\\w+",
  6488. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6489. 'File not found|onload="redirect|class="error">',
  6490. 'optional--',
  6491. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6492. "//a[contains(@href,'upsto.re')]");
  6493. }
  6494. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6495. {
  6496. addFileHost(
  6497. "speedy\.sh\/\\w+",
  6498. 'bgcolor=#eeeeee|class="addthis',
  6499. 'File not found|downloadfilenamenotfound>',
  6500. 'optional--',
  6501. 'optional2--',
  6502. "//a[contains(@href,'speedy.sh')]");
  6503. }
  6504. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6505. {
  6506. addFileHost(
  6507. "sanshare\.com\/\\w+",
  6508. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6509. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6510. 'optional--',
  6511. 'optional2--',
  6512. "//a[contains(@href,'sanshare.com')]");
  6513. }
  6514. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6515. {
  6516. addFileHost(
  6517. "kingfiles\.net\/\\w+",
  6518. 'method_free',
  6519. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6520. 'optional--',
  6521. 'optional2--',
  6522. "//a[contains(@href,'kingfiles.net')]");
  6523. }
  6524. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6525. {
  6526. addFileHost(
  6527. "uploadhero\\.co\/dl\/\\w+",
  6528. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6529. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6530. 'optional--',
  6531. 'optional2--',
  6532. "//a[contains(@href,'uploadhero.co/dl')]"
  6533. );
  6534. } */
  6535. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6536. {
  6537. addFileHost(
  6538. "secureupload\\.eu\/\\w+",
  6539. 'Downloading',
  6540. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6541. 'optional--',
  6542. 'optional2--',
  6543. "//a[contains(@href,'secureupload.eu')]"
  6544. );
  6545. }
  6546. if (GM_getValue("Check_ge_dot_tt_links", false))
  6547. {
  6548. addFileHost(
  6549. "ge\.tt\/\\w+",
  6550. 'downloads pic',
  6551. 'is NOT the same as',
  6552. 'optional--',
  6553. 'optional2--',
  6554. "//a[contains(@href,'ge.tt')]");
  6555. }
  6556. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6557. {
  6558. addFileHost(
  6559. "filefactory\.com\/\\w+",
  6560. 'div id="file_holder"|download.css',
  6561. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6562. 'Server Maintenance|temporarily overloaded',
  6563. 'Premium Account Required',
  6564. "//a[contains(@href,'filefactory.com')]");
  6565. }
  6566. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6567. {
  6568. addFileHost(
  6569. "filesflash\.net\/\\w+",
  6570. 'align:right">Filename:',
  6571. 'class="msg">',
  6572. 'optional--',
  6573. 'optional2--',
  6574. "//a[contains(@href,'filesflash.net')]");
  6575. }
  6576. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6577. {
  6578. addFileHost(
  6579. "rapidgator\\.net\/folder\/\\w+",
  6580. 'href="/folder/',
  6581. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6582. 'optional--',
  6583. 'optional2--',
  6584. "//a[contains(@href,'rapidgator.net/folder')]",
  6585. true
  6586. );
  6587. }
  6588. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6589. {
  6590. addFileHost(
  6591. "salefiles\.com\/\\w+",
  6592. 'name="method_free',
  6593. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6594. 'optional--',
  6595. 'optional2--',
  6596. "//a[contains(@href,'salefiles.com')]");
  6597. }
  6598. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6599. {
  6600. addFileHost(
  6601. "megairon\.net\/\\w+",
  6602. 'border: 5px #ffeb90 solid;',
  6603. 'CONTENT="Download File ">|var rr =',
  6604. 'error-code">523',
  6605. 'optional2--',
  6606. "//a[contains(@href,'megairon.net')]",
  6607. true);
  6608. } */
  6609. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6610. {
  6611. addFileHost(
  6612. "datoid\.cz\/\\w+",
  6613. 'btn-download|class="icon-download-large"',
  6614. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6615. 'optional--',
  6616. 'optional2--',
  6617. "//a[contains(@href,'datoid.cz')]");
  6618. }
  6619. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6620. {
  6621. addFileHost(
  6622. "stiahni\.si\/\\w+",
  6623. 'report_icon.png"|slow-download-button',
  6624. 'none.png|deleted|<h2>Error 500</h2>',
  6625. 'optional--',
  6626. 'optional2--',
  6627. "//a[contains(@href,'stiahni.si')]");
  6628. }
  6629. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6630. {
  6631. addFileHost(
  6632. "cloudstor\.es\/\\w+",
  6633. '"btn_download"',
  6634. '404: Page Not Found',
  6635. 'optional--',
  6636. 'optional2--',
  6637. "//a[contains(@href,'cloudstor.es')]");
  6638. }
  6639. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6640. {
  6641. addFileHost(
  6642. "streamfile\.com\/\\w+",
  6643. 'class="btn',
  6644. 'class="green-btn',
  6645. 'optional--',
  6646. 'optional2--',
  6647. "//a[contains(@href,'streamfile.com')]");
  6648. }
  6649. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6650. {
  6651. addFileHost(
  6652. "eyesfile\.ca\/\\w+",
  6653. 'value="Get Link',
  6654. 'var rr =',
  6655. 'optional--',
  6656. 'optional2--',
  6657. "//a[contains(@href,'eyesfile.ca')]");
  6658. }
  6659. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6660. {
  6661. addFileHost(
  6662. "filemoney\.com\/\\w+",
  6663. 'og:title',
  6664. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6665. 'error-code">1010',
  6666. 'optional2--',
  6667. "//a[contains(@href,'filemoney.com')]");
  6668. }
  6669. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6670. {
  6671. addFileHost(
  6672. "uploadboy\.com\/\\w+",
  6673. 'width="740">|method_free',
  6674. 'var rr =|background:#ffffff|not be found|file was removed',
  6675. 'optional--',
  6676. 'optional2--',
  6677. "//a[contains(@href,'uploadboy.com')]");
  6678. }
  6679. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6680. {
  6681. addFileHost(
  6682. "uploadboy\.com\/\\w+",
  6683. 'width="740">|method_free',
  6684. 'var rr =|background:#ffffff|not be found|file was removed',
  6685. 'optional--',
  6686. 'optional2--',
  6687. "//a[contains(@href,'uploadboy.me')]");
  6688. }
  6689. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6690. {
  6691. addFileHost(
  6692. "speedshare\.eu\/\\w+",
  6693. 'favicon.png|color:#3d87c0|cross.png"',
  6694. 'var rr =|File Not Found|style="background:#eee',
  6695. 'optional--',
  6696. 'optional2--',
  6697. "//a[contains(@href,'speedshare.eu')]");
  6698. }
  6699. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6700. {
  6701. addFileHost(
  6702. "unlimitzone\.com\/\\w+",
  6703. 'name="method_free',
  6704. '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',
  6705. 'optional--',
  6706. 'optional2--',
  6707. "//a[contains(@href,'unlimitzone.com')]");
  6708. }
  6709. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6710. {
  6711. addFileHost(
  6712. "rioupload\.com\/\\w+",
  6713. 'sell.jpg',
  6714. 'var rr =',
  6715. 'optional--',
  6716. 'optional2--',
  6717. "//a[contains(@href,'rioupload.com')]");
  6718. }
  6719. if (GM_getValue("Check_rg_dot_to_links", false))
  6720. {
  6721. addFileHost(
  6722. "rg\.to\/\\w+",
  6723. '/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',
  6724. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6725. 'optional--',
  6726. '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',
  6727. "//a[contains(@href,'rg.to')]");
  6728. }
  6729. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6730. {
  6731. addFileHost(
  6732. "jumbofiles\.org\/\\w+",
  6733. 'H71C5.png|class="downloadtitle">',
  6734. 'var swfu|ViewSourceBIN.png',
  6735. 'optional--',
  6736. 'optional2--',
  6737. "//a[contains(@href,'jumbofiles.org')]");
  6738. }
  6739. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6740. {
  6741. addFileHost(
  6742. "fshare\\.vn\/file\/\\w+",
  6743. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6744. 'không tồn tại|class="color_red m_t_50"',
  6745. 'optional--',
  6746. 'optional2--',
  6747. "//a[contains(@href,'fshare.vn/file')]",
  6748. true
  6749. );
  6750. }
  6751. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6752. {
  6753. addFileHost(
  6754. "spaceforfiles\.com\/\\w+",
  6755. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6756. 'var rr =|AVOID_IE_BUG',
  6757. 'optional--',
  6758. 'optional2--',
  6759. "//a[contains(@href,'spaceforfiles.com')]");
  6760. }
  6761. if (GM_getValue("Check_google_dot_com_links", false))
  6762. {
  6763. addFileHost(
  6764. "google\\.com\/file\/\\w+",
  6765. 'content="!">|color:#2d2d2d',
  6766. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6767. 'optional--',
  6768. 'optional2--',
  6769. "//a[contains(@href,'google.com/file')]",
  6770. true
  6771. );
  6772. }
  6773. if (GM_getValue("Check_google_dot_com_links", false))
  6774. {
  6775. addFileHost(
  6776. "docs.google.com\/\\w+",
  6777. 'content="!">|color:#2d2d2d',
  6778. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6779. 'optional--',
  6780. 'optional2--',
  6781. "//a[contains(@href,'docs.google.com')]",
  6782. true
  6783. );
  6784. }
  6785. if (GM_getValue("Check_google_dot_com_links", false))
  6786. {
  6787. addFileHost(
  6788. "drive.google.com\/\\w+",
  6789. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6790. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6791. 'optional--',
  6792. 'optional2--',
  6793. "//a[contains(@href,'drive.google.com')]",
  6794. true
  6795. );
  6796. }
  6797. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6798. {
  6799. addFileHost(
  6800. "up.media1fire\.com\/\\w+",
  6801. 'class="addthis_|value="download',
  6802. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6803. 'optional--',
  6804. 'optional2--',
  6805. "//a[contains(@href,'up.media1fire.com')]");
  6806. }
  6807. if (GM_getValue("Check_depfile_dot_com_links", false))
  6808. {
  6809. addFileHost(
  6810. "depfile\.com\/\\w+",
  6811. 'logo_0.png|downloads.gif"|verifycode',
  6812. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6813. 'optional--',
  6814. 'available only for Premium users',
  6815. "//a[contains(@href,'depfile.com')]");
  6816. }
  6817. if (GM_getValue("Check_go4up_dot_com_links", false))
  6818. {
  6819. addFileHost(
  6820. "go4up\.com\/\\w+",
  6821. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6822. '<title>GO4UP|dmca',
  6823. 'optional--',
  6824. 'optional2--',
  6825. "//a[contains(@href,'go4up.com')]");
  6826. }
  6827. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6828. {
  6829. addFileHost(
  6830. "redbunker\.net\/\\w+",
  6831. 'name="method_free"',
  6832. 'color="red">Unknow / Bilinmiyor<',
  6833. 'optional--',
  6834. '2.3 GB',
  6835. "//a[contains(@href,'redbunker.net')]");
  6836. }
  6837. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6838. {
  6839. addFileHost(
  6840. "divxpress\.com\/\\w+",
  6841. 'btn_download|logo.png"',
  6842. 'AVOID_IE_BUG|var rr =',
  6843. 'optional--',
  6844. 'optional2--',
  6845. "//a[contains(@href,'divxpress.com')]");
  6846. }
  6847. if (GM_getValue("Check_anafile_dot_com_links", false))
  6848. {
  6849. addFileHost(
  6850. "anafile\.com\/\\w+",
  6851. 'width="881" valign="top|color="#800080"|name="go"',
  6852. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6853. 'optional--',
  6854. 'optional2--',
  6855. "//a[contains(@href,'anafile.com')]");
  6856. }
  6857. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6858. {
  6859. addFileHost(
  6860. "uploadable\\.ch\/file\/\\w+",
  6861. 'captcha.js"|payment.js"|class="btn_download"',
  6862. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6863. 'optional--',
  6864. 'optional2--',
  6865. "//a[contains(@href,'uploadable.ch/file')]",
  6866. true
  6867. );
  6868. }
  6869. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6870. {
  6871. addFileHost(
  6872. "arabloads\.net\/\\w+",
  6873. 'name="method_free"|name="method_premium"',
  6874. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6875. 'optional--',
  6876. 'optional2--',
  6877. "//a[contains(@href,'arabloads.net')]");
  6878. }
  6879. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6880. {
  6881. addFileHost(
  6882. "sharerepo\.com\/\\w+",
  6883. 'name="method_free"',
  6884. 'var public_on=|The file you were looking for could not be found',
  6885. 'optional--',
  6886. 'optional2--',
  6887. "//a[contains(@href,'sharerepo.com')]");
  6888. }
  6889. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6890. {
  6891. addFileHost(
  6892. "sfshare\.se\/\\w+",
  6893. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6894. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6895. 'optional--',
  6896. 'optional2--',
  6897. "//a[contains(@href,'sfshare.se')]");
  6898. }
  6899. if (GM_getValue("Check_files_dot_fm_links", false))
  6900. {
  6901. addFileHost(
  6902. "files\.fm\/\\w+",
  6903. 'dl.png"|background-color: transparent',
  6904. 'margin: 40px 40px|background: none;',
  6905. 'optional--',
  6906. 'optional2--',
  6907. "//a[contains(@href,'files.fm')]");
  6908. }
  6909. if (GM_getValue("Check_koofile_dot_com_links", false))
  6910. {
  6911. addFileHost(
  6912. "koofile\.com\/\\w+",
  6913. 'value="download1">|name="method_free"',
  6914. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6915. 'optional--',
  6916. 'optional2--',
  6917. "//a[contains(@href,'koofile.com')]");
  6918. }
  6919. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6920. {
  6921. addFileHost(
  6922. "vidxden\\.com\/\\w+",
  6923. 'Continue to Video"',
  6924. 'No such file',
  6925. 'optional--',
  6926. 'optional2--',
  6927. "//a[contains(@href,'vidxden.com')]"
  6928. );
  6929. }
  6930. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6931. {
  6932. addFileHost(
  6933. "muchshare\\.net\/\\w+",
  6934. 'id="btn_download"',
  6935. 'File Not Found|width: 500px; text-align: left;',
  6936. 'optional--',
  6937. 'optional2--',
  6938. "//a[contains(@href,'muchshare.net')]"
  6939. );
  6940. }
  6941. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6942. {
  6943. addFileHost(
  6944. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6945. 'Details zur Datei|Details page',
  6946. 'Jetzt hochladen|upload now',
  6947. 'optional--',
  6948. 'optional2--',
  6949. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6950. );
  6951. }
  6952. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6953. {
  6954. addFileHost(
  6955. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6956. 'downloadbtn"',
  6957. 'DL_FileNotFound',
  6958. 'optional--',
  6959. 'optional2--',
  6960. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6961. );
  6962. }
  6963. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6964. {
  6965. addFileHost(
  6966. "fileflyer\.com\/view\/\\w+",
  6967. '(?:dwl|locked)btn"',
  6968. 'error.gif"|link">Removed|removedlink">',
  6969. 'optional--',
  6970. 'optional2--',
  6971. "//a[contains(@href,'fileflyer.com')]"
  6972. );
  6973. }
  6974. if (GM_getValue("Check_filestore_dot_to_links", false))
  6975. {
  6976. addFileHost(
  6977. "filestore\.to\/\\?d=\\w+",
  6978. '"downloading"',
  6979. 'Datei wurde nicht gefunden',
  6980. 'optional--',
  6981. 'optional2--',
  6982. "//a[contains(@href,'filestore.to')]"
  6983. );
  6984. }
  6985. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6986. {
  6987. addFileHost(
  6988. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6989. 'fz24">Download|class="pl15">',
  6990. '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',
  6991. 'optional--',
  6992. 'optional2--',
  6993. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  6994. );
  6995. }
  6996. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  6997. {
  6998. addFileHost(
  6999. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7000. 'File size:',
  7001. 'file is not found',
  7002. 'optional--',
  7003. 'optional2--',
  7004. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7005. );
  7006. } */
  7007. if (GM_getValue("Check_datei_dot_to_links", false))
  7008. {
  7009. addFileHost(
  7010. "datei\\.to\/\\??\\w+",
  7011. 'icon_downloaden\\.png|>Download starten<',
  7012. 'Datei wurde nicht gefunden|icon_deleted.png',
  7013. 'optional--',
  7014. 'optional2--',
  7015. "//a[contains(@href,'datei.to')]"
  7016. );
  7017. }
  7018. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7019. {
  7020. addFileHost(
  7021. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7022. '<body class="body" id="body">|value="Slow Download"',
  7023. '<body class="body" >',
  7024. 'optional--',
  7025. 'optional2--',
  7026. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7027. );
  7028. }
  7029. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7030. {
  7031. addFileHost(
  7032. "uploadhero\\.com\/dl\/\\w+",
  7033. 'content-dl">',
  7034. 'men_file_lost\\.jpg"',
  7035. 'optional--',
  7036. 'optional2--',
  7037. "//a[contains(@href,'uploadhero.com/dl')]"
  7038. );
  7039. } */
  7040. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7041. {
  7042. addFileHost(
  7043. "unibytes\\.com\/[\\w\.]+",
  7044. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7045. 'File not found|Файл не найден|',
  7046. 'optional--',
  7047. 'optional2--',
  7048. "//a[contains(@href,'unibytes.com')]"
  7049. );
  7050. }
  7051. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7052. {
  7053. addFileHost(
  7054. "www\\.hellshare\\.com\/\\d+",
  7055. 'tab\\-details"',
  7056. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7057. 'optional--',
  7058. 'optional2--',
  7059. "//a[contains(@href,'www.hellshare.com')]"
  7060. );
  7061. }
  7062. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7063. {
  7064. addFileHost(
  7065. "www\\.download.cz.hellshare\\.com\/\\w+",
  7066. 'tab\\-details"',
  7067. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7068. 'optional--',
  7069. 'optional2--',
  7070. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7071. );
  7072. }
  7073. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7074. {
  7075. addFileHost(
  7076. "quickshare\\.cz\/slozka-\\d+",
  7077. 'Počet souborů: <strong>[1-9]',
  7078. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7079. 'optional--',
  7080. 'optional2--',
  7081. "//a[contains(@href,'quickshare.cz/slozka')]"
  7082. );
  7083. } */
  7084. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7085. {
  7086. addFileHost(
  7087. "filefactory\\.com\/f\/\\w+",
  7088. 'folderFileList">',
  7089. 'table class="items"|Pointer" class="red">',
  7090. 'optional--',
  7091. 'optional2--',
  7092. "//a[contains(@href,'filefactory.com/f/')]"
  7093. );
  7094. }
  7095. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7096. {
  7097. addFileHost(
  7098. "netfolder\\.in\/\\w+",
  7099. 'list" value="http',
  7100. 'InPage_Error">|list" value=""',
  7101. 'optional--',
  7102. 'optional2--',
  7103. "//a[contains(@href,'netfolder.in')]"
  7104. );
  7105. } */
  7106. if (GM_getValue("Check_load_dot_to_links", false))
  7107. {
  7108. addFileHost(
  7109. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7110. '"download_table_left">Size',
  7111. 'Can\'t find file',
  7112. 'optional--',
  7113. 'optional2--',
  7114. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7115. );
  7116. }
  7117. if (GM_getValue("Check_divshare_dot_com_links", false))
  7118. {
  7119. addFileHost(
  7120. "divshare\\.com\/download\/",
  7121. 'download_new\.png',
  7122. 'have been removed',
  7123. 'optional--',
  7124. 'optional2--',
  7125. "//a[contains(@href,'divshare.com')]"
  7126. );
  7127. }
  7128. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7129. {
  7130. addFileHost(
  7131. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7132. 'class="nazev-souboru',
  7133. '<div class="background margin-top vlevo" style="width: 600px;">',
  7134. 'optional--',
  7135. 'optional2--',
  7136. "//a[contains(@href,'euroshare.eu/file')]"
  7137. );
  7138. }
  7139. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7140. {
  7141. addFileHost(
  7142. 'files\\.mail\\.ru/(?:\\w*)',
  7143. 'fileList',
  7144. 'errorMessage',
  7145. 'optional--',
  7146. 'optional2--',
  7147. "//a[contains(@href,'files.mail.ru')]"
  7148. );
  7149. }
  7150. if (GM_getValue("Check_megashares_dot_com_links", false))
  7151. {
  7152. addFileHost(
  7153. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7154. 'Filesize',
  7155. 'Invalid|deleted|Could not download file',
  7156. 'slots|scheduled maintenance',
  7157. 'optional2--',
  7158. "//a[contains(@href,'megashares.com/')]"
  7159. );
  7160. }
  7161. if (GM_getValue("Check_narod_dot_ru_links", false))
  7162. {
  7163. addFileHost(
  7164. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7165. 'b-submit|action="resource.download"',
  7166. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7167. 'Внутренняя ошибка сервиса',
  7168. 'optional2--',
  7169. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7170. );
  7171. }
  7172. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7173. {
  7174. addFileHost(
  7175. "rayfile\\.com\/",
  7176. 'FILEtitleTXT',
  7177. 'blueRow',
  7178. 'optional--',
  7179. 'optional2--',
  7180. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7181. );
  7182. }
  7183. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7184. {
  7185. addFileHost(
  7186. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7187. 'button_green_body"',
  7188. 'error">',
  7189. 'optional--',
  7190. 'optional2--',
  7191. "//a[contains(@href,'filesmonster.com/download')]"
  7192. );
  7193. }
  7194. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7195. {
  7196. addFileHost(
  7197. 'usaupload\\.net\/d\/(?:\w*)',
  7198. '<strong>File size:</strong>',
  7199. 'is not available',
  7200. 'optional--',
  7201. 'optional2--',
  7202. "//a[contains(@href,'usaupload.net/d/')]"
  7203. );
  7204. }
  7205. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7206. {
  7207. addFileHost(
  7208. 'sendspace\\.com\/file\/\\w+',
  7209. 'file_description',
  7210. 'msg error"',
  7211. 'optional--',
  7212. 'optional2--',
  7213. "//a[contains(@href,'sendspace.com/file')]"
  7214. );
  7215. }
  7216. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7217. {
  7218. addFileHost(
  7219. 'sendspace\\.pl\/file\/\\w+',
  7220. 'download_file"',
  7221. 'Podany plik nie',
  7222. 'optional--',
  7223. 'optional2--',
  7224. "//a[contains(@href,'sendspace.pl/file')]"
  7225. );
  7226. }
  7227. if (GM_getValue("Check_uploading_dot_com_links", false))
  7228. {
  7229. addFileHost(
  7230. 'uploading\\.com\/(?:files\/)?\\w+',
  7231. 'free_method">',
  7232. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7233. 'optional--',
  7234. 'optional2--',
  7235. "//a[contains(@href,'uploading.com')]"
  7236. );
  7237. }
  7238. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7239. {
  7240. addFileHost(
  7241. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7242. 'fileId"',
  7243. 'error">',
  7244. 'optional--',
  7245. 'optional2--',
  7246. "//a[contains(@href,'gigasize.com/get')]"
  7247. );
  7248. }
  7249. if (GM_getValue("Check_good_dot_com_links", false))
  7250. {
  7251. addFileHost(
  7252. 'good\\.net\/(?:_|dl)',
  7253. 'Free Download',
  7254. 'Not Found',
  7255. 'Forbidden',
  7256. 'optional2--',
  7257. "//a[contains(@href,'good.net')]"
  7258. );
  7259. }
  7260. if (GM_getValue("Check_2shared_dot_com_links", false))
  7261. {
  7262. addFileHost(
  7263. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7264. 'File size',
  7265. 'File not found|is not valid|/images/important.gif',
  7266. 'optional--',
  7267. 'optional2--',
  7268. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7269. );
  7270. }
  7271. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7272. {
  7273. addFileHost(
  7274. 'turboupload\\.com\/\\w*',
  7275. 'You have requested',
  7276. 'File Not Found',
  7277. 'optional--',
  7278. 'optional2--',
  7279. "//a[contains(@href,'turboupload.com')]"
  7280. );
  7281. }
  7282. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7283. {
  7284. addFileHost(
  7285. 'gigapeta\\.com\/dl\/',
  7286. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7287. '404|page_error',
  7288. 'optional--',
  7289. 'optional2--',
  7290. "//a[contains(@href,'gigapeta.com/dl')]"
  7291. );
  7292. }
  7293. if (GM_getValue("Check_veehd_dot_com_links", false))
  7294. {
  7295. addFileHost(
  7296. 'veehd\.com\/video\/.*?',
  7297. 'No sound|Download video',
  7298. 'Featured Videos',
  7299. 'optional--',
  7300. 'optional2--',
  7301. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7302. );
  7303. }
  7304. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7305. {
  7306. addFileHost(
  7307. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7308. 'fast_download_form">|submit_sms_download',
  7309. '<p style="text-align:center">',
  7310. 'optional--',
  7311. 'optional2--',
  7312. "//a[contains(@href,'vip-file.com/download')]"
  7313. );
  7314. }
  7315. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7316. {
  7317. addFileHost(
  7318. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7319. 'download\\-pnl ',
  7320. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7321. 'optional--',
  7322. 'optional2--',
  7323. "//a[contains(@href,'letitbit.net/download')]"
  7324. );
  7325. }
  7326. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7327. {
  7328. addFileHost(
  7329. 'ifolder\.ru\/\\d+',
  7330. 'file-info',
  7331. 'ui-state-error',
  7332. 'optional--',
  7333. 'optional2--',
  7334. "//a[contains(@href,'ifolder.ru')]"
  7335. );
  7336. }
  7337. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7338. {
  7339. addFileHost(
  7340. 'fileswap\\.com\/dl\/\\w+',
  7341. 'bttnDownloadLink"',
  7342. 'rounded_block_error"',
  7343. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7344. 'optional2--',
  7345. "//a[contains(@href,'fileswap.com/dl')]"
  7346. );
  7347. }
  7348. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7349. {
  7350. addFileHost(
  7351. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7352. 'var __error = 0|id="recaptchaPanel">',
  7353. 'FILES__DOESNT_EXIST|removed or did not exist',
  7354. 'optional--',
  7355. 'optional2--',
  7356. "//a[contains(@href,'filecloud.io/')]"
  7357. );
  7358. addFileHost(
  7359. 'ifile\\.it\/\\w+',
  7360. 'var __error = 0',
  7361. 'FILES__DOESNT_EXIST',
  7362. 'optional--',
  7363. 'optional2--',
  7364. "//a[contains(@href,'ifile.it/')]"
  7365. );
  7366. }
  7367. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7368. {
  7369. addFileHost(
  7370. 'solidfiles\\.com\/d\/\\w+',
  7371. 'id="download"|content="Download',
  7372. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7373. 'optional--',
  7374. 'optional2--',
  7375. "//a[contains(@href,'solidfiles.com/d')]"
  7376. );
  7377. }
  7378. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7379. {
  7380. addFileHost(
  7381. "(?:.\\.|)shareflare\\.net",
  7382. 'download-pnl|<div class="premium-block">',
  7383. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7384. 'optional--',
  7385. 'optional2--',
  7386. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7387. );
  7388. }
  7389. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7390. {
  7391. addFileHost(
  7392. "u18116681.shareflare\\.net",
  7393. 'download-pnl|<div class="premium-block">',
  7394. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7395. 'optional--',
  7396. 'optional2--',
  7397. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7398. );
  7399. }
  7400. if (GM_getValue("Check_uloz_dot_to_links", false))
  7401. {
  7402. addFileHost(
  7403. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7404. 'fileDownload">|fileSize">',
  7405. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7406. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7407. 'optional2--',
  7408. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7409. true
  7410. );
  7411. }
  7412. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7413. {
  7414. addFileHost(
  7415. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7416. 'file\\-list-orderby|section-filedetail">',
  7417. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7418. 'optional--',
  7419. 'optional2--',
  7420. "//a[contains(@href,'hellspy.')]"
  7421. );
  7422. }
  7423. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7424. {
  7425. addFileHost(
  7426. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7427. '<body onload="">',
  7428. 'neexistuje|not exist',
  7429. 'optional--',
  7430. 'optional2--',
  7431. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7432. );
  7433. }
  7434. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7435. {
  7436. addFileHost(
  7437. "stahovanizasms\\.cz\/\\w+",
  7438. 'download\\.png>|font-size:11px><tr>',
  7439. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7440. 'optional--',
  7441. 'optional2--',
  7442. "//a[contains(@href,'stahovanizasms.cz')]"
  7443. );
  7444. }
  7445. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7446. {
  7447. addFileHost(
  7448. "share-links\\.biz\/\\w*",
  7449. 'online\\.gif',
  7450. '(?:offline|parts)\\.gif',
  7451. 'optional--',
  7452. 'optional2--',
  7453. "//a[contains(@href,'share-links.biz')]"
  7454. );
  7455. }
  7456. if (GM_getValue("Check_4shared_dot_com_links", false))
  7457. {
  7458. addFileHost(
  7459. "4shared\\.com\/.+\/",
  7460. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7461. 'class="warn\"|big red"|GetDataBack',
  7462. 'Service Unavailable',
  7463. 'optional2--',
  7464. "//a[contains(@href,'4shared.com')]"
  7465. );
  7466. }
  7467. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7468. {
  7469. addFileHost(
  7470. "(?:www\\d+\.|)zippyshare\.com\/",
  7471. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7472. 'not exist|Status 404',
  7473. 'optional--',
  7474. 'optional2--',
  7475. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7476. );
  7477. }
  7478. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7479. {
  7480. addFileHost(
  7481. "mediafire\.com\/",
  7482. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7483. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7484. 'set to private',
  7485. 'optional2--',
  7486. "//a[contains(@href,'mediafire.com')]"
  7487. );
  7488. }
  7489. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7490. {
  7491. addFileHost(
  7492. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7493. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB',
  7494. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7495. 'optional--',
  7496. 'GB</small>',
  7497. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7498. );
  7499. }
  7500. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7501. {
  7502. addFileHost(
  7503. "ulozisko\.sk\/",
  7504. 'Detaily',
  7505. 'neexistuje',
  7506. 'optional--',
  7507. 'optional2--',
  7508. "//a[contains(@href,'ulozisko.sk')]"
  7509. );
  7510. }
  7511. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7512. {
  7513. addFileHost(
  7514. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7515. 'download.php',
  7516. 'notfound|upload\\-suborov\\.php"',
  7517. 'optional--',
  7518. 'optional2--',
  7519. "//a[contains(@href,'upnito.sk')]"
  7520. );
  7521. }
  7522. if (GM_getValue("Check_box_dot_com_links", false))
  7523. {
  7524. addFileHost(
  7525. "box\.com\/\\w+",
  7526. 'download-file-btn|id="download_button|preview-download',
  7527. 'BIyMin.png| <div class="error_message|link has been removed',
  7528. 'optional--',
  7529. 'optional2--',
  7530. "//a[contains(@href,'app.box.com')]");
  7531. }
  7532. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7533. {
  7534. addFileHost(
  7535. "uptobox\\.com\/\\w+",
  7536. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link',
  7537. '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|لا يوجد أي ملف',
  7538. 'Maintenance',
  7539. 'optional2--',
  7540. "//a[contains(@href,'uptobox.com')]"
  7541. );
  7542. }
  7543. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7544. {
  7545. addFileHost(
  7546. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7547. 'FILE DOWNLOAD<',
  7548. 'File Does Not Exist',
  7549. 'optional--',
  7550. 'optional2--',
  7551. "//a[contains(@href,'sharecash.org/download.php')]"
  7552. );
  7553. }
  7554. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7555. {
  7556. addFileHost(
  7557. "depositfiles\\.com\/folders\/\\w+",
  7558. '<div class="progressContainer">',
  7559. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7560. 'optional--',
  7561. 'optional2--',
  7562. "//a[contains(@href,'depositfiles.com/folders')]"
  7563. );
  7564. }
  7565. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7566. {
  7567. addFileHost(
  7568. "rapidfileshare\\.net/\\w+",
  7569. '<div id="upload-header-bg">',
  7570. '<div style="width:500px;text-align:left;">',
  7571. 'optional--',
  7572. 'optional2--',
  7573. "//a[contains(@href,'rapidfileshare.net/')]"
  7574. );
  7575. }
  7576. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7577. {
  7578. addFileHost(
  7579. "stiahnito\\.sk/",
  7580. '<span class="filesize right">',
  7581. '<ol class="list-purp-2">',
  7582. 'optional--',
  7583. 'optional2--',
  7584. "//a[contains(@href,'stiahnito.sk/')]"
  7585. );
  7586. }
  7587. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7588. {
  7589. addFileHost(
  7590. "rusfolder\\.(?:com|net)",
  7591. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7592. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7593. 'optional--',
  7594. 'optional2--',
  7595. "//a[contains(@href,'rusfolder')]"
  7596. );
  7597. }
  7598. if (GM_getValue("Check_fileover_dot_net_links", false))
  7599. {
  7600. addFileHost(
  7601. "fileover\\.net/\\d+",
  7602. 'id="filesize"',
  7603. 'Not found or deleted|The following file is unavailable',
  7604. 'optional--',
  7605. 'optional2--',
  7606. "//a[contains(@href,'fileover.net/')]"
  7607. );
  7608. }
  7609. if (GM_getValue("Check_catshare_dot_net_links", false))
  7610. {
  7611. addFileHost(
  7612. "catshare\\.net/\\w+",
  7613. '"icon-share',
  7614. 'alert alert-error',
  7615. 'optional--',
  7616. 'optional2--',
  7617. "//a[contains(@href,'catshare.net/')]"
  7618. );
  7619. }
  7620. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7621. {
  7622. addFileHost(
  7623. "anonfiles\\.com/\\w+",
  7624. '"download_button"',
  7625. '<legend><b>404</b>',
  7626. 'optional--',
  7627. 'optional2--',
  7628. "//a[contains(@href,'anonfiles.com')]"
  7629. );
  7630. }
  7631. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7632. {
  7633. addFileHost(
  7634. "mixturecloud\\.com/media/\\w+",
  7635. '"btn icon i_globe gray share_150',
  7636. '"s_cross_close"></span> 404:',
  7637. 'optional--',
  7638. 'optional2--',
  7639. "//a[contains(@href,'mixturecloud.com/media/')]"
  7640. );
  7641. }
  7642. if (GM_getValue("Check_akafile_dot_com_links", false))
  7643. {
  7644. addFileHost(
  7645. "akafile\\.com\/\\w+",
  7646. 'download1',
  7647. 'File Not Found',
  7648. 'optional--',
  7649. 'optional2--',
  7650. "//a[contains(@href,'akafile.com/')]"
  7651. );
  7652. }
  7653. if (GM_getValue("Check_creafile_dot_net_links", false))
  7654. {
  7655. addFileHost(
  7656. "creafile\\.net\/\\w+",
  7657. 'downloadblock',
  7658. 'errtitle',
  7659. 'optional--',
  7660. 'optional2--',
  7661. "//a[contains(@href,'creafile.net/')]"
  7662. );
  7663. }
  7664. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7665. {
  7666. addFileHost(
  7667. "hugefiles\\.net\/\\w+",
  7668. 'download1|class="btn-create-download" value="Create Download Link">',
  7669. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7670. 'optional--',
  7671. 'optional2--',
  7672. "//a[contains(@href,'hugefiles.net/')]"
  7673. );
  7674. }
  7675. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7676. {
  7677. addFileHost(
  7678. "sendmyway\\.com\/\\w+",
  7679. 'id="btn_download"',
  7680. '500px;text-align:left;"|<center><h3>',
  7681. 'optional--',
  7682. 'optional2--',
  7683. "//a[contains(@href,'sendmyway.com/')]"
  7684. );
  7685. }
  7686. if (GM_getValue("Check_upload_dot_ee_links", false))
  7687. {
  7688. addFileHost(
  7689. "upload\\.ee\/\\w+",
  7690. 'onmouseout="document.dllink.src',
  7691. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7692. 'optional--',
  7693. 'optional2--',
  7694. "//a[contains(@href,'upload.ee/')]"
  7695. );
  7696. }
  7697. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7698. {
  7699. addFileHost(
  7700. "shareplace\\.org\/\\?\\w+",
  7701. 'Download-Link',
  7702. 'Your requested file is not found|Select file to send',
  7703. 'optional--',
  7704. 'optional2--',
  7705. "//a[contains(@href,'shareplace.org/?')]"
  7706. );
  7707. }
  7708. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7709. {
  7710. addFileHost(
  7711. "uploadc\\.com\/\\w+",
  7712. 'id="prebut"',
  7713. 'File Not Found|This file has been removed due',
  7714. 'optional--',
  7715. 'optional2--',
  7716. "//a[contains(@href,'uploadc.com/')]"
  7717. );
  7718. }
  7719. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7720. {
  7721. addFileHost(
  7722. "remixshare\\.com\/\\w+",
  7723. 'id="dl2"',
  7724. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7725. 'optional--',
  7726. 'optional2--',
  7727. "//a[contains(@href,'remixshare.com/')]"
  7728. );
  7729. }
  7730. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7731. {
  7732. addFileHost(
  7733. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7734. 'Last Download :',
  7735. 'img src="\\/404.jpg"',
  7736. 'optional--',
  7737. 'optional2--',
  7738. "//a[contains(@href,'exoshare.com/download.php')]"
  7739. );
  7740. }
  7741. if (GM_getValue("Check_borncash_dot_org_links", false))
  7742. {
  7743. addFileHost(
  7744. "borncash\\.org\/download\/\\?a=\\w+",
  7745. 'class="knop_1"',
  7746. '\/error\/er00',
  7747. 'optional--',
  7748. 'optional2--',
  7749. "//a[contains(@href,'borncash.org/download/')]"
  7750. );
  7751. }
  7752. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7753. {
  7754. addFileHost(
  7755. "vidplay\.net\/\\w+",
  7756. 'solvemedia puzzle widget',
  7757. 'File not found|AVOID_IE_BUG',
  7758. 'optional--',
  7759. 'optional2--',
  7760. "//a[contains(@href,'vidplay.net')]");
  7761. }
  7762. if (GM_getValue("Check_storagon_dot_com_links", false))
  7763. {
  7764. addFileHost(
  7765. "storagon\.com\/\\w+",
  7766. 'class="icon-cloud-download"></i>|content="Download Options',
  7767. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7768. 'optional--',
  7769. 'optional2--',
  7770. "//a[contains(@href,'storagon.com')]");
  7771. }
  7772. if (GM_getValue("Check_filedais_dot_com_links", false))
  7773. {
  7774. addFileHost(
  7775. "filedais\.com\/\\w+",
  7776. 'class="btn btn-info"|name="method_free"',
  7777. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7778. 'optional--',
  7779. 'optional2--',
  7780. "//a[contains(@href,'filedais.com')]");
  7781. }
  7782. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7783. {
  7784. addFileHost(
  7785. "up.4share\.vn\/\\w+",
  7786. '<font size="2" face="Verdana">',
  7787. 'font: 13px Tahoma; color: Brown',
  7788. 'optional--',
  7789. 'optional2--',
  7790. "//a[contains(@href,'up.4share.vn')]");
  7791. }
  7792. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7793. {
  7794. addFileHost(
  7795. "share.vnn\.vn\/\\w+",
  7796. '"index,follow"|<div class="main" id="download-box">',
  7797. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7798. 'optional--',
  7799. 'optional2--',
  7800. "//a[contains(@href,'share.vnn.vn')]");
  7801. }
  7802. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7803. {
  7804. addFileHost(
  7805. "upfile\.vn\/\\w+",
  7806. 'download-timer',
  7807. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7808. 'optional--',
  7809. 'optional2--',
  7810. "//a[contains(@href,'upfile.vn')]");
  7811. }
  7812. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7813. {
  7814. addFileHost(
  7815. "aisfile\.com\/\\w+",
  7816. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7817. '<div style="width:500px;text-align:left;">|File Not Found',
  7818. 'optional--',
  7819. 'optional2--',
  7820. "//a[contains(@href,'aisfile.com')]");
  7821. }
  7822. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7823. {
  7824. addFileHost(
  7825. "usersfiles\.com\/\\w+",
  7826. 'class="btn btn-success|id="btn_download" class="btn"',
  7827. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7828. 'optional--',
  7829. 'optional2--',
  7830. "//a[contains(@href,'usersfiles.com')]");
  7831. }
  7832. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7833. {
  7834. addFileHost(
  7835. "pan.baidu\.com\/\\w+",
  7836. 'target="_blank" title=|share-personal-info',
  7837. 'share_notfound.png|background:#f9f9f9',
  7838. 'optional--',
  7839. 'optional2--',
  7840. "//a[contains(@href,'pan.baidu.com')]");
  7841. }
  7842. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7843. {
  7844. addFileHost(
  7845. "yunpan\.cn\/\\w+",
  7846. 'class="icon icon-download',
  7847. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7848. 'optional--',
  7849. 'optional2--',
  7850. "//a[contains(@href,'yunpan.cn')]");
  7851. }
  7852. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7853. {
  7854. addFileHost(
  7855. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7856. 'getElementById("downbild")|style.display',
  7857. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7858. 'optional--',
  7859. 'optional2--',
  7860. "//a[contains(@href,'file-upload.net')]");
  7861. }
  7862. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7863. {
  7864. addFileHost(
  7865. "gulfup\.com\/",
  7866. '<!-- Downlod template -->|download.gif',
  7867. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7868. 'optional--',
  7869. 'optional2--',
  7870. "//a[contains(@href,'gulfup.com')]");
  7871. }
  7872. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7873. {
  7874. addFileHost(
  7875. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7876. 'dldtable">',
  7877. 'does not exist\\.',
  7878. 'optional--',
  7879. 'optional2--',
  7880. "//a[contains(@href,'datafilehost.com')]");
  7881. }
  7882. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7883. {
  7884. addFileHost(
  7885. "dropbox\.com\/s\/\\w+",
  7886. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7887. '>Nothing Here<|>Error (404)<',
  7888. 'title>Dropbox - 509|Error (403)|Error: 429',
  7889. 'optional2--',
  7890. "//a[contains(@href,'dropbox.com')]");
  7891. }
  7892. if (GM_getValue("Check_box_dot_net_links", false))
  7893. {
  7894. addFileHost(
  7895. "box\.net\/\\w+",
  7896. 'download-file-btn|id="download_button',
  7897. 'BIyMin.png| <div class="error_message',
  7898. 'optional--',
  7899. 'optional2--',
  7900. "//a[contains(@href,'box.net')]");
  7901. }
  7902. if (GM_getValue("Check_fileband_dot_com_links", false))
  7903. {
  7904. addFileHost(
  7905. "fileband\.com\/\\w+",
  7906. 'value="download1">|name="id" value=',
  7907. '<div style="width:500px;text-align:left;">|not be found',
  7908. 'optional--',
  7909. 'optional2--',
  7910. "//a[contains(@href,'fileband.com')]");
  7911. }
  7912. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7913. {
  7914. addFileHost(
  7915. "filedropper\.com\/\\w+",
  7916. 'background:#ddd;|width:985px; ',
  7917. 'background-color:#FFFFFF;|margin-left: -400px;',
  7918. 'optional--',
  7919. 'optional2--',
  7920. "//a[contains(@href,'filedropper.com')]");
  7921. }
  7922. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7923. {
  7924. addFileHost(
  7925. "tropicshare\\.com\/files\/\\d+",
  7926. 'MB</span>|GB</span>|KB</span>',
  7927. '>FNF<|size: </span>',
  7928. 'optional--',
  7929. 'optional2--',
  7930. "//a[contains(@href,'tropicshare.com')]");
  7931. }
  7932. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7933. {
  7934. addFileHost(
  7935. "goldbytez\.com\/\\w+",
  7936. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7937. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7938. 'optional--',
  7939. 'optional2--',
  7940. "//a[contains(@href,'goldbytez.com')]");
  7941. }
  7942. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7943. {
  7944. addFileHost(
  7945. "worldbytez\.com\/\\w+",
  7946. '<div class="download_type">',
  7947. '<div style="width:500px;text-align:left;">',
  7948. 'optional--',
  7949. 'optional2--',
  7950. "//a[contains(@href,'worldbytez.com')]");
  7951. }
  7952. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7953. {
  7954. addFileHost(
  7955. "freefilehosting\.net\/\\w+",
  7956. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7957. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7958. 'optional--',
  7959. 'optional2--',
  7960. "//a[contains(@href,'freefilehosting.net')]");
  7961. }
  7962. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7963. {
  7964. addFileHost(
  7965. "ziddu\.com\/\\w+",
  7966. 'downloads.ziddu.com|downloadfilelinkicon',
  7967. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7968. 'optional--',
  7969. 'optional2--',
  7970. "//a[contains(@href,'ziddu.com')]");
  7971. }
  7972. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7973. {
  7974. addFileHost(
  7975. "exclusiveloader\.com\/\\w+",
  7976. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7977. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7978. 'optional--',
  7979. 'optional2--',
  7980. "//a[contains(@href,'exclusiveloader.com')]");
  7981. }
  7982. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7983. {
  7984. addFileHost(
  7985. "sharerapid\.cz\/\\w+",
  7986. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7987. 'error_div">|404 - Not Found',
  7988. 'optional--',
  7989. 'optional2--',
  7990. "//a[contains(@href,'sharerapid.cz')]");
  7991. }
  7992. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7993. {
  7994. addFileHost(
  7995. "sdilej\.cz\/\\w+",
  7996. 'class="page-download"',
  7997. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  7998. 'optional--',
  7999. 'optional2--',
  8000. "//a[contains(@href,'sdilej.cz')]");
  8001. }
  8002. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8003. {
  8004. addFileHost(
  8005. "lafiles\.com\/\\w+",
  8006. '<div id="pay_modes">',
  8007. '<b class="err"></b>',
  8008. 'optional--',
  8009. 'optional2--',
  8010. "//a[contains(@href,'lafiles.com')]");
  8011. }
  8012. if (GM_getValue("Check_acefile_dot_net_links", false))
  8013. {
  8014. addFileHost(
  8015. "acefile\.net\/\\w+",
  8016. 'align=right nowrap><b>',
  8017. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8018. 'optional--',
  8019. 'optional2--',
  8020. "//a[contains(@href,'acefile.net')]");
  8021. }
  8022. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8023. {
  8024. addFileHost(
  8025. "megarapid\.cz\/\\w+",
  8026. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8027. 'error_div">|404 - Not Found',
  8028. 'optional--',
  8029. 'optional2--',
  8030. "//a[contains(@href,'megarapid.cz')]");
  8031. }
  8032. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8033. {
  8034. addFileHost(
  8035. "yadi\.sk\/\\w+",
  8036. 'twitter:site|View and download',
  8037. 'error code|Nothing found',
  8038. 'optional--',
  8039. 'optional2--',
  8040. "//a[contains(@href,'yadi.sk')]");
  8041. }
  8042. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8043. {
  8044. addFileHost(
  8045. "imdb\.com\/\\w+",
  8046. 'imdb.com',
  8047. '404 Error',
  8048. 'optional--',
  8049. 'optional2--',
  8050. "//a[contains(@href,'imdb.com')]");
  8051. } */
  8052. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8053. {
  8054. addFileHost(
  8055. "hitfile\.net\/\\w+",
  8056. 'class="download-file',
  8057. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8058. 'optional--',
  8059. 'optional2--',
  8060. "//a[contains(@href,'hitfile.net')]");
  8061. }
  8062. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8063. {
  8064. addFileHost(
  8065. "nitroflare\.com\/\\w+",
  8066. 'Report this file</a>|KB</span>',
  8067. 'file has been removed|id="error" style="display|Probably deleted',
  8068. 'optional--',
  8069. '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',
  8070. "//a[contains(@href,'nitroflare.com')]");
  8071. }
  8072. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8073. {
  8074. addFileHost(
  8075. "up.top4top\.net\/\\w+",
  8076. 'start Downlod template',
  8077. 'start err template',
  8078. 'optional--',
  8079. 'optional2--',
  8080. "//a[contains(@href,'up.top4top.net')]");
  8081. }
  8082. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8083. {
  8084. addFileHost(
  8085. "filejoker\.net\/\\w+",
  8086. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8087. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8088. 'optional--',
  8089. 'id="download" class="premium-only">',
  8090. "//a[contains(@href,'filejoker.net')]");
  8091. }
  8092. if (GM_getValue("Check_free_dot_fr_links", false))
  8093. {
  8094. addFileHost(
  8095. "(?:dl.\\.|)free\\.fr",
  8096. 'Valider et t&eacute;l&eacute',
  8097. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8098. 'optional--',
  8099. 'optional2--',
  8100. "//a[contains(@href,'dl.free.fr')]");
  8101. }
  8102. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8103. {
  8104. addFileHost(
  8105. "gboxes\.com\/\\w+",
  8106. 'You have requested|color="red">http://www.gboxes.com',
  8107. 'File Not Found|<div style="width:500px;text-align:left;">',
  8108. 'optional--',
  8109. 'optional2--',
  8110. "//a[contains(@href,'gboxes.com')]");
  8111. }
  8112. if (GM_getValue("Check_led_dot_wf_links", false))
  8113. {
  8114. addFileHost(
  8115. "led\.wf\/\\w+",
  8116. 'logo_0.png|downloads.gif"|verifycode',
  8117. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8118. 'optional--',
  8119. 'available only for Premium users',
  8120. "//a[contains(@href,'led.wf')]");
  8121. }
  8122. if (GM_getValue("Check_lan_dot_wf_links", false))
  8123. {
  8124. addFileHost(
  8125. "lan\.wf\/\\w+",
  8126. 'logo_0.png|downloads.gif"|verifycode',
  8127. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8128. 'optional--',
  8129. 'available only for Premium users',
  8130. "//a[contains(@href,'lan.wf')]");
  8131. }
  8132. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8133. {
  8134. addFileHost(
  8135. "adlink\.wf\/\\w+",
  8136. 'logo_0.png|downloads.gif"|verifycode',
  8137. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8138. 'optional--',
  8139. 'available only for Premium users',
  8140. "//a[contains(@href,'adlink.wf')]");
  8141. }
  8142. if (GM_getValue("Check_click_dot_tf_links", false))
  8143. {
  8144. addFileHost(
  8145. "click\.tf\/\\w+",
  8146. 'logo_0.png|downloads.gif"|verifycode',
  8147. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8148. 'optional--',
  8149. 'available only for Premium users',
  8150. "//a[contains(@href,'click.tf')]");
  8151. }
  8152. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8153. {
  8154. addFileHost(
  8155. "ssh\.tf\/\\w+",
  8156. 'logo_0.png|downloads.gif"|verifycode',
  8157. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8158. 'optional--',
  8159. 'available only for Premium users',
  8160. "//a[contains(@href,'ssh.tf')]");
  8161. }
  8162. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8163. {
  8164. addFileHost(
  8165. "ssh\.yt\/\\w+",
  8166. 'logo_0.png|downloads.gif"|verifycode',
  8167. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8168. 'optional--',
  8169. 'available only for Premium users',
  8170. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8171. }
  8172. if (GM_getValue("Check_yep_dot_pm_links", false))
  8173. {
  8174. addFileHost(
  8175. "yep\.pm\/\\w+",
  8176. 'logo_0.png|downloads.gif"|verifycode',
  8177. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8178. 'optional--',
  8179. 'available only for Premium users',
  8180. "//a[contains(@href,'yep.pm')]");
  8181. }
  8182. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8183. {
  8184. addFileHost(
  8185. "kyc\.pm\/\\w+",
  8186. 'logo_0.png|downloads.gif"|verifycode',
  8187. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8188. 'optional--',
  8189. 'available only for Premium users',
  8190. "//a[contains(@href,'kyc.pm')]");
  8191. }
  8192. if (GM_getValue("Check_brupload_dot_net_links", false))
  8193. {
  8194. addFileHost(
  8195. "brupload\.net\/\\w+",
  8196. 'Download Gratuito',
  8197. '<div style="width:500px;text-align:left;">',
  8198. 'optional--',
  8199. 'optional2--',
  8200. "//a[contains(@href,'brupload.net')]");
  8201. }
  8202. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8203. {
  8204. addFileHost(
  8205. "cloudzilla\.to\/\\w+",
  8206. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8207. 'File not found|/imgs/broken.png',
  8208. 'optional--',
  8209. 'optional2--',
  8210. "//a[contains(@href,'cloudzilla.to')]");
  8211. }
  8212. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8213. {
  8214. addFileHost(
  8215. "fileparadox\.in\/\\w+",
  8216. 'CONTENT="Download File|method_free_file',
  8217. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8218. 'optional--',
  8219. 'optional2--',
  8220. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8221. } */
  8222. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8223. {
  8224. addFileHost(
  8225. "clicknupload\.com\/\\w+",
  8226. 'name="method_free',
  8227. 'File Not Found',
  8228. 'optional--',
  8229. 'optional2--',
  8230. "//a[contains(@href,'clicknupload.com')]");
  8231. }
  8232. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8233. {
  8234. addFileHost(
  8235. "clicknupload\.me\/\\w+",
  8236. 'name="method_free',
  8237. 'File Not Found',
  8238. 'optional--',
  8239. 'optional2--',
  8240. "//a[contains(@href,'clicknupload.me')]");
  8241. }
  8242. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8243. {
  8244. addFileHost(
  8245. "ex-load\.com\/\\w+",
  8246. 'name="method_free|<p>Download File:</p>',
  8247. 'Folder Not Found|File Not Found|Error 404',
  8248. 'optional--',
  8249. 'class="downprem wow bounceInLeft',
  8250. "//a[contains(@href,'ex-load.com')]");
  8251. }
  8252. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8253. {
  8254. addFileHost(
  8255. "hexupload\.com\/\\w+",
  8256. 'button" value="Free|type="submit" value=""',
  8257. 'File Not Found|<div style="width:500px;text-align:left;">',
  8258. 'optional--',
  8259. 'optional2--',
  8260. "//a[contains(@href,'hexupload.com')]");
  8261. }
  8262. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8263. {
  8264. addFileHost(
  8265. "wizupload\.com\/\\w+",
  8266. 'btn_download|class="downloadbtn"',
  8267. '>File Not Found<',
  8268. 'optional--',
  8269. 'optional2--',
  8270. "//a[contains(@href,'wizupload.com')]");
  8271. }
  8272. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8273. {
  8274. addFileHost(
  8275. "filecloud\.cc\/\\w+",
  8276. 'align="center"><input type="submit" name=',
  8277. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8278. 'optional--',
  8279. 'optional2--',
  8280. "//a[contains(@href,'filecloud.cc')]");
  8281. }
  8282. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8283. {
  8284. addFileHost(
  8285. "inclouddrive\.com\/\\w+",
  8286. 'initfreedownload',
  8287. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8288. 'optional--',
  8289. 'optional2--',
  8290. "//a[contains(@href,'inclouddrive.com')]");
  8291. }
  8292. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8293. {
  8294. addFileHost(
  8295. "radicalshare\.com\/\\w+",
  8296. 'value="download1|name="method_free"',
  8297. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8298. 'optional--',
  8299. 'optional2--',
  8300. "//a[contains(@href,'radicalshare.com')]");
  8301. }
  8302. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8303. {
  8304. addFileHost(
  8305. "sharemods\.com\/\\w+",
  8306. 'name="method_free"',
  8307. 'File Not Found<',
  8308. 'optional--',
  8309. 'optional2--',
  8310. "//a[contains(@href,'sharemods.com')]");
  8311. }
  8312. if (GM_getValue("Check_hostr_dot_co_links", false))
  8313. {
  8314. addFileHost(
  8315. "hostr\.co\/\\w+",
  8316. 'method="get"',
  8317. 'File not found<|error-page',
  8318. 'optional--',
  8319. 'optional2--',
  8320. "//a[contains(@href,'hostr.co')]");
  8321. }
  8322. if (GM_getValue("Check_filepi_dot_com_links", false))
  8323. {
  8324. addFileHost(
  8325. "filepi\.com\/\\w+",
  8326. 'id="button_start">',
  8327. 'File not found',
  8328. 'optional--',
  8329. 'optional2--',
  8330. "//a[contains(@href,'filepi.com')]");
  8331. }
  8332. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8333. {
  8334. addFileHost(
  8335. "tikfile\.com\/\\w+",
  8336. 'btn_download',
  8337. 'File Not Found|file was removed|Reason for deletion',
  8338. 'optional--',
  8339. 'optional2--',
  8340. "//a[contains(@href,'tikfile.com')]");
  8341. }
  8342. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8343. {
  8344. addFileHost(
  8345. "cloudsix\.me\/\\w+",
  8346. 'name="method_free"',
  8347. 'File Not Found|width:500px;text-align:left;">',
  8348. 'optional--',
  8349. 'optional2--',
  8350. "//a[contains(@href,'cloudsix.me')]");
  8351. }
  8352. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8353. {
  8354. addFileHost(
  8355. "neodrive\.co\/\\w+",
  8356. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8357. 'File not found|/imgs/broken.png',
  8358. 'optional--',
  8359. 'optional2--',
  8360. "//a[contains(@href,'neodrive.co')]");
  8361. }
  8362. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8363. {
  8364. addFileHost(
  8365. "chayfile\.com\/\\w+",
  8366. 'name="method_free"',
  8367. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8368. 'optional--',
  8369. 'optional2--',
  8370. "//a[contains(@href,'chayfile.com')]");
  8371. }
  8372. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8373. {
  8374. addFileHost(
  8375. "xfileload\.com\/\\w+",
  8376. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8377. '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..|הקובץ שחיפשת לא נמצא.',
  8378. 'optional--',
  8379. 'optional2--',
  8380. "//a[contains(@href,'xfileload.com')]");
  8381. }
  8382. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8383. {
  8384. addFileHost(
  8385. "rockfile\.eu\/\\w+",
  8386. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8387. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8388. 'optional--',
  8389. 'optional2--',
  8390. "//a[contains(@href,'rockfile.eu')]");
  8391. }
  8392. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8393. {
  8394. addFileHost(
  8395. "24uploading\.com\/\\w+",
  8396. 'File:|Download Speed:',
  8397. '<b>File Not Found</b>|file was removed',
  8398. 'optional--',
  8399. 'optional2--',
  8400. "//a[contains(@href,'24uploading.com')]");
  8401. }
  8402. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8403. {
  8404. addFileHost(
  8405. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8406. 'i/icon/dll.png"|>Start download<br',
  8407. 'no longer available<|i/ino.png"',
  8408. 'optional--',
  8409. 'optional2--',
  8410. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8411. }
  8412. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8413. {
  8414. addFileHost(
  8415. "jumbofile\.net\/\\w+",
  8416. 'button" class="" value="Free',
  8417. 'This File Was Deleted',
  8418. 'optional--',
  8419. 'optional2--',
  8420. "//a[contains(@href,'jumbofile.net')]");
  8421. } */
  8422. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8423. {
  8424. addFileHost(
  8425. "ozofiles\.com\/\\w+",
  8426. 'button" value="Free|name="method_free',
  8427. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8428. 'optional--',
  8429. 'optional2--',
  8430. "//a[contains(@href,'ozofiles.com')]");
  8431. }
  8432. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8433. {
  8434. addFileHost(
  8435. "loudupload\.net\/\\w+",
  8436. 'value="Get Links',
  8437. 'File Not Found',
  8438. 'optional--',
  8439. 'optional2--',
  8440. "//a[contains(@href,'loudupload.net')]");
  8441. }
  8442. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8443. {
  8444. addFileHost(
  8445. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8446. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8447. '>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">',
  8448. 'optional--',
  8449. 'optional2--',
  8450. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8451. }
  8452. if (GM_getValue("Check_krotix_dot_net_links", false))
  8453. {
  8454. addFileHost(
  8455. "krotix\.net\/\\w+",
  8456. 'btn btn-warning|btn-free',
  8457. 'pageErrors|This File has been removed',
  8458. 'content="Scheduled Maintenance',
  8459. 'optional2--',
  8460. "//a[contains(@href,'krotix.net')]");
  8461. } */
  8462. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8463. {
  8464. addFileHost(
  8465. "userscloud\.com\/\\w+",
  8466. 'btn_download',
  8467. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8468. 'optional--',
  8469. 'optional2--',
  8470. "//a[contains(@href,'userscloud.com')]");
  8471. }
  8472. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8473. {
  8474. addFileHost(
  8475. "kumpulbagi\.com\/\\w+",
  8476. 'class="button download',
  8477. 'internal server error',
  8478. 'optional--',
  8479. 'optional2--',
  8480. "//a[contains(@href,'kumpulbagi.com')]");
  8481. }
  8482. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8483. {
  8484. addFileHost(
  8485. "kb.simple-aja\.info\/\\w+",
  8486. 'class="button download',
  8487. 'internal server error|<p>404</p>',
  8488. 'optional--',
  8489. 'optional2--',
  8490. "//a[contains(@href,'kb.simple')]");
  8491. }
  8492. if (GM_getValue("Check_faststore_dot_org_links", false))
  8493. {
  8494. addFileHost(
  8495. "faststore\.org\/\\w+",
  8496. 'name="method_free',
  8497. 'File Not Found',
  8498. 'optional--',
  8499. 'optional2--',
  8500. "//a[contains(@href,'faststore.org')]");
  8501. }
  8502. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8503. {
  8504. addFileHost(
  8505. "prefiles\.com\/\\w+",
  8506. 'id="method_free',
  8507. 'File not Found',
  8508. 'optional--',
  8509. 'optional2--',
  8510. "//a[contains(@href,'prefiles.com')]");
  8511. }
  8512. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8513. {
  8514. addFileHost(
  8515. "doraupload\.com\/\\w+",
  8516. 'btn_download|name="method_free',
  8517. 'class="error-code|Could Not Be Found',
  8518. 'optional--',
  8519. 'optional2--',
  8520. "//a[contains(@href,'doraupload.com')]");
  8521. }
  8522. if (GM_getValue("Check_openload_dot_io_links", false))
  8523. {
  8524. addFileHost(
  8525. "openload\.io\/\\w+",
  8526. 'btn btn-primary|class="count">|secondsleftouter',
  8527. 'class="jumbotron">|We are sorry',
  8528. 'optional--',
  8529. 'optional2--',
  8530. "//a[contains(@href,'openload.io')]");
  8531. }
  8532. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8533. {
  8534. addFileHost(
  8535. "uploads\.xxx\/\\w+",
  8536. 'downoadForFree',
  8537. 'File not found',
  8538. 'optional--',
  8539. 'optional2--',
  8540. "//a[contains(@href,'uploads.xxx')]");
  8541. }
  8542. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8543. {
  8544. addFileHost(
  8545. "zxcfiles\.com\/\\w+",
  8546. 'class="downloadbtn',
  8547. 'File Not Found',
  8548. 'optional--',
  8549. 'optional2--',
  8550. "//a[contains(@href,'zxcfiles.com')]");
  8551. }
  8552. if (GM_getValue("Check_up07_dot_net_links", false))
  8553. {
  8554. addFileHost(
  8555. "up07\.net\/\\w+",
  8556. 'name="method_free',
  8557. 'File Not Found',
  8558. 'optional--',
  8559. 'optional2--',
  8560. "//a[contains(@href,'up07.net')]");
  8561. }
  8562. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8563. {
  8564. addFileHost(
  8565. "fileupload\.pw\/\\w+",
  8566. 'value="Free"',
  8567. 'File Not Found',
  8568. 'optional--',
  8569. 'optional2--',
  8570. "//a[contains(@href,'fileupload.pw')]");
  8571. }
  8572. if (GM_getValue("Check_4upld_dot_com_links", false))
  8573. {
  8574. addFileHost(
  8575. "4upld\.com\/\\w+",
  8576. 'alt="Download Now"|content="Download file">|btn-free-element',
  8577. '<title>Error|content="error|File not found',
  8578. 'optional--',
  8579. 'optional2--',
  8580. "//a[contains(@href,'4upld.com')]");
  8581. }
  8582. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8583. {
  8584. addFileHost(
  8585. "newfileland\.com\/\\w+",
  8586. 'name="method_free',
  8587. 'File Not Found',
  8588. 'optional--',
  8589. 'optional2--',
  8590. "//a[contains(@href,'newfileland.com')]");
  8591. } */
  8592. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8593. {
  8594. addFileHost(
  8595. "(?:.swoopshare)\\.com\/\\w+",
  8596. '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',
  8597. '<input type="file" name="f"',
  8598. 'optional--',
  8599. 'optional2--',
  8600. "//a[contains(@href,'swoopshare.com')]"
  8601. );
  8602. }
  8603. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8604. {
  8605. addFileHost(
  8606. "cloudshares\.net\/\\w+",
  8607. '"method_free|"Low Speed Download|submit" name="go',
  8608. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8609. 'optional--',
  8610. 'optional2--',
  8611. "//a[contains(@href,'cloudshares.net')]"
  8612. );
  8613. }
  8614. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8615. {
  8616. addFileHost(
  8617. "allmyvideos\.net\/\\w+",
  8618. 'Continue to Video',
  8619. 'File Not Found|class="err">Removed for',
  8620. 'optional--',
  8621. 'optional2--',
  8622. "//a[contains(@href,'allmyvideos.net')]"
  8623. );
  8624. }
  8625. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8626. {
  8627. addFileHost(
  8628. "vodlocker\.com\/\\w+",
  8629. 'Proceed to video',
  8630. 'Not Found',
  8631. 'optional--',
  8632. 'optional2--',
  8633. "//a[contains(@href,'vodlocker.com')]"
  8634. );
  8635. }
  8636. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8637. {
  8638. addFileHost(
  8639. "vidbull\.com\/\\w+",
  8640. 'Verifying Video Request',
  8641. 'File Not Found',
  8642. 'optional--',
  8643. 'optional2--',
  8644. "//a[contains(@href,'vidbull.com')]");
  8645. }
  8646. if (GM_getValue("Check_novamov_dot_com_links", false))
  8647. {
  8648. addFileHost(
  8649. "novamov\.com\/\\w+",
  8650. 'For version detection',
  8651. 'file no longer exists',
  8652. 'optional--',
  8653. 'optional2--',
  8654. "//a[contains(@href,'novamov.com')]"
  8655. );
  8656. }
  8657. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8658. {
  8659. addFileHost(
  8660. "filehoot\.com\/\\w+",
  8661. 'Continue to watch',
  8662. 'File Not Found',
  8663. 'optional--',
  8664. 'optional2--',
  8665. "//a[contains(@href,'filehoot.com')]"
  8666. );
  8667. }
  8668. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8669. {
  8670. addFileHost(
  8671. "stagevu\.com\/\\w+",
  8672. 'Video Info',
  8673. 'No video with the provided',
  8674. 'optional--',
  8675. 'optional2--',
  8676. "//a[contains(@href,'stagevu.com')]"
  8677. );
  8678. }
  8679. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8680. {
  8681. addFileHost(
  8682. "cloudtime\.to\/\\w+",
  8683. 'Download the video',
  8684. 'no longer exists',
  8685. 'optional--',
  8686. 'optional2--',
  8687. "//a[contains(@href,'cloudtime.to')]"
  8688. );
  8689. }
  8690. if (GM_getValue("Check_streamin_dot_to_links", false))
  8691. {
  8692. addFileHost(
  8693. "streamin\.to\/\\w+",
  8694. 'id="btn_download',
  8695. 'Not Found|Copyright Infringement|File Deleted',
  8696. 'optional--',
  8697. 'optional2--',
  8698. "//a[contains(@href,'streamin.to')]"
  8699. );
  8700. }
  8701. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8702. {
  8703. addFileHost(
  8704. "videoweed\.es\/\\w+",
  8705. 'version detection',
  8706. 'no longer exists',
  8707. 'optional--',
  8708. 'optional2--',
  8709. "//a[contains(@href,'videoweed.es')]"
  8710. );
  8711. }
  8712. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8713. {
  8714. addFileHost(
  8715. "nowvideo\.sx\/\\w+",
  8716. 'Download this video|value="submit">Continue',
  8717. 'no longer exists',
  8718. 'optional--',
  8719. 'optional2--',
  8720. "//a[contains(@href,'nowvideo.sx')]"
  8721. );
  8722. }
  8723. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8724. {
  8725. addFileHost(
  8726. "thevideo\.me\/\\w+",
  8727. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8728. 'File Not Found',
  8729. 'optional--',
  8730. 'optional2--',
  8731. "//a[contains(@href,'thevideo.me')]"
  8732. );
  8733. }
  8734. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8735. {
  8736. addFileHost(
  8737. "gorillavid\.in\/\\w+",
  8738. 'Wait 5 seconds',
  8739. 'File Not Found',
  8740. 'optional--',
  8741. 'optional2--',
  8742. "//a[contains(@href,'gorillavid.in')]"
  8743. );
  8744. }
  8745. if (GM_getValue("Check_thefile_dot_me_links", false))
  8746. {
  8747. addFileHost(
  8748. "thefile\.me\/\\w+",
  8749. 'Choose free or',
  8750. '',
  8751. 'optional--',
  8752. 'optional2--',
  8753. "//a[contains(@href,'thefile.me')]"
  8754. );
  8755. }
  8756. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8757. {
  8758. addFileHost(
  8759. "vidzi\.tv\/\\w+",
  8760. 'video-embed-modal row',
  8761. 'File Not Found|file was deleted',
  8762. 'optional--',
  8763. 'optional2--',
  8764. "//a[contains(@href,'vidzi.tv')]"
  8765. );
  8766. }
  8767. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8768. {
  8769. addFileHost(
  8770. "filenuke\.com\/\\w+",
  8771. 'Download File',
  8772. 'Earn with us',
  8773. 'optional--',
  8774. 'optional2--',
  8775. "//a[contains(@href,'filenuke.com')]"
  8776. );
  8777. }
  8778. if (GM_getValue("Check_vidto_dot_me_links", false))
  8779. {
  8780. addFileHost(
  8781. "vidto\.me\/\\w+",
  8782. 'Proceed to video',
  8783. 'Not Found',
  8784. 'optional--',
  8785. 'optional2--',
  8786. "//a[contains(@href,'vidto.me')]"
  8787. );
  8788. }
  8789. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8790. {
  8791. addFileHost(
  8792. "vidspot\.net\/\\w+",
  8793. 'Duration',
  8794. 'Removed for',
  8795. 'optional--',
  8796. 'optional2--',
  8797. "//a[contains(@href,'vidspot.net')]"
  8798. );
  8799. }
  8800. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8801. {
  8802. addFileHost(
  8803. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8804. 'Download File',
  8805. 'File Not Found',
  8806. 'optional--',
  8807. 'optional2--',
  8808. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8809. );
  8810. }
  8811. if (GM_getValue("Check_movpod_dot_in_links", false))
  8812. {
  8813. addFileHost(
  8814. "movpod\.in\/\\w+",
  8815. 'Continue',
  8816. 'File Not Found',
  8817. 'optional--',
  8818. 'optional2--',
  8819. "//a[contains(@href,'movpod.in')]"
  8820. );
  8821. }
  8822. /* if (GM_getValue("Check_down4files_dot_com_links", false))
  8823. {
  8824. addFileHost(
  8825. "down4files\.com\/\\w+",
  8826. 'down_table.png',
  8827. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8828. 'optional--',
  8829. 'optional2--',
  8830. "//a[contains(@href,'down4files.com')]"
  8831. );
  8832. } */
  8833. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8834. {
  8835. addFileHost(
  8836. "storefiles\.co\/\\w+",
  8837. 'btn_download',
  8838. 'No such file|>Error<|mqmaintitle">',
  8839. 'optional--',
  8840. 'optional2--',
  8841. "//a[contains(@href,'storefiles.co')]"
  8842. );
  8843. }
  8844. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8845. {
  8846. addFileHost(
  8847. "filehost\.pw\/\\w+",
  8848. 'name="method_free',
  8849. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8850. 'optional--',
  8851. 'optional2--',
  8852. "//a[contains(@href,'filehost.pw')]"
  8853. );
  8854. }
  8855. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8856. {
  8857. addFileHost(
  8858. "inafile\.com\/\\w+",
  8859. 'value="download1">|<h2>File: <font style="color:darkred">',
  8860. '<div style="width:500px;text-align:left;">|File Not Found',
  8861. 'optional--',
  8862. 'optional2--',
  8863. "//a[contains(@href,'inafile.com')]"
  8864. );
  8865. } */
  8866. if (GM_getValue("Check_uplea_dot_com_links", false))
  8867. {
  8868. addFileHost(
  8869. "uplea\.com\/\\w+",
  8870. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8871. 'expired link|ou est invalide',
  8872. 'optional--',
  8873. 'optional2--',
  8874. "//a[contains(@href,'uplea.com/dl')]",
  8875. true);
  8876. }
  8877. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8878. {
  8879. addFileHost(
  8880. "toutbox\.fr\/\\w+",
  8881. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8882. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8883. 'Serviço temporariamente indisponível',
  8884. 'optional2--',
  8885. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8886. );
  8887. }
  8888. if (GM_getValue("Check_openload_dot_co_links", false))
  8889. {
  8890. addFileHost(
  8891. "openload\.co\/\\w+",
  8892. 'id="downloadTimer">|button dlbutton',
  8893. 'jumbotron{color|got deleted|center !important',
  8894. 'optional--',
  8895. 'optional2--',
  8896. "//a[contains(@href,'openload.co')]"
  8897. );
  8898. }
  8899. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8900. {
  8901. addFileHost(
  8902. "lolabits\.es\/\\w+",
  8903. 'Descargar:',
  8904. '<title>Archivos de usuario',
  8905. 'Service Unavailable',
  8906. 'optional2--',
  8907. "//a[contains(@href,'lolabits.es')]"
  8908. );
  8909. }
  8910. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8911. {
  8912. addFileHost(
  8913. "alfafile\.net\/\\w+",
  8914. 'id="slow_download_btn',
  8915. 'class="error-box">',
  8916. 'optional--',
  8917. 'optional2--',
  8918. "//a[contains(@href,'alfafile.net')]"
  8919. );
  8920. }
  8921. if (GM_getValue("Check_multiup_dot_org_links", false))
  8922. {
  8923. addFileHost(
  8924. "multiup\.org\/\\w+",
  8925. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8926. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8927. 'optional--',
  8928. 'optional2--',
  8929. "//a[contains(@href,'multiup.org')]"
  8930. );
  8931. }
  8932. if (GM_getValue("Check_file_dot_al_links", false))
  8933. {
  8934. addFileHost(
  8935. "file\.al\/\\w+",
  8936. 'method_free',
  8937. 'style="width:500px;text-align:left;">',
  8938. 'optional--',
  8939. 'optional2--',
  8940. "//a[contains(@href,'file.al')]"
  8941. );
  8942. }
  8943. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8944. {
  8945. addFileHost(
  8946. "devilshare\.net\/\\w+",
  8947. '<div class="large-12" id="download">',
  8948. '(Link: 0 Invalid)|File Not Found',
  8949. 'optional--',
  8950. 'optional2--',
  8951. "//a[contains(@href,'devilshare.net')]"
  8952. );
  8953. }
  8954. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8955. {
  8956. addFileHost(
  8957. "dailyuploads\.net\/\\w+",
  8958. 'id="downloadBtnClickOrignal',
  8959. '<div style="width:500px;text-align:left;">',
  8960. 'optional--',
  8961. 'optional2--',
  8962. "//a[contains(@href,'dailyuploads.net')]"
  8963. );
  8964. }
  8965. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8966. {
  8967. addFileHost(
  8968. "datoteke\.com\/\\w+",
  8969. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8970. '&nbsp;File has been removed',
  8971. 'optional--',
  8972. '<title>Error - Datoteke',
  8973. "//a[contains(@href,'datoteke.com')]"
  8974. );
  8975. }
  8976. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  8977. {
  8978. addFileHost(
  8979. "tezfiles\.com\/\\w+",
  8980. 'virtual/low-speed-download',
  8981. 'class="alert alert-block|file is no longer available',
  8982. 'optional--',
  8983. 'This file is available<br>only for premium members',
  8984. "//a[contains(@href,'tezfiles.com')]"
  8985. );
  8986. } */
  8987. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8988. {
  8989. addFileHost(
  8990. "sharehost\.eu\/\\w+",
  8991. '/?v=download_free&',
  8992. 'Errors occured|Wystąpiły błędy',
  8993. 'optional--',
  8994. 'optional2--',
  8995. "//a[contains(@href,'sharehost.eu')]"
  8996. );
  8997. }
  8998. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8999. {
  9000. addFileHost(
  9001. "pornfile\.cz\/\\w+",
  9002. 'Stáhnout soubor',
  9003. 'Soubor byl smazán',
  9004. 'optional--',
  9005. 'optional2--',
  9006. "//a[contains(@href,'pornfile.cz')]"
  9007. );
  9008. }
  9009. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9010. {
  9011. addFileHost(
  9012. "pornoid\.cz\/\\w+",
  9013. 'class="btn btn-large btn-download',
  9014. 'Soubor byl smazán',
  9015. 'optional--',
  9016. 'optional2--',
  9017. "//a[contains(@href,'pornoid.cz')]"
  9018. );
  9019. }
  9020. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9021. {
  9022. addFileHost(
  9023. "file-share\.top\/\\w+",
  9024. 'btn-success btn-lg download',
  9025. 'Stránka neexistuje|404 Not Found',
  9026. 'optional--',
  9027. 'optional2--',
  9028. "//a[contains(@href,'file-share.top')]"
  9029. );
  9030. }
  9031. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9032. {
  9033. addFileHost(
  9034. "bitster\.cz\/\\w+",
  9035. 'section" content="VIDEO"',
  9036. 'section" content=""',
  9037. 'optional--',
  9038. 'optional2--',
  9039. "//a[contains(@href,'bitster.cz')]"
  9040. );
  9041. }
  9042. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9043. {
  9044. addFileHost(
  9045. "rapidu\.net\/\\w+",
  9046. 'onclick="downloadFreeFile',
  9047. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9048. 'optional--',
  9049. 'optional2--',
  9050. "//a[contains(@href,'rapidu.net')]"
  9051. );
  9052. }
  9053. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9054. {
  9055. addFileHost(
  9056. "dinoshare\.cz\/\\w+",
  9057. 'class="download-button"',
  9058. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9059. 'optional--',
  9060. 'optional2--',
  9061. "//a[contains(@href,'dinoshare.cz')]"
  9062. );
  9063. }
  9064. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9065. {
  9066. addFileHost(
  9067. "bytewhale\.com\/\\w+",
  9068. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9069. 'var rawest = "0 MB',
  9070. 'optional--',
  9071. 'optional--',
  9072. "//a[contains(@href,'bytewhale.com')]"
  9073. );
  9074. }
  9075. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9076. {
  9077. addFileHost(
  9078. "rapidrar\.com\/\\w+",
  9079. 'value="Free Download',
  9080. '<div style="width:500px;text-align:left;">',
  9081. 'optional--',
  9082. 'optional--',
  9083. "//a[contains(@href,'rapidrar.com')]"
  9084. );
  9085. }
  9086. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9087. {
  9088. addFileHost(
  9089. "gigasize\.com\/\\w+",
  9090. 'class="estimate">',
  9091. 'class="error">',
  9092. 'optional--',
  9093. 'optional--',
  9094. "//a[contains(@href,'gigasize.com')]"
  9095. );
  9096. }
  9097. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9098. {
  9099. addFileHost(
  9100. "filesupload\.org\/\\w+",
  9101. '<a href="/download-or-watch/',
  9102. 'File not found',
  9103. 'optional--',
  9104. 'optional--',
  9105. "//a[contains(@href,'filesupload.org')]"
  9106. );
  9107. }
  9108. if (GM_getValue("Check_filecad_dot_com_links", false))
  9109. {
  9110. addFileHost(
  9111. "filecad\.com\/\\w+",
  9112. '<title>Download-|<div class="heading-1">Download-',
  9113. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9114. 'optional--',
  9115. 'optional--',
  9116. "//a[contains(@href,'filecad.com')]"
  9117. );
  9118. }
  9119. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9120. {
  9121. addFileHost(
  9122. "file.up09\.com\/\\w+",
  9123. 'name="method_free',
  9124. 'style="width:500px;text-align:left;">',
  9125. 'optional--',
  9126. 'optional--',
  9127. "//a[contains(@href,'file.up09.com')]"
  9128. );
  9129. }
  9130. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9131. {
  9132. addFileHost(
  9133. "lunaticfiles\.com\/\\w+",
  9134. 'name="method_free"',
  9135. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9136. 'optional--',
  9137. 'optional--',
  9138. "//a[contains(@href,'lunaticfiles.com')]"
  9139. );
  9140. }
  9141.  
  9142. }
  9143. //start here
  9144.  
  9145. //hosts with direct download, so they must be requested for headers only
  9146. function initFileHostsHeadersOnly()
  9147. {
  9148. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9149. {
  9150. var host = new Array(5);
  9151. host[0] = linkRegex;
  9152. host[1] = isAliveRegex;
  9153. host[2] = isDeadRegex;
  9154. host[3] = xpathEx;
  9155. host[4] = ispremRegex;
  9156. http_file_hosts_headers_only.push(host);
  9157. }
  9158. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9159. {
  9160. addFileHostHeadersOnly(
  9161. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9162. 'Connection: Keep-Alive',
  9163. 'Content-Length: 3857',
  9164. "//a[contains(@href,'uloziste.com')]"
  9165. )
  9166. }
  9167. if (GM_getValue("Check_adrive_dot_com_links", false))
  9168. {
  9169. addFileHostHeadersOnly(
  9170. "adrive\\.com\/public\/\\w+",
  9171. 'Connection: keep-alive',
  9172. 'orig_ref=deleted',
  9173. "//a[contains(@href,'adrive.com')]"
  9174. )
  9175. }
  9176. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9177. {
  9178. addFileHostHeadersOnly(
  9179. "myupload\\.dk\/showfile\/\\w+",
  9180. 'Expires:',
  9181. 'squeeze1\\s+Vary',
  9182. "//a[contains(@href,'myupload.dk/showfile')]"
  9183. )
  9184. }
  9185. }
  9186. //CustomRules
  9187. //functions add...Host copied here
  9188. function addObsoleteHost(linkRegex, xpathEx)
  9189. {
  9190. var host = new Array(2);
  9191. host[0] = linkRegex;
  9192. host[1] = xpathEx;
  9193. http_file_hosts_obsolete.push(host);
  9194. }
  9195. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9196. {
  9197. var host = new Array(7);
  9198. host[0] = linkRegex;
  9199. host[1] = isAliveRegex;
  9200. host[2] = isDeadRegex;
  9201. host[3] = isUnavaRegex;
  9202. host[4] = xpathEx;
  9203. tryLoop ? host[5] = true : host[5] = false;
  9204. host[6] = ispremRegex;
  9205. http_file_hosts.push(host);
  9206. }
  9207. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9208. {
  9209. var host = new Array(5);
  9210. host[0] = linkRegex;
  9211. host[1] = isAliveRegex;
  9212. host[2] = isDeadRegex;
  9213. host[3] = xpathEx;
  9214. host[4] = ispremRegex;
  9215. http_file_hosts_headers_only.push(host);
  9216. }
  9217. //takes a fully built rules array and adds the rules to WARLC
  9218. function applyCustomRules(customRules)
  9219. {
  9220. if (!customRules) return;
  9221. var rules, r, i;
  9222. rules = customRules.rules;
  9223. for (i = 0 ; i < rules.length ; i++)
  9224. {
  9225. r = rules[i];
  9226. if (r.enabled)
  9227. {
  9228. switch (r.type)
  9229. {
  9230. case 'single':
  9231. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9232. break;
  9233. case 'headers':
  9234. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9235. break;
  9236. case 'obsolete':
  9237. addObsoleteHost(r.urlregex, r.xpath)
  9238. break;
  9239. }
  9240. }
  9241. }
  9242. }
  9243.  
  9244.  
  9245. function initFileHostsCustom()
  9246. {
  9247. if (Custom_rules && Custom_rules_text)
  9248. {
  9249. var msg = '';
  9250. if (newVersion)
  9251. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9252. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9253. msg = '60 or more days have passed since this notification.\n\n';
  9254. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9255. {
  9256. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9257. msg +=
  9258. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9259. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9260. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9261. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9262. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9263. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9264. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9265. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9266. setTimeout(function(){alert(msg)},0);
  9267. }
  9268. var customRules = parseCustomRules(Custom_rules_text);
  9269. if (customRules.warning || customRules.error)
  9270. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9271. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9272. JSON.stringify(customRules.info, null, ' '));
  9273. applyCustomRules(customRules);
  9274. }
  9275. }
  9276. //end of CustomRules processing
  9277.  
  9278.  
  9279.  
  9280. } //end of function start
  9281.  
  9282.  
  9283.  
  9284. function initClipBoardTools()
  9285. {
  9286. unsafeWindow.copyToClipboard = function(text)
  9287. {
  9288. try
  9289. {
  9290. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9291.  
  9292. var str = Components.classes["@mozilla.org/supports-string;1"].
  9293. createInstance(Components.interfaces.nsISupportsString);
  9294. if (!str) return false;
  9295.  
  9296. str.data = text;
  9297.  
  9298. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9299. createInstance(Components.interfaces.nsITransferable);
  9300. if (!trans) return false;
  9301.  
  9302. trans.addDataFlavor("text/unicode");
  9303. trans.setTransferData("text/unicode", str, text.length * 2);
  9304.  
  9305. var clipid = Components.interfaces.nsIClipboard;
  9306. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9307. if (!clip) return false;
  9308.  
  9309. clip.setData(trans, null, clipid.kGlobalClipboard);
  9310. } catch (e) {
  9311. GM_log("Error copyToClipboard : " + e);
  9312. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9313. }
  9314. }
  9315. }
  9316.  
  9317.  
  9318.  
  9319. //CustomRules
  9320.  
  9321. function escapeRegex(str)
  9322. {
  9323. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9324. }
  9325.  
  9326.  
  9327. //called internally from parseCustomRules.
  9328. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9329. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9330. function makeCustomRule(rule)
  9331. {
  9332. function makeMatchRegex(arrmatch)
  9333. {
  9334. return escapeRegex(arrmatch.join('\n'))
  9335. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9336. .replace(/\n/g,'|'); //join together
  9337. }
  9338. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9339. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9340. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9341. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9342. if (rule.baseurl)
  9343. {
  9344. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9345. for (i = 0 ; i < len ; i++)
  9346. {
  9347. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9348. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9349. {
  9350. 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'])
  9351. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9352. }
  9353. else //baseurl in the form: example.com/xxx
  9354. {
  9355. xpath.push(m[0]);
  9356. urlregex.push(escapeRegex(m[0]) + '.');
  9357. }
  9358. }
  9359. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9360. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9361. }
  9362. return rule;
  9363. } //function makeCustomRule
  9364.  
  9365.  
  9366. /*
  9367. Takes a string containing custom link checking rules.
  9368. Returns an object with fields:
  9369. info - contains notes, warnings and errors found during parsing
  9370. rules - the array of custom rules
  9371. note, warning, error - number of each of them found during parsing
  9372. Format of the input string:
  9373. One command per line. Command format: @keyword parameter
  9374. Keywords:
  9375. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9376. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9377. These keywords can be multiple (any of them will work):
  9378. @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...)
  9379. @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+
  9380. @alivelink, @deadlink - example links
  9381. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9382. Lines starting with // and empty lines are ignored.
  9383. Invalid parameters generate errors and those lines are skipped.
  9384. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9385. Example:
  9386. @customrule filehost
  9387. @baseurl filehost.com/download/
  9388. @baseurl filehost2. com net /d?=
  9389. @alivematch id="download">
  9390. @deadmatch File not found
  9391. @deadmatch File deleted
  9392. */
  9393. function parseCustomRules(rulesStr)
  9394. {
  9395. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9396. function addInfo(type, msg, ln){
  9397. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9398. customRules[type]++;
  9399. }
  9400. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9401. if (!lines) return null;
  9402. lines.push('@#customrule _'); //to save the last rule
  9403. var m, linecount = lines.length;
  9404. var keyword, param, constr, rule, err;
  9405. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9406. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9407. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9408. var constraints = {
  9409. 'baseurl': {
  9410. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9411. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9412. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9413. 'alivematch': {
  9414. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9415. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9416. 'deadmatch': {
  9417. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9418. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9419. 'unavamatch': {
  9420. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9421. 'alivelink': {
  9422. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9423. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9424. 'deadlink': {
  9425. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9426. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9427. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9428. };
  9429. for (linenum = 0 ; linenum < linecount ; linenum++)
  9430. {
  9431. //capturing groups: 1 23 4 5 6
  9432. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9433. if (m)
  9434. {
  9435. if (m[1] || !m[2])
  9436. continue; // ignore empty lines and lines starting with //
  9437. keyword = (m[4] || m[2]).toLowerCase();
  9438. param = m[6];
  9439. if (keyword == 'customrule')
  9440. {
  9441. //save the current rule if all required fields are provided
  9442. if (rule)
  9443. {
  9444. err = false;
  9445. $.each(constraints, function(kw, constraint){
  9446. var l, constr = constraint[rule.type];
  9447. if (constr)
  9448. {
  9449. l = rule[kw] ? rule[kw].length : 0;
  9450. if (l < constr.min || l > constr.max)
  9451. {
  9452. 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);
  9453. err = true;
  9454. }
  9455. }
  9456. });
  9457. if (!err)
  9458. customRules.rules.push(makeCustomRule(rule));
  9459. }
  9460. //start a new rule
  9461. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9462. {
  9463. rule = {
  9464. 'enabled': !m[3],
  9465. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9466. 'name': param
  9467. };
  9468. }
  9469. else
  9470. {
  9471. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9472. rule = null;
  9473. }
  9474. }
  9475. else //good line format, but keyword other than customrule
  9476. {
  9477. if (!rule)
  9478. {
  9479. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9480. continue;
  9481. }
  9482. if (constraints[keyword])
  9483. {
  9484. constr = constraints[keyword][rule.type];
  9485. if (constr)
  9486. {
  9487. if (constr.paramRE && !constr.paramRE.test(param))
  9488. {
  9489. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9490. continue;
  9491. }
  9492. }
  9493. else
  9494. {
  9495. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9496. continue;
  9497. }
  9498. }
  9499. //line OK, save
  9500. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9501. }
  9502. } //if (m)
  9503. else
  9504. addInfo('warning', 'Unknown line format. Line skipped.');
  9505. } //for loop
  9506. return customRules;
  9507. } //function parseCustomRules
  9508.  
  9509.  
  9510. /* ********************UPDATES********************
  9511.  
  9512. February 14, 2016
  9513. Version 1.2.4.5
  9514. fixed yandex.ru
  9515.  
  9516. February 13, 2016
  9517. Version 1.2.4.4
  9518. added lunaticfiles.com.
  9519.  
  9520. February 09, 2016
  9521. Version 1.2.4.3
  9522. added file.up09.com.
  9523.  
  9524. February 09, 2016
  9525. Version 1.2.4.2
  9526. tezfiles.com premium links now detected.
  9527.  
  9528. February 09, 2016
  9529. Version 1.2.4.1
  9530. added seenupload.com to obsolete hosts
  9531. fixed 180upload.com to show obsolete
  9532.  
  9533. February 08, 2016
  9534. Version 1.2.4.0
  9535. added tusfiles.com
  9536. added filesupload.org
  9537. added gigasize.com
  9538. added filecad.com
  9539. fixed filecloud.io
  9540. added uploadnet.co to obsolete hosts
  9541.  
  9542. February 07,2016
  9543. Vession 1.2.3.9
  9544. fixed depositfiles.com folders
  9545. fixed turbobit.net folders
  9546.  
  9547. February 06, 2016
  9548. Version 1.2.3.8
  9549. fixed 1fichier false dead links
  9550.  
  9551. February 04, 2106
  9552. Version 1.2.3.7
  9553. added geupload and lenfile to obsolete hosts
  9554. fixed kyc.pm/depfile
  9555.  
  9556. February 03, 2016
  9557. Version 1.2.3.6
  9558. fixed some nitroflare.com dead links not being detected
  9559.  
  9560. February 01, 2016
  9561. Version 1.2.3.5
  9562. script moved to new site
  9563.  
  9564. January 20, 2016
  9565. Version 1.2.3.3
  9566. fixed some rapidgator premium link not being detected
  9567.  
  9568. January 17, 2016
  9569. Version 1.2.3.2
  9570. added bytewhale.com
  9571. added rapidrar.com
  9572.  
  9573. Version 1.2.3.1
  9574. added 180upload.com to obsolete hosts
  9575. fixed hellspy.com
  9576. added dinoshare.cz,
  9577.  
  9578. January 13, 2016
  9579. Version 1.2.3.0
  9580. added rapidu.net
  9581. added uploadboy.me
  9582. fixed euroshare.eu
  9583.  
  9584. January 12, 2016
  9585. Version 1.2.2.9
  9586. added kb.simple-aja.info
  9587.  
  9588. January 10, 2016
  9589. Version 1.2.2.8
  9590. made changes to fastshare.cz
  9591.  
  9592. January 10, 2016
  9593. Version 1.2.2.7
  9594. fixed uptobox.com
  9595.  
  9596. January 09, 2016
  9597. Version 1.2.2.6
  9598. datoteke.com now detects premium links
  9599. fixed turbobit.net
  9600. fixed uptobox.com
  9601. added pornfile.cz
  9602. added pornoid.cz
  9603. added file-share.top
  9604. added bitster.cz
  9605.  
  9606. January 05, 2016
  9607. Version 1.2.2.5
  9608. fixed salefiles.com
  9609. fixed ozofile.com
  9610.  
  9611. January 04, 2016
  9612. Version 1.2.2.4
  9613. added sharehost.eu
  9614.  
  9615. December 30, 2015
  9616. Version 1.2.2.3
  9617. added tezfiles.com
  9618.  
  9619. December 28, 2015
  9620. Version 1.2.2.2
  9621. fixed some k2s & fboom dead link not getting detected
  9622. fixed some k2s premium links not getting detected.
  9623. fixed ssh.yt not detecting some dead links
  9624. fixed ncrypt.in dead links showing yellow
  9625.  
  9626. December 20, 2015
  9627. Version 1.2.2.0
  9628. added datoteke.com
  9629.  
  9630. December 19, 2015
  9631. Version 1.2.1.9
  9632. added secured.in & linksave.in to obsolete hosts
  9633.  
  9634. December 17, 2015
  9635. Version 1.2.1.8
  9636. added german for dead links to secureupload.eu.
  9637.  
  9638. December 17, 2015
  9639. Version 1.2.1.7
  9640. added french for dead links to secureupload.eu.
  9641. fixed problem with tooltip display.
  9642.  
  9643. December 13, 2015
  9644. Version 1.2.1.6
  9645. added netload.me & fileparadox.in to obsolete hosts
  9646.  
  9647. December 09, 2015
  9648. Version 1.2.1.5
  9649. added rapidsonic.com & fileparadox.com to obsolete hosts
  9650.  
  9651. December 04, 2015
  9652. Version 1.2.1.4
  9653. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  9654.  
  9655. December 03, 2015
  9656. Version 1.2.1.3
  9657. added dailyuploads.net
  9658.  
  9659. December 02, 2015
  9660. Version 1.2.1.2
  9661. fixed hitfile.net
  9662. fixed kingfiles.net
  9663.  
  9664. November 30, 2015
  9665. Version 1.2.1.1
  9666. added filepost.com to obsolete hosts
  9667. added devilshare.net
  9668.  
  9669. November 28, 2015
  9670. Version 1.2.1.0
  9671. fixed datafile.com not detecting some premium links.
  9672.  
  9673. November 25, 2015
  9674. Version 1.2.0.9
  9675. fixed filejoker.net
  9676. fixed toutbox.fr
  9677. fixed nowvideo.sx
  9678.  
  9679. November 24, 2015
  9680. Version 1.2.0.8
  9681. fixed openload.io
  9682.  
  9683. November 20, 2015
  9684. Version 1.2.0.7
  9685. //added file.al
  9686. //fixed nitroflare.com false live links
  9687. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  9688.  
  9689. November 17, 2015
  9690. Version 1.2.0.6
  9691. added clicknupload.me
  9692.  
  9693. November 09, 2015
  9694. Version 1.2.0.5
  9695. fixed some depfile premium links not being detected
  9696.  
  9697. November 08, 2015
  9698. Version 1.2.0.4
  9699. fixed some rapidgator premium links not being detected
  9700. fixed doraupload.com
  9701.  
  9702. November 08, 2015
  9703. Version 1.2.0.3
  9704. fixed uploaded false premium
  9705.  
  9706. November 07, 2015
  9707. Version 1.2.0.2
  9708. fixed redbunker.net
  9709.  
  9710. November 05, 2015
  9711. Version 1.2.0.1
  9712. fixed app.box.com
  9713. added multiup.org (does not detect all dead links)
  9714.  
  9715. November 01, 2015
  9716. Version 1.2.0.0
  9717. added more languages to rockfile and 1fichier
  9718.  
  9719. November 01, 2015
  9720. Version 1.1.9.9
  9721. fixed rockfile.eu
  9722. changed 1fichier code (Thanks yurri)
  9723. added to obsolete hosts... (Thanks Love Buzz)
  9724. burnupload.com
  9725. cramit.in
  9726. cramitin.net
  9727. down4files.com
  9728. edoc.com
  9729. jumbofile.net
  9730. krotix.net
  9731. migahost.com
  9732. movreel.com
  9733. netload.in
  9734. newfileland.com
  9735. quickshare.cz
  9736.  
  9737. October 30, 2015
  9738. Version 1.1.9.8
  9739. added alfafile.net
  9740.  
  9741. October 26, 2015
  9742. Version 1.1.9.7
  9743. changed datafile.com and uplea.com
  9744. added lolabits.es
  9745.  
  9746. October 26, 2015
  9747. Version 1.1.9.6
  9748. added toutbox.fr
  9749.  
  9750. October 25, 2015
  9751. Version 1.1.9.5
  9752. fixed counter error
  9753.  
  9754. October 25, 2015
  9755. Version 1.1.9.4
  9756. changed uptobox.com code
  9757.  
  9758. October 21, 2015
  9759. Version 1.1.9.3
  9760. fixed uptobox.com
  9761.  
  9762. October 20, 2015
  9763. Version 1.1.9.2
  9764. bug fixes and new method of detecting premium links.
  9765.  
  9766. October 15, 2015
  9767. Version 1.1.9.1
  9768. fixed hugefiles.net false premium
  9769. changed uptobox.com code
  9770.  
  9771. October 06, 2015
  9772. Version 1.1.9.0
  9773. fixed filefactory
  9774. fixed rockfile false premium
  9775. keep2share & fileboom now detect premium links (fixed by yurii)
  9776.  
  9777. October 01, 2015
  9778. Version 1.1.8.9
  9779. fixed free.fr false premium
  9780. fixed thevideo.me false premium
  9781.  
  9782. September 28, 2015
  9783. Version 1.1.8.8
  9784. added uplea.com and openload.co
  9785.  
  9786. September 27, 2015
  9787. Version 1.1.8.7
  9788. fixed fileparadox.in false premium
  9789. added kingfiles.net to obsolete hosts
  9790. removed inafile.com from obsolete hosts
  9791.  
  9792. September 22, 2015
  9793. Version 1.1.8.6
  9794. fixed nitroflare false premium
  9795.  
  9796. September 22, 2015
  9797. Version 1.1.8.5
  9798. fixed userscloud.com false premium
  9799. fixed usersfiles.com false premium
  9800. changed arabloads.com to arabloads.net
  9801. changed nowdownloads.eu to nowdownloads.ch
  9802.  
  9803. September 21, 2015
  9804. Version 1.1.8.3
  9805. added ryushare.com to obsolete hosts.
  9806.  
  9807. September 20, 2015
  9808. Version 1.1.8.2
  9809. fixed nitroflare not showing premium links
  9810. added down4files.com,storfiles.co,filehost.pw
  9811.  
  9812. September 16, 2015
  9813. Version 1.1.8.1
  9814. added crisshare.com to obsolete hosts
  9815. fixed filemoney.com false premium
  9816. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  9817.  
  9818. September 14, 2015
  9819. Version 1.1.8.0
  9820. added to obsolete hosts...
  9821. sharebeast.com
  9822. tufiles.ru
  9823.  
  9824. September 12, 2015
  9825. Version 1.1.7.9
  9826. fixed rghost.net false premium
  9827. fixed unlimitzone.com false premium
  9828. fixed turbobit.net false live link
  9829.  
  9830. September 11, 2015
  9831. Version 1.1.7.8
  9832. Fixed filefactory.com false premium.
  9833.  
  9834. September 07, 2015
  9835. Version 1.1.7.7
  9836. fixed "depositfiles.com/en/files" links not checking
  9837.  
  9838. September 06, 2015
  9839. Version 1.1.7.6
  9840. added French code for 1fichier
  9841.  
  9842. August 29, 2015
  9843. Version 1.1.7.5
  9844. fixed depositfiles
  9845. fixed mega.co.nz/mega.nz
  9846. (fixed by yurii)
  9847.  
  9848. August 23, 2015
  9849. Version 1.1.7.4
  9850. Fixed uploadrocket (by yurii)
  9851.  
  9852. August 20, 2015
  9853. Version 1.1.7.3
  9854. fixed depfile.com false premium
  9855. fixed 1fichier false premium
  9856. fixed rapidgator false premium
  9857.  
  9858. August 08, 2015
  9859. Version 1.1.7.1
  9860. fixed unlimitzone.com, added freakshare to obsolete hosts.
  9861.  
  9862. August 07, 2015
  9863. Version 1.1.7.0
  9864. fixed...
  9865. streamin.to
  9866. thefile.me
  9867. vidzi.tv
  9868. added...
  9869. filenuke.com
  9870. vidto.me
  9871. vidspot.net
  9872. sharesix.com
  9873. sharesix.net
  9874. movpod.in,
  9875.  
  9876. August 07, 2015
  9877. Version 1.1.6.9 added...
  9878. thefile.me
  9879. vidzi.tv
  9880. videoweed.es
  9881. vodlocker.com
  9882. nowvideo.sx
  9883. cloudtime.to
  9884. thevideo.me
  9885. vidbull.com
  9886. allmyvideos.net
  9887. novamov.com
  9888. filehoot.com
  9889. stagevu.com
  9890. gorillavid.in
  9891. streamin.to
  9892.  
  9893. August 02, 2015
  9894. Version 1.1.6.8
  9895. added cloudshares.net
  9896.  
  9897. August 01, 2015
  9898. Version 1.1.6.7
  9899. fixed depfile redirectors false premium
  9900.  
  9901. July 31, 2015
  9902. Version 1.1.6.6
  9903. fixed depfile.com false premium
  9904. */