W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2016-03-08 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @version 1.2.5.7
  7. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRS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ihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  8. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  9. // @author mental
  10. // @include http://*
  11. // @include https://*
  12. // @include file:///*
  13. // @grant GM_setValue
  14. // @grant GM_getValue
  15. // @grant GM_xmlhttpRequest
  16. // @grant GM_log
  17. // @grant GM_addStyle
  18. // @grant GM_registerMenuCommand
  19. // @grant GM_getResourceText
  20. // @grant GM_info
  21. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  22. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  23. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  24. // @homepage http://usa.x10host.com/mybb
  25. // @namespace war premium
  26. // @noframes
  27. // ==/UserScript==
  28.  
  29. //separate alternative domains with "|" char (first name is considered being main)
  30. var allHostNames = [
  31. "1fichier.com|dl4free.com",
  32. "upload.af",
  33. "abelhas.pt",
  34. "filedwon.info",
  35. "yandex.com",
  36. "down4files.com",
  37. 'filespace.com',
  38. "uplod.it",
  39. "rapidu.net",
  40. "file.up09.com",
  41. "lunaticfiles.com",
  42. "filecad.com",
  43. "filesupload.org",
  44. "gigasize.com",
  45. "bytewhale.com",
  46. "rapidrar.com",
  47. "download.cz.hellshare.com",
  48. "pornfile.cz",
  49. "dinoshare.cz",
  50. "kb.simple-aja.info",
  51. "bitster.cz",
  52. "file-share.top",
  53. "pornoid.cz",
  54. "dailyuploads.net",
  55. "sharehost.eu",
  56. "tezfiles.com",
  57. "devilshare.net",
  58. "alfafile.net",
  59. "openload.co",
  60. "multiup.org",
  61. "uplea.com",
  62. "filenuke.com",
  63. "file.al",
  64. // "inafile.com",
  65. "lolabits.es",
  66. "vidto.me",
  67. "storefiles.co",
  68. "filehost.pw",
  69. "vidspot.net",
  70. "turbobit.ru",
  71. "sharesix.com|sharesix.net",
  72. "movpod.in",
  73. "thefile.me",
  74. "datoteke.com",
  75. "vidzi.tv",
  76. "videoweed.es",
  77. "vodlocker.com",
  78. "nowvideo.sx",
  79. "cloudtime.to",
  80. "thevideo.me",
  81. "vidbull.com",
  82. "allmyvideos.net",
  83. "novamov.com",
  84. "filehoot.com",
  85. "stagevu.com",
  86. "gorillavid.in",
  87. "streamin.to",
  88. "4upld.com",
  89. "cloudshares.net",
  90. "swoopshare.com",
  91. "2shared.com",
  92. "fileupload.pw",
  93. "zxcfiles.com",
  94. "up07.net",
  95. "4shared.com",
  96. "adrive.com",
  97. "aisfile.com",
  98. "hexupload.com",
  99. "bezvadata.cz",
  100. "xkeepfile.com|Gamesena.com",
  101. "usersfiles.com",
  102. "pan.baidu.com",
  103. "radicalshare.com",
  104. "datei.to",
  105. "daten-hoster.de|filehosting.org|xtraupload.de",
  106. "demo.ovh.eu",
  107. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  108. "divshare.com",
  109. "easy-share.com|crocko.com",
  110. "easybytez.com",
  111. "edisk.cz",
  112. "euroshare.eu",
  113. "file-upload.net",
  114. "yadi.sk",
  115. "wizupload.com",
  116. "fastshare.cz",
  117. "filefactory.com",
  118. "share.vnn.vn",
  119. "yunpan.cn",
  120. "gulfup.com",
  121. "tropicshare.com",
  122. "cloudzilla.to",
  123. "inclouddrive.com",
  124. "fileflyer.com",
  125. "filerio.com|filekeen.com",
  126. "up.4share.vn",
  127. "upfile.vn",
  128. "datafilehost.com",
  129. "fileband.com",
  130. "worldbytez.com",
  131. "files.mail.ru",
  132. "filesflash.com",
  133. "box.com",
  134. "uptobox.com",
  135. "box.net",
  136. "goldbytez.com",
  137. "sdilej.cz",
  138. "ex-load.com",
  139. "filesmonster.com",
  140. "filestore.to",
  141. "hulkload.com",
  142. "filedropper.com",
  143. "free-uploading.com",
  144. "gamefront.com|filefront.com",
  145. "gettyfile.ru",
  146. "gigapeta.com",
  147. "gigasize.com",
  148. "hellshare.com",
  149. "hellspy.com",
  150. "hitfile.net",
  151. "hostuje.net",
  152. "freefilehosting.net",
  153. "free.fr",
  154. "hulkshare.com",
  155. "hyperfileshare.com",
  156. "filecloud.io|ifile.it",
  157. "ifolder.ru",
  158. "jumbofiles.com",
  159. "uploadrocket.net",
  160. "lafiles.com",
  161. "leteckaposta.cz|sharegadget.com",
  162. "letitbit.net",
  163. "load.to",
  164. "mediafire.com",
  165. "megafileupload.com",
  166. "megashares.com",
  167. "movshare.net",
  168. "muchshare.net",
  169. "myupload.dk",
  170. "narod.ru|narod.yandex.ru",
  171. "fboom.me|fileboom.me",
  172. "openfile.ru",
  173. "partage-facile.com",
  174. "plunder.com",
  175. "sharerapid.cz",
  176. "exclusiveloader.com",
  177. "acefile.net",
  178. "queenshare.com",
  179. "rapidgator.net",
  180. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  181. "oboom.com",
  182. "filepi.com",
  183. "neodrive.co",
  184. "rarefile.net",
  185. "rayfile.com",
  186. "rghost.net",
  187. "sendmyway.com",
  188. "clicknupload.com",
  189. "clicknupload.me",
  190. "sharemods.com",
  191. "hostr.co",
  192. "sendspace.com",
  193. "sharecash.org",
  194. "share-links.biz",
  195. "share-online.biz|egoshare.com",
  196. "megarapid.cz",
  197. "shareflare.net",
  198. "solidfiles.com",
  199. "led.wf",
  200. "lan.wf",
  201. "adlink.wf",
  202. "click.tf",
  203. "kyc.pm",
  204. "ssh.tf",
  205. "ssh.yt",
  206. "yep.pm",
  207. "stahovanizasms.cz",
  208. "turbobit.net",
  209. "filecloud.cc",
  210. "tikfile.com",
  211. "cloudsix.me",
  212. "turboupload.com",
  213. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  214. "ulozisko.sk",
  215. "uloziste.com",
  216. "unibytes.com",
  217. "upload-il.net|przeslij.net",
  218. "uploaded.to|ul.to",
  219. "uploading.com",
  220. "chayfile.com",
  221. "rockfile.eu",
  222. "24uploading.com",
  223. "uploadspace.pl",
  224. "upnito.sk",
  225. "usaupload.net",
  226. "veehd.com",
  227. "videobb.com",
  228. "vip-file.com",
  229. "webshare.cz",
  230. "xdisk.cz",
  231. "yunfile.com|filemarkets.com",
  232. "ziddu.com",
  233. "zippyshare.com",
  234. "rodfile.com",
  235. "wikiupload.com",
  236. "uploadstube.de",
  237. "faststore.org",
  238. "flyfiles.net",
  239. "nowdownload.ch",
  240. "prefiles.com",
  241. "axifile.com",
  242. "hackerbox.org",
  243. "amonshare.com",
  244. "data.hu",
  245. "brupload.net",
  246. "userscloud.com",
  247. "netkups.com",
  248. "xfileload.com",
  249. "kumpulbagi.com|kumpulbagi.id",
  250. "uppit.com|up.ht",
  251. "downloadani.me",
  252. "filesabc.com",
  253. "verzend.be",
  254. "4up.me",
  255. "extmatrix.com",
  256. "sendfiles.nl",
  257. "yourfilestore.com",
  258. "filebig.net",
  259. "nekaka.com",
  260. "file4safe.com",
  261. "tusfiles.net|tusfiles.com",
  262. "filemac.com",
  263. "idup.in",
  264. "fileswap.com",
  265. "ozofiles.com",
  266. "loudupload.net",
  267. "nosupload.com",
  268. "gboxes.com",
  269. "myvdrive.com|fileserving.com",
  270. "filesin.com",
  271. "novafile.com",
  272. "longfiles.com",
  273. // "uploadhero.com",
  274. "uploadbaz.com",
  275. "bitupload.com",
  276. "indowebster.com",
  277. "superload.cz",
  278. "mafiastorage.com",
  279. "4upfiles.com",
  280. "filesmelt.com",
  281. "hellupload.com",
  282. "uploadingit.com",
  283. "stiahni.si",
  284. "sendspace.pl",
  285. "fastshare.org",
  286. "filejoker.net",
  287. "filestore.com.ua",
  288. "secureupload.eu",
  289. "rapidfileshare.net",
  290. "stiahnito.sk",
  291. "rusfolder.com",
  292. "fileover.net",
  293. "catshare.net",
  294. "anonfiles.com",
  295. "mixturecloud.com",
  296. "filedais.com",
  297. // "imdb.com",
  298. "nitroflare.com",
  299. "akafile.com",
  300. "creafile.net",
  301. "hugefiles.net",
  302. "vidxden.com",
  303. "up.top4top.net",
  304. "upload.ee",
  305. "shareplace.org",
  306. "uploadc.com",
  307. "remixshare.com",
  308. "exoshare.com",
  309. "borncash.org",
  310. "junocloud.me",
  311. "expressleech.com",
  312. "2downloadz.com",
  313. "mightyupload.com",
  314. "anysend.com",
  315. "datafile.com",
  316. "upstore.net",
  317. "upsto.re",
  318. "speedy.sh",
  319. "sanshare.com",
  320. "kingfiles.net",
  321. // "uploadhero.co",
  322. "ge.tt",
  323. "filesflash.net",
  324. "salefiles.com",
  325. // "megairon.net",
  326. "datoid.cz",
  327. "cloudstor.es",
  328. "streamfile.com",
  329. "eyesfile.ca",
  330. "filemoney.com",
  331. "uploadboy.com",
  332. "uploadboy.me",
  333. "speedshare.eu",
  334. "google.com",
  335. "unlimitzone.com",
  336. "rioupload.com",
  337. "rg.to",
  338. "jumbofiles.org",
  339. "fshare.vn",
  340. "spaceforfiles.com",
  341. "up.media1fire.com",
  342. "depfile.com",
  343. "go4up.com",
  344. "dropbox.com",
  345. "redbunker.net",
  346. "divxpress.com",
  347. "mega.nz|mega.co.nz",
  348. "anafile.com",
  349. "uploadable.ch",
  350. "bigfile.to",
  351. "arabloads.net",
  352. "sharerepo.com",
  353. "sfshare.se",
  354. "files.fm",
  355. "koofile.com",
  356. "vidplay.net",
  357. "storagon.com",
  358. "doraupload.com",
  359. "openload.io",
  360. "uploads.xxx",
  361. "toutbox.fr",
  362. ];
  363.  
  364. try
  365. {
  366. //iframes excluded
  367. if (window.top != window.self)
  368. {
  369. return;
  370. }
  371. //allHostNames sites excluded
  372. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  373. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  374. ")"))
  375. {
  376. return;
  377. }
  378. }
  379. catch (e)
  380. {
  381. return;
  382. }
  383.  
  384. //separate alternative domains with "|" char (first name is considered being main)
  385. var allContainerNames = [
  386. "adf.ly",
  387. "linkcrypt.ws",
  388. "linksafe.me",
  389. // "linksave.in",
  390. "linkto.net",
  391. "madlink.sk",
  392. "multiload.cz",
  393. "mirrorcreator.com",
  394. "ncrypt.in",
  395. "redi.re",
  396. "relink.us",
  397. "safelinking.net",
  398. "theloo.katt.it",
  399. "bit.ly",
  400.  
  401. ];
  402.  
  403. //separate alternative domains with "|" char (first name is considered being main)
  404. var allObsoleteNames = [
  405. "uloz.cz",
  406. "secured.in",
  407. "linksave.in",
  408. "seenupload.com",
  409. "sangfile.com",
  410. "filepost.com|fp.io",
  411. "filestorm.to",
  412. "uploadnet.co",
  413. "180upload.com",
  414. "rapidsonic.com",
  415. "fileparadox.com",
  416. "geupload.com",
  417. "lenfile.com",
  418. "fileparadox.in",
  419. "uploadhero.co",
  420. "uploadhero.com",
  421. "newfileland.com",
  422. "quickshare.cz",
  423. "netload.in",
  424. "netload.me",
  425. "movreel.com",
  426. "migahost.com",
  427. "krotix.net",
  428. "jumbofile.net",
  429. "edoc.com",
  430. "cramit.in|cramitin.net",
  431. "freakshare.com",
  432. "burnupload.com|burnupload.ihiphop.com",
  433. "freakshare.net",
  434. "daj.to",
  435. "bl.st",
  436. "2drive.net",
  437. "ryushare.com",
  438. "crisshare.com",
  439. "tufiles.ru",
  440. "uncapped-downloads.com",
  441. "sockshare.com",
  442. "ddlstorage.com",
  443. "dataport.cz",
  444. "dizzcloud.com",
  445. "sharebeast.com",
  446. "stahovadlo.cz",
  447. "shared.com",
  448. "storage.to",
  449. "putlocker.com",
  450. "lumfile.com",
  451. "lumfile.se",
  452. "lumfile.eu",
  453. "firedrive.com",
  454. "fileshare.in.ua",
  455. "filecore.co.nz",
  456. "filecore.co",
  457. "iskladka.cz",
  458. "file-rack.com",
  459. "fast-load.net",
  460. "subory.sk",
  461. "bigandfree.com",
  462. "fileop.com",
  463. "mujsoubor.cz",
  464. "sendfile.to",
  465. "superfastfile.com",
  466. "quickyshare.com",
  467. "duckload.com",
  468. "uploadstore.net",
  469. "meinupload.com",
  470. "dualshare.com",
  471. "2xupload.to|2xupload.de",
  472. "oxedion.com",
  473. "uploadline.com",
  474. "dll.bz",
  475. "movieshare.in",
  476. "milledrive.com",
  477. "quickupload.net",
  478. "safelink.in",
  479. "metadivx.com",
  480. "divxlink.com",
  481. "uploadrack.com",
  482. "teradepot.com",
  483. "dataup.to",
  484. "upit.to",
  485. "driveway.com",
  486. "eatlime.com",
  487. "a2zuploads.com",
  488. "friendlyfiles.net",
  489. "flyfile.us",
  490. "speedyshare.com",
  491. "uploadspace.eu",
  492. "keepfile.com",
  493. "piggyshare.com",
  494. "uplly.com",
  495. "filecrown.com",
  496. "6giga.com",
  497. "uploadjockey.com",
  498. "bluehost.to",
  499. "filegu.ru",
  500. "filebase.to",
  501. "up-file.com",
  502. "xvideos.com",
  503. "ufox.com",
  504. "filebling.com",
  505. "loaded.it",
  506. "uploadcell.com",
  507. "uploadshare.cz",
  508. "mangoshare.com",
  509. "filestab.com",
  510. "crazyupload.com",
  511. "gaiafile.com",
  512. "sharejunky.com",
  513. "fileho.com",
  514. "bigandfree.com",
  515. "bigfile.in",
  516. "bigshare.eu",
  517. "dahosting.org",
  518. "digisofts.net",
  519. "file4save.com",
  520. "filechip.com",
  521. "filescloud.com",
  522. "saveqube.com",
  523. "turboshare.de",
  524. "z-upload.com",
  525. "youshare.com",
  526. "jiffyupload.com",
  527. "gigeshare.com",
  528. "datenklo.net",
  529. "upload.dj",
  530. "loadfiles.in",
  531. "upit.to",
  532. "dsfileshare.com",
  533. "sharesimple.net",
  534. "4files.net",
  535. "wooupload.com",
  536. "odsiebie.com",
  537. "filenavi.com",
  538. "3oof.com",
  539. "meshwaar.com",
  540. "maxupload.com",
  541. "share.cx",
  542. "atserver.eu",
  543. "hotfiles.ws",
  544. "esnips.com",
  545. "tuxfile.com",
  546. "file2upload.net",
  547. "filebling.com",
  548. "turboshare.com",
  549. "rarhost.com",
  550. "isharehd.com",
  551. "i741.com",
  552. "dataup.de",
  553. "fofly.com",
  554. "shareonall.com",
  555. "sexuploader.com",
  556. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  557. "uploadhyper.com",
  558. "filespawn.com",
  559. "caizzii.com",
  560. "volnyweb.cz",
  561. "usershare.net",
  562. "filescash.net",
  563. "metahyper.com",
  564. "combozip.com",
  565. "x7.to",
  566. "uploadbox.com",
  567. "enterupload.com|flyupload.com",
  568. "filepoint.de",
  569. "mystream.to",
  570. "x-fs.com",
  571. "shareator.com",
  572. "srapid.eu",
  573. "sosame.cz",
  574. "filesdump.com",
  575. "2-klicks.de",
  576. "uploking.com",
  577. "silofiles.com",
  578. "upfile.in",
  579. "filehook.com",
  580. "uploadking.com",
  581. "uploadhere.com",
  582. "kewlshare.com",
  583. "rapidable.com",
  584. "uploadwaste.com",
  585. "filemup.com",
  586. "filesonic.com|sharingmatrix.com",
  587. "fileserve.com",
  588. "wupload.com",
  589. "skipfile.com",
  590. "smartuploader.com",
  591. "dualshare.com",
  592. "storeandserve.com",
  593. "mountfile.com",
  594. "transitfiles.com",
  595. "uploadstation.com",
  596. "filejungle.com",
  597. "shareshared.com",
  598. "quickyshare.com",
  599. "save.am",
  600. "petandrive.com",
  601. "file2box.com",
  602. "flyshare.cz",
  603. "yabadaba.ru",
  604. "cloudcache.cc",
  605. "yourfilehost.com",
  606. "jakfile.com",
  607. "kickload.com",
  608. "pyramidfiles.com",
  609. "refile.net",
  610. "zshare.net",
  611. "ddlani.me|ddlanime.com",
  612. "ftp2share.com",
  613. "fooget.com",
  614. "rapidhide.com",
  615. "gotupload.com",
  616. "mooload.com",
  617. "zupload.com",
  618. "mytempdir.com",
  619. "onionshare.com",
  620. "stahnu.to",
  621. "oron.com",
  622. "badongo.com",
  623. "filereactor.com",
  624. "filegaze.com",
  625. "4bytez.com",
  626. "1hostclick.com",
  627. "anonstream.com",
  628. "batshare.com",
  629. "bitroad.net",
  630. "brontofile.com",
  631. "cloudnxt.net",
  632. "cloudnator.com|shragle.com",
  633. "filesfrog.net",
  634. "coolshare.cz",
  635. "dotavi.com",
  636. "ezyfile.net",
  637. "file-bit.net",
  638. "filecosy.com",
  639. "fileduct.com|fileduct.net",
  640. "filefat.com",
  641. "filelaser.com",
  642. "filemashine.com",
  643. "fileserver.cc",
  644. "filetechnology.com",
  645. "fireuploads.net",
  646. "gigfiles.net",
  647. "holderfile.com",
  648. "ihostia.com",
  649. "k2files.com",
  650. "mojofile.com",
  651. "ovfile.com",
  652. "qshare.com",
  653. "shafiles.me",
  654. "sharefilehost.com",
  655. "shareupload.com",
  656. "stahuj.to",
  657. "ugotfile.com",
  658. "uploadboost.com",
  659. "fileom.com",
  660. "vidhog.com",
  661. "xfileshare.eu",
  662. "bzlink.us",
  663. "bulletupload.com",
  664. "bloggerarticles.com",
  665. "mojedata.sk",
  666. "sharpfile.com",
  667. "upgrand.com",
  668. "nasdilej.cz",
  669. "mediatack.cz",
  670. "share-it.to",
  671. "primeupload.com",
  672. "filebeer.info",
  673. "baberepublic",
  674. "xtu.me",
  675. "sharebase.de",
  676. "luckyshare.net",
  677. "filerobo.com",
  678. "filevelocity.com",
  679. "filezpro.com",
  680. "file4sharing.com",
  681. "cing.be",
  682. "ufile.eu",
  683. "pigsonic.com",
  684. "fileupped.com",
  685. "sharerun.com",
  686. "filesaur.com",
  687. "rapidslnare.com",
  688. "bestsharing.com",
  689. "savefiles.net",
  690. "file2share.biz",
  691. "filecache.de",
  692. "monsteruploads.eu",
  693. "b9bb.com",
  694. "aiotool.net",
  695. "jamber.info",
  696. "megaftp.com",
  697. "desiupload.net",
  698. "file27.com",
  699. "yastorage.com",
  700. "filehost.ws",
  701. "copyload.com",
  702. "venusfile.com",
  703. "aieshare.com",
  704. "terafile.co",
  705. "terafile.com",
  706. "fileza.net",
  707. "filerose.com",
  708. "squillion.com",
  709. "fileprohost.com",
  710. "bitbonus.com",
  711. "warserver.cz",
  712. "uload.to",
  713. "sharedbit.net",
  714. "megaload.it",
  715. "filewinds.com",
  716. "uploadcore.com",
  717. "syfiles.com",
  718. "eyesfile.com",
  719. "hotfile.com",
  720. "superupl.com",
  721. "oteupload.com",
  722. "henchfile.com",
  723. "filegag.com",
  724. "HenchFile.com",
  725. "filedefend.com",
  726. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  727. "megabitshare.com",
  728. "cloudzer.com",
  729. "asfile.com",
  730. "cloudzer.net",
  731. "clz.to",
  732. "extabit.com",
  733. "247upload.com",
  734. "2download.de",
  735. "4fastfile.com",
  736. "asixfiles.com",
  737. "berofile.com",
  738. "bigupload.com",
  739. "cepzo.com",
  740. "clouds.to",
  741. "cobrashare.sk",
  742. "coraldrive.net",
  743. "cyberlocker.ch",
  744. "czshare.com",
  745. "darkport.org",
  746. "dark-uploads.com",
  747. "davvas.com",
  748. "enigmashare.com",
  749. "erofly.cz",
  750. "fastsonic.net",
  751. "filebox.com",
  752. "filecity.net",
  753. "filedap.com",
  754. "filedino.com",
  755. "filedownloads.org",
  756. "filefolks.com",
  757. "fileking.co",
  758. "filemates.com",
  759. "files.to",
  760. "files2k.eu",
  761. "filesector.cc",
  762. "bitshare.com",
  763. "filesega.com",
  764. "filesend.net",
  765. "filestay.com",
  766. "filestrum.com",
  767. "fileuplo.de",
  768. "fileupup.com",
  769. "forunesia.com",
  770. "freeuploads.fr",
  771. "uploa.dk",
  772. "getthebit.com",
  773. "getzilla.net",
  774. "goldfile.eu",
  775. "good.com",
  776. "grupload.com",
  777. "hellfile.com",
  778. "hipfile.com",
  779. "hitfile.com",
  780. "hulkfile.eu|duckfile.net",
  781. "i-filez.com",
  782. "ifile.ws",
  783. "kupload.org",
  784. "packupload.com",
  785. "lemuploads.com",
  786. "limelinx.com",
  787. "maxshare.pl",
  788. "megarelease.org",
  789. "megashare.com",
  790. "minus.com",
  791. "mlfat4arab.com",
  792. "multishare.cz",
  793. "nirafile.com",
  794. "ok2upload.com",
  795. "peejeshare.com",
  796. "premiuns.org",
  797. "przeklej.net",
  798. "qkup.net",
  799. "rapidupload.sk",
  800. "rockdizfile.com",
  801. "rocketfile.net",
  802. "share-now.net",
  803. "share76.com",
  804. "sharebees.com",
  805. "sharefiles.co",
  806. "slingfile.com",
  807. "sms4file.com",
  808. "space4file.com",
  809. "tigershare.net",
  810. "toucansharing.com",
  811. "ubuntuone.com",
  812. "unextfiles.com",
  813. "upaj.pl",
  814. "upfile.biz",
  815. "uploadbin.net",
  816. "uploadic.com",
  817. "uploadinc.com",
  818. "uploading4u.eu",
  819. "uploadjet.net",
  820. "uploadorb.com",
  821. "upthe.net",
  822. "uptorch.com",
  823. "vidbox.yt",
  824. "videozer.com",
  825. "vreer.com",
  826. "wallobit.com",
  827. "zooupload.com",
  828. "privatefiles.com",
  829. "xerver.co",
  830. "BillionUploads.com",
  831. "rapidshare.com",
  832. "rapidshare.ru",
  833. "4savefile.com",
  834. "bayfiles.com",
  835. "bayfiles.net",
  836. "dodane.pl",
  837. "dotsemper.com",
  838. "egofiles.com",
  839. "epicshare.net",
  840. "fiberupload.net",
  841. "filemonkey.in",
  842. "filemonster.net",
  843. "filepom.com",
  844. "filesbb.com",
  845. "fileshareup.com",
  846. "filevice.com",
  847. "gigaup.fr",
  848. "isavelink.com",
  849. "loombo.com",
  850. "megafiles.se",
  851. "migupload.com",
  852. "mydisc.net",
  853. "nitrobits.com",
  854. "potload.com",
  855. "redload.net",
  856. "shareprofi.com",
  857. "sharesuper.info",
  858. "sinhro.net",
  859. "speedfile.cz",
  860. "speedshare.org",
  861. "storage.novoro.net",
  862. "swankshare.com",
  863. "swatupload.com",
  864. "upafile.com",
  865. "uploadmachine.com",
  866. "uploadsat.com",
  867. "upshared.com",
  868. "usefile.com",
  869. "yourfiles.to",
  870. "zomgupload.com",
  871. "ultramegabit.com",
  872. "uploadto.us",
  873. "inafile.com",
  874. "megairon.net",
  875.  
  876. ];
  877. ///////////////////////////////////////////////////////////////////////////////////////
  878. var firstRun = GM_getValue("First_run", true);
  879.  
  880. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  881. //////////////////////////////////////////////////////////////////////////////////////
  882. try
  883. {
  884. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  885. var last_known_version = GM_getValue("last_known_version", "");
  886. if (!last_known_version)
  887. {
  888. last_known_version = thisVersion;
  889. GM_setValue("last_known_version", last_known_version);
  890. }
  891. //var newVersion = !(thisVersion == last_known_version);
  892. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  893. GM_setValue("last_known_version", thisVersion);
  894. }
  895. catch (err)
  896. {
  897. var newVersion = false;
  898. }
  899.  
  900. var now = (new Date()).getTime();
  901. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  902. if (!last_custom_rules_nag)
  903. {
  904. last_custom_rules_nag = now;
  905. GM_setValue('last_custom_rules_nag', ''+now);
  906. }
  907.  
  908.  
  909. allHostNames.sort();
  910. allContainerNames.sort();
  911. allObsoleteNames.sort();
  912.  
  913. var RAND_STRING = "8QyvpOSsRG3QWq";
  914. var DEBUG_MODE = false;
  915.  
  916. var TOOLTIP_MAXWIDTH = 600; //in pixels
  917. var TOOLTIP_THUMBWIDTH = 200;
  918. var containers_processed = false;
  919.  
  920. //settings for keyboard functions start
  921. var CHECK_ALL_LINKS_KEY = "A";
  922. var CONFIGURATION_KEY = "C";
  923. var copy_to_dead_key = "D";
  924. var toggle_autocheck_key = "W";
  925. var toggle_Enable_Anonymizer_key = "Z";
  926. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  927. var first_key_keycodename = 'CTRL';
  928. var second_key_keycode = '18';
  929. var second_key_keycodename = 'ALT';
  930. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  931. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  932. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  933. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  934. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  935. //settings for keyboard functions end
  936.  
  937. //global settings start
  938. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  939. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  940. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  941. var Show_progress_stats, Display_tooltip_info, Icon_set;
  942. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  943. var Progress_box_refresh_rate;
  944. var Obsolete_file_hosts;
  945. var Custom_rules, Custom_rules_text;
  946.  
  947. var messageBox = document.createElement('b'); // top-left message box
  948.  
  949. var cLinksTotal = 0;
  950. var cLinksDead = 0;
  951. var cLinksAlive = 0;
  952. var cLinksUnava = 0;
  953. var cLinksprem = 0;
  954. var cLinksProcessed = 0;
  955.  
  956. var intervalId; //for updateProgress()
  957.  
  958. //icon resources
  959. 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/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5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EtceATGoWWHx3a7wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  968.  
  969. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVR42mNkIBcwMWQwsDMrMZKhlZmRi2mCWYtE9st1bx+SagAPlwTLCt+pot6vrv/8t7/mnQcpBsjI6jNvDp4uZvDuMw/D8uA7U39/+Z9DrAGG5r5Mmz06pKQ//BVnWJl89daL0z8MgeLfiDHAN6SAaZlhjjzP+x8SDAcX3P1zuueVDVD8JEiSkVOcZbWAJKPi8wu/q4H8nSgBzcyQl9jN1ifvp8z8+acQw50brxk2Rd1u+fvzfy1MDaN7DOO7ohnSgqe2Pf0/rYJh1/N7/0uB4tdYuRknJMzgzZYyV2L89pub4c3Xbwwb4q+de3/9pwVQ/jfcAGYWhrJ5x207ZdSFGB59Ockwb+L3vydX/7oRPYFPW05DnuHbb1aGD79+MRyZev/H9TlvTIB6riK7EhQGbNr2rJe714eq/fjLwPD8x22GO5/eM/CzijN8BdoD0nz3/FuG/an3Sv7/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  970. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsB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DotZW0HAzYDSVcSHmDeAyXbXOtsq3QAIsd2020VlRXBYEYdsThSCsdeZlEkhYoBUqBJOioaV0V8YWLgU+Ew3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  972. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  973.  
  974. //global settings end
  975. if (window.opera && !window.console)
  976. {
  977. window.console = {};
  978.  
  979. function fn()
  980. {
  981. opera.postError(arguments);
  982. };
  983. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  984. {
  985. window.console[name] = fn;
  986. });
  987. }
  988.  
  989. //displays colored text in message box
  990. function sendMessage(text, color)
  991. {
  992. var msgDiv = document.createElement('div');
  993. msgDiv.style.color = color;
  994. msgDiv.innerHTML = text;
  995. messageBox.appendChild(msgDiv);
  996. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  997. }
  998.  
  999. function linkify(totalourls)
  1000. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1001. var ikkeTilladteTags;
  1002. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1003. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1004. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1005. allLinksRegex = new RegExp(allLinksRegex, "g");
  1006. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1007.  
  1008. if (Do_not_linkify_DL_links)
  1009. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1010. else
  1011. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1012.  
  1013. var regex = new RegExp(regexy);
  1014. var textNode, muligtLink;
  1015.  
  1016. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1017. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1018.  
  1019. var i = textNodes.snapshotLength;
  1020. while (i--)
  1021. {
  1022. textNode = textNodes.snapshotItem(i);
  1023.  
  1024. muligtLink = textNode.nodeValue; //all links on page
  1025.  
  1026. var myArray = null;
  1027. var span = null;
  1028. var lastLastIndex = 0;
  1029. allLinksRegex.lastIndex = 0;
  1030. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1031. {
  1032. if (textNode.parentNode.className == "adead_link") continue;
  1033. var censoredLink = muligtLink;
  1034. var span = document.createElement('span');
  1035. span.className = "adead_link";
  1036. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1037. $(span).html(censoredLink);
  1038. span.addEventListener("mouseover", displayTooltipError, false);
  1039. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1040. textNode.parentNode.replaceChild(span, textNode);
  1041. continue;
  1042. alert(censoredLink);
  1043. }
  1044. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1045. {
  1046. if (!regex.test(myArray[0])) //this link is not recognized
  1047. {
  1048.  
  1049. continue;
  1050. }
  1051. if (!span)
  1052. span = document.createElement('span');
  1053.  
  1054. var link = myArray[0];
  1055. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1056.  
  1057. var $a = $("<a>" + link + "</a>")
  1058. if (!link.match(/https?:\/\//))
  1059. {
  1060. link = 'http://' + link;
  1061. }
  1062.  
  1063. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1064. .addClass("processing_link")
  1065. .appendTo(span);
  1066. lastLastIndex = allLinksRegex.lastIndex;
  1067. }
  1068. if (span)
  1069. {
  1070. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1071. textNode.parentNode.replaceChild(span, textNode);
  1072. }
  1073. }
  1074. }
  1075.  
  1076. function add_WARLC_style()
  1077. {
  1078. if (!(document.getElementsByTagName('WARLC')[0]))
  1079. {
  1080. var meta_not_to_add_more_style = document.createElement("WARLC");
  1081. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1082. meta_not_to_add_more_style.setAttribute('name', 'description');
  1083. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1084. alive_link_png = "";
  1085. adead_link_png = "";
  1086. unava_link_png = "";
  1087. prem_link_png = "";
  1088. switch(Icon_set)
  1089. {
  1090. //no icons
  1091. case 0: break;
  1092. // cat paws
  1093. case 1: alive_link_png = PAW_ICON_GREEN;
  1094. adead_link_png = PAW_ICON_RED;
  1095. unava_link_png = PAW_ICON_YELLOW;
  1096. prem_link_png = PAW_ICON_PINK;
  1097. break;
  1098. // classic RSLC look
  1099. case 2: alive_link_png = RSLC_ICON_GREEN;
  1100. adead_link_png = RSLC_ICON_RED;
  1101. unava_link_png = RSLC_ICON_YELLOW;
  1102. prem_link_png = RSLC_ICON_PINK;
  1103. break;
  1104. // New Icons
  1105. case 3: alive_link_png = NEW_ICON_GREEN;
  1106. adead_link_png = NEW_ICON_RED;
  1107. unava_link_png = NEW_ICON_YELLOW;
  1108. prem_link_png = NEW_ICON_PINK;
  1109. break;
  1110. // cat paws
  1111. default:alive_link_png = PAW_ICON_GREEN;
  1112. adead_link_png = PAW_ICON_RED;
  1113. unava_link_png = PAW_ICON_YELLOW;
  1114. prem_link_png = PAW_ICON_PINK;
  1115. break;
  1116. }
  1117. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1118. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1119.  
  1120. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1121.  
  1122. if (Color_DL_links)
  1123. {
  1124. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1125. live_color_css = 'color:' + Live_links_color + ' !important;';
  1126. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1127. container_color_css = 'color:' + Container_links_color + ' !important;';
  1128. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1129. }
  1130. else
  1131. {
  1132. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1133. }
  1134.  
  1135. if (Show_black_background_in_DL_links)
  1136. {
  1137. black_background_css = 'background-color: black !important;';
  1138. }
  1139. else
  1140. {
  1141. black_background_css = '';
  1142. }
  1143.  
  1144. if (Show_line_through_in_dead_links)
  1145. {
  1146. line_through_css = 'text-decoration: line-through !important;';
  1147. }
  1148. else
  1149. {
  1150. line_through_css = '';
  1151. }
  1152.  
  1153. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1154. 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 + "}");
  1155. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1156. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1157. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1158. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1159. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1160. }
  1161. }
  1162.  
  1163. var warlcTooltip = null;
  1164. var mouseoverLink = null; //link href with mouse cursor over it
  1165.  
  1166. var lastX = 0;
  1167. var lastY = 0;
  1168.  
  1169. $(document).ready(initTooltip);
  1170. //inits tooltip
  1171. function initTooltip()
  1172. { warlcTooltip = document.createElement("div");
  1173. 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;");
  1174. warlcTooltip.style.visibility = "hidden";
  1175. document.body.appendChild(warlcTooltip);
  1176. }
  1177.  
  1178. //"mousemove" event handler for all links
  1179. function moveTooltip(event)
  1180. {
  1181. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1182. { //no need to reflow if the cursor moved just a little
  1183. return;
  1184. }
  1185. else
  1186. {
  1187. lastX = event.clientX;
  1188. lastY = event.clientY;
  1189. }
  1190.  
  1191. posX = event.clientX + window.pageXOffset + 10;
  1192. posY = event.clientY + window.pageYOffset;
  1193. var ttHeight = warlcTooltip.offsetHeight;
  1194. var ttFreeSpace = window.innerHeight - event.clientY;
  1195. if (ttHeight > ttFreeSpace)
  1196. { //prevents tooltip from getting out of the window
  1197. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1198. }
  1199. else
  1200. {
  1201. posY += 7;
  1202. }
  1203. warlcTooltip.style.top = posY + "px";
  1204. warlcTooltip.style.left = posX + "px";
  1205. }
  1206.  
  1207. //"mouseout" event handler for all links
  1208. function hideTooltip(){
  1209. warlcTooltip.style.visibility = "hidden";
  1210. mouseoverLink = null;
  1211. }
  1212.  
  1213.  
  1214. //"mouseover" event handler for dead links
  1215. //displays tooltip error message on dead links
  1216. function displayTooltipError()
  1217. {
  1218. mouseoverLink = this.href;
  1219. this.addEventListener("mouseout", hideTooltip);
  1220. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1221. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1222. warlcTooltip.style.minWidth = 0;
  1223. warlcTooltip.style.visibility = "visible";
  1224. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1225. {
  1226. warlcTooltip.innerHTML = this.warlc_error;
  1227. }
  1228. else
  1229. {
  1230. loadErrorInfo(this);
  1231. }
  1232. function loadErrorInfo(link)
  1233. {
  1234. var href = link.href;
  1235. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1236. GM_xmlhttpRequest({
  1237. method: 'GET',
  1238. url: href.replace(Ref_anonymize_service, ""),
  1239. headers: {
  1240. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1241. 'Accept': 'text/xml',
  1242. 'Referer': ""
  1243. },
  1244. onload: function(result) {
  1245. var res = result.responseText;
  1246. //TODO: errorRegexs -
  1247. var errorRegexs = [ //generic error messages follow
  1248. /(empty directory)/i,
  1249. /(soubor nebyl nalezen)/i,
  1250. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1251. //server specific error messages follow
  1252. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1253. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1254. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1255. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1256. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1257. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1258. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1259. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1260. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1261. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1262. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1263. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1264. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1265. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1266. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1267. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1268. /(File has been removed due to Copyright Claim)/, //filerio
  1269. ];
  1270. var errorIdx = errorRegexs.length;
  1271. var error = "Cause of error: <b>unknown</b>";
  1272. var errorCandidate = "";
  1273. while(errorIdx--)
  1274. {
  1275. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1276. if (errorCandidate != null)
  1277. {
  1278. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1279. break;
  1280. }
  1281. }
  1282. //link attributes
  1283. link.warlc_error = error;
  1284. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1285. {
  1286. warlcTooltip.innerHTML = error;
  1287. }
  1288. }
  1289. });
  1290. }
  1291. }
  1292.  
  1293. //"mouseover" event handler for alive links
  1294. //displays tooltip info (file size, file name,...) on alive links
  1295. function displayTooltipInfo()
  1296. {
  1297. mouseoverLink = this.href;
  1298. //exclude direct download filehostings
  1299. 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)/))
  1300. {
  1301. return;
  1302. }
  1303. this.addEventListener("mouseout", hideTooltip);
  1304. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1305. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1306. warlcTooltip.style.minWidth = 0;
  1307. warlcTooltip.style.visibility = "visible";
  1308. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1309. {
  1310. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1311. }
  1312. else
  1313. {
  1314. loadInfo(this);
  1315. }
  1316. function loadInfo(link)
  1317. {
  1318. var href = link.href;
  1319. GM_xmlhttpRequest({
  1320. method: 'GET',
  1321. url: href.replace(Ref_anonymize_service, ""),
  1322. headers: {
  1323. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1324. 'Accept': 'text/xml',
  1325. 'Referer': ""
  1326. },
  1327. onload: function(result) {
  1328. var res = result.responseText;
  1329. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1330. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1331. /fl" title="(.+?)">/, //edisk
  1332. /<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
  1333. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1334. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1335. /title="download (.+?)">/, //sendspace
  1336. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1337. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1338. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1339. /d0FileName = "(.+?)";/, //letitbit
  1340. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1341. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1342. /fname" value="(.+?)">/, //syfiles, grupload,
  1343. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1344. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1345. /Complete name : (.+?)<br \/>/, //bezvadata
  1346. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1347. ];
  1348. var nameIdx = nameRegexs.length;
  1349. // [sizeRegexs]
  1350. // / \ \?
  1351. // prefix (size) postfix
  1352. // / \
  1353. // val quant
  1354. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1355. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1356. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1357. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1358. var postSizeRegex = '(?:\\))?';
  1359. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1360. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1361. ];
  1362. var sizeIdx = sizeRegexs.length;
  1363. //
  1364. //
  1365. var tooltip = "File Name: <b>";
  1366. var fileName = "unknown";
  1367. var nameCandidate = "";
  1368. while(nameIdx--)
  1369. {
  1370. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1371. if (nameCandidate != null)
  1372. {
  1373. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1374. break;
  1375. }
  1376. }
  1377. tooltip += fileName + "</b><br>File Size: <b>";
  1378. var fileSize = "unknown";
  1379. var sizeCandidate = "";
  1380. while(sizeIdx--)
  1381. {
  1382. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1383. if (sizeCandidate != null)
  1384. {
  1385. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1386. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1387. {
  1388. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1389. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1390. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1391. }
  1392. break;
  1393. }
  1394. }
  1395. tooltip += fileSize + "</b>";
  1396. // PROTOTYPE
  1397. // video thumbnails
  1398. if (href.match('hellshare'))
  1399. {
  1400. var thumbs;
  1401. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1402. if (thumbs)
  1403. {
  1404. tooltip += '<br>';
  1405. var j = Math.min(thumbs.length, 9);
  1406. for (var i = 0; i < j; i++)
  1407. {
  1408. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1409. }
  1410. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1411. }
  1412. }
  1413. if (href.match('czshare'))
  1414. {
  1415. var thumbs;
  1416. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1417. if (thumbs)
  1418. {
  1419. var thumbsServer = thumbs[1];
  1420. var thumbsId = thumbs[2];
  1421. tooltip += '<br>';
  1422. for (var i = 1; i < 9; i++)
  1423. {
  1424. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1425. }
  1426. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1427. }
  1428. }
  1429. if (href.match('bezvadata'))
  1430. {
  1431. var thumbs;
  1432. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1433. if (thumbs)
  1434. {
  1435. tooltip += '<br>';
  1436. var j = Math.min(thumbs.length, 9);
  1437. for (var i = 0; i < j; i++)
  1438. {
  1439. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1440. }
  1441. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1442. }
  1443. }
  1444. link.warlc_tooltipcache = tooltip;
  1445. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1446. {
  1447. warlcTooltip.innerHTML = tooltip;
  1448. }
  1449. }
  1450. });
  1451. }
  1452. }
  1453.  
  1454. function setVariables()
  1455. {
  1456. if (firstRun)
  1457. {
  1458. GM_log('First run, applying default settings...');
  1459. GM_setValue("Icon_set",1);
  1460. GM_setValue("Display_tooltip_info",true);
  1461. GM_setValue("Show_black_background_in_DL_links",false);
  1462. GM_setValue("Show_line_through_in_dead_links",false);
  1463. GM_setValue("Display_full_links_in_link_containers",false);
  1464. GM_setValue("Allow_spaces_in_DL_links",false);
  1465. GM_setValue("Autocheck",true);
  1466. GM_setValue("Enable_Anonymizer",false);
  1467. GM_setValue("Do_not_linkify_DL_links",false);
  1468. GM_setValue("Show_progress_stats",true);
  1469. GM_setValue("Keyboard_functions",true);
  1470. GM_setValue("Obsolete_file_hosts",false);
  1471. GM_setValue("Color_DL_links",true);
  1472. GM_setValue("Live_links_color","Green");
  1473. GM_setValue("Dead_links_color","#FF3300");
  1474. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1475. GM_setValue("Container_links_color","DarkKhaki");
  1476. GM_setValue("Premium_links_color","DeepPink");
  1477. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1478. GM_setValue("Custom_rules",false);
  1479. GM_setValue("Custom_rules_text","");
  1480. GM_setValue("First_run", false);
  1481. }
  1482. //hidden settings
  1483. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1484. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1485. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1486. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1487. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1488. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1489. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1490. //hidden settings end
  1491.  
  1492. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1493. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1494. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1495. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1496. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1497. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1498. Autocheck = GM_getValue("Autocheck", true);
  1499. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1500. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1501. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1502. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1503. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1504. Color_DL_links = GM_getValue("Color_DL_links", true);
  1505. Live_links_color = GM_getValue("Live_links_color", "Green");
  1506. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1507. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1508. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1509. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1510. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1511. Custom_rules = GM_getValue("Custom_rules", false);
  1512. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1513. }
  1514.  
  1515.  
  1516. // Delinkifies the links
  1517. // params:
  1518. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1519. // e.g. 'uloz.to/xs68skxl8')
  1520. function delinkifySnapshot(snapshot)
  1521. {
  1522. var n = snapshot.snapshotLength;
  1523.  
  1524. while (n--)
  1525. {
  1526. thisLink = snapshot.snapshotItem(n);
  1527.  
  1528. var spanElm = document.createElement("span");
  1529. spanElm.className = thisLink.className;
  1530. spanElm.innerHTML = thisLink.innerHTML;
  1531.  
  1532. if (Display_tooltip_info)
  1533. {
  1534. spanElm.href = thisLink.href;
  1535. switch (thisLink.className){
  1536. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1537. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1538. case "unava_link": //reserved
  1539. default:
  1540. }
  1541. }
  1542. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1543. }
  1544. }
  1545.  
  1546. function processContainers()
  1547. {
  1548. var redirectorTypes = { "HTTP_302": 0,
  1549. "INNER_LINK": 1,
  1550. "THELOO_KATT_IT": 2,
  1551. "CING_BE": 3,
  1552. "ADF_LY": 4};
  1553. var cMultiloadTotal = 0;
  1554. var cMultiloadProcessed = 0;
  1555.  
  1556. var cMirrorcreatorComTotal = 0;
  1557. var cMirrorcreatorComProcessed = 0;
  1558.  
  1559. var hostRestrictionRegex = "";
  1560. var multiloadComRestriction = "";
  1561. var multiloadComRestrictionRegex;
  1562.  
  1563. //
  1564. //HANDLING REDIRECTORS START
  1565. //
  1566.  
  1567. var redirectors = new Array();
  1568. initRedirectors();
  1569.  
  1570. var redirectorsCount = redirectors.length;
  1571.  
  1572. if (redirectorsCount > 0)
  1573. {
  1574. var allRedirectorsRegex = "";
  1575.  
  1576. //linkify redirector links
  1577. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1578. {
  1579. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1580. }
  1581. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1582. linkify(allRedirectorsRegex);
  1583. //
  1584. //process redirector links
  1585. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1586. {
  1587. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1588. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1589.  
  1590. cLinksTotal += redirectors[redirIdx].cTotal;
  1591. var linkIdx = redirectors[redirIdx].cTotal;
  1592.  
  1593. while(linkIdx--)
  1594. {
  1595. switch(redirectors[redirIdx].type)
  1596. {
  1597. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1598. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1599. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1600. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1601. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1602. default:
  1603. }
  1604. }
  1605. }
  1606. //
  1607. }
  1608.  
  1609. //HTTP_302
  1610. function processRedirectorLink(link, redirectorId)
  1611. {
  1612. link.className = 'container_link';
  1613.  
  1614. GM_xmlhttpRequest({
  1615. method: 'HEAD',
  1616. url: link.href,
  1617. headers: {
  1618. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1619. 'Accept': 'text/xml',
  1620. 'Referer': ""
  1621. },
  1622. onload: function(result) {
  1623. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1624. {
  1625. processRedirectorLink(link, redirectorId);
  1626. }
  1627. else
  1628. {
  1629. redirectors[redirectorId].cProcessed++;
  1630. link.href = result.finalUrl;
  1631. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1632. checkLinks('container_link');
  1633. }
  1634. },
  1635. onerror: function(result) { //probably caused by unresponsive filehosting
  1636. redirectors[redirectorId].cProcessed++;
  1637. link.className = 'unava_link';
  1638. cLinksProcessed++;
  1639. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1640. checkLinks('container_link');
  1641. }
  1642. });
  1643. }
  1644. //INNER_LINK
  1645. function processRedirectorLinkEx(link, redirectorId)
  1646. {
  1647. link.className = 'container_link';
  1648. GM_xmlhttpRequest({
  1649. method: 'GET',
  1650. url: link.href,
  1651. headers: {
  1652. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1653. 'Accept': 'text/xml',
  1654. 'Referer': ""
  1655. },
  1656. onload: function(result) {
  1657. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1658. redirectors[redirectorId].cProcessed++;
  1659. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1660. checkLinks('container_link');
  1661. }
  1662. });
  1663. }
  1664. //theloo.katt.it (wrapped safelinking.net)
  1665. function processThelooKattItLink(link, redirectorId)
  1666. {
  1667. link.className = 'container_link';
  1668. GM_xmlhttpRequest({
  1669. method: 'GET',
  1670. url: link.href,
  1671. headers: {
  1672. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1673. 'Accept': 'text/xml',
  1674. 'Referer': ""
  1675. },
  1676. onload: function(result) {
  1677. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1678. redirectors[redirectorId].cProcessed++;
  1679. //the inner links are safelinking.net links, so lets proceed with it
  1680. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1681. {
  1682. processRedirectorLink(link, 0);
  1683. }
  1684. }
  1685. });
  1686. }
  1687. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1688. function processAdfLyLink(link, redirectorId)
  1689. {
  1690. link.className = 'container_link';
  1691. GM_xmlhttpRequest({
  1692. method: 'GET',
  1693. url: link.href,
  1694. headers: {
  1695. 'User-agent': 'Mozilla/4.0',
  1696. 'Accept': 'text/xml',
  1697. 'Referer': ""
  1698. },
  1699. onload: function(result) {
  1700. if (result.finalUrl.match('/locked/'))
  1701. {
  1702. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1703. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1704. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1705. }
  1706. else
  1707. {
  1708. // GM_log('Processing... ' + link.href);
  1709. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1710. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1711. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1712. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1713. //confirm advert
  1714. GM_xmlhttpRequest(
  1715. {
  1716. method: 'POST',
  1717. url: 'http://adf.ly/l.php',
  1718. headers: {
  1719. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1720. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1721. 'Referer': link.href
  1722. },
  1723. data: users + '&lt=' + logToken,
  1724. onload: function(result) {
  1725. //retrieve final url from .../go/... link
  1726. GM_xmlhttpRequest({
  1727. method: 'GET',
  1728. url: directLink,
  1729. headers: {
  1730. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1731. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1732. 'Referer': link.href
  1733. },
  1734. onload: function(result) {
  1735. link.href = result.finalUrl;
  1736. redirectors[redirectorId].cProcessed++;
  1737. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1738. checkLinks('container_link');
  1739. }
  1740. });
  1741. }
  1742. });
  1743. }
  1744. }
  1745. });
  1746. function proceedOK()
  1747. {
  1748. }
  1749. }
  1750. //MULTILOAD.CZ START
  1751. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1752. {
  1753. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1754. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1755.  
  1756. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1757.  
  1758. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1759. hostRestrictionRegex += 'hellshare|';
  1760. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1761. hostRestrictionRegex += 'downloadhellshare|';
  1762. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1763. hostRestrictionRegex += 'share-rapid\\.com|';
  1764. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1765. hostRestrictionRegex += 'quickshare\\.cz|';
  1766. if (GM_getValue("Check_czshare_dot_com_links", false))
  1767. hostRestrictionRegex += 'czshare\\.com|';
  1768. if (GM_getValue("Check_uloz_dot_to_links", false))
  1769. hostRestrictionRegex += 'uloz\\.to|';
  1770. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1771. hostRestrictionRegex += 'hellspy|';
  1772. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1773. hostRestrictionRegex += 'multishare\\.cz|';
  1774.  
  1775. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1776.  
  1777. linkify(mlRegex);
  1778.  
  1779. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1780. var mlCount = mlSnapshot.snapshotLength;
  1781.  
  1782. if (mlCount > 0)
  1783. {
  1784. cMultiloadTotal += mlCount;
  1785.  
  1786. mlIdx = mlCount - 1;
  1787. do
  1788. {
  1789. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1790. }
  1791. while(mlIdx--)
  1792. }
  1793. }
  1794. //MULTILOAD.CZ END
  1795.  
  1796.  
  1797.  
  1798. function processMultiloadLink(mlLink)
  1799. {
  1800. GM_xmlhttpRequest({
  1801. method: 'GET',
  1802. url: mlLink.href,
  1803. headers: {
  1804. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1805. 'Accept': 'text/xml',
  1806. 'Referer': ""
  1807. },
  1808. onload: function(result) {
  1809. var res = result.responseText;
  1810.  
  1811. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1812. 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;
  1813. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1814. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1815.  
  1816. var blocks; // blocks of links
  1817. var blockIdx;
  1818.  
  1819. mlLink.className = '';
  1820.  
  1821. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1822. {
  1823. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1824. return;
  1825. }
  1826.  
  1827. blocks = res.match(innerBlockRegex);
  1828.  
  1829. if (blocks == null) //no links found, cancel further processing
  1830. {
  1831. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1832. cMultiloadProcessed++;
  1833. if (cMultiloadTotal <= cMultiloadProcessed)
  1834. {
  1835. startBulkCheck('container_link');
  1836. start('container_link');
  1837. }
  1838. return;
  1839. }
  1840.  
  1841. blockIdx = blocks.length;
  1842.  
  1843. if (Display_full_links_in_link_containers)
  1844. {
  1845. var ulElm = document.createElement('ul');
  1846. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1847.  
  1848. while(blockIdx--)
  1849. {
  1850. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1851. {
  1852. continue;
  1853. }
  1854.  
  1855. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1856.  
  1857. var linkIdx = innerLinks.length;
  1858. while (linkIdx--)
  1859. {
  1860. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1861.  
  1862. var liElm = document.createElement('li');
  1863.  
  1864. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1865. {
  1866. liElm.appendChild(document.createTextNode(innerLink));
  1867. }
  1868. else
  1869. {
  1870. var aElm = document.createElement('a');
  1871. aElm.innerHTML = innerLink;
  1872. aElm.href = innerLink;
  1873. aElm.className = 'container_link';
  1874.  
  1875. liElm.appendChild(aElm);
  1876. }
  1877.  
  1878. ulElm.appendChild(liElm);
  1879. cLinksTotal++;
  1880. }
  1881. }
  1882.  
  1883. mlLink.parentNode.appendChild(ulElm);
  1884. }
  1885. else //compact view
  1886. {
  1887. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1888.  
  1889. while(blockIdx--)
  1890. {
  1891. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1892. {
  1893. continue;
  1894. }
  1895.  
  1896. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1897.  
  1898. var linkIdx = innerLinks.length;
  1899. while (linkIdx--)
  1900. {
  1901. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1902.  
  1903. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1904. {
  1905. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1906. }
  1907. else
  1908. {
  1909. var aElm = document.createElement('a');
  1910.  
  1911. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1912.  
  1913. //abbreviate host name
  1914. switch(hostName + ""){
  1915.  
  1916. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1917. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1918. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1919. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1920. case 'multishare': aElm.innerHTML = 'MS'; break;
  1921. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1922. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1923. case 'czshare': aElm.innerHTML = 'CS'; break;
  1924. default: aElm.innerHTML = 'xx';
  1925.  
  1926. }
  1927.  
  1928. aElm.href = innerLink;
  1929. aElm.className = 'container_link';
  1930.  
  1931. mlLink.parentNode.appendChild(aElm);
  1932. cLinksTotal++;
  1933. }
  1934. }
  1935.  
  1936. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1937.  
  1938. }
  1939. }
  1940.  
  1941. cMultiloadProcessed++;
  1942. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1943. {
  1944. if (Do_not_linkify_DL_links)
  1945. {
  1946. delinkifySnapshot(mlSnapshot);
  1947. }
  1948. startBulkCheck('container_link');
  1949. start('container_link');
  1950. }
  1951. }
  1952. });
  1953. }
  1954.  
  1955.  
  1956. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1957. {
  1958. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1959. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1960. var mcShortHostNames =
  1961. '?? 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';
  1962. // 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
  1963. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1964. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1965. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1966. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1967.  
  1968. linkify(mcRegex);
  1969.  
  1970. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1971. var mcCount = mcSnapshot.snapshotLength;
  1972.  
  1973. cMirrorcreatorComTotal = mcCount;
  1974.  
  1975. if (mcCount > 0)
  1976. {
  1977. mcShortHostNames = mcShortHostNames.split(' ');
  1978. mcIdx = mcCount;
  1979. while(mcIdx--)
  1980. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1981. }
  1982.  
  1983. }
  1984. //MIRRORCREATOR.CZ END
  1985.  
  1986.  
  1987. //mirrorcreator.com checking works like this:
  1988. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1989. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1990. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1991. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1992. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1993. function processMirrorcreatorLink(mcLink)
  1994. {
  1995. var mcURL = mcLink.href.match(mcRegex);
  1996. if(!mcURL || !mcURL[1]) return;
  1997. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1998. GM_xmlhttpRequest({
  1999. method: 'GET',
  2000. url: mcURL,
  2001. headers: {
  2002. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2003. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2004. 'Referer': ""
  2005. },
  2006. onload: function(mcLinkResult) {
  2007. var mcLinkRes = mcLinkResult.responseText;
  2008.  
  2009. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2010. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2011.  
  2012. var mcRedirectors;
  2013. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2014. var m = mcLinkRes.match(mcLinkBlockRegex);
  2015. if (m)
  2016. mcHostsFound = m.length;
  2017. else
  2018. { //no files inside container
  2019. processMirrorcreatorFoundHosts(mcLink, []);
  2020. return;
  2021. }
  2022.  
  2023. var mcRedirectorURL, idx, timedOut = false;
  2024.  
  2025. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2026. GM_xmlhttpRequest({
  2027. method: 'GET',
  2028. url: mcRedirectorURL,
  2029. headers: {
  2030. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2031. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2032. 'Referer': ""
  2033. },
  2034. onload: function(mcHostResult) {
  2035. if (timedOut) return; //too late, the list is already displayed
  2036. var mcHostRes = mcHostResult.responseText;
  2037. var mcHost = mcHostRes.match(mcHostRegex);
  2038. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2039. if (mcHost && idx!=-1)
  2040. {
  2041. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2042. mcHostsRetrieved++;
  2043. mcHostsToProcess++;
  2044. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2045. {
  2046. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2047. mcHostsToProcess = 0;
  2048. }
  2049. }
  2050. } //end of onload: function
  2051. }); //end of GM_xmlhttpRequest call
  2052. };//end of var gmxhrFunc
  2053.  
  2054. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2055. { //load individual redirector pages
  2056. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2057. mcHostURLs.push(mcRedirectorURL);
  2058. mcRedirectorIDs.push(mcRedirectors[2]);
  2059. gmxhrFunc(mcRedirectorURL);
  2060. } //end of while block
  2061.  
  2062. setTimeout(function(){ //in case the last page fails to load and call the function
  2063. timedOut = true;
  2064. if (mcHostsToProcess)
  2065. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2066. }, 60000);
  2067.  
  2068. } //end of onload function
  2069. }); //end of GM_xmlhttpRequest call
  2070. } //end of function processMirrorcreatorLink
  2071.  
  2072.  
  2073. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2074. {
  2075. var aEl, liEl, docFrag;
  2076. var hostName, mcRedirectorID, trimFilename = false;
  2077. var i = mcHostURLs.length;
  2078. if (i == 0)
  2079. {
  2080. trimFilename = true;
  2081. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2082. }
  2083. else
  2084. {
  2085. if (Display_full_links_in_link_containers)
  2086. { //full view
  2087. var wrapperEl = document.createElement('span');
  2088. wrapperEl.style.display = 'block';
  2089. var ulistEl = document.createElement('ul');
  2090. ulistEl.className = 'container_list';
  2091. while (i--)
  2092. {
  2093. liEl = document.createElement('li');
  2094. aEl = document.createElement('a');
  2095. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2096. aEl.href = mcHostURLs[i];
  2097. aEl.className = 'container_link';
  2098. liEl.appendChild(aEl);
  2099. ulistEl.appendChild(liEl);
  2100. }
  2101. wrapperEl.appendChild(ulistEl);
  2102. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2103. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2104. }
  2105. else
  2106. { //compact view
  2107. trimFilename = true;
  2108. docFrag = document.createDocumentFragment();
  2109. docFrag.appendChild(document.createTextNode(' |'));
  2110. while (i--)
  2111. {
  2112. mcRedirectorID = mcRedirectorIDs[i];
  2113. hostName = mcHostURLs[i];
  2114. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2115. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2116. else
  2117. hostName = mcShortHostNames[mcRedirectorID];
  2118. aEl = document.createElement('a');
  2119. aEl.href = mcHostURLs[i];
  2120. aEl.className = 'container_link';
  2121. aEl.appendChild(document.createTextNode(hostName));
  2122. docFrag.appendChild(aEl);
  2123. docFrag.appendChild(document.createTextNode('|'));
  2124. }
  2125. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2126. } //end of else block
  2127. } //end of else block
  2128. mcLink.className = '';
  2129. if (trimFilename)
  2130. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2131. cMirrorcreatorComProcessed++;
  2132. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2133. {
  2134. if (Do_not_linkify_DL_links)
  2135. delinkifySnapshot(mcSnapshot);
  2136. startBulkCheck('container_link');
  2137. start('container_link');
  2138. }
  2139. } //end of function processMirrorcreatorFoundHosts
  2140.  
  2141. containers_processed = true;
  2142.  
  2143.  
  2144. function initRedirectors()
  2145. {
  2146. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2147. {
  2148. var redirector = new Object();
  2149. redirector.linkRegex = linkRegex;
  2150. redirector.xpath = xpathEx; //xpath expression
  2151. redirector.cProcessed = 0; //processed links count
  2152. redirector.cTotal = 0; //total links count
  2153. redirector.type = redirType; //redirectorTypes enum
  2154. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2155. redirectors.push(redirector);
  2156. }
  2157. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2158. {
  2159. addRedirector(
  2160. 'safelinking\\.net\/d\/\\w+',
  2161. "//a[contains(@href,'safelinking.net/d/')]",
  2162. redirectorTypes.HTTP_302,
  2163. null);
  2164. }
  2165. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2166. {
  2167. addRedirector(
  2168. 'linksafe\\.me\/d\/\\w+',
  2169. "//a[contains(@href,'linksafe.me/d/')]",
  2170. redirectorTypes.HTTP_302,
  2171. null);
  2172. }
  2173. if (GM_getValue("Check_linkto_dot_net_links", false))
  2174. {
  2175. addRedirector(
  2176. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2177. "//a[contains(@href,'linkto.net/?')]",
  2178. redirectorTypes.INNER_LINK,
  2179. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2180. }
  2181. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2182. {
  2183. addRedirector(
  2184. '(?:the)?loo\\.katt\\.it\/\\w+',
  2185. "//a[contains(@href,'loo.katt.it/')]",
  2186. redirectorTypes.THELOO_KATT_IT,
  2187. /Proceed to URL - <a href="(.+?)">/);
  2188. }
  2189. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2190. {
  2191. addRedirector(
  2192. 'madlink\\.sk\/\\w+',
  2193. "//a[contains(@href,'madlink.sk/')]",
  2194. redirectorTypes.INNER_LINK,
  2195. /name="url" value="(.+?)\s*"\/>/);
  2196. }
  2197. if (GM_getValue("Check_adf_dot_ly_links", false))
  2198. {
  2199. addRedirector(
  2200. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2201. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2202. redirectorTypes.ADF_LY,
  2203. null);
  2204. }
  2205. if (GM_getValue("Check_redi_dot_re_links", false))
  2206. {
  2207. addRedirector(
  2208. 'redi\\.re\/\\w+',
  2209. "//a[contains(@href,'redi.re/')]",
  2210. redirectorTypes.HTTP_302,
  2211. null);
  2212. }
  2213. if (GM_getValue("Check_bit_dot_ly_links", false))
  2214. {
  2215. addRedirector(
  2216. 'bit\\.ly\/\\w+',
  2217. "//a[contains(@href,'bit.ly/')]",
  2218. redirectorTypes.HTTP_302,
  2219. null);
  2220. }
  2221. }
  2222.  
  2223. }
  2224.  
  2225. var bulkHosts = new Array();
  2226. var bulkHostNames = new Array();
  2227. function initBulkCheck()
  2228. {
  2229. /////////////////////////////
  2230. // Inits filehost object
  2231. /////////////////////////////
  2232. // params :
  2233. // hostName -- [string] host name (multiple domains separated with coma)
  2234. // linkRegex -- [string] link regex
  2235. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2236. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2237. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2238. // corrReplWhat -- [regex] link correction regex (replace)
  2239. // corrReplWith -- [string]
  2240. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2241. //
  2242. // apiUrl -- [string] web linkchecker or API URL
  2243. // postData -- [string] POSTDATA of xmlhttprequest
  2244. // resLinkRegex -- [regex]
  2245. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2246. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2247. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2248. // func -- [function] bulkcheck handler, genBulkCheck if null
  2249. //
  2250. //////////////////////////////
  2251. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2252. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2253. {
  2254. var fileHost = new Object();
  2255.  
  2256. fileHost.linkRegex = linkRegex;
  2257. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2258. fileHost.xpath = xpath;
  2259. fileHost.cFound = 0; //found links counter
  2260. fileHost.links = new Array(); //found links
  2261. if (blockSize == null)
  2262. {
  2263. fileHost.blockSize = 50;
  2264. }
  2265. else
  2266. {
  2267. fileHost.blockSize = blockSize;
  2268. }
  2269. fileHost.corrMatch = corrMatch;
  2270. fileHost.corrReplWhat = corrReplWhat;
  2271. fileHost.corrReplWith = corrReplWith;
  2272. if (splitSeparator == null)
  2273. {
  2274. fileHost.splitSeparator = "\r\n";
  2275. }
  2276. else
  2277. {
  2278. fileHost.splitSeparator = splitSeparator;
  2279. }
  2280. fileHost.apiUrl = apiUrl;
  2281. fileHost.postData = postData;
  2282. fileHost.resLinkRegex = resLinkRegex;
  2283. fileHost.resLiveRegex = resLiveRegex;
  2284. fileHost.resDeadRegex = resDeadRegex;
  2285. fileHost.resUnavaRegex = resUnavaRegex;
  2286. if (func == null)
  2287. {
  2288. fileHost.func = genBulkCheck;
  2289. }
  2290. else
  2291. {
  2292. fileHost.func = func;
  2293. }
  2294. bulkHosts.push(fileHost);
  2295. var names = hostName.split(',');
  2296. var i = names.length;
  2297. while(i--)
  2298. {
  2299. bulkHostNames[names[i]] = fileHost;
  2300. }
  2301. }
  2302. var genType1 = [
  2303. "rodfile.com", "downloadani.me", //"migahost.com",
  2304. "rarefile.net",
  2305. "filesabc.com",
  2306. "verzend.be",
  2307. // "movreel.com",
  2308. "4up.me",
  2309. "file4safe.com", "filemac.com", "4upfiles.com",
  2310. "idup.in", "novafile.com", "longfiles.com",
  2311. "bitupload.com",
  2312. "uploadbaz.com"
  2313. ];
  2314. var genType2 = [ "queenshare.com",
  2315. "hulkload.com",
  2316. "amonshare.com", //"edoc.com",
  2317. ];
  2318. //xfilesharing 1.0
  2319. function addGenericType1()
  2320. {
  2321. var i = genType1.length;
  2322. while(i--)
  2323. {
  2324. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2325. {
  2326. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2327. addHost(
  2328. genType1[i].match(/[\w-]+/)[0], //hostname
  2329. regexSafe + "\/\\w+", //linkregex
  2330. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2331. null, //blocksize
  2332. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2333. null, //corrreplwhat
  2334. null, //corrreplwith
  2335. null, //separator
  2336. "http://" + genType1[i] + "/checkfiles.html", //api url
  2337. "op=checkfiles&process=Check+URLs&list=", //postdata
  2338. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2339. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2340. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2341. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2342. null //function delegate
  2343. )
  2344. }
  2345. }
  2346. }
  2347. //xfilesharing 2.0
  2348. function addGenericType2()
  2349. {
  2350. var i = genType2.length;
  2351. while(i--)
  2352. {
  2353. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2354. {
  2355. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2356. addHost(
  2357. genType2[i].match(/[\w-]+/)[0], //hostname
  2358. regexSafe + "\/\\w+", //linkregex
  2359. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2360. null, //blocksize
  2361. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2362. null, //corrreplwhat
  2363. null, //corrreplwith
  2364. null, //separator
  2365. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2366. "op=checkfiles&process=Check+URLs&list=", //postdata
  2367. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2368. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2369. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2370. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2371. null //function delegate
  2372. )
  2373. }
  2374. }
  2375. }
  2376. // TEMPLATE
  2377. // if (GM_getValue("Check__dot_com_links", false))
  2378. // {
  2379. // addHost(
  2380. // "", //hostname
  2381. // "", //linkregex
  2382. // "//a[contains(@href,'.com/')]", //xpath
  2383. // null, //blocksize
  2384. // null, //corrmatch
  2385. // null, //corrreplwhat
  2386. // null, //corrreplwith
  2387. // null, //separator
  2388. // "", //api url
  2389. // "", //postdata
  2390. // /()/, //linkregex
  2391. // //liveregex
  2392. // //deadregex
  2393. // //unavaregex
  2394. // null //function delegate
  2395. // )
  2396. // }
  2397. addGenericType1();
  2398. addGenericType2();
  2399.  
  2400. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2401. {
  2402. addHost(
  2403. "myvdrive,fileserving", //hostname
  2404. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2405. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2406. null, //blocksize
  2407. null, //corrmatch
  2408. null, //corrreplwhat
  2409. null, //corrreplwith
  2410. null, //separator
  2411. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2412. "links=", //postdata
  2413. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2414. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2415. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2416. null, //unavaregex
  2417. null //function delegate
  2418. )
  2419. }
  2420. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2421. {
  2422. addHost(
  2423. "hackerbox", //hostname
  2424. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2425. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2426. null, //blocksize
  2427. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2428. null, //corrreplwhat
  2429. null, //corrreplwith
  2430. null, //separator
  2431. "http://host.hackerbox.org/checkfiles.html", //api url
  2432. "op=checkfiles&process=Check+URLs&list=", //postdata
  2433. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2434. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2435. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2436. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2437. null //function delegate
  2438. )
  2439. }
  2440. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2441. {
  2442. addHost(
  2443. "hellshare", //hostname
  2444. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2445. "//a[contains(@href,'hellshare.')]", //xpath
  2446. 48, //blocksize
  2447. null, //corrmatch
  2448. null, //corrreplwhat
  2449. null, //corrreplwith
  2450. null, //separator
  2451. null, //api url
  2452. null, //postdata
  2453. null, //linkregex
  2454. null, //liveregex
  2455. null, //deadregex
  2456. null, //unavaregex
  2457. hellshareBulkCheck //function delegate
  2458. )
  2459. }
  2460. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2461. {
  2462. addHost(
  2463. "ncrypt", //hostname
  2464. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2465. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2466. 100000, //blocksize
  2467. null, //corrmatch
  2468. null, //corrreplwhat
  2469. null, //corrreplwith
  2470. null, //separator
  2471. null,
  2472. null,
  2473. null,
  2474. null,
  2475. null,
  2476. null,
  2477. ncryptBulkCheck //function delegate
  2478. )
  2479. }
  2480. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2481. {
  2482. addHost(
  2483. "uploadrocket", //hostname
  2484. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2485. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2486. null, //blocksize
  2487. null, //corrmatch
  2488. null, //corrreplwhat
  2489. null, //corrreplwith
  2490. "\n", //separator
  2491. 'http://uploadrocket.net/?op=checkfiles',
  2492. 'op=checkfiles&process=Check+URLs&list=',
  2493. /uploadrocket.net\/(\w+)/,
  2494. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2495. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2496. null,
  2497. null //function delegate
  2498. )
  2499. }
  2500. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2501. {
  2502. addHost(
  2503. "k2s,keep2s,keep2share",
  2504. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2505. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2506. 100000, //blocksize
  2507. null, //corrmatch
  2508. null, //corrreplwhat
  2509. null, //corrreplwith
  2510. null, //separator
  2511. null,
  2512. null,
  2513. null,
  2514. null,
  2515. null,
  2516. null,
  2517. k2sBulkCheck //function delegate
  2518. )
  2519. }
  2520. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2521. {
  2522. addHost(
  2523. "tezfiles",
  2524. "(?:tezfiles\\.com)\/\\w+",
  2525. "//a[contains(@href,'tezfiles.com')]",
  2526. 100000, //blocksize
  2527. null, //corrmatch
  2528. null, //corrreplwhat
  2529. null, //corrreplwith
  2530. null, //separator
  2531. null,
  2532. null,
  2533. null,
  2534. null,
  2535. null,
  2536. null,
  2537. k2sBulkCheck //function delegate
  2538. )
  2539. }
  2540. if (GM_getValue("Check_fboom_dot_me_links", false))
  2541. {
  2542. addHost(
  2543. "fboom,fileboom",
  2544. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2545. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2546. 100000, //blocksize
  2547. null, //corrmatch
  2548. null, //corrreplwhat
  2549. null, //corrreplwith
  2550. null, //separator
  2551. null,
  2552. null,
  2553. null,
  2554. null,
  2555. null,
  2556. null,
  2557. fboomBulkCheck //function delegate
  2558. )
  2559. }
  2560. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2561. {
  2562. addHost(
  2563. "1fichier,dl4free",
  2564. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2565. "//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/?')]",
  2566. 100000, //blocksize
  2567. null, //corrmatch
  2568. null, //corrreplwhat
  2569. null, //corrreplwith
  2570. null, //separator
  2571. null,
  2572. null,
  2573. null,
  2574. null,
  2575. null,
  2576. null,
  2577. dl4free_1fichier_BulkCheck //function delegate
  2578. )
  2579. }
  2580. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2581. {
  2582. addHost(
  2583. "depositfiles,dfiles",
  2584. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|(?:en|de|ru)/files\/\\w+",
  2585. "//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/') or contains(@href,'dfiles.eu/de/files/') or contains(@href,'dfiles.eu/ru/files/')]",
  2586. 100000, //blocksize
  2587. null, //corrmatch
  2588. null, //corrreplwhat
  2589. null, //corrreplwith
  2590. null, //separator
  2591. null,
  2592. null,
  2593. null,
  2594. null,
  2595. null,
  2596. null,
  2597. depositfilesBulkCheck //function delegate
  2598. )
  2599. }
  2600. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2601. {
  2602. addHost(
  2603. "filesflash", //hostname
  2604. "filesflash\\.com\/\\w+", //linkregex
  2605. "//a[contains(@href,'filesflash.com')]", //xpath
  2606. null, //blocksize
  2607. null, //corrmatch
  2608. /http:\/\//, //corrreplwhat
  2609. '', //corrreplwith
  2610. null, //separator
  2611. 'http://filesflash.com/checklinks.php',
  2612. 'submit=Go&links=',
  2613. /filesflash\.com\/(\w+)/,
  2614. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2615. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2616. null,
  2617. null //function delegate
  2618. )
  2619. }
  2620. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2621. {
  2622. addHost(
  2623. "jumbofiles", //hostname
  2624. "jumbofiles\\.com\/\\w+", //linkregex
  2625. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2626. null, //blocksize
  2627. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2628. null, //corrreplwhat
  2629. null, //corrreplwith
  2630. null, //separator
  2631. "http://jumbofiles.com/checkfiles.html", //api url
  2632. "op=checkfiles&process=Check+URLs&list=", //postdata
  2633. /(jumbofiles\.com\/\w+)/, //linkregex
  2634. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2635. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2636. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2637. null //function delegate
  2638. )
  2639. }
  2640. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2641. {
  2642. addHost(
  2643. "edisk", //hostname
  2644. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2645. "//a[contains(@href,'edisk.')]", //xpath
  2646. null, //blocksize
  2647. null, //corrmatch
  2648. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2649. 'edisk.cz/stahni', //corrreplwith
  2650. null, //separator
  2651. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2652. 'submitBtn=Zkontrolovat&checkFiles=',
  2653. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2654. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2655. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2656. null,
  2657. null //function delegate
  2658. )
  2659. }
  2660. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2661. {
  2662. GM_xmlhttpRequest( //age check skip
  2663. {
  2664. method: 'POST',
  2665. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2666. headers: {
  2667. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2668. 'Content-type': 'application/x-www-form-urlencoded',
  2669. 'Referer': ""
  2670. }
  2671. });
  2672. addHost(
  2673. "bezvadata", //hostname
  2674. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2675. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2676. null, //blocksize
  2677. null, //corrmatch
  2678. null, //corrreplwhat
  2679. null, //corrreplwith
  2680. null, //separator
  2681. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2682. 'zkontrolovat=Zkontrolovat&odkazy=',
  2683. /(bezvadata\.cz\/stahnout\/\d+)/,
  2684. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2685. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2686. null,
  2687. null //function delegate
  2688. )
  2689. }
  2690. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2691. {
  2692. addHost(
  2693. "linkcrypt", //hostname
  2694. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2695. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2696. 100000, //blocksize
  2697. null, //corrmatch
  2698. null, //corrreplwhat
  2699. null, //corrreplwith
  2700. null, //separator
  2701. null,
  2702. null,
  2703. null,
  2704. null,
  2705. null,
  2706. null,
  2707. linkcryptBulkCheck //function delegate
  2708. )
  2709. }
  2710. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2711. {
  2712. addHost(
  2713. "linksave", //hostname
  2714. "linksave\\.in\/\\w+", //linkregex
  2715. "//a[contains(@href,'linksave.in')]", //xpath
  2716. 100000, //blocksize
  2717. null, //corrmatch
  2718. null, //corrreplwhat
  2719. null, //corrreplwith
  2720. null, //separator
  2721. null,
  2722. null,
  2723. null,
  2724. null,
  2725. null,
  2726. null,
  2727. linksaveBulkCheck //function delegate
  2728. )
  2729. } */
  2730. if (GM_getValue("Check_videobb_dot_com_links", false))
  2731. {
  2732. addHost(
  2733. "videobb", //hostname
  2734. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2735. "//a[contains(@href,'videobb.com')]", //xpath
  2736. null, //blocksize
  2737. null, //corrmatch
  2738. /watch_video\.php\?v=/, //corrreplwhat
  2739. 'video/', //corrreplwith
  2740. null, //separator
  2741. 'http://www.videobb.com/link_checker.php',
  2742. 'links=',
  2743. /videobb\.com\/video\/(\w+)/,
  2744. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2745. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2746. null,
  2747. null //function delegate
  2748. )
  2749. }
  2750. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2751. {
  2752. addHost(
  2753. "cramit,cramitin", //hostname
  2754. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2755. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2756. null, //blocksize
  2757. null, //corrmatch
  2758. null, //corrreplwhat
  2759. null, //corrreplwith
  2760. null, //separator
  2761. 'http://cramit.in/checkfiles.html',
  2762. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2763. /(cramit(?:\.in|in\.net)\/\w+)/,
  2764. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2765. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2766. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2767. null //function delegate
  2768. )
  2769. }
  2770. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2771. {
  2772. addHost(
  2773. "turbobit", //hostname
  2774. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2775. "//a[contains(@href,'turbobit.')]", //xpath
  2776. null, //blocksize
  2777. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2778. null, //corrreplwhat
  2779. null, //corrreplwith
  2780. "\n", //separator
  2781. 'http://turbobit.net/linkchecker/csv',
  2782. 'links_to_check=',
  2783. /(turbobit\.(?:net|pl)\/\w+)/,
  2784. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2785. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2786. null,
  2787. null //function delegate
  2788. )
  2789. } */
  2790. if (GM_getValue("Check_filerio_dot_com_links", false))
  2791. {
  2792. addHost(
  2793. "filekeen,filerio", //hostname
  2794. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2795. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2796. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2797. null, //blocksize
  2798. null, //corrmatch
  2799. null, //corrreplwhat
  2800. null, //corrreplwith
  2801. null, //separator
  2802. 'http://filerio.in/checkfiles.html',
  2803. 'op=checkfiles&process=Check+URLs&list=',
  2804. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2805. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2806. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2807. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2808. null //function delegate
  2809. )
  2810. }
  2811. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2812. {
  2813. addHost(
  2814. "share-online,egoshare", //hostname
  2815. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2816. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2817. null, //blocksize
  2818. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2819. null, //corrreplwhat
  2820. null, //corrreplwith
  2821. "\n", //separator
  2822. 'http://api.share-online.biz/linkcheck.php',
  2823. 'links=',
  2824. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2825. /\w+;OK/g,
  2826. /\w+;(?:NOTFOUND|DELETED)/g,
  2827. null,
  2828. null //function delegate
  2829. )
  2830. }
  2831. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2832. {
  2833. addHost(
  2834. "quickshare", //hostname
  2835. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2836. "//a[contains(@href,'quickshare.cz')]", //xpath
  2837. null, //blocksize
  2838. null, //corrmatch
  2839. null, //corrreplwhat
  2840. null, //corrreplwith
  2841. null, //separator
  2842. 'http://www.quickshare.cz/nastroje/link-checker',
  2843. 'linky=',
  2844. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2845. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2846. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2847. null,
  2848. null //function delegate
  2849. )
  2850. } */
  2851. if (GM_getValue("Check_oboom_dot_com_links", false))
  2852. {
  2853. addHost(
  2854. "oboom", //hostname
  2855. "oboom\\.com\/#?\\w{8}", //linkregex
  2856. "//a[contains(@href,'oboom.com/')]", //xpath
  2857. null, //blocksize
  2858. /oboom\.com\/#?(\w{8})/, //corrmatch
  2859. null, //corrreplwhat
  2860. null, //corrreplwith
  2861. null, //separator
  2862. null,
  2863. null,
  2864. null,
  2865. null, //liveregex
  2866. null, //deadregex
  2867. null,
  2868. oboomBulk //function delegate
  2869. )
  2870. }
  2871. if (GM_getValue("Check_mega_dot_nz_links", false))
  2872. {
  2873. addHost(
  2874. "mega",
  2875. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2876. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2877. 100000, //blocksize
  2878. null, //corrmatch
  2879. null, //corrreplwhat
  2880. null, //corrreplwith
  2881. null, //separator
  2882. null,
  2883. null,
  2884. null,
  2885. null,
  2886. null,
  2887. null,
  2888. megaBulkCheck //function delegate
  2889. )
  2890. }
  2891.  
  2892. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2893.  
  2894. if (GM_getValue("Check_extabit_dot_com_links", false))
  2895. {
  2896. addHost(
  2897. "extabit", //hostname
  2898. "extabit\\.com\/file\/\\w+", //linkregex
  2899. "//a[contains(@href,'extabit.com')]", //xpath
  2900. null, //blocksize
  2901. null, //corrmatch
  2902. null, //corrreplwhat
  2903. null, //corrreplwith
  2904. "\n", //separator
  2905. "http://extabit.com/linkchecker.jsp", //api url
  2906. "url=", //postdata
  2907. /extabit\.com\/(file\/\w+)/, //linkregex
  2908. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2909. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2910. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2911. extabitBulkCheck //function delegate
  2912. )
  2913. }
  2914. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2915. {
  2916. addHost(
  2917. "junocloud", //hostname
  2918. "junocloud\\.me\/\\w+", //linkregex
  2919. "//a[contains(@href,'junocloud.me')]", //xpath
  2920. null, //blocksize
  2921. null, //corrmatch
  2922. null, //corrreplwhat
  2923. null, //corrreplwith
  2924. "\n", //separator
  2925. "http://junocloud.me/checkfiles.html", //api url
  2926. "op=checkfiles&process=Check+URLs&list=", //postdata
  2927. /(junocloud\.me\/\w+)/, //linkregex
  2928. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2929. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2930. null, //unavaregex
  2931. null //function delegate
  2932. )
  2933. }
  2934. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2935. {
  2936. addHost(
  2937. "webshare", //hostname
  2938. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2939. "//a[contains(@href,'webshare.cz')]", //xpath
  2940. 100000, //blocksize
  2941. null, //corrmatch
  2942. null, //corrreplwhat
  2943. null, //corrreplwith
  2944. null, //separator
  2945. null, //api url
  2946. null, //postdata
  2947. null, //linkregex
  2948. null, //liveregex
  2949. null, //deadregex
  2950. null, //unavaregex
  2951. webshareBulkCheck //function delegate
  2952. )
  2953. }
  2954. /////////////////////////////
  2955. // Common function delegate to send links to get checked by host linkchecker
  2956. /////////////////////////////
  2957. // If you define a new delegate, you may use following properties
  2958. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2959. // this.apiUrl [string] API or web linkchecker URL
  2960. // this.postData [string] POSTDATA for POST request
  2961. // this.resLiveRegex [regex] matches live substrings in the request response
  2962. // this.resDeadRegex [regex] matches dead substrings in the request response
  2963. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2964. //
  2965. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2966. //
  2967. // See the code below for standard bulkcheck handling reference.
  2968. //////////////////////////////
  2969. function genBulkCheck()
  2970. {
  2971. var blockIdx = this.links.length;
  2972. while (blockIdx--)
  2973. {
  2974. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2975. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2976. }
  2977. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2978. {
  2979. GM_xmlhttpRequest(
  2980. {
  2981. method: 'POST',
  2982. url: api,
  2983. headers: {
  2984. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2985. 'Content-type': 'application/x-www-form-urlencoded',
  2986. 'Referer': api,
  2987. 'X-Requested-With': 'XMLHttpRequest'
  2988. },
  2989. data: postData + encodeURIComponent(links),
  2990. onload: function (result)
  2991. {
  2992. var res = result.responseText;
  2993. // GM_log(res);
  2994. var i;
  2995.  
  2996. var livelinks = res.match(liveRegex);
  2997. var deadlinks = res.match(deadRegex);
  2998. // GM_log(livelinks);
  2999. // GM_log(deadlinks);
  3000. if (livelinks != null)
  3001. {
  3002. i = livelinks.length - 1;
  3003. do
  3004. {
  3005. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3006. }
  3007. while (i--);
  3008. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3009. }
  3010.  
  3011. if (deadlinks != null)
  3012. {
  3013. i = deadlinks.length - 1;
  3014. do
  3015. {
  3016. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3017. }
  3018. while (i--);
  3019. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3020. }
  3021.  
  3022. if (unavaRegex != null)
  3023. {
  3024. var unavalinks = res.match(unavaRegex);
  3025. if (unavalinks)
  3026. {
  3027. i = unavalinks.length - 1;
  3028. do
  3029. {
  3030. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3031. }
  3032. while (i--);
  3033. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3034. }
  3035. }
  3036. }
  3037. });
  3038. }
  3039. }
  3040. //specialized bulkchecking handlers follow
  3041. function webshareBulkCheck()
  3042. {
  3043. var arr = this.links[0].split("\r\n");
  3044. var i = arr.length;
  3045. while(i--)
  3046. {
  3047. postRequest(arr[i]);
  3048. }
  3049. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3050. function postRequest(wsLink)
  3051. {
  3052. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3053. GM_xmlhttpRequest(
  3054. {
  3055. method: 'POST',
  3056. url: "http://webshare.cz/api/file_info/",
  3057. headers: {
  3058. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3059. 'Content-type': 'application/x-www-form-urlencoded',
  3060. 'Referer': "",
  3061. },
  3062. data: "wst=&ident=" + id,
  3063. onload: function (result)
  3064. {
  3065. var res = result.responseText;
  3066. if (res.match(/<name>.+?<\/name>/))
  3067. {
  3068. DisplayTheCheckedLinks([id], 'alive_link');
  3069. }
  3070. else
  3071. {
  3072. DisplayTheCheckedLinks([id], 'adead_link');
  3073. }
  3074. }
  3075. });
  3076. }
  3077. }
  3078. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3079. //extabit also doesn't like requests in fast succession, so some delays are added.
  3080. function extabitBulkCheck()
  3081. {
  3082. var timeoutDelay = 0;
  3083. var blockIdx = this.links.length;
  3084. while (blockIdx--)
  3085. {
  3086. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3087. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3088. }
  3089. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3090. {
  3091. GM_xmlhttpRequest(
  3092. {
  3093. method: 'POST',
  3094. url: api,
  3095. headers: {
  3096. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3097. 'Content-type': 'application/x-www-form-urlencoded',
  3098. 'Referer': api,
  3099. 'X-Requested-With': 'XMLHttpRequest'
  3100. },
  3101. data: postData + encodeURIComponent(links),
  3102. onload: function (result)
  3103. {
  3104. var res = result.responseText;
  3105. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3106. {
  3107. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3108. {
  3109. //GM_log(tryID + ': ' + link);
  3110. GM_xmlhttpRequest(
  3111. {
  3112. method: 'GET',
  3113. url: link,
  3114. 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': ""},
  3115. onload: function(result2)
  3116. {
  3117. var res2 = result2.responseText;
  3118. var res2Status = result.status;
  3119. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3120. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3121. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3122. {
  3123. if (tryID < 7)
  3124. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3125. else
  3126. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3127. }
  3128. }
  3129. });
  3130. }
  3131. //split the hrefs and check them one by one
  3132. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3133. links = links.split('\n');
  3134. var i = links.length;
  3135. while (i--)
  3136. {
  3137. if (links[i])
  3138. {
  3139. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3140. timeoutDelay += 500;
  3141. }
  3142. }
  3143. return;
  3144. }
  3145. var i;
  3146.  
  3147. var livelinks = res.match(liveRegex);
  3148. var deadlinks = res.match(deadRegex);
  3149. if (livelinks != null)
  3150. {
  3151. i = livelinks.length - 1;
  3152. do
  3153. {
  3154. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3155. }
  3156. while (i--);
  3157. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3158. }
  3159.  
  3160. if (deadlinks != null)
  3161. {
  3162. i = deadlinks.length - 1;
  3163. do
  3164. {
  3165. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3166. }
  3167. while (i--);
  3168. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3169. }
  3170.  
  3171. if (unavaRegex != null)
  3172. {
  3173. var unavalinks = res.match(unavaRegex);
  3174. if (unavalinks)
  3175. {
  3176. i = unavalinks.length - 1;
  3177. do
  3178. {
  3179. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3180. }
  3181. while (i--);
  3182. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3183. }
  3184. }
  3185. }
  3186. });
  3187. }
  3188. }
  3189. function k2sBulkCheck()
  3190. {
  3191. var arr = this.links[0].split("\r\n");
  3192. var i = arr.length;
  3193. c=0;
  3194. arrIDs=[];
  3195. while(i--)
  3196. {
  3197. id = arr[i].match(/\/file\/(\w+)/)[1];
  3198. if (id=='info')
  3199. {
  3200. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3201. continue;
  3202. }
  3203. k2salreadyexist=false;
  3204. for (j=0;j<arrIDs.length;j++)
  3205. {
  3206. if (arrIDs[j]==id)
  3207. {
  3208. k2salreadyexist=true;
  3209. break;
  3210. }
  3211. }
  3212. if (k2salreadyexist) continue;
  3213. arrIDs.push(id);
  3214. c++;
  3215. setTimeout(k2sRequest,c*500,arr[i]);
  3216. }
  3217. }
  3218. function k2sRequest(K2SLink)
  3219. {
  3220. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3221. GM_xmlhttpRequest(
  3222. {
  3223. method: 'GET',
  3224. url: K2SLink,
  3225. headers: {
  3226. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3227. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3228. 'Referer': ''
  3229. },
  3230. onload: function (result)
  3231. {
  3232. var res = result.responseText;
  3233. K2Dom='k2s.cc';
  3234. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3235. K2SLink2='http://'+K2Dom+'/file/'+id;
  3236.  
  3237. 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'))
  3238. {
  3239. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3240. return;
  3241. }
  3242. if (res.match('method="post">Displaying'))
  3243. {
  3244. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3245. return;
  3246. }
  3247. if (res.match('Premium only'))
  3248. {
  3249. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3250. return;
  3251. }
  3252. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3253. {
  3254. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3255. slID=slow_id.exec(res)[1];
  3256. GM_xmlhttpRequest(
  3257. {
  3258. method: 'POST',
  3259. url: K2SLink2,
  3260. headers: {
  3261. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3262. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3263. 'Content-Type': 'application/x-www-form-urlencoded',
  3264. 'Referer': K2SLink
  3265. },
  3266. data: 'slow_id='+slID+'&yt0=',
  3267. onload: function (result)
  3268. {
  3269. var newres = result.responseText;
  3270. newoversizedtest=new RegExp("Free user can't download large files.");
  3271. if (newoversizedtest.test(newres))
  3272. {
  3273. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3274. return;
  3275. }
  3276. else
  3277. {
  3278. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3279. return;
  3280. }
  3281. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3282. return;
  3283. }
  3284. });
  3285. /////////////////////end additional check for oversized links
  3286. return;
  3287. }
  3288. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3289. return;
  3290. },
  3291. onerror: function ()
  3292. {
  3293. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3294. return;
  3295. }
  3296. });
  3297. }
  3298. function fboomBulkCheck()
  3299. {
  3300. var arr = this.links[0].split("\r\n");
  3301. var i = arr.length;
  3302. c=0;
  3303. arrIDs=[];
  3304. while(i--)
  3305. {
  3306. id = arr[i].match(/\/file\/(\w+)/)[1];
  3307. if (id=='info')
  3308. {
  3309. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3310. continue;
  3311. }
  3312. fbalreadyexist=false;
  3313. for (j=0;j<arrIDs.length;j++)
  3314. {
  3315. if (arrIDs[j]==id)
  3316. {
  3317. fbalreadyexist=true;
  3318. break;
  3319. }
  3320. }
  3321. if (fbalreadyexist) continue;
  3322. arrIDs.push(id);
  3323. c++;
  3324. setTimeout(fboomRequest,c*500,arr[i]);
  3325. }
  3326. }
  3327. function fboomRequest(FBoomLink)
  3328. {
  3329. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3330. FBoomLink2='http://fboom.me/file/'+id;
  3331. GM_xmlhttpRequest(
  3332. {
  3333. method: 'GET',
  3334. url: FBoomLink,
  3335. headers: {
  3336. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3337. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3338. 'Referer': ''
  3339. },
  3340. onload: function (result)
  3341. {
  3342. var res = result.responseText;
  3343. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3344. {
  3345. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3346. return;
  3347. }
  3348. if (res.match('method="post">Displaying'))
  3349. {
  3350. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3351. return;
  3352. }
  3353. if (res.match('only for premium members'))
  3354. {
  3355. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3356. return;
  3357. }
  3358. if (res.match('id="download-free" href="#"'))
  3359. {
  3360. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3361. slID=slow_id.exec(res)[1];
  3362. GM_xmlhttpRequest(
  3363. {
  3364. method: 'POST',
  3365. url: FBoomLink2,
  3366. headers: {
  3367. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3368. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3369. 'Content-Type': 'application/x-www-form-urlencoded',
  3370. 'Referer': FBoomLink
  3371. },
  3372. data: 'slow_id='+slID,
  3373. onload: function (result)
  3374. {
  3375. var newres = result.responseText;
  3376. newoversizedtest=new RegExp("Downloading is not possible");
  3377. if (newoversizedtest.test(newres))
  3378. {
  3379. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3380. return;
  3381. }
  3382. else
  3383. {
  3384. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3385. return;
  3386. }
  3387. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3388. return;
  3389. }
  3390. });
  3391. /////////////////////end additional check for oversized links
  3392. return;
  3393. }
  3394. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3395. return;
  3396. },
  3397. onerror: function ()
  3398. {
  3399. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3400. return;
  3401. }
  3402. });
  3403. }
  3404. function dl4free_1fichier_BulkCheck()
  3405. {
  3406. var arr = this.links[0].split("\r\n");
  3407. var i = arr.length;
  3408. while(i--)
  3409. {
  3410. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3411. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3412. gethead_dl4free_1fichier(arr[i]);
  3413. }
  3414. }
  3415. function gethead_dl4free_1fichier(link)
  3416. {
  3417. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3418. GM_xmlhttpRequest(
  3419. {
  3420. method: 'HEAD',
  3421. url: link,
  3422. headers: {
  3423. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3424. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3425. 'Referer': ''
  3426. },
  3427. onload: function (result)
  3428. {
  3429. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3430. {
  3431. DisplayTheCheckedLinks([id], 'alive_link');
  3432. return;
  3433. }
  3434. else
  3435. {
  3436. getlink_dl4free_1fichier(link);
  3437. }
  3438. return;
  3439. },
  3440. onerror: function ()
  3441. {
  3442. DisplayTheCheckedLinks([id], 'unava_link');
  3443. }
  3444. });
  3445. }
  3446. function getlink_dl4free_1fichier(link)
  3447. {
  3448. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3449. GM_xmlhttpRequest(
  3450. {
  3451. method: 'GET',
  3452. url: link,
  3453. headers: {
  3454. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3455. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3456. 'Referer': ''
  3457. },
  3458. onload: function (result)
  3459. {
  3460. var res = result.responseText;
  3461. 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');
  3462. if (deadRegex.test(res))
  3463. {
  3464. DisplayTheCheckedLinks([id], 'adead_link');
  3465. return;
  3466. }
  3467. premiumRegex=new RegExp('only for premium users');
  3468. if (premiumRegex.test(res))
  3469. {
  3470. DisplayTheCheckedLinks([id], 'prem_link');
  3471. return;
  3472. }
  3473. 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="');
  3474. if (liveRegex.test(res))
  3475. {
  3476. DisplayTheCheckedLinks([id], 'alive_link');
  3477. return;
  3478. }
  3479. DisplayTheCheckedLinks([id], 'unava_link');
  3480. },
  3481. onerror: function ()
  3482. {
  3483. DisplayTheCheckedLinks([id], 'unava_link');
  3484. }
  3485. });
  3486. }
  3487. function depositfilesBulkCheck()
  3488. {
  3489. var arr = this.links[0].split("\r\n");
  3490. var i = arr.length;
  3491. var seqno = Math.floor(Math.random()*1000000000);
  3492. while(i--)
  3493. {
  3494. DFpostRequest(arr[i]);
  3495. }
  3496. }
  3497. function DFpostRequest(DFLink)
  3498. {
  3499. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3500. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3501. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3502. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3503. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3504. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3505. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3506. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3507. GM_xmlhttpRequest(
  3508. {
  3509. method: "GET",
  3510. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3511. headers: {
  3512. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3513. 'Content-Type': 'application/x-www-form-urlencoded',
  3514. 'Referer': ""
  3515. },
  3516. onload: function (result)
  3517. {
  3518. var res = result.responseText;
  3519. if (res.match('(?:no_file|file_ban)'))
  3520. {
  3521. DisplayTheCheckedLinks([id], 'adead_link');
  3522. return;
  3523. }
  3524. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3525. {
  3526. DisplayTheCheckedLinks([id], 'alive_link');
  3527. return;
  3528. }
  3529. DisplayTheCheckedLinks([id], 'unava_link');
  3530. }
  3531. });
  3532. }
  3533.  
  3534. function megaBulkCheck()
  3535. {
  3536. var arr = this.links[0].split("\r\n");
  3537. var i = arr.length;
  3538. var seqno = Math.floor(Math.random()*1000000000);
  3539. while(i--)
  3540. {
  3541. postRequest(arr[i]);
  3542. }
  3543. function postRequest(megaLink)
  3544. {
  3545. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3546. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3547. GM_xmlhttpRequest(
  3548. {
  3549. method: "POST",
  3550. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3551. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3552. headers: {
  3553. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3554. 'Content-Type': 'application/xml',
  3555. 'Referer': "https://mega.co.nz/"
  3556. },
  3557. onload: function (result)
  3558. {
  3559. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3560. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3561. {
  3562.  
  3563. DisplayTheCheckedLinks([id], 'adead_link');
  3564. }
  3565. if (res.at)
  3566. {
  3567. DisplayTheCheckedLinks([id], 'alive_link');
  3568. }
  3569. if (res.e == "ETEMPUNAVAIL")
  3570. {
  3571. DisplayTheCheckedLinks([id], 'unava_link');
  3572. }
  3573. }
  3574. });
  3575. }
  3576.  
  3577. }
  3578.  
  3579. function oboomBulk() {
  3580. var a = [], b = [], c = [];
  3581. var array = this.links;
  3582.  
  3583. GM_xmlhttpRequest({
  3584. method: 'GET',
  3585. url: 'https://www.oboom.com/1/guestsession',
  3586. headers: {
  3587. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3588. 'Content-type': 'application/x-www-form-urlencoded',
  3589. 'Referer': 'https://www.oboom.com',
  3590. 'X-Requested-With': 'XMLHttpRequest'
  3591. },
  3592. onload: function(result) {
  3593. var blockIdx = array.length;
  3594. var token = JSON.parse(result.responseText)[1];
  3595. while (blockIdx--) {
  3596. startCheck(array[blockIdx].split('\r\n'), token);
  3597. }
  3598. }
  3599. });
  3600.  
  3601. function startCheck(links, token) {
  3602. GM_xmlhttpRequest({
  3603. method: 'POST',
  3604. url: "https://api.oboom.com/1/info",
  3605. headers: {
  3606. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3607. 'Content-type': 'application/x-www-form-urlencoded',
  3608. 'Referer': 'https://www.oboom.com/',
  3609. 'X-Requested-With': 'XMLHttpRequest'
  3610. },
  3611. data: "token=" + token + "&items=" + links.join(","),
  3612. onload: function(result) {
  3613. var res = JSON.parse(result.responseText)[1];
  3614. var i = res.length, s;
  3615.  
  3616. while (i--) {
  3617. s = res[i].state;
  3618. if (s == 'online') a.push(res[i].id);
  3619. 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);
  3620. else c.push(res[i].id);
  3621. }
  3622.  
  3623. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3624. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3625. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3626. }
  3627. });
  3628. }
  3629. }
  3630. /* function linksaveBulkCheck()
  3631. {
  3632. var arr = this.links[0].split("\r\n");
  3633. var i = arr.length;
  3634. while(i--)
  3635. {
  3636. postRequest(arr[i]);
  3637. }
  3638. function postRequest(lsLink)
  3639. {
  3640. GM_xmlhttpRequest(
  3641. {
  3642. method: "GET",
  3643. url: lsLink + '-t.jpg',
  3644. headers: {
  3645. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3646. 'Accept': 'text/xml',
  3647. 'Referer': ""
  3648. },
  3649. onload: function (result)
  3650. {
  3651. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3652. if (imgLen == 965) //online
  3653. {
  3654. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3655. }
  3656.  
  3657. if (imgLen == 972) //offline
  3658. {
  3659. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3660. }
  3661. if (imgLen == 978) //unava
  3662. {
  3663. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3664. }
  3665. }
  3666. });
  3667. }
  3668.  
  3669. } */
  3670. function linkcryptBulkCheck()
  3671. {
  3672. var arr = this.links[0].split("\r\n");
  3673. var i = arr.length;
  3674. while(i--)
  3675. {
  3676. postRequest(arr[i]);
  3677. }
  3678. function postRequest(lcLink)
  3679. {
  3680. GM_xmlhttpRequest(
  3681. {
  3682. method: "GET",
  3683. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3684. headers: {
  3685. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3686. 'Accept': 'text/xml',
  3687. 'Referer': ""
  3688. },
  3689. onload: function (result)
  3690. {
  3691. var res = result.responseText;
  3692. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3693. {
  3694. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3695. return;
  3696. }
  3697. if (res.match(/folderStatus>1/)) //Online status
  3698. {
  3699. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3700. }
  3701. else
  3702. {
  3703. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3704. }
  3705. }
  3706. });
  3707. }
  3708. }
  3709.  
  3710. function megashareBulkCheck()
  3711. {
  3712. var arr = this.links[0].split("\r\n");
  3713. var i = arr.length;
  3714. while(i--)
  3715. {
  3716. postRequest(arr[i]);
  3717. }
  3718. function postRequest(msLink)
  3719. {
  3720. GM_xmlhttpRequest(
  3721. {
  3722. method: "GET",
  3723. url: msLink,
  3724. headers: {
  3725. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3726. 'Content-Type': 'application/x-www-form-urlencoded',
  3727. 'Referer': ""
  3728. },
  3729. onload: function (result)
  3730. {
  3731. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3732. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3733. if ((prZVal == null) || (btn3Name == null))
  3734. {
  3735. return;
  3736. }
  3737. GM_xmlhttpRequest(
  3738. {
  3739. method: "POST",
  3740. url: msLink,
  3741. headers: {
  3742. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3743. 'Content-Type': 'application/x-www-form-urlencoded',
  3744. 'Referer': ""
  3745. },
  3746. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3747. onload: function (result)
  3748. {
  3749. var res = result.responseText;
  3750. if (res.match(/<div id="err">/))
  3751. {
  3752. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3753. }
  3754. else
  3755. {
  3756. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3757. }
  3758. }
  3759. });
  3760. }
  3761. });
  3762. }
  3763. }
  3764. function ncryptBulkCheck()
  3765. {
  3766. var arr = this.links[0].split("\r\n");
  3767. var i = arr.length;
  3768. while(i--)
  3769. {
  3770. postRequest(arr[i]);
  3771. }
  3772. function postRequest(ncryptLink)
  3773. {
  3774. GM_xmlhttpRequest(
  3775. {
  3776. method: "POST",
  3777. url: 'http://ncrypt.in/api_status.php',
  3778. headers: {
  3779. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3780. 'Content-Type': 'application/x-www-form-urlencoded',
  3781. 'Referer': ""
  3782. },
  3783. data: 'link=' + encodeURI(ncryptLink),
  3784. onload: function (result)
  3785. {
  3786. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3787. switch(foldStatus + ""){
  3788. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3789. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3790. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3791. }
  3792. }
  3793. });
  3794. }
  3795. }
  3796. function hellshareBulkCheck()
  3797. {
  3798. var links = this.links;
  3799. GM_xmlhttpRequest(
  3800. {
  3801. method: "GET",
  3802. url: 'http://www.hellshare.com',
  3803. headers: {
  3804. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3805. 'Accept': 'text/xml',
  3806. 'Referer': ""
  3807. },
  3808. onload: function (result)
  3809. {
  3810. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3811.  
  3812. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3813. if (domain == 'sk')
  3814. loc = 'check=Skontrolova%C5%A5&links=';
  3815. if (domain == 'com')
  3816. loc = 'check=Check+availability&links=';
  3817. if (domain == 'hu')
  3818. loc = 'check=Kontrol%C3%A1lj&links=';
  3819. if (domain == 'pl')
  3820. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3821.  
  3822. genBulkCheck.call({ links: links,
  3823. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3824. postData: loc,
  3825. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3826. 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,
  3827. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3828. resUnavaRegex: null
  3829. });
  3830. }
  3831. });
  3832. }
  3833. /**
  3834. * Displays check result
  3835. * @param {Array} Array of links or link fragments.
  3836. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3837. */
  3838. function DisplayTheCheckedLinks(links, resultStatus)
  3839. {
  3840. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3841. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3842. if (Do_not_linkify_DL_links)
  3843. { //TODO into separate jQuery function
  3844. $links.replaceWith(function(){
  3845. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3846. });
  3847. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3848. }
  3849. $links.removeClass().addClass(resultStatus);
  3850. $links.each(function() {
  3851. this.href = Ref_anonymize_service + $(this).attr("href");
  3852. });
  3853. switch(resultStatus)
  3854. {
  3855. case "alive_link": cLinksAlive += $links.length;
  3856. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3857. break;
  3858. case "adead_link": cLinksDead += $links.length;
  3859. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3860. break;
  3861. case "prem_link": cLinksprem += $links.length;
  3862. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3863. break;
  3864. case "unava_link": cLinksUnava += $links.length; break;
  3865. default:
  3866. }
  3867. cLinksProcessed += $links.length;
  3868. }
  3869. }
  3870. // starts bulkchecking
  3871. //
  3872. // params
  3873. // filterId [string] restricts link detection with passed id attribute
  3874. function startBulkCheck(filterId)
  3875. {
  3876. var cHosts = bulkHosts.length;
  3877. if (cHosts == 0) //no filehostings selected
  3878. return;
  3879. // STEP 1 linkify the links
  3880. var linkifyRegex = '';
  3881. var hostIdx = cHosts;
  3882. while(hostIdx--)
  3883. {
  3884. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3885. }
  3886. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3887. linkify(linkifyRegex);
  3888. //
  3889. //STEP 2 detect link objects
  3890. var xpathAll = '';
  3891. var hostIdx = cHosts;
  3892. while(hostIdx--)
  3893. {
  3894. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3895. }
  3896. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3897. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3898. if (filterId != null) //insert id restriction in the xpath
  3899. {
  3900. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3901. }
  3902. else
  3903. {
  3904. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3905. }
  3906. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3907. if (filterId == null)
  3908. {
  3909. cLinksTotal += links.snapshotLength;
  3910. }
  3911. //
  3912. //STEP 3 bind links with hostings
  3913. var linkIdx = links.snapshotLength;
  3914. var href = null;
  3915. if (linkIdx == 0) // no links found
  3916. return;
  3917. var name;
  3918. while (linkIdx--)
  3919. {
  3920. href = links.snapshotItem(linkIdx).href;
  3921. try // DO NOT REMOVE, filters crap that went through xpath detection
  3922. {
  3923. name = gimmeHostName(href);
  3924. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3925. bulkHostNames[name].links.push(href);
  3926. }
  3927. catch(e)
  3928. {
  3929.  
  3930. }
  3931. }
  3932. //
  3933. //STEP 4 process the links for each filehosting
  3934. var hostIdx = cHosts;
  3935. var host;
  3936. var m,n;
  3937. var arr;
  3938. while (hostIdx--)
  3939. {
  3940. host = bulkHosts[hostIdx];
  3941. arr = host.links;
  3942. if (arr.length == 0) //no links for this hosting, skip
  3943. {
  3944. continue;
  3945. }
  3946. //links match corrections
  3947. if (host.corrMatch != null)
  3948. {
  3949. var idx = arr.length;
  3950. while (idx--)
  3951. {
  3952. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3953. }
  3954. }
  3955. //links replace corrections
  3956. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3957. {
  3958. var idx = arr.length;
  3959. while (idx--)
  3960. {
  3961. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3962. }
  3963. }
  3964. m = arr.length;
  3965. n = host.blockSize;
  3966. if (m > n)
  3967. {
  3968. //insert block separators (RAND_STRING) into the array
  3969. for(var i = n; i < m; i += n + 1)
  3970. {
  3971. arr.splice(i, 0, RAND_STRING);
  3972. }
  3973. }
  3974.  
  3975. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3976. apiUrl: host.apiUrl,
  3977. postData: host.postData,
  3978. resLinkRegex: host.resLinkRegex,
  3979. resLiveRegex: host.resLiveRegex,
  3980. resDeadRegex: host.resDeadRegex,
  3981. resUnavaRegex: host.resUnavaRegex
  3982. });
  3983. //clean up
  3984. arr.length = 0;
  3985. }
  3986. //
  3987.  
  3988. function gimmeHostName(link)
  3989. {
  3990. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3991. }
  3992. }
  3993. function checkLinks(filterId)
  3994. {
  3995. startBulkCheck(filterId);
  3996. start(filterId);
  3997. }
  3998.  
  3999. /**
  4000. * Initialises progress box including event binding and CSS
  4001. */
  4002. function initProgressBox()
  4003. {
  4004. if ($("#warlc-progressbox").length > 0)
  4005. return;
  4006. //progressbox css change size and color of progress box
  4007. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4008. "; opacity:" + (Progress_box_opacity / 100) +
  4009. "; bottom:" + Progress_box_pos_bottom +
  4010. "px; right:" + Progress_box_pos_right +
  4011. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4012. \
  4013. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4014. \
  4015. .warlc-progressitem {}\
  4016. \
  4017. .alive {color:#00FF7F; " + Live_links_color +
  4018. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4019. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4020. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4021. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4022. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4023. );
  4024. //
  4025. $('body').append(' <div id="warlc-progressbox">\
  4026. <div class="warlc-progressbar"></div>\
  4027. <span class="warlc-progressitem alive"></span> - \
  4028. <span class="warlc-progressitem dead"></span> - \
  4029. <span class="warlc-progressitem unava"></span> - \
  4030. <span class="warlc-progressitem prem"></span> - \
  4031. <span class="warlc-progressitem processing"></span>\
  4032. </div>');
  4033. $('#warlc-progressbox').hide().click(function(){
  4034. clearInterval(intervalId);
  4035. $(this).hide();
  4036. return false;
  4037. });
  4038. $(".warlc-progressbar").progressbar({complete: function(){
  4039. $(this).fadeOut();
  4040. clearInterval(intervalId); //stop refreshing the stats
  4041. }
  4042. })
  4043. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4044. }
  4045. /**
  4046. * Updates progress data in progress box
  4047. */
  4048. function updateProgress()
  4049. {
  4050. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4051. if (cLinksTotal) // some links were detected on page
  4052. {
  4053. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4054. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4055. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4056. if ((cLinksTotal - cLinksProcessed) == 0)
  4057. {
  4058. $progressItems.first().text(cLinksAlive)
  4059. .next().text(cLinksDead)
  4060. .next().text(cLinksUnava)
  4061. .next().text(cLinksprem)
  4062. .next().remove();
  4063. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4064. $('#warlc-progressbox div:first-child').remove();
  4065. }
  4066. else
  4067. {
  4068. $progressItems.first().text(cLinksAlive)
  4069. .next().text(cLinksDead)
  4070. .next().text(cLinksUnava)
  4071. .next().text(cLinksprem)
  4072. .next().text(cLinksTotal - cLinksProcessed);
  4073. }
  4074. }
  4075. }
  4076.  
  4077. function check_all_links()
  4078. {
  4079. add_WARLC_style();
  4080.  
  4081. if (Show_progress_stats)
  4082. {
  4083. initProgressBox();
  4084. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4085. }
  4086.  
  4087. startBulkCheck(null);
  4088. start(null);
  4089.  
  4090. if (!containers_processed)
  4091. {
  4092. processContainers();
  4093. }
  4094. }
  4095.  
  4096. //Copies all found dead links to clipboard - right now for Scriptish only
  4097. function copy_dead_to_clipboard()
  4098. {
  4099. initClipBoardTools();
  4100.  
  4101. var deadlinksxpath = "//.[@class='adead_link']";
  4102.  
  4103. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4104. var foundlinkstext = '';
  4105.  
  4106. var foundlinkIdx = foundlinks.snapshotLength;
  4107.  
  4108. while(foundlinkIdx--)
  4109. {
  4110. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4111. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4112. }
  4113.  
  4114. unsafeWindow.copyToClipboard(foundlinkstext);
  4115. }
  4116.  
  4117. function toggle_autocheck()
  4118. {
  4119. var currentState = GM_getValue("Autocheck", false);
  4120. GM_setValue("Autocheck", !currentState);
  4121.  
  4122. if (currentState == true)
  4123. {
  4124. sendMessage('Autocheck disabled', 'red');
  4125. }
  4126. else
  4127. {
  4128. sendMessage('Autocheck enabled', 'SpringGreen');
  4129. }
  4130. }
  4131. function toggle_Enable_Anonymizer()
  4132. {
  4133. var currentState = GM_getValue("Enable_Anonymizer", false);
  4134. GM_setValue("Enable_Anonymizer", !currentState);
  4135.  
  4136. if (currentState == true)
  4137. {
  4138. GM_setValue("Ref_anonymize_service", "");
  4139. sendMessage('Anonymizer Disabled', 'red');
  4140. }
  4141. else
  4142. {
  4143. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4144. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4145. }
  4146. }
  4147.  
  4148. function KeyDownHandler(event)
  4149. {
  4150. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4151. if (event.ctrlKey && event.altKey)
  4152. {
  4153. switch(kcode)
  4154. {
  4155. case 65 : check_all_links(); break;
  4156. case 67 : configuration(); break;
  4157. case 68 : copy_dead_to_clipboard(); break;
  4158. case 87 : toggle_autocheck(); break;
  4159. case 90 : toggle_Enable_Anonymizer(); break;
  4160. }
  4161. }
  4162. }
  4163.  
  4164. //
  4165. //
  4166. // SCRIPT EXECUTION START POINT
  4167. //
  4168. //
  4169. // Safari specific GM_getResourceText override
  4170. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4171. {
  4172. GM_getResourceText = function(res) {
  4173. var $cssText = GM_getValue("jquery_css", "");
  4174. if ($cssText == "")
  4175. {
  4176. GM_xmlhttpRequest(
  4177. {
  4178. method: 'GET',
  4179. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4180. onload: function (result)
  4181. {
  4182. GM_setValue("jquery_css", result.responseText);
  4183. window.location.reload();
  4184. }
  4185. });
  4186. }
  4187. else
  4188. {
  4189. return $cssText;
  4190. }
  4191. }
  4192. }
  4193. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4194. GM_addStyle(jQueryUICSS);
  4195. //init the stuff
  4196. setVariables();
  4197. initBulkCheck();
  4198. //init info boxes
  4199. messageBox.style.position = 'fixed';
  4200. messageBox.style.top = '20px';
  4201. messageBox.style.left = '10px';
  4202. messageBox.style.opacity = '0.85';
  4203. messageBox.style.background = 'DimGray';
  4204. messageBox.style.fontSize = '36px';
  4205. document.body.appendChild(messageBox);
  4206.  
  4207. //register GM menu commands & keyboard shortcut event handler
  4208. if (Keyboard_functions)
  4209. {
  4210. $(document).keydown(KeyDownHandler);
  4211. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4212. 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);
  4213. }
  4214. else
  4215. {
  4216. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4217. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4218. }
  4219.  
  4220. //start linkchecking
  4221. if (Autocheck)
  4222. {
  4223. $(document).ready(check_all_links);
  4224. }
  4225.  
  4226. //
  4227. //
  4228. // SCRIPT EXECUTION END POINT
  4229. //
  4230. //
  4231.  
  4232. //shows configuration box
  4233. function configuration()
  4234. {
  4235.  
  4236. //prevent multiple creating of config window
  4237. if ($("#hideshow").length)
  4238. {
  4239. $("#hideshow").show();
  4240. return;
  4241. }
  4242.  
  4243. var configcss = '\
  4244. .popup_block .popup fieldset{\
  4245. padding: 1%;\
  4246. border-style: solid;\
  4247. border-width: 1px;\
  4248. border-color: gray;\
  4249. margin-bottom: 1px;\
  4250. }\
  4251. #h3hideshowtitle{\
  4252. font-size: 2em;\
  4253. }\
  4254. #h3hideshow{\
  4255. font-size: 1.5em;\
  4256. }\
  4257. #imghideshow {\
  4258. border: none;\
  4259. }\
  4260. #plusimage{\
  4261. display:inline;\
  4262. }\
  4263. #hideshow {\
  4264. position: fixed;\
  4265. width: 100%;\
  4266. height: 100%;\
  4267. top: 0;\
  4268. left: 0;\
  4269. font-size:12px;\
  4270. z-index:2147483645;\
  4271. text-align:left;\
  4272. }\
  4273. #fade {\
  4274. background: #000;\
  4275. position: fixed;\
  4276. width: 100%;\
  4277. height: 100%;\
  4278. opacity: .80;\
  4279. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4280. left: 0;\
  4281. z-index: 10;\
  4282. }\
  4283. .popup_block {\
  4284. font-family:verdana;\
  4285. color:black;\
  4286. background: #ddd;\
  4287. padding: 10px 20px;\
  4288. border: 2px solid DarkOrange;\
  4289. float: left;\
  4290. width: 700px;\
  4291. position: absolute;\
  4292. top: 7%;\
  4293. left: 50%;\
  4294. bottom: 7%;\
  4295. margin: 0 0 0 -350px;\
  4296. -moz-border-radius:10px;\
  4297. z-index: 100;\
  4298. \
  4299. }\
  4300. .popup_block .popup {\
  4301. float: left;\
  4302. width: 100%;\
  4303. background: #fff;\
  4304. margin: 10px 0;\
  4305. padding: 0px 0 0px;\
  4306. border-left: 1px solid #bbb;\
  4307. border-top: 1px solid #bbb;\
  4308. border-right: 1px solid #bbb;\
  4309. }\
  4310. #h3hideshow{\
  4311. margin: 1px 0 0px;\
  4312. padding: 1px 10px;\
  4313. border-bottom: 1px solid #bbb;\
  4314. font-size: 1.5em;\
  4315. font-weight: normal;\
  4316. cursor:pointer;\
  4317. background:#DDDDDD none repeat scroll 0 0;\
  4318. }\
  4319. #h3hideshow:hover{\
  4320. background:#C0BEBE none repeat scroll 0 0;\
  4321. }\
  4322. #h3hideshowtitle{\
  4323. margin: 2px 0 0px;\
  4324. padding: 7px 10px;\
  4325. border-bottom: 1px solid #bbb;\
  4326. font-size: 1.5em;\
  4327. font-weight: normal;\
  4328. }\
  4329. .popup_block .popup a {\
  4330. color:DarkSkyBlue;\
  4331. text-decoration:none;\
  4332. }\
  4333. .popup p {\
  4334. padding: 1px 10px;\
  4335. margin: 0px 0;\
  4336. -x-system-font:none;\
  4337. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4338. font-size:10pt;\
  4339. font-size-adjust:none;\
  4340. font-stretch:normal;\
  4341. font-style:normal;\
  4342. font-variant:normal;\
  4343. font-weight:normal;\
  4344. line-height:normal;\
  4345. }\
  4346. #sites {\
  4347. padding: 1px 10px;\
  4348. margin: 0px 0;display:inline-block;width:16em;\
  4349. }\
  4350. #dev_ver {\
  4351. color: #00FF00;\
  4352. background: Black;\
  4353. text-align: right;\
  4354. }\
  4355. #sites_suspended {\
  4356. padding: 1px 10px;\
  4357. margin: 0px 0;display:inline-block;width:16em;\
  4358. text-decoration: line-through;\
  4359. }\
  4360. .popup img.cntrl {\
  4361. position: absolute;\
  4362. right: -15px;\
  4363. top: -15px;\
  4364. }\
  4365. #bulk {\
  4366. font-size:8pt;\
  4367. color:orange;\
  4368. padding: 1px 10px;\
  4369. margin: 0px 0;\
  4370. display:inline-block;\
  4371. width:100px;\
  4372. }\
  4373. #note {\
  4374. font-size:7pt;\
  4375. color:gray;\
  4376. padding: 1px 10px;\
  4377. margin: 0px 0;display:inline-block;\
  4378. min-width:100px;\
  4379. }\
  4380. #rednote {\
  4381. font-size:7pt;\
  4382. color:red;\
  4383. padding: 1px 10px;\
  4384. margin: 0px 0;display:inline-block;\
  4385. }\
  4386. #configinfo {\
  4387. font-size:8pt;\
  4388. color:gray;\
  4389. padding: 1px 10px;\
  4390. margin: 0px 0;display:inline-block;width:60em;\
  4391. }\
  4392. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4393. color:black;\
  4394. border-style: solid;\
  4395. border-width: 1px;\
  4396. border-color: gray;\
  4397. }\
  4398. #h3hideshowcontent {\
  4399. min-height:220px;\
  4400. max-height:220px;\
  4401. overflow:auto;\
  4402. display: none;\
  4403. padding: 10px 10px;\
  4404. }\
  4405. #specinfo{\
  4406. font-size:14px;\
  4407. }\
  4408. .warlc-ui-tab {\
  4409. height:300px;\
  4410. overflow:auto;\
  4411. }\
  4412. #warlcsitelist2, #warlcsitelist1 {\
  4413. height:220px;\
  4414. border-top: 1px solid #ddd;\
  4415. padding-top: 5px;\
  4416. overflow:auto;\
  4417. }\
  4418. input:hover+label {\
  4419. background:#F1F77C;\
  4420. font-size:110%;\
  4421. }\
  4422. ';
  4423.  
  4424. GM_addStyle(configcss);
  4425.  
  4426. var customRulesRefHTML =
  4427. '\
  4428. <br>\
  4429. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4430. <b>@keyword</b> <i>parameter</i>\
  4431. <br><br>\
  4432. 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. \
  4433. <br><br>\
  4434. 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.\
  4435. 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.\
  4436. 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.\
  4437. 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,\
  4438. but all commands until the next valid @customrule are ignored.<br><br>\
  4439. Available forms and types:\
  4440. <ul>\
  4441. <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.\
  4442. <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.\
  4443. <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.\
  4444. <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.\
  4445. </ul>\
  4446. Other available commands:<br>\
  4447. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4448. <ul>\
  4449. <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.\
  4450. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4451. <ul>examples:<br>\
  4452. <li>good: <i>filehost.com/download/</i><br>\
  4453. <li>good: <i>download.filehost.net/?d=</i><br>\
  4454. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4455. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4456. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4457. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4458. <li>bad: <i>filehost.com</i> - no slash<br>\
  4459. </ul>\
  4460. \
  4461. <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.\
  4462. 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 \
  4463. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4464. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4465. 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.)\
  4466. Two spaces again match any whitespace.\
  4467. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4468. Two spaces again match any whitespace.\
  4469. <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. \
  4470. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4471. </ul>\
  4472. \
  4473. ';
  4474.  
  4475. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4476. var configurationinnerHTML =
  4477. '<div id="fade"></div>\
  4478. <div class="popup_block">\
  4479. <div class="popup">\
  4480. <a href="#"><img id="imghideshow" title="Close" class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lnZg72iNfA14/qa4HVwasTnmuLzQm3STrtxRUmetW/OXsg3hOh9Z9CTtT+FDsfO7ff2djyVfb5xlrNuxoygQLwbHgUAEjnwIi5dm3J4zsgTYNbqfHAC2H0m7ibf608V7B53urOYngWJ1/YoXS2+bMq9oUuiIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Customized Premium Link version Configuration</div>\
  4482. <div id="warlc-conf-tabs">\
  4483. <ul>\
  4484. <li><a href="#tabs-1">Filehostings</a></li>\
  4485. <li><a href="#tabs-2">Containers</a></li>\
  4486. <li><a href="#tabs-5">Custom rules</a></li>\
  4487. <li><a href="#tabs-3">Settings</a></li>\
  4488. <li><a href="#tabs-4">About</a></li>\
  4489. </ul>\
  4490. <div id="tabs-1" class="warlc-ui-tab">\
  4491. <div class="warlc-ui-buttonset">\
  4492. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4493. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4494. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4495. </div><br>\
  4496. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4497. <div id="warlcsitelist1"><span>Empty</span></div>\
  4498. </div>\
  4499. <div id="tabs-2" class="warlc-ui-tab">\
  4500. <div class="warlc-ui-buttonset">\
  4501. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4502. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4503. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4504. </div><br>\
  4505. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4506. <div id="warlcsitelist2"><span>Empty</span></div>\
  4507. </div>\
  4508. <div id="tabs-5" class="warlc-ui-tab">\
  4509. <div class="warlcsettings">\
  4510. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4511. <br>\
  4512. <div>Edit custom rules: \
  4513. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4514. <div id="customRulesReference" style="display:none;">'
  4515. + customRulesRefHTML + '\
  4516. </div>\
  4517. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4518. </div>\
  4519. </div>\
  4520. </div>\
  4521. <div id="tabs-3" class="warlc-ui-tab">\
  4522. <div class="warlcsettings">\
  4523. <fieldset>\
  4524. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4525. <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>\
  4526. </fieldset>\
  4527. <fieldset>\
  4528. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4529. <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>\
  4530. <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>\
  4531. <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>\
  4532. <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>\
  4533. <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>\
  4534. <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>\
  4535. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4536. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4537. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4538. <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>\
  4539. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4540. <fieldset>\
  4541. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4542. <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>\
  4543. <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>\
  4544. <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>\
  4545. </fieldset>\
  4546. </fieldset>\
  4547. <fieldset>\
  4548. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4549. </fieldset>\
  4550. <fieldset>\
  4551. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4552. </fieldset>\
  4553. <fieldset>\
  4554. <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>\
  4555. </fieldset>\
  4556. <fieldset>\
  4557. <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>\
  4558. </fieldset>\
  4559. </div>\
  4560. </div>\
  4561. <div id="tabs-4" class="warlc-ui-tab">\
  4562. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4563. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4564. <br />\
  4565. <p><b>Currently supported:</b><br>\
  4566. Filehostings: ' + allHostNames.length + '<br />\
  4567. Containers: ' + allContainerNames.length + '<br />\
  4568. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4569. <br />\
  4570. <p><b>Based on:</b><br>\
  4571. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4572. <br />\
  4573. <p><b>Uses:</b></p>\
  4574. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4575. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4576. <br />\
  4577. <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>\
  4578. </div>\
  4579. </div>\
  4580. </div>\
  4581. </div>';
  4582. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4583. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4584. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4585. var elmHostList = document.getElementById("warlcsitelist1");
  4586. var elmContainerList = document.getElementById("warlcsitelist2");
  4587. buildSettings();
  4588. buildSitelist("", allHostNames, elmHostList);
  4589. buildSitelist("", allContainerNames, elmContainerList);
  4590. if (DEBUG_MODE)
  4591. {
  4592. //log all sites availability status
  4593. diagSites();
  4594. }
  4595. //handler for checkbox state change
  4596. function changeConfiguration(e)
  4597. {
  4598. var element = e.target;
  4599.  
  4600. if (element.type == 'checkbox')
  4601. {
  4602. if (element.checked == 1)
  4603. {
  4604. GM_setValue(element.id, true);
  4605. }
  4606. else
  4607. {
  4608. GM_setValue(element.id, false);
  4609. }
  4610.  
  4611. }
  4612. setVariables();
  4613. }
  4614.  
  4615. //Selects all filehosting checkboxes
  4616. function selectAll()
  4617. {
  4618. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4619. .each(function(index, element){GM_setValue(this.id, true)});
  4620. }
  4621.  
  4622. //Deselects all filehosting checkboxes
  4623. function selectNone()
  4624. {
  4625. $(":checkbox:visible:checked").prop("checked",false)
  4626. .each(function(index, element){GM_setValue(this.id, false)});
  4627. }
  4628.  
  4629. //Inverts filehosting checkboxes selection
  4630. function selectInvert()
  4631. {
  4632. var $checked = $(":checkbox:visible:checked");
  4633. var $unchecked = $(":checkbox:visible:not(:checked)");
  4634. $unchecked.prop("checked",true)
  4635. .each(function(index, element){GM_setValue(this.id, true)});
  4636. $checked.prop("checked",false)
  4637. .each(function(index, element){GM_setValue(this.id, false)});
  4638. }
  4639. //toggles anonymizer on off
  4640. function Enable_Anonymizer()
  4641. {
  4642. var $checked = $(":checkbox:visible:checked");
  4643. var $unchecked = $(":checkbox:visible:not(:checked)");
  4644. $unchecked.prop("checked",true)
  4645. .each(function(index, element){GM_setValue(this.id, true)});
  4646. $checked.prop("checked",false)
  4647. .each(function(index, element){GM_setValue(this.id, false)});
  4648. }
  4649.  
  4650. function changeRefAnonymizer(){
  4651. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4652. }
  4653.  
  4654. //Sets live links color
  4655. function changeColorLive()
  4656. {
  4657. var inColorLive = document.getElementById("inputColorLive");
  4658. inColorLive.style.background = inColorLive.value;
  4659. GM_setValue("Live_links_color", inColorLive.value);
  4660. }
  4661.  
  4662. //Sets dead links color
  4663. function changeColorDead()
  4664. {
  4665. var inColorDead = document.getElementById("inputColorDead");
  4666. inColorDead.style.background = inColorDead.value;
  4667. GM_setValue("Dead_links_color", inColorDead.value);
  4668. }
  4669.  
  4670. //Sets temp. unavailable links color
  4671. function changeColorTemp()
  4672. {
  4673. var inColorTemp = document.getElementById("inputColorTemp");
  4674. inColorTemp.style.background = inColorTemp.value;
  4675. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4676. }
  4677.  
  4678. //Sets temp. unavailable links color
  4679. function changeColorCont()
  4680. {
  4681. var inColorCont = document.getElementById("inputColorCont");
  4682. inColorCont.style.background = inColorCont.value;
  4683. GM_setValue("Container_links_color", inColorCont.value);
  4684. }
  4685. //Sets premium. links color
  4686. function changeColorprem()
  4687. {
  4688. var inColorprem = document.getElementById("inputColorprem");
  4689. inColorprem.style.background = inColorprem.value;
  4690. GM_setValue("Premium_links_color", inColorprem.value);
  4691. }
  4692.  
  4693. //Diagnose sites for availability
  4694. function diagSites()
  4695. {
  4696. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4697.  
  4698. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4699. {
  4700. if (boxes[i].type == "checkbox")
  4701. {
  4702. checkAvailability(boxes[i]);
  4703. }
  4704. }
  4705.  
  4706. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4707.  
  4708. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4709. {
  4710. if (boxes[i].type == "checkbox")
  4711. {
  4712. checkAvailability(boxes[i]);
  4713. }
  4714. }
  4715.  
  4716. function checkAvailability(cbElm)
  4717. {
  4718. var cb = cbElm;
  4719. GM_xmlhttpRequest(
  4720. {
  4721. method: 'HEAD',
  4722. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4723. headers: {
  4724. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4725. 'Accept': 'text/xml',
  4726. 'Referer': ""
  4727. },
  4728. onload: function (result)
  4729. {
  4730. if (result.status != 200)
  4731. {
  4732. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4733. }
  4734. },
  4735. onerror: function (result)
  4736. {
  4737. if (result.status != 200)
  4738. {
  4739. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4740. }
  4741. }
  4742. });
  4743. }
  4744. }
  4745. function buildSettings()
  4746. {
  4747. $(".warlcsettings :checkbox").each(function(){
  4748. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4749. .click(function(e){
  4750. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4751. setVariables();
  4752. });
  4753. })
  4754. }
  4755. //Dynamic build of host list
  4756. //param search [string] searches for hostnames matching search substring
  4757. //param siteNames [array] array of site names
  4758. //param targetNode [DOM Node] where the list should be built
  4759. // first child node is replaced
  4760. function buildSitelist(search, siteNames, targetNode)
  4761. {
  4762. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4763. var $targetNode = $(targetNode).empty();
  4764. var searchedSite = "";
  4765. $.each(siteNames, function(i, site){
  4766. if (searchedSite = site.match(searchRegex))
  4767. {
  4768. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4769. //ensuring backward compatibility with the rest of code, to be refactored later
  4770. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4771. //
  4772. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4773. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4774. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4775. );
  4776. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4777. .change(changeConfiguration);
  4778. $targetNode.append('<br />');
  4779. }
  4780. });
  4781. $targetNode.append("<hr>");
  4782. //obsolete hosts checkbox
  4783. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4784. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4785. .change(changeConfiguration);
  4786. $targetNode.append('<br />');
  4787. var foundName = "";
  4788. $.each(allObsoleteNames, function(i, site){
  4789. if (foundName = allObsoleteNames[i].match(searchRegex))
  4790. {
  4791. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4792. }
  4793. })
  4794. }
  4795. var hostSearchBox = document.getElementById("hostSearchBox");
  4796. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4797. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4798. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4799. $(".warlc-ui-select-all").click(selectAll).button();
  4800. $(".warlc-ui-select-none").click(selectNone).button();
  4801. $(".warlc-ui-select-invert").click(selectInvert).button();
  4802. $(".warlc-ui-buttonset").buttonset();
  4803. var inColorLive = document.getElementById("inputColorLive");
  4804. inColorLive.addEventListener('keyup', changeColorLive, false);
  4805.  
  4806. var inColorDead = document.getElementById("inputColorDead");
  4807. inColorDead.addEventListener('keyup', changeColorDead, false);
  4808.  
  4809. var inColorTemp = document.getElementById("inputColorTemp");
  4810. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4811.  
  4812. var inColorCont = document.getElementById("inputColorCont");
  4813. inColorCont.addEventListener('keyup', changeColorCont, false);
  4814. var inColorprem = document.getElementById("inputColorprem");
  4815. inColorprem.addEventListener('keyup', changeColorprem, false);
  4816. $("#refAnonymizer").change(changeRefAnonymizer);
  4817. //buttons and edit boxes init end
  4818.  
  4819. //icon sets radio buttons
  4820. var radioButtons = document.getElementsByName("warlciconset");
  4821. radioButtons[Icon_set].checked = "checked";
  4822.  
  4823. radioButtons[0].addEventListener("change", updateIconSet);
  4824. radioButtons[1].addEventListener("change", updateIconSet);
  4825. radioButtons[2].addEventListener("change", updateIconSet);
  4826. radioButtons[3].addEventListener("change", updateIconSet);
  4827. function updateIconSet()
  4828. {
  4829. GM_setValue("Icon_set", this.value * 1);
  4830. }
  4831. //
  4832. $('#showCustomRulesReference').click(function(e){
  4833. e.preventDefault();
  4834. $('#customRulesReference').toggle();
  4835. });
  4836. $('#Custom_rules_text')
  4837. .val(Custom_rules_text)
  4838. .change(saveCustomRules);
  4839. function saveCustomRules(e)
  4840. {
  4841. var cr = parseCustomRules(this.value);
  4842. if (cr.info.length)
  4843. 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, ' '));
  4844. GM_setValue('Custom_rules_text', this.value);
  4845. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4846. }
  4847. }
  4848.  
  4849. //begin standard link checking algorithm
  4850. function start(filterId)
  4851. {
  4852. var doNotLinkify = Do_not_linkify_DL_links;
  4853.  
  4854. // USER SELECTED FILE HOSTS INITIALIZATION START
  4855. var http_file_hosts = new Array(); //standard hostings
  4856. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4857. var http_file_hosts_obsolete = new Array(); //dead hostings
  4858. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4859.  
  4860. initFileHosts();
  4861. initFileHostsHeadersOnly();
  4862. initFileHostsCustom(); //CustomRules
  4863. // USER SELECTED FILE HOSTS INITIALIZATION END
  4864.  
  4865. // LINKIFICATION START
  4866. var totalxpath = '';
  4867. var totalxpathcoded = '';
  4868. var totalxpathobsolete = '';
  4869. var totalxpathheadersonly = '';
  4870. var totalourls = '';
  4871.  
  4872. var filehostLen = http_file_hosts.length;
  4873. var filehostCodedLen = http_file_hosts_coded.length;
  4874. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4875. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4876.  
  4877. var filehostIdx = filehostLen;
  4878. var filehostCodedIdx = filehostCodedLen;
  4879. var filehostObsoleteIdx = filehostObsoleteLen;
  4880. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4881.  
  4882. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4883. return;
  4884.  
  4885. while (filehostIdx--)
  4886. {
  4887. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4888. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4889. }
  4890.  
  4891. while (filehostCodedIdx--)
  4892. {
  4893. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4894. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4895. }
  4896.  
  4897. while (filehostObsoleteIdx--)
  4898. {
  4899. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4900. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4901. }
  4902.  
  4903. while (filehostHeadersOnlyIdx--)
  4904. {
  4905. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4906. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4907. }
  4908.  
  4909. totalourls = totalourls.replace(/\|$/g, "");
  4910. //TODO: further refactoring needed
  4911. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4912. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4913. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4914. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4915. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4916. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4917. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4918. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4919. if (filterId != null) //insert id restriction in the xpath
  4920. {
  4921. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4922. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4923. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4924. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4925. }
  4926. else
  4927. {
  4928. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4929. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4930. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4931. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4932. }
  4933. linkify(totalourls);
  4934. //LINKIFICATION END
  4935. //ENCRYPTED LINKS PROCESSING START
  4936. if (http_file_hosts_coded.length > 0)
  4937. {
  4938. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4939.  
  4940. // decrypt coded links (redirects, link protectors etc.)
  4941. if (linksCoded.snapshotLength > 0)
  4942. {
  4943. var link;
  4944. var reallinkreg;
  4945. var reallinkcorrection;
  4946.  
  4947. if (filterId == null)
  4948. {
  4949. cLinksTotal += linksCoded.snapshotLength;
  4950. }
  4951.  
  4952. var y = linksCoded.snapshotLength - 1;
  4953. do
  4954. {
  4955. // linksCoded.snapshotItem(y).id = 'processing_link';
  4956. link = linksCoded.snapshotItem(y);
  4957. filehostIdx = filehostCodedLen;
  4958. while (filehostIdx--)
  4959. {
  4960. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4961. {
  4962. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4963. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4964. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4965.  
  4966. decurl(link, reallinkreg, reallinkcorrection);
  4967. break;
  4968. }
  4969. }
  4970. }
  4971. while (y--);
  4972. }
  4973. }
  4974. //ENCRYPTED LINKS PROCESSING END
  4975.  
  4976. //STANDARD LINKCHECKING START
  4977. if (http_file_hosts.length > 0)
  4978. {
  4979. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4980.  
  4981. if (filterId == null)
  4982. {
  4983. cLinksTotal += lianks.snapshotLength;
  4984. }
  4985.  
  4986. if (lianks.snapshotLength > 0)
  4987. {
  4988. var link;
  4989.  
  4990. var URL = "";
  4991. var name = "";
  4992. var isAliveRegex = "";
  4993. var isDeadRegex = "";
  4994. var isUnavaRegex = "";
  4995. var ispremRegex = "";
  4996. var tryLoop = false;
  4997.  
  4998. var y = lianks.snapshotLength;
  4999.  
  5000. while (y--)
  5001. {
  5002. link = lianks.snapshotItem(y);
  5003.  
  5004. filehostIdx = filehostLen;
  5005. while (filehostIdx--)
  5006. {
  5007. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5008. {
  5009. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5010. isAliveRegex = http_file_hosts[filehostIdx][1];
  5011. isDeadRegex = http_file_hosts[filehostIdx][2];
  5012. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5013. ispremRegex = http_file_hosts[filehostIdx][6];
  5014. tryLoop = http_file_hosts[filehostIdx][5];
  5015.  
  5016. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5017.  
  5018. break;
  5019. }
  5020. }
  5021. }
  5022. }
  5023. }
  5024. //STANDARD LINKCHECKING END
  5025. //OBSOLETE FILE HOSTS PROCESSING START
  5026. if (filehostObsoleteLen > 0)
  5027. {
  5028. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5029.  
  5030. var obsoleteLink;
  5031.  
  5032. //check links
  5033. if (obsoletelinks.snapshotLength > 0)
  5034. {
  5035. var y = obsoletelinks.snapshotLength;
  5036.  
  5037. if (filterId == null)
  5038. {
  5039. cLinksTotal += y;
  5040. }
  5041.  
  5042. while (y--)
  5043. {
  5044. obsoleteLink = obsoletelinks.snapshotItem(y);
  5045.  
  5046. if (Display_tooltip_info)
  5047. {
  5048. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5049. }
  5050. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5051. }
  5052. }
  5053. }
  5054. //OBSOLETE FILE HOSTS PROCESSING END
  5055.  
  5056. //DIRECT LINKCHECKING START
  5057. if (http_file_hosts_headers_only.length > 0)
  5058. {
  5059. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5060.  
  5061. //check links
  5062. if (links.snapshotLength > 0)
  5063. {
  5064. var link;
  5065. var isAliveRegex;
  5066. var isDeadRegex;
  5067. var ispremRegex;
  5068.  
  5069. var y = links.snapshotLength;
  5070.  
  5071.  
  5072. if (filterId == null)
  5073. {
  5074. cLinksTotal += y;
  5075. }
  5076.  
  5077. while (y--)
  5078. {
  5079. // links.snapshotItem(y).id = 'processing_link';
  5080. link = links.snapshotItem(y);
  5081. filehostIdx = filehostHeadersOnlyLen;
  5082. while (filehostIdx--)
  5083. {
  5084. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5085. {
  5086. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5087. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5088. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5089. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5090.  
  5091. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5092.  
  5093. break;
  5094. }
  5095. }
  5096. }
  5097.  
  5098. }
  5099. }
  5100. //DIRECT LINKCHECKING END
  5101.  
  5102.  
  5103. //finds the real url on the page, replaces link.href with it and calls geturl
  5104. function decurl(link, reallinkreg, reallinkcorrection)
  5105. {
  5106.  
  5107. GM_xmlhttpRequest(
  5108. {
  5109. method: 'GET',
  5110. url: link.href,
  5111. headers: {
  5112. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5113. 'Accept': 'text/xml',
  5114. 'Referer': ""
  5115. },
  5116. onload: function (result)
  5117. {
  5118. // cLinksProcessed++;
  5119.  
  5120. var reallink = result.responseText.match(reallinkreg)[0];
  5121. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5122.  
  5123. link.href = reallink;
  5124.  
  5125. var i = http_file_hosts.length - 1;
  5126. do
  5127. {
  5128. if ((reallink.match(http_file_hosts[i][0])))
  5129. {
  5130. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5131. var isAliveRegex = http_file_hosts[i][1];
  5132. var isDeadRegex = http_file_hosts[i][2];
  5133. var isUnavaRegex = http_file_hosts[i][3];
  5134. var ispremRegex = http_file_hosts[i][4];
  5135.  
  5136. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5137.  
  5138. break;
  5139. }
  5140. }
  5141. while (i--);
  5142. }
  5143. });
  5144. }
  5145.  
  5146. function randUA()
  5147. {
  5148. //TODO
  5149. }
  5150. //Processes link
  5151. //
  5152. // [string] link link URL
  5153. // [string] isAliveRegex alive link regex
  5154. // [string] isDeadRegex dead link regex
  5155. // [string] isUnavaRegex unavailable link regex
  5156. // [string] ispremRegex premium link regex
  5157. // [boolean] tryLoop repeats request until succeeded
  5158. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5159. {
  5160. GM_xmlhttpRequest(
  5161. {
  5162. method: 'GET',
  5163. url: link.href,
  5164. headers: {
  5165. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5166. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5167. 'Referer': ""
  5168. },
  5169. onload: function (result)
  5170. {
  5171. var res = result.responseText;
  5172. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5173. {
  5174. displayTheCheckedLink(link, 'alive_link');
  5175. return;
  5176. }
  5177.  
  5178. if (res.match(isAliveRegex))
  5179. {
  5180. displayTheCheckedLink(link, 'alive_link');
  5181. return;
  5182. }
  5183.  
  5184. if (res.match(isDeadRegex))
  5185. {
  5186. displayTheCheckedLink(link, 'adead_link');
  5187. return;
  5188. }
  5189.  
  5190. if (isUnavaRegex && res.match(isUnavaRegex))
  5191. {
  5192. displayTheCheckedLink(link, 'unava_link');
  5193. return;
  5194. }
  5195. if (res.match(ispremRegex))
  5196. {
  5197. displayTheCheckedLink(link, 'prem_link');
  5198. return;
  5199. }
  5200.  
  5201. var resStatus = result.status;
  5202.  
  5203. if (resStatus == 404)
  5204. {
  5205. displayTheCheckedLink(link, 'adead_link');
  5206. }
  5207. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5208. {
  5209. if (tryLoop)
  5210. {
  5211. //wait 1-5 seconds and repeat the request
  5212. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5213. }
  5214. else
  5215. {
  5216. displayTheCheckedLink(link, 'unava_link');
  5217. }
  5218.  
  5219. return;
  5220. }
  5221. },
  5222. onerror: function ()
  5223. {
  5224. displayTheCheckedLink(link, 'unava_link');
  5225. }
  5226. });
  5227. }
  5228.  
  5229. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5230. {
  5231. GM_xmlhttpRequest(
  5232. {
  5233. method: 'HEAD',
  5234. url: link.href,
  5235. headers: {
  5236. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5237. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5238. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5239. 'Referer': ""
  5240. },
  5241. onload: function (result)
  5242. {
  5243. var resStatus = result.status;
  5244. var resHeaders = "";
  5245. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5246. {
  5247. displayTheCheckedLink(link, 'adead_link');
  5248. return;
  5249. }
  5250.  
  5251. resHeaders = result.responseHeaders;
  5252.  
  5253. if (resHeaders.match(isDeadRegex))
  5254. {
  5255. displayTheCheckedLink(link, 'adead_link');
  5256. return;
  5257. }
  5258.  
  5259. if (resHeaders.match(isAliveRegex))
  5260. {
  5261. displayTheCheckedLink(link, 'alive_link');
  5262. return;
  5263. }
  5264. if (resHeaders.match(ispremRegex))
  5265. {
  5266. displayTheCheckedLink(link, 'prem_link');
  5267. return;
  5268. }
  5269. },
  5270. onerror: function ()
  5271. {
  5272. displayTheCheckedLink(link, 'unava_link');
  5273. }
  5274. });
  5275. }
  5276.  
  5277. //Delinkfifies the <a> element object
  5278. function delinkifyLink(link)
  5279. {
  5280. var spanElm = document.createElement("span");
  5281. spanElm.className = link.className;
  5282. spanElm.innerHTML = link.innerHTML;
  5283.  
  5284. if (Display_tooltip_info)
  5285. {
  5286. spanElm.href = link.href;
  5287. spanElm.warlc_error = link.warlc_error;
  5288. switch (link.className){
  5289. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5290. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5291. case "unava_link": //reserved
  5292. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5293. default:
  5294. }
  5295. }
  5296. link.parentNode.replaceChild(spanElm, link);
  5297. }
  5298.  
  5299. //Assigns result status to the <a> element object and calls delinkifying eventually
  5300. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5301. function displayTheCheckedLink(link, resultStatus)
  5302. {
  5303. link.className = resultStatus;
  5304. link.href = Ref_anonymize_service + link.href;
  5305. if (Display_tooltip_info)
  5306. {
  5307. switch (resultStatus){
  5308. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5309. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5310. case "unava_link": //reserved
  5311. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5312. default:
  5313. }
  5314. }
  5315. if (doNotLinkify)
  5316. {
  5317. delinkifyLink(link);
  5318. }
  5319. cLinksProcessed++;
  5320.  
  5321. if (resultStatus == "alive_link")
  5322. {
  5323. cLinksAlive++;
  5324. return;
  5325. }
  5326.  
  5327. if (resultStatus == "adead_link")
  5328. {
  5329. cLinksDead++;
  5330. return;
  5331. }
  5332.  
  5333. if (resultStatus == "unava_link")
  5334. {
  5335. cLinksUnava++;
  5336. }
  5337. if (resultStatus == "prem_link")
  5338. {
  5339. cLinksprem++;
  5340. return;
  5341. }
  5342. }
  5343.  
  5344.  
  5345. function initFileHosts()
  5346. {
  5347.  
  5348. function addObsoleteHost(linkRegex, xpathEx)
  5349. {
  5350. var host = new Array(2);
  5351. host[0] = linkRegex;
  5352. host[1] = xpathEx;
  5353. http_file_hosts_obsolete.push(host);
  5354. }
  5355.  
  5356. //obsolete file hosts init start
  5357. if (Obsolete_file_hosts)
  5358. {
  5359. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5360. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5361. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5362. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5363. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5364. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5365. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5366. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5367. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5368. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5369. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5370. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5371. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5372. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5373. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5374. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5375. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5376. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5377. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5378. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5379. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5380. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5381. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5382. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5383. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5384. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5385. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5386. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5387. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5388. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5389. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5390. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5391. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5392. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5393. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5394. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5395. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5396. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5397. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5398. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5399. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5400. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5401. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5402. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5403. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5404. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5405. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5406. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5407. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5408. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5409. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5410. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5411. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5412. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5413. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5414. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5415. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5416. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5417. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5418. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5419. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5420. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5421. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5422. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5423. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5424. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5425. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5426. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5427. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5428. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5429. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5430. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5431. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5432. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5433. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5434. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5435. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5436. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5437. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5438. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5439. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5440. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5441. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5442. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5443. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5444. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5445. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5446. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5447. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5448. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5449. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5450. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5451. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5452. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5453. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5454. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5455. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5456. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5457. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5458. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5459. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5460. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5461. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5462. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5463. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5464. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5465. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5466. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5467. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5468. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5469. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5470. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5471. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5472. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5473. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5474. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5475. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5476. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5477. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5478. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5479. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5480. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5481. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5482. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5483. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5484. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5485. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5486. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5487. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5488. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5489. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5490. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5491. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5492. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5493. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5494. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5495. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5496. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5497. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5498. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5499. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5500. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5501. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5502. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5503. 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')]");
  5504. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5505. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5506. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5507. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5508. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5509. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5510. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5511. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5512. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5513. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5514. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5515. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5516. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5517. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5518. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5519. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5520. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5521. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5522. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5523. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5524. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5525. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5526. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5527. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5528. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5529. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5530. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5531. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5532. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5533. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5534. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5535. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5536. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5537. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5538. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5539. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5540. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5541. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5542. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5543. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5544. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5545. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5546. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5547. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5548. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5549. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5550. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5551. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5552. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5553. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5554. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5555. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5556. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5557. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5558. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5559. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5560. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5561. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5562. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5563. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5564. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5565. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5566. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5567. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5568. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5569. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5570. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5571. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5572. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5573. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5574. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5575. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5576. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5577. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5578. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5579. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5580. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5581. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5582. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5583. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5584. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5585. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5586. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5587. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5588. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5589. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5590. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5591. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5592. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5593. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5594. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5595. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5596. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5597. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5598. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5599. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5600. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5601. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5602. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5603. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5604. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5605. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5606. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5607. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5608. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5609. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5610. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5611. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5612. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5613. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5614. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5615. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5616. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5617. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5618. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5619. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5620. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5621. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5622. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5623. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5624. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5625. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5626. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5627. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5628. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5629. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5630. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5631. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5632. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5633. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5634. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5635. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5636. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5637. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5638. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5639. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5640. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5641. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5642. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5643. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5644. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5645. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5646. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5647. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5648. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5649. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5650. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5651. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5652. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5653. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5654. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5655. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5656. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5657. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5658. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5659. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5660. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5661. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5662. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5663. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5664. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5665. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5666. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5667. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5668. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5669. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5670. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5671. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5672. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5673. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5674. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5675. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5676. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5677. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5678. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5679. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5680. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5681. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5682. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5683. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5684. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5685. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5686. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5687. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5688. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5689. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5690. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5691. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5692. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5693. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5694. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5695. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5696. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5697. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5698. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5699. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5700. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5701. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5702. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5703. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5704. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5705. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5706. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5707. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5708. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5709. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5710. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5711. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5712. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5713. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5714. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5715. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5716. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5717. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5718. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5719. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5720. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5721. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5722. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5723. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5724. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5725. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5726. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5727. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5728. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5729. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5730. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5731. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5732. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5733. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5734. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5735. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5736. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5737. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5738. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5739. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5740. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5741. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5742. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5743. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5744. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5745. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5746. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5747. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5748. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5749. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5750. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5751. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5752. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5753. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5754. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5755. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5756. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5757. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5758. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5759. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5760. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5761. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5762. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5763. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5764. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5765. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5766. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5767. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5768. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5769. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5770. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5771. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5772. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5773. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5774. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5775. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5776. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5777. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5778. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5779. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5780. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5781. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5782. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5783. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5784. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5785. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5786. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5787. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5788. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5789. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5790. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5791. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5792. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5793. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5794. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5795. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5796. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5797. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5798. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5799. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5800. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5801. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5802. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5803. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5804. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5805. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5806. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5807. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5808. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5809. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5810. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5811. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5812. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5813. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5814. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5815. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5816. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5817. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5818. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5819. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5820. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5821. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5822. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5823. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5824. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5825. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5826. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5827. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5828. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5829. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5830. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5831. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5832. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5833. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5834. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5835. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5836. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5837. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5838. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5839. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5840. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5841. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5842. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5843. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5844. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5845. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5846. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5847. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm​.to/')]");
  5848. // obsolete start
  5849. }
  5850. //obsolete file hosts init end
  5851. //Add Host Example
  5852. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5853. {
  5854. addFileHost(
  5855. "datafile\.com\/\\w+",
  5856. 'var captchaPanel|<link href="/css/files_download.css"',
  5857. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5858. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5859. '<style type="text/css">',
  5860. "//a[contains(@href,'datafile.com')]",
  5861. true);
  5862. } */
  5863.  
  5864. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5865. {
  5866. var host = new Array(7);
  5867. host[0] = linkRegex;
  5868. host[1] = isAliveRegex;
  5869. host[2] = isDeadRegex;
  5870. host[3] = isUnavaRegex;
  5871. host[6] = ispremRegex;
  5872. host[4] = xpathEx;
  5873. tryLoop ? host[5] = true : host[5] = false;
  5874. http_file_hosts.push(host);
  5875. }
  5876. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5877. {
  5878. addFileHost(
  5879. "megafileupload\.com\/..\/file\/",
  5880. 'downloadbtn',
  5881. 'is not found',
  5882. 'optional--',
  5883. 'optional2--',
  5884. "//a[contains(@href,'megafileupload.com')]");
  5885. }
  5886. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5887. {
  5888. addFileHost(
  5889. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5890. 'download\\.gif"',
  5891. 'p_point">',
  5892. 'optional--',
  5893. 'optional2--',
  5894. "//a[contains(@href,'demo.ovh.eu')]");
  5895. }
  5896. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5897. {
  5898. addFileHost(
  5899. "xkeepfile\.com\/\\w+",
  5900. 'File has been found|Click here to download',
  5901. 'File cannot be found|class="error">',
  5902. 'optional--',
  5903. 'optional2--',
  5904. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5905. }
  5906. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5907. {
  5908. addFileHost(
  5909. "safelinking\\.net\/p\/\\w+",
  5910. 'color:green;"',
  5911. 'color:(?:red|orange);"',
  5912. 'color:(?:grey|brown);"',
  5913. 'optional2--',
  5914. "//a[contains(@href,'safelinking.net/p/')]",
  5915. true);
  5916. }
  5917. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5918. {
  5919. addFileHost(
  5920. "fastshare\\.cz\/\\d+\/\\w*",
  5921. 'dwntable">|speed-low',
  5922. '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',
  5923. 'optional--',
  5924. 'optional2--',
  5925. "//a[contains(@href,'fastshare.cz')]");
  5926. }
  5927. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5928. {
  5929. addFileHost(
  5930. "[fF]ast[sS]hare\\.org\/download",
  5931. 'Download ">',
  5932. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5933. 'optional--',
  5934. 'optional2--',
  5935. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5936. }
  5937. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5938. {
  5939. addFileHost(
  5940. "partage-facile\.com\/\\w+",
  5941. 'class="title"><strong>|colspan="2"',
  5942. 'Page introuvable|class="alert-message',
  5943. 'optional--',
  5944. 'optional2--',
  5945. "//a[contains(@href,'partage-facile.com')]");
  5946. }
  5947. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5948. {
  5949. addFileHost(
  5950. "rapidgator\\.net\/file\/\\w+",
  5951. '/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',
  5952. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5953. 'optional--',
  5954. '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',
  5955. "//a[contains(@href,'rapidgator.net/file')]",
  5956. true
  5957. );
  5958. }
  5959. if (GM_getValue("Check_relink_dot_us_links", false))
  5960. {
  5961. addFileHost(
  5962. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5963. 'online_detail\\.png" alt="Status',
  5964. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5965. 'unknown_detail\\.png" alt="Status',
  5966. 'optional2--',
  5967. "//a[contains(@href,'relink.us/')]"
  5968. );
  5969. }
  5970. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5971. {
  5972. addFileHost(
  5973. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5974. 'div id="dl"',
  5975. 'Sie haben den Link falsch',
  5976. 'optional--',
  5977. 'optional2--',
  5978. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5979. );
  5980. }
  5981. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5982. {
  5983. addFileHost(
  5984. "flyfiles\\.net\/\\w+",
  5985. 'download_button"|"Download file"',
  5986. 'File not found!|Файл не найден',
  5987. 'optional--',
  5988. 'optional2--',
  5989. "//a[contains(@href,'flyfiles.net/')]"
  5990. );
  5991. }
  5992. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5993. {
  5994. addFileHost(
  5995. "wikiupload\\.com\/\\w+",
  5996. 'download-button">',
  5997. 'Sorry, File not found',
  5998. 'optional--',
  5999. 'optional2--',
  6000. "//a[contains(@href,'wikiupload.com/')]"
  6001. );
  6002. }
  6003. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6004. {
  6005. addFileHost(
  6006. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6007. 'file\\.php">|Pobierz Plik',
  6008. 'Podany plik nie zosta',
  6009. 'optional--',
  6010. 'optional2--',
  6011. "//a[contains(@href,'hostuje.net/file')]"
  6012. );
  6013. }
  6014. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6015. {
  6016. addFileHost(
  6017. "gettyfile\\.ru\/\\d+",
  6018. 'download\\.gif border',
  6019. '<center><font size="3">',
  6020. 'optional--',
  6021. 'optional2--',
  6022. "//a[contains(@href,'gettyfile.ru/')]"
  6023. );
  6024. }
  6025. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6026. {
  6027. addFileHost(
  6028. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6029. 'download\\-file">',
  6030. 'col-1">\\s*<h1>',
  6031. 'optional--',
  6032. 'optional2--',
  6033. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6034. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6035. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6036. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6037. );
  6038. }
  6039. if (GM_getValue("Check_data_dot_hu_links", false))
  6040. {
  6041. addFileHost(
  6042. "data\\.hu\/get\/\\d+\/",
  6043. 'download_box_button',
  6044. 'missing\\.php',
  6045. 'optional--',
  6046. 'optional2--',
  6047. "//a[contains(@href,'data.hu/get')]",
  6048. true
  6049. );
  6050. }
  6051. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6052. {
  6053. addFileHost(
  6054. "filesmelt\\.com\/dl\/\\w+",
  6055. '(Your download is ready|Download File)',
  6056. 'Sorry, but your',
  6057. 'optional--',
  6058. 'optional2--',
  6059. "//a[contains(@href,'filesmelt.com/dl')]"
  6060. );
  6061. }
  6062. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6063. {
  6064. addFileHost(
  6065. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6066. 'premiumBtn"',
  6067. 'errorMessage"',
  6068. 'optional--',
  6069. 'optional2--',
  6070. "//a[contains(@href,'indowebster.com/download')]"
  6071. );
  6072. }
  6073. if (GM_getValue("Check_superload_dot_cz_links", false))
  6074. {
  6075. addFileHost(
  6076. "superload\\.cz\/dl\/\\w+",
  6077. 'icon-download">',
  6078. 'soubor nebyl nalezen',
  6079. 'optional--',
  6080. 'optional2--',
  6081. "//a[contains(@href,'superload.cz/dl')]"
  6082. );
  6083. }
  6084. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6085. {
  6086. addFileHost(
  6087. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6088. 'op" value="download',
  6089. 'class="err">|width:500px;text-align:left;">',
  6090. 'optional--',
  6091. 'optional2--',
  6092. "//a[contains(@href,'hulkfile.')]"
  6093. );
  6094. }
  6095. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6096. {
  6097. addFileHost(
  6098. "easybytez\\.com\/\\w+",
  6099. 'op" value="download',
  6100. 'stop_error\\.gif',
  6101. 'optional--',
  6102. 'optional2--',
  6103. "//a[contains(@href,'easybytez.com/')]"
  6104. );
  6105. }
  6106. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6107. {
  6108. addFileHost(
  6109. "filestore\\.com\\.ua\/\\?d=\\w+",
  6110. 'tdrow1>',
  6111. 'class=warn',
  6112. 'optional--',
  6113. 'optional2--',
  6114. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6115. );
  6116. }
  6117. if (GM_getValue("Check_netkups_dot_com_links", false))
  6118. {
  6119. addFileHost(
  6120. "netkups\\.com\/\\?d=\\w+",
  6121. 'submit">Continue',
  6122. 'page">File not found|deleted due to inactivity',
  6123. 'optional--',
  6124. 'optional2--',
  6125. "//a[contains(@href,'netkups.com/?d=')]"
  6126. );
  6127. }
  6128. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6129. {
  6130. addFileHost(
  6131. "openfile\\.ru\/(?:video\/|)\\d+",
  6132. 'videobox_left">',
  6133. 'blog_title">|not found on this server',
  6134. 'optional--',
  6135. 'optional2--',
  6136. "//a[contains(@href,'openfile.ru/')]"
  6137. );
  6138. }
  6139. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6140. {
  6141. addFileHost(
  6142. "extmatrix\\.com\/files\/\\w+",
  6143. 'div class="success"',
  6144. 'div class="error"',
  6145. 'optional--',
  6146. 'optional2--',
  6147. "//a[contains(@href,'extmatrix.com/files')]"
  6148. );
  6149. }
  6150. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6151. {
  6152. addFileHost(
  6153. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6154. 'content_lnkDownload',
  6155. 'error\\.aspx\\?',
  6156. 'optional--',
  6157. 'optional2--',
  6158. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6159. );
  6160. }
  6161. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6162. {
  6163. addFileHost(
  6164. "yourfilestore\\.com\/download\/\\d+\/",
  6165. 'download_data">',
  6166. 'may have been deleted|<h1>Sorry!<\/h1>',
  6167. 'optional--',
  6168. 'optional2--',
  6169. "//a[contains(@href,'yourfilestore.com/download')]"
  6170. );
  6171. }
  6172. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6173. {
  6174. addFileHost(
  6175. "nekaka\\.com\/d\/[\\w-]+",
  6176. 'downloadForm">',
  6177. 'invalid file link',
  6178. 'optional--',
  6179. 'optional2--',
  6180. "//a[contains(@href,'nekaka.com/d')]"
  6181. );
  6182. }
  6183. if (GM_getValue("Check_filebig_dot_net_links", false))
  6184. {
  6185. addFileHost(
  6186. "filebig\\.net\/files\/\\w+",
  6187. 'downloadFile">',
  6188. '<p>File not found<\/p>',
  6189. 'optional--',
  6190. 'optional2--',
  6191. "//a[contains(@href,'filebig.net/files')]"
  6192. );
  6193. }
  6194. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6195. {
  6196. addFileHost(
  6197. "files\\.filefront\\.com\/\/;\\d+;;",
  6198. 'downloadLink">',
  6199. 'File not found, you',
  6200. 'optional--',
  6201. 'optional2--',
  6202. "//a[contains(@href,'files.filefront.com')]"
  6203. );
  6204.  
  6205. addFileHost(
  6206. "gamefront\\.com\/files\/\\d+",
  6207. 'downloadLink">',
  6208. 'File not found, you',
  6209. 'optional--',
  6210. 'optional2--',
  6211. "//a[contains(@href,'gamefront.com/files')]"
  6212. );
  6213. }
  6214. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6215. {
  6216. addFileHost(
  6217. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6218. 'dnlLnk"',
  6219. 'already been deleted',
  6220. 'optional--',
  6221. 'optional2--',
  6222. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6223. );
  6224. }
  6225. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6226. {
  6227. addFileHost(
  6228. "hellupload\\.com\/\\w+",
  6229. '<h3>Download File<br',
  6230. 'id="podstrona">|AVOID_IE_BUG',
  6231. 'optional--',
  6232. 'optional2--',
  6233. "//a[contains(@href,'hellupload.com/')]"
  6234. );
  6235. }
  6236. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6237. {
  6238. addFileHost(
  6239. "free\\-uploading\\.com\/\\w+",
  6240. 'op" value="download',
  6241. 'class="err">|width:500px;text-align:left;">',
  6242. 'optional--',
  6243. 'optional2--',
  6244. "//a[contains(@href,'free-uploading.com/')]"
  6245. );
  6246. }
  6247. if (GM_getValue("Check_fileape_dot_com_links", false))
  6248. {
  6249. addFileHost(
  6250. "fileape\\.com\/download\\-",
  6251. 'button_dl\\.png',
  6252. 'does not exist\\.',
  6253. 'optional--',
  6254. 'optional2--',
  6255. "//a[contains(@href,'fileape.com/')]"
  6256. );
  6257. }
  6258. if (GM_getValue("Check_uppit_dot_com_links", false))
  6259. {
  6260. addFileHost(
  6261. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6262. 'op" value="download',
  6263. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6264. 'optional--',
  6265. 'optional2--',
  6266. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6267. true
  6268. );
  6269. }
  6270. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6271. {
  6272. addFileHost(
  6273. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6274. 'op" value="download',
  6275. '>File Not Found<',
  6276. 'optional--',
  6277. 'optional2--',
  6278. "//a[contains(@href,'nosupload.com')]",
  6279. true
  6280. );
  6281. }
  6282. if (GM_getValue("Check_filesin_dot_com_links", false))
  6283. {
  6284. addFileHost(
  6285. "filesin\\.com\/\\w+\/download\\.html",
  6286. 'download_area">',
  6287. 'error_note">',
  6288. 'optional--',
  6289. 'optional2--',
  6290. "//a[contains(@href,'filesin.com/')]",
  6291. true
  6292. );
  6293. }
  6294. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6295. {
  6296. addFileHost(
  6297. "nowdownload\\.ch\/dl\/\\w+",
  6298. 'alert-success"',
  6299. 'This file does not exist!',
  6300. 'The file is being transfered',
  6301. 'optional2--',
  6302. "//a[contains(@href,'nowdownload.ch/dl')]"
  6303. );
  6304. }
  6305. if (GM_getValue("Check_axifile_dot_com_links", false))
  6306. {
  6307. addFileHost(
  6308. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6309. 'Dbutton_big"',
  6310. 'download\\-error\\.php',
  6311. 'optional--',
  6312. 'optional2--',
  6313. "//a[contains(@href,'axifile.com/')]"
  6314. );
  6315. }
  6316. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6317. {
  6318. addFileHost(
  6319. "hulkshare\.com\/\\w+",
  6320. 'download\.sam\.png|This is a private file|id="filename',
  6321. 'File does not exist|fingerprint protected copyright',
  6322. 'optional--',
  6323. 'optional2--',
  6324. "//a[contains(@href,'hulkshare.com')]"
  6325. );
  6326. }
  6327. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6328. {
  6329. addFileHost(
  6330. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6331. 'col-1">\\s*<s',
  6332. 'col-1">\\s*<h',
  6333. 'optional--',
  6334. 'optional2--',
  6335. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6336. );
  6337. }
  6338. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6339. {
  6340. addFileHost(
  6341. "turbobit\\.(?:net|pl)",
  6342. 'id="download-gate-info|id="file-list',
  6343. 'afterWait()|no files in this folder',
  6344. 'optional--',
  6345. 'optional2--',
  6346. "//a[contains(@href,'turbobit.net')]"
  6347. );
  6348. }
  6349. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6350. {
  6351. addFileHost(
  6352. "hitfile\\.net\/download\/folder\/\\d+",
  6353. 'content">\\s*<s',
  6354. 'content">\\s*<h',
  6355. 'optional--',
  6356. 'optional2--',
  6357. "//a[contains(@href,'hitfile.net/download/folder')]"
  6358. );
  6359. }
  6360. if (GM_getValue("Check_movshare_dot_net_links", false))
  6361. {
  6362. addFileHost(
  6363. "movshare\\.net\\/video\\/\\w+",
  6364. 'optional--"',
  6365. 'no longer exists',
  6366. 'optional--',
  6367. 'optional2--',
  6368. "//a[contains(@href,'movshare.net/video')]"
  6369. );
  6370. }
  6371. if (GM_getValue("Check_plunder_dot_com_links", false))
  6372. {
  6373. addFileHost(
  6374. "plunder\.com\/\\w+",
  6375. 'x\/download\\.gif',
  6376. '404 - File or directory not found.',
  6377. 'optional--',
  6378. 'optional2--',
  6379. "//a[contains(@href,'plunder.com')]"
  6380. );
  6381. }
  6382. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6383. {
  6384. addFileHost(
  6385. "mafiastorage\\.com\/\\w+",
  6386. 'op" value="download',
  6387. 'class="err">|style="width:500px;text-align:left;"',
  6388. 'optional--',
  6389. 'optional2--',
  6390. "//a[contains(@href,'mafiastorage.com/')]"
  6391. );
  6392. }
  6393. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6394. {
  6395. addFileHost(
  6396. "uploadspace\.pl\/plik\\w+",
  6397. 'Downloading .+? \\|',
  6398. 'Downloading a file',
  6399. 'optional--',
  6400. 'optional2--',
  6401. "//a[contains(@href,'uploadspace.pl/plik')]"
  6402. );
  6403. }
  6404. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6405. {
  6406. addFileHost(
  6407. "uploadingit\\.com\/file\/\\w+",
  6408. 'downloadTitle">',
  6409. 'deleteContent">',
  6410. 'optional--',
  6411. 'optional2--',
  6412. "//a[contains(@href,'uploadingit.com/file')]"
  6413. );
  6414. }
  6415. if (GM_getValue("Check_rghost_dot_net_links", false))
  6416. {
  6417. addFileHost(
  6418. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6419. 'download_link|btn large download',
  6420. 'file is restricted|File is deleted|503 Service Unavailable',
  6421. 'optional--',
  6422. 'optional2--',
  6423. "//a[contains(@href,'rghost.')]"
  6424. );
  6425. }
  6426. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6427. {
  6428. addFileHost(
  6429. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6430. '">Staženo:\\s*<\/span>',
  6431. 'Soubor, který hledáte nenalezen',
  6432. 'optional--',
  6433. 'optional2--',
  6434. "//a[contains(@href,'xdisk.cz/')]"
  6435. );
  6436. }
  6437. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6438. {
  6439. addFileHost(
  6440. "expressleech\.com\/\\w+",
  6441. 'src="/img/Download.gif"|var _gaq =',
  6442. 'var rr =|403 Forbidden',
  6443. 'optional--',
  6444. 'optional2--',
  6445. "//a[contains(@href,'expressleech.com')]");
  6446. }
  6447. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6448. {
  6449. addFileHost(
  6450. "2downloadz\.com\/\\w+",
  6451. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6452. 'color="#006DCC|File error',
  6453. 'optional--',
  6454. 'optional2--',
  6455. "//a[contains(@href,'2downloadz.com')]");
  6456. }
  6457. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6458. {
  6459. addFileHost(
  6460. "mightyupload\.com\/\\w+",
  6461. 'background:#ccc;text-align|CONTENT="Download File"',
  6462. 'style="background:#eee|var rr =|File Not Found',
  6463. 'error-code">1010',
  6464. 'optional2--',
  6465. "//a[contains(@href,'mightyupload.com')]");
  6466. }
  6467. if (GM_getValue("Check_anysend_dot_com_links", false))
  6468. {
  6469. addFileHost(
  6470. "anysend\.com\/\\w+",
  6471. 'var openCalled=false;|content="noindex"',
  6472. '_trackPageview',
  6473. 'optional--',
  6474. 'optional2--',
  6475. "//a[contains(@href,'anysend.com')]");
  6476. }
  6477. if (GM_getValue("Check_datafile_dot_com_links", false))
  6478. {
  6479. addFileHost(
  6480. "datafile\.com\/\\w+",
  6481. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6482. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6483. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6484. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">|only by users with<br />Premium account!', //<style type="text/css">
  6485. "//a[contains(@href,'datafile.com')]",
  6486. true);
  6487. }
  6488. if (GM_getValue("Check_upstore_dot_net_links", false))
  6489. {
  6490. addFileHost(
  6491. "upstore\.net\/\\w+",
  6492. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6493. 'File not found|onload="redirect|class="error">',
  6494. 'optional--',
  6495. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6496. "//a[contains(@href,'upstore.net')]");
  6497. }
  6498. if (GM_getValue("Check_upsto_dot_re_links", false))
  6499. {
  6500. addFileHost(
  6501. "upsto\.re\/\\w+",
  6502. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6503. 'File not found|onload="redirect|class="error">',
  6504. 'optional--',
  6505. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6506. "//a[contains(@href,'upsto.re')]");
  6507. }
  6508. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6509. {
  6510. addFileHost(
  6511. "speedy\.sh\/\\w+",
  6512. 'bgcolor=#eeeeee|class="addthis',
  6513. 'File not found|downloadfilenamenotfound>',
  6514. 'optional--',
  6515. 'optional2--',
  6516. "//a[contains(@href,'speedy.sh')]");
  6517. }
  6518. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6519. {
  6520. addFileHost(
  6521. "sanshare\.com\/\\w+",
  6522. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6523. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6524. 'optional--',
  6525. 'optional2--',
  6526. "//a[contains(@href,'sanshare.com')]");
  6527. }
  6528. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6529. {
  6530. addFileHost(
  6531. "kingfiles\.net\/\\w+",
  6532. 'method_free',
  6533. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6534. 'optional--',
  6535. 'optional2--',
  6536. "//a[contains(@href,'kingfiles.net')]");
  6537. }
  6538. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6539. {
  6540. addFileHost(
  6541. "uploadhero\\.co\/dl\/\\w+",
  6542. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6543. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6544. 'optional--',
  6545. 'optional2--',
  6546. "//a[contains(@href,'uploadhero.co/dl')]"
  6547. );
  6548. } */
  6549. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6550. {
  6551. addFileHost(
  6552. "secureupload\\.eu\/\\w+",
  6553. 'Downloading',
  6554. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6555. 'optional--',
  6556. 'optional2--',
  6557. "//a[contains(@href,'secureupload.eu')]"
  6558. );
  6559. }
  6560. if (GM_getValue("Check_ge_dot_tt_links", false))
  6561. {
  6562. addFileHost(
  6563. "ge\.tt\/\\w+",
  6564. 'downloads pic',
  6565. 'is NOT the same as',
  6566. 'optional--',
  6567. 'optional2--',
  6568. "//a[contains(@href,'ge.tt')]");
  6569. }
  6570. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6571. {
  6572. addFileHost(
  6573. "filefactory\.com\/\\w+",
  6574. 'div id="file_holder"|download.css',
  6575. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6576. 'Server Maintenance|temporarily overloaded',
  6577. 'Premium Account Required',
  6578. "//a[contains(@href,'filefactory.com')]");
  6579. }
  6580. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6581. {
  6582. addFileHost(
  6583. "filesflash\.net\/\\w+",
  6584. 'align:right">Filename:',
  6585. 'class="msg">',
  6586. 'optional--',
  6587. 'optional2--',
  6588. "//a[contains(@href,'filesflash.net')]");
  6589. }
  6590. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6591. {
  6592. addFileHost(
  6593. "rapidgator\\.net\/folder\/\\w+",
  6594. 'href="/folder/',
  6595. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6596. 'optional--',
  6597. 'optional2--',
  6598. "//a[contains(@href,'rapidgator.net/folder')]",
  6599. true
  6600. );
  6601. }
  6602. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6603. {
  6604. addFileHost(
  6605. "salefiles\.com\/\\w+",
  6606. 'name="method_free',
  6607. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6608. 'optional--',
  6609. 'optional2--',
  6610. "//a[contains(@href,'salefiles.com')]");
  6611. }
  6612. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6613. {
  6614. addFileHost(
  6615. "megairon\.net\/\\w+",
  6616. 'border: 5px #ffeb90 solid;',
  6617. 'CONTENT="Download File ">|var rr =',
  6618. 'error-code">523',
  6619. 'optional2--',
  6620. "//a[contains(@href,'megairon.net')]",
  6621. true);
  6622. } */
  6623. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6624. {
  6625. addFileHost(
  6626. "datoid\.cz\/\\w+",
  6627. 'btn-download|class="icon-download-large"',
  6628. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6629. 'optional--',
  6630. 'optional2--',
  6631. "//a[contains(@href,'datoid.cz')]");
  6632. }
  6633. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6634. {
  6635. addFileHost(
  6636. "stiahni\.si\/\\w+",
  6637. 'report_icon.png"|slow-download-button',
  6638. 'none.png|deleted|<h2>Error 500</h2>',
  6639. 'optional--',
  6640. 'optional2--',
  6641. "//a[contains(@href,'stiahni.si')]");
  6642. }
  6643. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6644. {
  6645. addFileHost(
  6646. "cloudstor\.es\/\\w+",
  6647. '"btn_download"',
  6648. '404: Page Not Found',
  6649. 'optional--',
  6650. 'optional2--',
  6651. "//a[contains(@href,'cloudstor.es')]");
  6652. }
  6653. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6654. {
  6655. addFileHost(
  6656. "streamfile\.com\/\\w+",
  6657. 'class="btn',
  6658. 'class="green-btn',
  6659. 'optional--',
  6660. 'optional2--',
  6661. "//a[contains(@href,'streamfile.com')]");
  6662. }
  6663. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6664. {
  6665. addFileHost(
  6666. "eyesfile\.ca\/\\w+",
  6667. 'value="Get Link',
  6668. 'var rr =',
  6669. 'optional--',
  6670. 'optional2--',
  6671. "//a[contains(@href,'eyesfile.ca')]");
  6672. }
  6673. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6674. {
  6675. addFileHost(
  6676. "filemoney\.com\/\\w+",
  6677. 'og:title',
  6678. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6679. 'error-code">1010',
  6680. 'optional2--',
  6681. "//a[contains(@href,'filemoney.com')]");
  6682. }
  6683. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6684. {
  6685. addFileHost(
  6686. "uploadboy\.com\/\\w+",
  6687. 'width="740">|method_free',
  6688. 'var rr =|background:#ffffff|not be found|file was removed',
  6689. 'optional--',
  6690. 'optional2--',
  6691. "//a[contains(@href,'uploadboy.com')]");
  6692. }
  6693. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6694. {
  6695. addFileHost(
  6696. "uploadboy\.com\/\\w+",
  6697. 'width="740">|method_free',
  6698. 'var rr =|background:#ffffff|not be found|file was removed',
  6699. 'optional--',
  6700. 'optional2--',
  6701. "//a[contains(@href,'uploadboy.me')]");
  6702. }
  6703. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6704. {
  6705. addFileHost(
  6706. "speedshare\.eu\/\\w+",
  6707. 'favicon.png|color:#3d87c0|cross.png"',
  6708. 'var rr =|File Not Found|style="background:#eee',
  6709. 'optional--',
  6710. 'optional2--',
  6711. "//a[contains(@href,'speedshare.eu')]");
  6712. }
  6713. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6714. {
  6715. addFileHost(
  6716. "unlimitzone\.com\/\\w+",
  6717. 'name="method_free',
  6718. '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',
  6719. 'optional--',
  6720. 'optional2--',
  6721. "//a[contains(@href,'unlimitzone.com')]");
  6722. }
  6723. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6724. {
  6725. addFileHost(
  6726. "rioupload\.com\/\\w+",
  6727. 'sell.jpg',
  6728. 'var rr =',
  6729. 'optional--',
  6730. 'optional2--',
  6731. "//a[contains(@href,'rioupload.com')]");
  6732. }
  6733. if (GM_getValue("Check_rg_dot_to_links", false))
  6734. {
  6735. addFileHost(
  6736. "rg\.to\/\\w+",
  6737. '/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',
  6738. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6739. 'optional--',
  6740. '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',
  6741. "//a[contains(@href,'rg.to')]");
  6742. }
  6743. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6744. {
  6745. addFileHost(
  6746. "jumbofiles\.org\/\\w+",
  6747. 'H71C5.png|class="downloadtitle">',
  6748. 'var swfu|ViewSourceBIN.png',
  6749. 'optional--',
  6750. 'optional2--',
  6751. "//a[contains(@href,'jumbofiles.org')]");
  6752. }
  6753. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6754. {
  6755. addFileHost(
  6756. "fshare\\.vn\/file\/\\w+",
  6757. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6758. 'không tồn tại|class="color_red m_t_50"',
  6759. 'optional--',
  6760. 'optional2--',
  6761. "//a[contains(@href,'fshare.vn/file')]",
  6762. true
  6763. );
  6764. }
  6765. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6766. {
  6767. addFileHost(
  6768. "spaceforfiles\.com\/\\w+",
  6769. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6770. 'var rr =|AVOID_IE_BUG',
  6771. 'optional--',
  6772. 'optional2--',
  6773. "//a[contains(@href,'spaceforfiles.com')]");
  6774. }
  6775. if (GM_getValue("Check_google_dot_com_links", false))
  6776. {
  6777. addFileHost(
  6778. "google\\.com\/file\/\\w+",
  6779. 'content="!">|color:#2d2d2d',
  6780. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6781. 'optional--',
  6782. 'optional2--',
  6783. "//a[contains(@href,'google.com/file')]",
  6784. true
  6785. );
  6786. }
  6787. if (GM_getValue("Check_google_dot_com_links", false))
  6788. {
  6789. addFileHost(
  6790. "docs.google.com\/\\w+",
  6791. 'content="!">|color:#2d2d2d',
  6792. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6793. 'optional--',
  6794. 'optional2--',
  6795. "//a[contains(@href,'docs.google.com')]",
  6796. true
  6797. );
  6798. }
  6799. if (GM_getValue("Check_google_dot_com_links", false))
  6800. {
  6801. addFileHost(
  6802. "drive.google.com\/\\w+",
  6803. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6804. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6805. 'optional--',
  6806. 'optional2--',
  6807. "//a[contains(@href,'drive.google.com')]",
  6808. true
  6809. );
  6810. }
  6811. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6812. {
  6813. addFileHost(
  6814. "up.media1fire\.com\/\\w+",
  6815. 'class="addthis_|value="download',
  6816. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6817. 'optional--',
  6818. 'optional2--',
  6819. "//a[contains(@href,'up.media1fire.com')]");
  6820. }
  6821. if (GM_getValue("Check_depfile_dot_com_links", false))
  6822. {
  6823. addFileHost(
  6824. "depfile\.com\/\\w+",
  6825. 'logo_0.png|downloads.gif"|verifycode',
  6826. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6827. 'optional--',
  6828. 'available only for Premium users',
  6829. "//a[contains(@href,'depfile.com')]");
  6830. }
  6831. if (GM_getValue("Check_go4up_dot_com_links", false))
  6832. {
  6833. addFileHost(
  6834. "go4up\.com\/\\w+",
  6835. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6836. '<title>GO4UP|dmca',
  6837. 'optional--',
  6838. 'optional2--',
  6839. "//a[contains(@href,'go4up.com')]");
  6840. }
  6841. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6842. {
  6843. addFileHost(
  6844. "redbunker\.net\/\\w+",
  6845. 'name="method_free"',
  6846. 'color="red">Unknow / Bilinmiyor<',
  6847. 'optional--',
  6848. '2.3 GB',
  6849. "//a[contains(@href,'redbunker.net')]");
  6850. }
  6851. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6852. {
  6853. addFileHost(
  6854. "divxpress\.com\/\\w+",
  6855. 'btn_download|logo.png"',
  6856. 'AVOID_IE_BUG|var rr =',
  6857. 'optional--',
  6858. 'optional2--',
  6859. "//a[contains(@href,'divxpress.com')]");
  6860. }
  6861. if (GM_getValue("Check_anafile_dot_com_links", false))
  6862. {
  6863. addFileHost(
  6864. "anafile\.com\/\\w+",
  6865. 'width="881" valign="top|color="#800080"|name="go"',
  6866. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6867. 'optional--',
  6868. 'optional2--',
  6869. "//a[contains(@href,'anafile.com')]");
  6870. }
  6871. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6872. {
  6873. addFileHost(
  6874. "uploadable\\.ch\/file\/\\w+",
  6875. 'captcha.js"|payment.js"|class="btn_download"',
  6876. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6877. 'optional--',
  6878. 'optional2--',
  6879. "//a[contains(@href,'uploadable.ch/file')]",
  6880. true
  6881. );
  6882. }
  6883. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6884. {
  6885. addFileHost(
  6886. "bigfile\\.to\/file\/\\w+",
  6887. 'captcha.js"|payment.js"|class="btn_download"',
  6888. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6889. 'optional--',
  6890. 'optional2--',
  6891. "//a[contains(@href,'bigfile.to/file')]",
  6892. true
  6893. );
  6894. }
  6895. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6896. {
  6897. addFileHost(
  6898. "arabloads\.net\/\\w+",
  6899. 'name="method_free"|name="method_premium"',
  6900. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6901. 'optional--',
  6902. 'optional2--',
  6903. "//a[contains(@href,'arabloads.net')]");
  6904. }
  6905. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6906. {
  6907. addFileHost(
  6908. "sharerepo\.com\/\\w+",
  6909. 'name="method_free"',
  6910. 'var public_on=|The file you were looking for could not be found',
  6911. 'optional--',
  6912. 'optional2--',
  6913. "//a[contains(@href,'sharerepo.com')]");
  6914. }
  6915. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6916. {
  6917. addFileHost(
  6918. "sfshare\.se\/\\w+",
  6919. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6920. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6921. 'optional--',
  6922. 'optional2--',
  6923. "//a[contains(@href,'sfshare.se')]");
  6924. }
  6925. if (GM_getValue("Check_files_dot_fm_links", false))
  6926. {
  6927. addFileHost(
  6928. "files\.fm\/\\w+",
  6929. 'dl.png"|background-color: transparent',
  6930. 'margin: 40px 40px|background: none;',
  6931. 'optional--',
  6932. 'optional2--',
  6933. "//a[contains(@href,'files.fm')]");
  6934. }
  6935. if (GM_getValue("Check_koofile_dot_com_links", false))
  6936. {
  6937. addFileHost(
  6938. "koofile\.com\/\\w+",
  6939. 'value="download1">|name="method_free"',
  6940. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6941. 'optional--',
  6942. 'optional2--',
  6943. "//a[contains(@href,'koofile.com')]");
  6944. }
  6945. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6946. {
  6947. addFileHost(
  6948. "vidxden\\.com\/\\w+",
  6949. 'Continue to Video"',
  6950. 'No such file',
  6951. 'optional--',
  6952. 'optional2--',
  6953. "//a[contains(@href,'vidxden.com')]"
  6954. );
  6955. }
  6956. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6957. {
  6958. addFileHost(
  6959. "muchshare\\.net\/\\w+",
  6960. 'id="btn_download"',
  6961. 'File Not Found|width: 500px; text-align: left;',
  6962. 'optional--',
  6963. 'optional2--',
  6964. "//a[contains(@href,'muchshare.net')]"
  6965. );
  6966. }
  6967. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6968. {
  6969. addFileHost(
  6970. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6971. 'Details zur Datei|Details page',
  6972. 'Jetzt hochladen|upload now',
  6973. 'optional--',
  6974. 'optional2--',
  6975. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6976. );
  6977. }
  6978. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6979. {
  6980. addFileHost(
  6981. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6982. 'downloadbtn"',
  6983. 'DL_FileNotFound',
  6984. 'optional--',
  6985. 'optional2--',
  6986. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6987. );
  6988. }
  6989. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6990. {
  6991. addFileHost(
  6992. "fileflyer\.com\/view\/\\w+",
  6993. '(?:dwl|locked)btn"',
  6994. 'error.gif"|link">Removed|removedlink">',
  6995. 'optional--',
  6996. 'optional2--',
  6997. "//a[contains(@href,'fileflyer.com')]"
  6998. );
  6999. }
  7000. if (GM_getValue("Check_filestore_dot_to_links", false))
  7001. {
  7002. addFileHost(
  7003. "filestore\.to\/\\?d=\\w+",
  7004. '"downloading"',
  7005. 'Datei wurde nicht gefunden',
  7006. 'optional--',
  7007. 'optional2--',
  7008. "//a[contains(@href,'filestore.to')]"
  7009. );
  7010. }
  7011. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7012. {
  7013. addFileHost(
  7014. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7015. 'fz24">Download|class="pl15">',
  7016. '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',
  7017. 'optional--',
  7018. 'optional2--',
  7019. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7020. );
  7021. }
  7022. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  7023. {
  7024. addFileHost(
  7025. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7026. 'File size:',
  7027. 'file is not found',
  7028. 'optional--',
  7029. 'optional2--',
  7030. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7031. );
  7032. } */
  7033. if (GM_getValue("Check_datei_dot_to_links", false))
  7034. {
  7035. addFileHost(
  7036. "datei\\.to\/\\??\\w+",
  7037. 'icon_downloaden\\.png|>Download starten<',
  7038. 'Datei wurde nicht gefunden|icon_deleted.png',
  7039. 'optional--',
  7040. 'optional2--',
  7041. "//a[contains(@href,'datei.to')]"
  7042. );
  7043. }
  7044. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7045. {
  7046. addFileHost(
  7047. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7048. '<body class="body" id="body">|value="Slow Download"',
  7049. '<body class="body" >',
  7050. 'optional--',
  7051. 'optional2--',
  7052. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7053. );
  7054. }
  7055. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7056. {
  7057. addFileHost(
  7058. "uploadhero\\.com\/dl\/\\w+",
  7059. 'content-dl">',
  7060. 'men_file_lost\\.jpg"',
  7061. 'optional--',
  7062. 'optional2--',
  7063. "//a[contains(@href,'uploadhero.com/dl')]"
  7064. );
  7065. } */
  7066. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7067. {
  7068. addFileHost(
  7069. "unibytes\\.com\/[\\w\.]+",
  7070. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7071. 'File not found|Файл не найден|',
  7072. 'optional--',
  7073. 'optional2--',
  7074. "//a[contains(@href,'unibytes.com')]"
  7075. );
  7076. }
  7077. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7078. {
  7079. addFileHost(
  7080. "www\\.hellshare\\.com\/\\d+",
  7081. 'tab\\-details"',
  7082. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7083. 'optional--',
  7084. 'optional2--',
  7085. "//a[contains(@href,'www.hellshare.com')]"
  7086. );
  7087. }
  7088. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7089. {
  7090. addFileHost(
  7091. "www\\.download.cz.hellshare\\.com\/\\w+",
  7092. 'tab\\-details"',
  7093. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7094. 'optional--',
  7095. 'optional2--',
  7096. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7097. );
  7098. }
  7099. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7100. {
  7101. addFileHost(
  7102. "quickshare\\.cz\/slozka-\\d+",
  7103. 'Počet souborů: <strong>[1-9]',
  7104. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7105. 'optional--',
  7106. 'optional2--',
  7107. "//a[contains(@href,'quickshare.cz/slozka')]"
  7108. );
  7109. } */
  7110. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7111. {
  7112. addFileHost(
  7113. "filefactory\\.com\/f\/\\w+",
  7114. 'folderFileList">',
  7115. 'table class="items"|Pointer" class="red">',
  7116. 'optional--',
  7117. 'optional2--',
  7118. "//a[contains(@href,'filefactory.com/f/')]"
  7119. );
  7120. }
  7121. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7122. {
  7123. addFileHost(
  7124. "netfolder\\.in\/\\w+",
  7125. 'list" value="http',
  7126. 'InPage_Error">|list" value=""',
  7127. 'optional--',
  7128. 'optional2--',
  7129. "//a[contains(@href,'netfolder.in')]"
  7130. );
  7131. } */
  7132. if (GM_getValue("Check_load_dot_to_links", false))
  7133. {
  7134. addFileHost(
  7135. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7136. '"download_table_left">Size',
  7137. 'Can\'t find file',
  7138. 'optional--',
  7139. 'optional2--',
  7140. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7141. );
  7142. }
  7143. if (GM_getValue("Check_divshare_dot_com_links", false))
  7144. {
  7145. addFileHost(
  7146. "divshare\\.com\/download\/",
  7147. 'download_new\.png',
  7148. 'have been removed',
  7149. 'optional--',
  7150. 'optional2--',
  7151. "//a[contains(@href,'divshare.com')]"
  7152. );
  7153. }
  7154. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7155. {
  7156. addFileHost(
  7157. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7158. 'class="nazev-souboru',
  7159. '<div class="background margin-top vlevo" style="width: 600px;">',
  7160. 'optional--',
  7161. 'optional2--',
  7162. "//a[contains(@href,'euroshare.eu/file')]"
  7163. );
  7164. }
  7165. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7166. {
  7167. addFileHost(
  7168. 'files\\.mail\\.ru/(?:\\w*)',
  7169. 'fileList',
  7170. 'errorMessage',
  7171. 'optional--',
  7172. 'optional2--',
  7173. "//a[contains(@href,'files.mail.ru')]"
  7174. );
  7175. }
  7176. if (GM_getValue("Check_megashares_dot_com_links", false))
  7177. {
  7178. addFileHost(
  7179. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7180. 'Filesize',
  7181. 'Invalid|deleted|Could not download file',
  7182. 'slots|scheduled maintenance',
  7183. 'optional2--',
  7184. "//a[contains(@href,'megashares.com/')]"
  7185. );
  7186. }
  7187. if (GM_getValue("Check_narod_dot_ru_links", false))
  7188. {
  7189. addFileHost(
  7190. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7191. 'b-submit|action="resource.download"',
  7192. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7193. 'Внутренняя ошибка сервиса',
  7194. 'optional2--',
  7195. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7196. );
  7197. }
  7198. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7199. {
  7200. addFileHost(
  7201. "rayfile\\.com\/",
  7202. 'FILEtitleTXT',
  7203. 'blueRow',
  7204. 'optional--',
  7205. 'optional2--',
  7206. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7207. );
  7208. }
  7209. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7210. {
  7211. addFileHost(
  7212. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7213. 'button_green_body"',
  7214. 'error">',
  7215. 'optional--',
  7216. 'optional2--',
  7217. "//a[contains(@href,'filesmonster.com/download')]"
  7218. );
  7219. }
  7220. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7221. {
  7222. addFileHost(
  7223. 'usaupload\\.net\/d\/(?:\w*)',
  7224. '<strong>File size:</strong>',
  7225. 'is not available',
  7226. 'optional--',
  7227. 'optional2--',
  7228. "//a[contains(@href,'usaupload.net/d/')]"
  7229. );
  7230. }
  7231. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7232. {
  7233. addFileHost(
  7234. 'sendspace\\.com\/file\/\\w+',
  7235. 'file_description',
  7236. 'msg error"',
  7237. 'optional--',
  7238. 'optional2--',
  7239. "//a[contains(@href,'sendspace.com/file')]"
  7240. );
  7241. }
  7242. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7243. {
  7244. addFileHost(
  7245. 'sendspace\\.pl\/file\/\\w+',
  7246. 'download_file"',
  7247. 'Podany plik nie',
  7248. 'optional--',
  7249. 'optional2--',
  7250. "//a[contains(@href,'sendspace.pl/file')]"
  7251. );
  7252. }
  7253. if (GM_getValue("Check_uploading_dot_com_links", false))
  7254. {
  7255. addFileHost(
  7256. 'uploading\\.com\/(?:files\/)?\\w+',
  7257. 'free_method">',
  7258. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7259. 'optional--',
  7260. 'optional2--',
  7261. "//a[contains(@href,'uploading.com')]"
  7262. );
  7263. }
  7264. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7265. {
  7266. addFileHost(
  7267. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7268. 'fileId"',
  7269. 'error">',
  7270. 'optional--',
  7271. 'optional2--',
  7272. "//a[contains(@href,'gigasize.com/get')]"
  7273. );
  7274. }
  7275. if (GM_getValue("Check_good_dot_com_links", false))
  7276. {
  7277. addFileHost(
  7278. 'good\\.net\/(?:_|dl)',
  7279. 'Free Download',
  7280. 'Not Found',
  7281. 'Forbidden',
  7282. 'optional2--',
  7283. "//a[contains(@href,'good.net')]"
  7284. );
  7285. }
  7286. if (GM_getValue("Check_2shared_dot_com_links", false))
  7287. {
  7288. addFileHost(
  7289. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7290. 'File size',
  7291. 'File not found|is not valid|/images/important.gif',
  7292. 'optional--',
  7293. 'optional2--',
  7294. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7295. );
  7296. }
  7297. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7298. {
  7299. addFileHost(
  7300. 'turboupload\\.com\/\\w*',
  7301. 'You have requested',
  7302. 'File Not Found',
  7303. 'optional--',
  7304. 'optional2--',
  7305. "//a[contains(@href,'turboupload.com')]"
  7306. );
  7307. }
  7308. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7309. {
  7310. addFileHost(
  7311. 'gigapeta\\.com\/dl\/',
  7312. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7313. '404|page_error',
  7314. 'optional--',
  7315. 'optional2--',
  7316. "//a[contains(@href,'gigapeta.com/dl')]"
  7317. );
  7318. }
  7319. if (GM_getValue("Check_veehd_dot_com_links", false))
  7320. {
  7321. addFileHost(
  7322. 'veehd\.com\/video\/.*?',
  7323. 'No sound|Download video',
  7324. 'Featured Videos',
  7325. 'optional--',
  7326. 'optional2--',
  7327. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7328. );
  7329. }
  7330. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7331. {
  7332. addFileHost(
  7333. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7334. 'fast_download_form">|submit_sms_download',
  7335. '<p style="text-align:center">',
  7336. 'optional--',
  7337. 'optional2--',
  7338. "//a[contains(@href,'vip-file.com/download')]"
  7339. );
  7340. }
  7341. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7342. {
  7343. addFileHost(
  7344. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7345. 'download\\-pnl ',
  7346. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7347. 'optional--',
  7348. 'optional2--',
  7349. "//a[contains(@href,'letitbit.net/download')]"
  7350. );
  7351. }
  7352. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7353. {
  7354. addFileHost(
  7355. 'ifolder\.ru\/\\d+',
  7356. 'file-info',
  7357. 'ui-state-error',
  7358. 'optional--',
  7359. 'optional2--',
  7360. "//a[contains(@href,'ifolder.ru')]"
  7361. );
  7362. }
  7363. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7364. {
  7365. addFileHost(
  7366. 'fileswap\\.com\/dl\/\\w+',
  7367. 'bttnDownloadLink"',
  7368. 'rounded_block_error"',
  7369. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7370. 'optional2--',
  7371. "//a[contains(@href,'fileswap.com/dl')]"
  7372. );
  7373. }
  7374. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7375. {
  7376. addFileHost(
  7377. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7378. 'var __error = 0|id="recaptchaPanel">',
  7379. 'FILES__DOESNT_EXIST|removed or did not exist',
  7380. 'optional--',
  7381. 'optional2--',
  7382. "//a[contains(@href,'filecloud.io/')]"
  7383. );
  7384. addFileHost(
  7385. 'ifile\\.it\/\\w+',
  7386. 'var __error = 0',
  7387. 'FILES__DOESNT_EXIST',
  7388. 'optional--',
  7389. 'optional2--',
  7390. "//a[contains(@href,'ifile.it/')]"
  7391. );
  7392. }
  7393. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7394. {
  7395. addFileHost(
  7396. 'solidfiles\\.com\/\\w+',
  7397. 'id="download"|content="Download',
  7398. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7399. 'optional--',
  7400. 'optional2--',
  7401. "//a[contains(@href,'solidfiles.com/')]"
  7402. );
  7403. }
  7404. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7405. {
  7406. addFileHost(
  7407. "(?:.\\.|)shareflare\\.net",
  7408. 'download-pnl|<div class="premium-block">',
  7409. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7410. 'optional--',
  7411. 'optional2--',
  7412. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7413. );
  7414. }
  7415. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7416. {
  7417. addFileHost(
  7418. "u18116681.shareflare\\.net",
  7419. 'download-pnl|<div class="premium-block">',
  7420. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7421. 'optional--',
  7422. 'optional2--',
  7423. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7424. );
  7425. }
  7426. if (GM_getValue("Check_uloz_dot_to_links", false))
  7427. {
  7428. addFileHost(
  7429. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7430. 'fileDownload">|fileSize">',
  7431. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7432. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7433. 'optional2--',
  7434. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7435. true
  7436. );
  7437. }
  7438. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7439. {
  7440. addFileHost(
  7441. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7442. 'file\\-list-orderby|section-filedetail">',
  7443. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7444. 'optional--',
  7445. 'optional2--',
  7446. "//a[contains(@href,'hellspy.')]"
  7447. );
  7448. }
  7449. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7450. {
  7451. addFileHost(
  7452. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7453. '<body onload="">',
  7454. 'neexistuje|not exist',
  7455. 'optional--',
  7456. 'optional2--',
  7457. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7458. );
  7459. }
  7460. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7461. {
  7462. addFileHost(
  7463. "stahovanizasms\\.cz\/\\w+",
  7464. 'download\\.png>|font-size:11px><tr>',
  7465. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7466. 'optional--',
  7467. 'optional2--',
  7468. "//a[contains(@href,'stahovanizasms.cz')]"
  7469. );
  7470. }
  7471. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7472. {
  7473. addFileHost(
  7474. "share-links\\.biz\/\\w*",
  7475. 'online\\.gif',
  7476. '(?:offline|parts)\\.gif',
  7477. 'optional--',
  7478. 'optional2--',
  7479. "//a[contains(@href,'share-links.biz')]"
  7480. );
  7481. }
  7482. if (GM_getValue("Check_4shared_dot_com_links", false))
  7483. {
  7484. addFileHost(
  7485. "4shared\\.com\/.+\/",
  7486. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7487. 'class="warn\"|big red"|GetDataBack',
  7488. 'Service Unavailable',
  7489. 'optional2--',
  7490. "//a[contains(@href,'4shared.com')]"
  7491. );
  7492. }
  7493. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7494. {
  7495. addFileHost(
  7496. "(?:www\\d+\.|)zippyshare\.com\/",
  7497. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7498. 'not exist|Status 404',
  7499. 'optional--',
  7500. 'optional2--',
  7501. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7502. );
  7503. }
  7504. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7505. {
  7506. addFileHost(
  7507. "mediafire\.com\/",
  7508. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7509. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7510. 'set to private',
  7511. 'optional2--',
  7512. "//a[contains(@href,'mediafire.com')]"
  7513. );
  7514. }
  7515. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7516. {
  7517. addFileHost(
  7518. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7519. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB',
  7520. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7521. 'optional--',
  7522. 'GB</small>',
  7523. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7524. );
  7525. }
  7526. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7527. {
  7528. addFileHost(
  7529. "ulozisko\.sk\/",
  7530. 'Detaily',
  7531. 'neexistuje',
  7532. 'optional--',
  7533. 'optional2--',
  7534. "//a[contains(@href,'ulozisko.sk')]"
  7535. );
  7536. }
  7537. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7538. {
  7539. addFileHost(
  7540. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7541. 'download.php',
  7542. 'notfound|upload\\-suborov\\.php"',
  7543. 'optional--',
  7544. 'optional2--',
  7545. "//a[contains(@href,'upnito.sk')]"
  7546. );
  7547. }
  7548. if (GM_getValue("Check_box_dot_com_links", false))
  7549. {
  7550. addFileHost(
  7551. "box\.com\/\\w+",
  7552. 'download-file-btn|id="download_button|preview-download',
  7553. 'BIyMin.png| <div class="error_message|link has been removed',
  7554. 'optional--',
  7555. 'optional2--',
  7556. "//a[contains(@href,'app.box.com')]");
  7557. }
  7558. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7559. {
  7560. addFileHost(
  7561. "uptobox\\.com\/\\w+",
  7562. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7563. '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|لا يوجد أي ملف',
  7564. 'Maintenance',
  7565. 'optional2--',
  7566. "//a[contains(@href,'uptobox.com')]"
  7567. );
  7568. }
  7569. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7570. {
  7571. addFileHost(
  7572. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7573. 'FILE DOWNLOAD<',
  7574. 'File Does Not Exist',
  7575. 'optional--',
  7576. 'optional2--',
  7577. "//a[contains(@href,'sharecash.org/download.php')]"
  7578. );
  7579. }
  7580. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7581. {
  7582. addFileHost(
  7583. "depositfiles\\.com\/folders\/\\w+",
  7584. '<div class="progressContainer">',
  7585. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7586. 'optional--',
  7587. 'optional2--',
  7588. "//a[contains(@href,'depositfiles.com/folders')]"
  7589. );
  7590. }
  7591. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7592. {
  7593. addFileHost(
  7594. "rapidfileshare\\.net/\\w+",
  7595. '<div id="upload-header-bg">',
  7596. '<div style="width:500px;text-align:left;">',
  7597. 'optional--',
  7598. 'optional2--',
  7599. "//a[contains(@href,'rapidfileshare.net/')]"
  7600. );
  7601. }
  7602. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7603. {
  7604. addFileHost(
  7605. "stiahnito\\.sk/",
  7606. '<span class="filesize right">',
  7607. '<ol class="list-purp-2">',
  7608. 'optional--',
  7609. 'optional2--',
  7610. "//a[contains(@href,'stiahnito.sk/')]"
  7611. );
  7612. }
  7613. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7614. {
  7615. addFileHost(
  7616. "rusfolder\\.(?:com|net)",
  7617. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7618. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7619. 'optional--',
  7620. 'optional2--',
  7621. "//a[contains(@href,'rusfolder')]"
  7622. );
  7623. }
  7624. if (GM_getValue("Check_fileover_dot_net_links", false))
  7625. {
  7626. addFileHost(
  7627. "fileover\\.net/\\d+",
  7628. 'id="filesize"',
  7629. 'Not found or deleted|The following file is unavailable',
  7630. 'optional--',
  7631. 'optional2--',
  7632. "//a[contains(@href,'fileover.net/')]"
  7633. );
  7634. }
  7635. if (GM_getValue("Check_catshare_dot_net_links", false))
  7636. {
  7637. addFileHost(
  7638. "catshare\\.net/\\w+",
  7639. '"icon-share',
  7640. 'alert alert-error',
  7641. 'optional--',
  7642. 'optional2--',
  7643. "//a[contains(@href,'catshare.net/')]"
  7644. );
  7645. }
  7646. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7647. {
  7648. addFileHost(
  7649. "anonfiles\\.com/\\w+",
  7650. '"download_button"',
  7651. '<legend><b>404</b>',
  7652. 'optional--',
  7653. 'optional2--',
  7654. "//a[contains(@href,'anonfiles.com')]"
  7655. );
  7656. }
  7657. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7658. {
  7659. addFileHost(
  7660. "mixturecloud\\.com/media/\\w+",
  7661. '"btn icon i_globe gray share_150',
  7662. '"s_cross_close"></span> 404:',
  7663. 'optional--',
  7664. 'optional2--',
  7665. "//a[contains(@href,'mixturecloud.com/media/')]"
  7666. );
  7667. }
  7668. if (GM_getValue("Check_akafile_dot_com_links", false))
  7669. {
  7670. addFileHost(
  7671. "akafile\\.com\/\\w+",
  7672. 'download1',
  7673. 'File Not Found',
  7674. 'optional--',
  7675. 'optional2--',
  7676. "//a[contains(@href,'akafile.com/')]"
  7677. );
  7678. }
  7679. if (GM_getValue("Check_creafile_dot_net_links", false))
  7680. {
  7681. addFileHost(
  7682. "creafile\\.net\/\\w+",
  7683. 'downloadblock',
  7684. 'errtitle',
  7685. 'optional--',
  7686. 'optional2--',
  7687. "//a[contains(@href,'creafile.net/')]"
  7688. );
  7689. }
  7690. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7691. {
  7692. addFileHost(
  7693. "hugefiles\\.net\/\\w+",
  7694. 'download1|class="btn-create-download" value="Create Download Link">',
  7695. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7696. 'optional--',
  7697. 'optional2--',
  7698. "//a[contains(@href,'hugefiles.net/')]"
  7699. );
  7700. }
  7701. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7702. {
  7703. addFileHost(
  7704. "sendmyway\\.com\/\\w+",
  7705. 'id="btn_download"',
  7706. '500px;text-align:left;"|<center><h3>',
  7707. 'optional--',
  7708. 'optional2--',
  7709. "//a[contains(@href,'sendmyway.com/')]"
  7710. );
  7711. }
  7712. if (GM_getValue("Check_upload_dot_ee_links", false))
  7713. {
  7714. addFileHost(
  7715. "upload\\.ee\/\\w+",
  7716. 'onmouseout="document.dllink.src',
  7717. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7718. 'optional--',
  7719. 'optional2--',
  7720. "//a[contains(@href,'upload.ee/')]"
  7721. );
  7722. }
  7723. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7724. {
  7725. addFileHost(
  7726. "shareplace\\.org\/\\?\\w+",
  7727. 'Download-Link',
  7728. 'Your requested file is not found|Select file to send',
  7729. 'optional--',
  7730. 'optional2--',
  7731. "//a[contains(@href,'shareplace.org/?')]"
  7732. );
  7733. }
  7734. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7735. {
  7736. addFileHost(
  7737. "uploadc\\.com\/\\w+",
  7738. 'id="prebut"',
  7739. 'File Not Found|This file has been removed due',
  7740. 'optional--',
  7741. 'optional2--',
  7742. "//a[contains(@href,'uploadc.com/')]"
  7743. );
  7744. }
  7745. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7746. {
  7747. addFileHost(
  7748. "remixshare\\.com\/\\w+",
  7749. 'id="dl2"',
  7750. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7751. 'optional--',
  7752. 'optional2--',
  7753. "//a[contains(@href,'remixshare.com/')]"
  7754. );
  7755. }
  7756. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7757. {
  7758. addFileHost(
  7759. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7760. 'Last Download :',
  7761. 'img src="\\/404.jpg"',
  7762. 'optional--',
  7763. 'optional2--',
  7764. "//a[contains(@href,'exoshare.com/download.php')]"
  7765. );
  7766. }
  7767. if (GM_getValue("Check_borncash_dot_org_links", false))
  7768. {
  7769. addFileHost(
  7770. "borncash\\.org\/download\/\\?a=\\w+",
  7771. 'class="knop_1"',
  7772. '\/error\/er00',
  7773. 'optional--',
  7774. 'optional2--',
  7775. "//a[contains(@href,'borncash.org/download/')]"
  7776. );
  7777. }
  7778. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7779. {
  7780. addFileHost(
  7781. "vidplay\.net\/\\w+",
  7782. 'solvemedia puzzle widget',
  7783. 'File not found|AVOID_IE_BUG',
  7784. 'optional--',
  7785. 'optional2--',
  7786. "//a[contains(@href,'vidplay.net')]");
  7787. }
  7788. if (GM_getValue("Check_storagon_dot_com_links", false))
  7789. {
  7790. addFileHost(
  7791. "storagon\.com\/\\w+",
  7792. 'class="icon-cloud-download"></i>|content="Download Options',
  7793. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7794. 'optional--',
  7795. 'optional2--',
  7796. "//a[contains(@href,'storagon.com')]");
  7797. }
  7798. if (GM_getValue("Check_filedais_dot_com_links", false))
  7799. {
  7800. addFileHost(
  7801. "filedais\.com\/\\w+",
  7802. 'class="btn btn-info"|name="method_free"',
  7803. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7804. 'optional--',
  7805. 'optional2--',
  7806. "//a[contains(@href,'filedais.com')]");
  7807. }
  7808. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7809. {
  7810. addFileHost(
  7811. "up.4share\.vn\/\\w+",
  7812. '<font size="2" face="Verdana">',
  7813. 'font: 13px Tahoma; color: Brown',
  7814. 'optional--',
  7815. 'optional2--',
  7816. "//a[contains(@href,'up.4share.vn')]");
  7817. }
  7818. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7819. {
  7820. addFileHost(
  7821. "share.vnn\.vn\/\\w+",
  7822. '"index,follow"|<div class="main" id="download-box">',
  7823. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7824. 'optional--',
  7825. 'optional2--',
  7826. "//a[contains(@href,'share.vnn.vn')]");
  7827. }
  7828. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7829. {
  7830. addFileHost(
  7831. "upfile\.vn\/\\w+",
  7832. 'download-timer',
  7833. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7834. 'optional--',
  7835. 'optional2--',
  7836. "//a[contains(@href,'upfile.vn')]");
  7837. }
  7838. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7839. {
  7840. addFileHost(
  7841. "aisfile\.com\/\\w+",
  7842. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7843. '<div style="width:500px;text-align:left;">|File Not Found',
  7844. 'optional--',
  7845. 'optional2--',
  7846. "//a[contains(@href,'aisfile.com')]");
  7847. }
  7848. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7849. {
  7850. addFileHost(
  7851. "usersfiles\.com\/\\w+",
  7852. 'class="btn btn-success|id="btn_download" class="btn"',
  7853. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7854. 'optional--',
  7855. 'optional2--',
  7856. "//a[contains(@href,'usersfiles.com')]");
  7857. }
  7858. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7859. {
  7860. addFileHost(
  7861. "pan.baidu\.com\/\\w+",
  7862. 'target="_blank" title=|share-personal-info',
  7863. 'share_notfound.png|background:#f9f9f9',
  7864. 'optional--',
  7865. 'optional2--',
  7866. "//a[contains(@href,'pan.baidu.com')]");
  7867. }
  7868. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7869. {
  7870. addFileHost(
  7871. "yunpan\.cn\/\\w+",
  7872. 'class="icon icon-download',
  7873. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7874. 'optional--',
  7875. 'optional2--',
  7876. "//a[contains(@href,'yunpan.cn')]");
  7877. }
  7878. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7879. {
  7880. addFileHost(
  7881. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7882. 'getElementById("downbild")|style.display',
  7883. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7884. 'optional--',
  7885. 'optional2--',
  7886. "//a[contains(@href,'file-upload.net')]");
  7887. }
  7888. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7889. {
  7890. addFileHost(
  7891. "gulfup\.com\/",
  7892. '<!-- Downlod template -->|download.gif',
  7893. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7894. 'optional--',
  7895. 'optional2--',
  7896. "//a[contains(@href,'gulfup.com')]");
  7897. }
  7898. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7899. {
  7900. addFileHost(
  7901. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7902. 'dldtable">',
  7903. 'does not exist\\.',
  7904. 'optional--',
  7905. 'optional2--',
  7906. "//a[contains(@href,'datafilehost.com')]");
  7907. }
  7908. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7909. {
  7910. addFileHost(
  7911. "dropbox\.com\/s\/\\w+",
  7912. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7913. '>Nothing Here<|>Error (404)<',
  7914. 'title>Dropbox - 509|Error (403)|Error: 429',
  7915. 'optional2--',
  7916. "//a[contains(@href,'dropbox.com')]");
  7917. }
  7918. if (GM_getValue("Check_box_dot_net_links", false))
  7919. {
  7920. addFileHost(
  7921. "box\.net\/\\w+",
  7922. 'download-file-btn|id="download_button',
  7923. 'BIyMin.png| <div class="error_message',
  7924. 'optional--',
  7925. 'optional2--',
  7926. "//a[contains(@href,'box.net')]");
  7927. }
  7928. if (GM_getValue("Check_fileband_dot_com_links", false))
  7929. {
  7930. addFileHost(
  7931. "fileband\.com\/\\w+",
  7932. 'value="download1">|name="id" value=',
  7933. '<div style="width:500px;text-align:left;">|not be found',
  7934. 'optional--',
  7935. 'optional2--',
  7936. "//a[contains(@href,'fileband.com')]");
  7937. }
  7938. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7939. {
  7940. addFileHost(
  7941. "filedropper\.com\/\\w+",
  7942. 'background:#ddd;|width:985px; ',
  7943. 'background-color:#FFFFFF;|margin-left: -400px;',
  7944. 'optional--',
  7945. 'optional2--',
  7946. "//a[contains(@href,'filedropper.com')]");
  7947. }
  7948. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7949. {
  7950. addFileHost(
  7951. "tropicshare\\.com\/files\/\\d+",
  7952. 'MB</span>|GB</span>|KB</span>',
  7953. '>FNF<|size: </span>',
  7954. 'optional--',
  7955. 'optional2--',
  7956. "//a[contains(@href,'tropicshare.com')]");
  7957. }
  7958. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7959. {
  7960. addFileHost(
  7961. "goldbytez\.com\/\\w+",
  7962. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7963. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7964. 'optional--',
  7965. 'optional2--',
  7966. "//a[contains(@href,'goldbytez.com')]");
  7967. }
  7968. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7969. {
  7970. addFileHost(
  7971. "worldbytez\.com\/\\w+",
  7972. '<div class="download_type">',
  7973. '<div style="width:500px;text-align:left;">',
  7974. 'optional--',
  7975. 'optional2--',
  7976. "//a[contains(@href,'worldbytez.com')]");
  7977. }
  7978. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7979. {
  7980. addFileHost(
  7981. "freefilehosting\.net\/\\w+",
  7982. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7983. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7984. 'optional--',
  7985. 'optional2--',
  7986. "//a[contains(@href,'freefilehosting.net')]");
  7987. }
  7988. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7989. {
  7990. addFileHost(
  7991. "ziddu\.com\/\\w+",
  7992. 'downloads.ziddu.com|downloadfilelinkicon',
  7993. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7994. 'optional--',
  7995. 'optional2--',
  7996. "//a[contains(@href,'ziddu.com')]");
  7997. }
  7998. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7999. {
  8000. addFileHost(
  8001. "exclusiveloader\.com\/\\w+",
  8002. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8003. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8004. 'optional--',
  8005. 'optional2--',
  8006. "//a[contains(@href,'exclusiveloader.com')]");
  8007. }
  8008. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8009. {
  8010. addFileHost(
  8011. "sharerapid\.cz\/\\w+",
  8012. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8013. 'error_div">|404 - Not Found',
  8014. 'optional--',
  8015. 'optional2--',
  8016. "//a[contains(@href,'sharerapid.cz')]");
  8017. }
  8018. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8019. {
  8020. addFileHost(
  8021. "sdilej\.cz\/\\w+",
  8022. 'class="page-download"',
  8023. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8024. 'optional--',
  8025. 'optional2--',
  8026. "//a[contains(@href,'sdilej.cz')]");
  8027. }
  8028. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8029. {
  8030. addFileHost(
  8031. "lafiles\.com\/\\w+",
  8032. '<div id="pay_modes">',
  8033. '<b class="err"></b>',
  8034. 'optional--',
  8035. 'optional2--',
  8036. "//a[contains(@href,'lafiles.com')]");
  8037. }
  8038. if (GM_getValue("Check_acefile_dot_net_links", false))
  8039. {
  8040. addFileHost(
  8041. "acefile\.net\/\\w+",
  8042. 'align=right nowrap><b>',
  8043. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8044. 'optional--',
  8045. 'optional2--',
  8046. "//a[contains(@href,'acefile.net')]");
  8047. }
  8048. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8049. {
  8050. addFileHost(
  8051. "megarapid\.cz\/\\w+",
  8052. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8053. 'error_div">|404 - Not Found',
  8054. 'optional--',
  8055. 'optional2--',
  8056. "//a[contains(@href,'megarapid.cz')]");
  8057. }
  8058. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8059. {
  8060. addFileHost(
  8061. "yadi\.sk\/\\w+",
  8062. 'nb-button _nb-small-button',
  8063. 'error code|Nothing found',
  8064. 'optional--',
  8065. 'optional2--',
  8066. "//a[contains(@href,'yadi.sk')]");
  8067. }
  8068. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8069. {
  8070. addFileHost(
  8071. "imdb\.com\/\\w+",
  8072. 'imdb.com',
  8073. '404 Error',
  8074. 'optional--',
  8075. 'optional2--',
  8076. "//a[contains(@href,'imdb.com')]");
  8077. } */
  8078. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8079. {
  8080. addFileHost(
  8081. "hitfile\.net\/\\w+",
  8082. 'class="download-file',
  8083. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8084. 'optional--',
  8085. 'optional2--',
  8086. "//a[contains(@href,'hitfile.net')]");
  8087. }
  8088. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8089. {
  8090. addFileHost(
  8091. "nitroflare\.com\/\\w+",
  8092. 'Report this file</a>|KB</span>',
  8093. 'file has been removed|id="error" style="display|Probably deleted',
  8094. 'optional--',
  8095. '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',
  8096. "//a[contains(@href,'nitroflare.com')]");
  8097. }
  8098. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8099. {
  8100. addFileHost(
  8101. "up.top4top\.net\/\\w+",
  8102. 'start Downlod template',
  8103. 'start err template',
  8104. 'optional--',
  8105. 'optional2--',
  8106. "//a[contains(@href,'up.top4top.net')]");
  8107. }
  8108. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8109. {
  8110. addFileHost(
  8111. "filejoker\.net\/\\w+",
  8112. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8113. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8114. 'optional--',
  8115. 'id="download" class="premium-only">',
  8116. "//a[contains(@href,'filejoker.net')]");
  8117. }
  8118. if (GM_getValue("Check_free_dot_fr_links", false))
  8119. {
  8120. addFileHost(
  8121. "(?:dl.\\.|)free\\.fr",
  8122. 'Valider et t&eacute;l&eacute',
  8123. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8124. 'optional--',
  8125. 'optional2--',
  8126. "//a[contains(@href,'dl.free.fr')]");
  8127. }
  8128. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8129. {
  8130. addFileHost(
  8131. "gboxes\.com\/\\w+",
  8132. 'You have requested|color="red">http://www.gboxes.com',
  8133. 'File Not Found|<div style="width:500px;text-align:left;">',
  8134. 'optional--',
  8135. 'optional2--',
  8136. "//a[contains(@href,'gboxes.com')]");
  8137. }
  8138. if (GM_getValue("Check_led_dot_wf_links", false))
  8139. {
  8140. addFileHost(
  8141. "led\.wf\/\\w+",
  8142. 'logo_0.png|downloads.gif"|verifycode',
  8143. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8144. 'optional--',
  8145. 'available only for Premium users',
  8146. "//a[contains(@href,'led.wf')]");
  8147. }
  8148. if (GM_getValue("Check_lan_dot_wf_links", false))
  8149. {
  8150. addFileHost(
  8151. "lan\.wf\/\\w+",
  8152. 'logo_0.png|downloads.gif"|verifycode',
  8153. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8154. 'optional--',
  8155. 'available only for Premium users',
  8156. "//a[contains(@href,'lan.wf')]");
  8157. }
  8158. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8159. {
  8160. addFileHost(
  8161. "adlink\.wf\/\\w+",
  8162. 'logo_0.png|downloads.gif"|verifycode',
  8163. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8164. 'optional--',
  8165. 'available only for Premium users',
  8166. "//a[contains(@href,'adlink.wf')]");
  8167. }
  8168. if (GM_getValue("Check_click_dot_tf_links", false))
  8169. {
  8170. addFileHost(
  8171. "click\.tf\/\\w+",
  8172. 'logo_0.png|downloads.gif"|verifycode',
  8173. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8174. 'optional--',
  8175. 'available only for Premium users',
  8176. "//a[contains(@href,'click.tf')]");
  8177. }
  8178. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8179. {
  8180. addFileHost(
  8181. "ssh\.tf\/\\w+",
  8182. 'logo_0.png|downloads.gif"|verifycode',
  8183. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8184. 'optional--',
  8185. 'available only for Premium users',
  8186. "//a[contains(@href,'ssh.tf')]");
  8187. }
  8188. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8189. {
  8190. addFileHost(
  8191. "ssh\.yt\/\\w+",
  8192. 'logo_0.png|downloads.gif"|verifycode',
  8193. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8194. 'optional--',
  8195. 'available only for Premium users',
  8196. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8197. }
  8198. if (GM_getValue("Check_yep_dot_pm_links", false))
  8199. {
  8200. addFileHost(
  8201. "yep\.pm\/\\w+",
  8202. 'logo_0.png|downloads.gif"|verifycode',
  8203. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8204. 'optional--',
  8205. 'available only for Premium users',
  8206. "//a[contains(@href,'yep.pm')]");
  8207. }
  8208. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8209. {
  8210. addFileHost(
  8211. "kyc\.pm\/\\w+",
  8212. 'logo_0.png|downloads.gif"|verifycode',
  8213. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8214. 'optional--',
  8215. 'available only for Premium users',
  8216. "//a[contains(@href,'kyc.pm')]");
  8217. }
  8218. if (GM_getValue("Check_brupload_dot_net_links", false))
  8219. {
  8220. addFileHost(
  8221. "brupload\.net\/\\w+",
  8222. 'Download Gratuito',
  8223. '<div style="width:500px;text-align:left;">',
  8224. 'optional--',
  8225. 'optional2--',
  8226. "//a[contains(@href,'brupload.net')]");
  8227. }
  8228. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8229. {
  8230. addFileHost(
  8231. "cloudzilla\.to\/\\w+",
  8232. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8233. 'File not found|/imgs/broken.png',
  8234. 'optional--',
  8235. 'optional2--',
  8236. "//a[contains(@href,'cloudzilla.to')]");
  8237. }
  8238. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8239. {
  8240. addFileHost(
  8241. "fileparadox\.in\/\\w+",
  8242. 'CONTENT="Download File|method_free_file',
  8243. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8244. 'optional--',
  8245. 'optional2--',
  8246. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8247. } */
  8248. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8249. {
  8250. addFileHost(
  8251. "clicknupload\.com\/\\w+",
  8252. 'name="method_free',
  8253. 'File Not Found',
  8254. 'optional--',
  8255. 'optional2--',
  8256. "//a[contains(@href,'clicknupload.com')]");
  8257. }
  8258. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8259. {
  8260. addFileHost(
  8261. "clicknupload\.me\/\\w+",
  8262. 'name="method_free',
  8263. 'File Not Found',
  8264. 'optional--',
  8265. 'optional2--',
  8266. "//a[contains(@href,'clicknupload.me')]");
  8267. }
  8268. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8269. {
  8270. addFileHost(
  8271. "ex-load\.com\/\\w+",
  8272. 'name="method_free|<p>Download File:</p>',
  8273. 'Folder Not Found|File Not Found|Error 404',
  8274. 'optional--',
  8275. 'class="downprem wow bounceInLeft',
  8276. "//a[contains(@href,'ex-load.com')]");
  8277. }
  8278. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8279. {
  8280. addFileHost(
  8281. "hexupload\.com\/\\w+",
  8282. 'button" value="Free|type="submit" value=""',
  8283. 'File Not Found|<div style="width:500px;text-align:left;">',
  8284. 'optional--',
  8285. 'optional2--',
  8286. "//a[contains(@href,'hexupload.com')]");
  8287. }
  8288. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8289. {
  8290. addFileHost(
  8291. "wizupload\.com\/\\w+",
  8292. 'btn_download|class="downloadbtn"',
  8293. '>File Not Found<',
  8294. 'optional--',
  8295. 'optional2--',
  8296. "//a[contains(@href,'wizupload.com')]");
  8297. }
  8298. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8299. {
  8300. addFileHost(
  8301. "filecloud\.cc\/\\w+",
  8302. 'align="center"><input type="submit" name=',
  8303. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8304. 'optional--',
  8305. 'optional2--',
  8306. "//a[contains(@href,'filecloud.cc')]");
  8307. }
  8308. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8309. {
  8310. addFileHost(
  8311. "inclouddrive\.com\/\\w+",
  8312. 'initfreedownload',
  8313. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8314. 'optional--',
  8315. 'optional2--',
  8316. "//a[contains(@href,'inclouddrive.com')]");
  8317. }
  8318. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8319. {
  8320. addFileHost(
  8321. "radicalshare\.com\/\\w+",
  8322. 'value="download1|name="method_free"',
  8323. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8324. 'optional--',
  8325. 'optional2--',
  8326. "//a[contains(@href,'radicalshare.com')]");
  8327. }
  8328. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8329. {
  8330. addFileHost(
  8331. "sharemods\.com\/\\w+",
  8332. 'name="method_free"',
  8333. 'File Not Found<',
  8334. 'optional--',
  8335. 'optional2--',
  8336. "//a[contains(@href,'sharemods.com')]");
  8337. }
  8338. if (GM_getValue("Check_hostr_dot_co_links", false))
  8339. {
  8340. addFileHost(
  8341. "hostr\.co\/\\w+",
  8342. 'method="get"',
  8343. 'File not found<|error-page',
  8344. 'optional--',
  8345. 'optional2--',
  8346. "//a[contains(@href,'hostr.co')]");
  8347. }
  8348. if (GM_getValue("Check_filepi_dot_com_links", false))
  8349. {
  8350. addFileHost(
  8351. "filepi\.com\/\\w+",
  8352. 'id="button_start">',
  8353. 'File not found',
  8354. 'optional--',
  8355. 'optional2--',
  8356. "//a[contains(@href,'filepi.com')]");
  8357. }
  8358. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8359. {
  8360. addFileHost(
  8361. "tikfile\.com\/\\w+",
  8362. 'btn_download',
  8363. 'File Not Found|file was removed|Reason for deletion',
  8364. 'optional--',
  8365. 'optional2--',
  8366. "//a[contains(@href,'tikfile.com')]");
  8367. }
  8368. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8369. {
  8370. addFileHost(
  8371. "cloudsix\.me\/\\w+",
  8372. 'name="method_free"',
  8373. 'File Not Found|width:500px;text-align:left;">',
  8374. 'optional--',
  8375. 'optional2--',
  8376. "//a[contains(@href,'cloudsix.me')]");
  8377. }
  8378. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8379. {
  8380. addFileHost(
  8381. "neodrive\.co\/\\w+",
  8382. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8383. 'File not found|/imgs/broken.png',
  8384. 'optional--',
  8385. 'optional2--',
  8386. "//a[contains(@href,'neodrive.co')]");
  8387. }
  8388. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8389. {
  8390. addFileHost(
  8391. "chayfile\.com\/\\w+",
  8392. 'name="method_free"',
  8393. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8394. 'optional--',
  8395. 'optional2--',
  8396. "//a[contains(@href,'chayfile.com')]");
  8397. }
  8398. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8399. {
  8400. addFileHost(
  8401. "xfileload\.com\/\\w+",
  8402. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8403. '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..|הקובץ שחיפשת לא נמצא.',
  8404. 'optional--',
  8405. 'optional2--',
  8406. "//a[contains(@href,'xfileload.com')]");
  8407. }
  8408. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8409. {
  8410. addFileHost(
  8411. "rockfile\.eu\/\\w+",
  8412. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8413. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8414. 'optional--',
  8415. 'optional2--',
  8416. "//a[contains(@href,'rockfile.eu')]");
  8417. }
  8418. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8419. {
  8420. addFileHost(
  8421. "24uploading\.com\/\\w+",
  8422. 'File:|Download Speed:',
  8423. '<b>File Not Found</b>|file was removed',
  8424. 'optional--',
  8425. 'optional2--',
  8426. "//a[contains(@href,'24uploading.com')]");
  8427. }
  8428. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8429. {
  8430. addFileHost(
  8431. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8432. 'i/icon/dll.png"|>Start download<br',
  8433. 'no longer available<|i/ino.png"',
  8434. 'optional--',
  8435. 'optional2--',
  8436. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8437. }
  8438. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8439. {
  8440. addFileHost(
  8441. "jumbofile\.net\/\\w+",
  8442. 'button" class="" value="Free',
  8443. 'This File Was Deleted',
  8444. 'optional--',
  8445. 'optional2--',
  8446. "//a[contains(@href,'jumbofile.net')]");
  8447. } */
  8448. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8449. {
  8450. addFileHost(
  8451. "ozofiles\.com\/\\w+",
  8452. 'button" value="Free|name="method_free',
  8453. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8454. 'optional--',
  8455. 'optional2--',
  8456. "//a[contains(@href,'ozofiles.com')]");
  8457. }
  8458. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8459. {
  8460. addFileHost(
  8461. "loudupload\.net\/\\w+",
  8462. 'value="Get Links',
  8463. 'File Not Found',
  8464. 'optional--',
  8465. 'optional2--',
  8466. "//a[contains(@href,'loudupload.net')]");
  8467. }
  8468. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8469. {
  8470. addFileHost(
  8471. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8472. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8473. '>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">',
  8474. 'optional--',
  8475. 'optional2--',
  8476. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8477. }
  8478. if (GM_getValue("Check_krotix_dot_net_links", false))
  8479. {
  8480. addFileHost(
  8481. "krotix\.net\/\\w+",
  8482. 'btn btn-warning|btn-free',
  8483. 'pageErrors|This File has been removed',
  8484. 'content="Scheduled Maintenance',
  8485. 'optional2--',
  8486. "//a[contains(@href,'krotix.net')]");
  8487. } */
  8488. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8489. {
  8490. addFileHost(
  8491. "userscloud\.com\/\\w+",
  8492. 'btn_download|class="label label-success">',
  8493. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8494. 'optional--',
  8495. 'optional2--',
  8496. "//a[contains(@href,'userscloud.com')]");
  8497. }
  8498. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8499. {
  8500. addFileHost(
  8501. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8502. 'class="button download',
  8503. 'internal server error',
  8504. 'optional--',
  8505. 'optional2--',
  8506. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8507. }
  8508. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8509. {
  8510. addFileHost(
  8511. "kb.simple-aja\.info\/\\w+",
  8512. 'class="button download',
  8513. 'internal server error|<p>404</p>',
  8514. 'optional--',
  8515. 'optional2--',
  8516. "//a[contains(@href,'kb.simple')]");
  8517. }
  8518. if (GM_getValue("Check_faststore_dot_org_links", false))
  8519. {
  8520. addFileHost(
  8521. "faststore\.org\/\\w+",
  8522. 'name="method_free',
  8523. 'File Not Found',
  8524. 'optional--',
  8525. 'optional2--',
  8526. "//a[contains(@href,'faststore.org')]");
  8527. }
  8528. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8529. {
  8530. addFileHost(
  8531. "prefiles\.com\/\\w+",
  8532. 'id="method_free',
  8533. 'File not Found',
  8534. 'optional--',
  8535. 'optional2--',
  8536. "//a[contains(@href,'prefiles.com')]");
  8537. }
  8538. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8539. {
  8540. addFileHost(
  8541. "doraupload\.com\/\\w+",
  8542. 'btn_download|name="method_free',
  8543. 'class="error-code|Could Not Be Found',
  8544. 'optional--',
  8545. 'optional2--',
  8546. "//a[contains(@href,'doraupload.com')]");
  8547. }
  8548. if (GM_getValue("Check_openload_dot_io_links", false))
  8549. {
  8550. addFileHost(
  8551. "openload\.io\/\\w+",
  8552. 'btn btn-primary|class="count">|secondsleftouter',
  8553. 'class="jumbotron">|We are sorry',
  8554. 'optional--',
  8555. 'optional2--',
  8556. "//a[contains(@href,'openload.io')]");
  8557. }
  8558. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8559. {
  8560. addFileHost(
  8561. "uploads\.xxx\/\\w+",
  8562. 'downoadForFree',
  8563. 'File not found',
  8564. 'optional--',
  8565. 'optional2--',
  8566. "//a[contains(@href,'uploads.xxx')]");
  8567. }
  8568. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8569. {
  8570. addFileHost(
  8571. "zxcfiles\.com\/\\w+",
  8572. 'class="downloadbtn',
  8573. 'File Not Found',
  8574. 'optional--',
  8575. 'optional2--',
  8576. "//a[contains(@href,'zxcfiles.com')]");
  8577. }
  8578. if (GM_getValue("Check_up07_dot_net_links", false))
  8579. {
  8580. addFileHost(
  8581. "up07\.net\/\\w+",
  8582. 'name="method_free',
  8583. 'File Not Found',
  8584. 'optional--',
  8585. 'optional2--',
  8586. "//a[contains(@href,'up07.net')]");
  8587. }
  8588. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8589. {
  8590. addFileHost(
  8591. "fileupload\.pw\/\\w+",
  8592. 'value="Free"',
  8593. 'File Not Found',
  8594. 'optional--',
  8595. 'optional2--',
  8596. "//a[contains(@href,'fileupload.pw')]");
  8597. }
  8598. if (GM_getValue("Check_4upld_dot_com_links", false))
  8599. {
  8600. addFileHost(
  8601. "4upld\.com\/\\w+",
  8602. 'alt="Download Now"|content="Download file">|btn-free-element',
  8603. '<title>Error|content="error|File not found',
  8604. 'optional--',
  8605. 'optional2--',
  8606. "//a[contains(@href,'4upld.com')]");
  8607. }
  8608. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8609. {
  8610. addFileHost(
  8611. "newfileland\.com\/\\w+",
  8612. 'name="method_free',
  8613. 'File Not Found',
  8614. 'optional--',
  8615. 'optional2--',
  8616. "//a[contains(@href,'newfileland.com')]");
  8617. } */
  8618. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8619. {
  8620. addFileHost(
  8621. "(?:.swoopshare)\\.com\/\\w+",
  8622. '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',
  8623. '<input type="file" name="f"',
  8624. 'optional--',
  8625. 'optional2--',
  8626. "//a[contains(@href,'swoopshare.com')]"
  8627. );
  8628. }
  8629. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8630. {
  8631. addFileHost(
  8632. "cloudshares\.net\/\\w+",
  8633. '"method_free|"Low Speed Download|submit" name="go',
  8634. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8635. 'optional--',
  8636. 'optional2--',
  8637. "//a[contains(@href,'cloudshares.net')]"
  8638. );
  8639. }
  8640. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8641. {
  8642. addFileHost(
  8643. "allmyvideos\.net\/\\w+",
  8644. 'Continue to Video',
  8645. 'File Not Found|class="err">Removed for',
  8646. 'optional--',
  8647. 'optional2--',
  8648. "//a[contains(@href,'allmyvideos.net')]"
  8649. );
  8650. }
  8651. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8652. {
  8653. addFileHost(
  8654. "vodlocker\.com\/\\w+",
  8655. 'Proceed to video',
  8656. 'Not Found',
  8657. 'optional--',
  8658. 'optional2--',
  8659. "//a[contains(@href,'vodlocker.com')]"
  8660. );
  8661. }
  8662. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8663. {
  8664. addFileHost(
  8665. "vidbull\.com\/\\w+",
  8666. 'Verifying Video Request',
  8667. 'File Not Found',
  8668. 'optional--',
  8669. 'optional2--',
  8670. "//a[contains(@href,'vidbull.com')]");
  8671. }
  8672. if (GM_getValue("Check_novamov_dot_com_links", false))
  8673. {
  8674. addFileHost(
  8675. "novamov\.com\/\\w+",
  8676. 'For version detection',
  8677. 'file no longer exists',
  8678. 'optional--',
  8679. 'optional2--',
  8680. "//a[contains(@href,'novamov.com')]"
  8681. );
  8682. }
  8683. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8684. {
  8685. addFileHost(
  8686. "filehoot\.com\/\\w+",
  8687. 'Continue to watch',
  8688. 'File Not Found',
  8689. 'optional--',
  8690. 'optional2--',
  8691. "//a[contains(@href,'filehoot.com')]"
  8692. );
  8693. }
  8694. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8695. {
  8696. addFileHost(
  8697. "stagevu\.com\/\\w+",
  8698. 'Video Info',
  8699. 'No video with the provided',
  8700. 'optional--',
  8701. 'optional2--',
  8702. "//a[contains(@href,'stagevu.com')]"
  8703. );
  8704. }
  8705. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8706. {
  8707. addFileHost(
  8708. "cloudtime\.to\/\\w+",
  8709. 'Download the video',
  8710. 'no longer exists',
  8711. 'optional--',
  8712. 'optional2--',
  8713. "//a[contains(@href,'cloudtime.to')]"
  8714. );
  8715. }
  8716. if (GM_getValue("Check_streamin_dot_to_links", false))
  8717. {
  8718. addFileHost(
  8719. "streamin\.to\/\\w+",
  8720. 'id="btn_download',
  8721. 'Not Found|Copyright Infringement|File Deleted',
  8722. 'optional--',
  8723. 'optional2--',
  8724. "//a[contains(@href,'streamin.to')]"
  8725. );
  8726. }
  8727. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8728. {
  8729. addFileHost(
  8730. "videoweed\.es\/\\w+",
  8731. 'version detection',
  8732. 'no longer exists',
  8733. 'optional--',
  8734. 'optional2--',
  8735. "//a[contains(@href,'videoweed.es')]"
  8736. );
  8737. }
  8738. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8739. {
  8740. addFileHost(
  8741. "nowvideo\.sx\/\\w+",
  8742. 'Download this video|value="submit">Continue',
  8743. 'no longer exists',
  8744. 'optional--',
  8745. 'optional2--',
  8746. "//a[contains(@href,'nowvideo.sx')]"
  8747. );
  8748. }
  8749. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8750. {
  8751. addFileHost(
  8752. "thevideo\.me\/\\w+",
  8753. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8754. 'File Not Found',
  8755. 'optional--',
  8756. 'optional2--',
  8757. "//a[contains(@href,'thevideo.me')]"
  8758. );
  8759. }
  8760. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8761. {
  8762. addFileHost(
  8763. "gorillavid\.in\/\\w+",
  8764. 'Wait 5 seconds',
  8765. 'File Not Found',
  8766. 'optional--',
  8767. 'optional2--',
  8768. "//a[contains(@href,'gorillavid.in')]"
  8769. );
  8770. }
  8771. if (GM_getValue("Check_thefile_dot_me_links", false))
  8772. {
  8773. addFileHost(
  8774. "thefile\.me\/\\w+",
  8775. 'Choose free or',
  8776. '',
  8777. 'optional--',
  8778. 'optional2--',
  8779. "//a[contains(@href,'thefile.me')]"
  8780. );
  8781. }
  8782. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8783. {
  8784. addFileHost(
  8785. "vidzi\.tv\/\\w+",
  8786. 'video-embed-modal row',
  8787. 'File Not Found|file was deleted',
  8788. 'optional--',
  8789. 'optional2--',
  8790. "//a[contains(@href,'vidzi.tv')]"
  8791. );
  8792. }
  8793. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8794. {
  8795. addFileHost(
  8796. "filenuke\.com\/\\w+",
  8797. 'Download File',
  8798. 'Earn with us',
  8799. 'optional--',
  8800. 'optional2--',
  8801. "//a[contains(@href,'filenuke.com')]"
  8802. );
  8803. }
  8804. if (GM_getValue("Check_vidto_dot_me_links", false))
  8805. {
  8806. addFileHost(
  8807. "vidto\.me\/\\w+",
  8808. 'Proceed to video',
  8809. 'Not Found',
  8810. 'optional--',
  8811. 'optional2--',
  8812. "//a[contains(@href,'vidto.me')]"
  8813. );
  8814. }
  8815. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8816. {
  8817. addFileHost(
  8818. "vidspot\.net\/\\w+",
  8819. 'Duration',
  8820. 'Removed for',
  8821. 'optional--',
  8822. 'optional2--',
  8823. "//a[contains(@href,'vidspot.net')]"
  8824. );
  8825. }
  8826. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8827. {
  8828. addFileHost(
  8829. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8830. 'Download File',
  8831. 'File Not Found',
  8832. 'optional--',
  8833. 'optional2--',
  8834. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8835. );
  8836. }
  8837. if (GM_getValue("Check_movpod_dot_in_links", false))
  8838. {
  8839. addFileHost(
  8840. "movpod\.in\/\\w+",
  8841. 'Continue',
  8842. 'File Not Found',
  8843. 'optional--',
  8844. 'optional2--',
  8845. "//a[contains(@href,'movpod.in')]"
  8846. );
  8847. }
  8848. if (GM_getValue("Check_down4files_dot_com_links", false))
  8849. {
  8850. addFileHost(
  8851. "down4files\.com\/\\w+",
  8852. 'down_table.png',
  8853. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8854. 'optional--',
  8855. 'optional2--',
  8856. "//a[contains(@href,'down4files.com')]"
  8857. );
  8858. }
  8859. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8860. {
  8861. addFileHost(
  8862. "storefiles\.co\/\\w+",
  8863. 'btn_download',
  8864. 'No such file|>Error<|mqmaintitle">',
  8865. 'optional--',
  8866. 'optional2--',
  8867. "//a[contains(@href,'storefiles.co')]"
  8868. );
  8869. }
  8870. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8871. {
  8872. addFileHost(
  8873. "filehost\.pw\/\\w+",
  8874. 'name="method_free',
  8875. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8876. 'optional--',
  8877. 'optional2--',
  8878. "//a[contains(@href,'filehost.pw')]"
  8879. );
  8880. }
  8881. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8882. {
  8883. addFileHost(
  8884. "inafile\.com\/\\w+",
  8885. 'value="download1">|<h2>File: <font style="color:darkred">',
  8886. '<div style="width:500px;text-align:left;">|File Not Found',
  8887. 'optional--',
  8888. 'optional2--',
  8889. "//a[contains(@href,'inafile.com')]"
  8890. );
  8891. } */
  8892. if (GM_getValue("Check_uplea_dot_com_links", false))
  8893. {
  8894. addFileHost(
  8895. "uplea\.com\/\\w+",
  8896. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8897. 'expired link|ou est invalide',
  8898. 'optional--',
  8899. 'optional2--',
  8900. "//a[contains(@href,'uplea.com/dl')]",
  8901. true);
  8902. }
  8903. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8904. {
  8905. addFileHost(
  8906. "toutbox\.fr\/\\w+",
  8907. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8908. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8909. 'Serviço temporariamente indisponível',
  8910. 'optional2--',
  8911. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8912. );
  8913. }
  8914. if (GM_getValue("Check_openload_dot_co_links", false))
  8915. {
  8916. addFileHost(
  8917. "openload\.co\/\\w+",
  8918. 'id="downloadTimer">|button dlbutton',
  8919. 'jumbotron{color|got deleted|center !important',
  8920. 'optional--',
  8921. 'optional2--',
  8922. "//a[contains(@href,'openload.co')]"
  8923. );
  8924. }
  8925. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8926. {
  8927. addFileHost(
  8928. "lolabits\.es\/\\w+",
  8929. 'Descargar:',
  8930. '<title>Archivos de usuario',
  8931. 'Service Unavailable',
  8932. 'optional2--',
  8933. "//a[contains(@href,'lolabits.es')]"
  8934. );
  8935. }
  8936. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8937. {
  8938. addFileHost(
  8939. "alfafile\.net\/\\w+",
  8940. 'id="slow_download_btn',
  8941. 'class="error-box">',
  8942. 'optional--',
  8943. 'optional2--',
  8944. "//a[contains(@href,'alfafile.net')]"
  8945. );
  8946. }
  8947. if (GM_getValue("Check_multiup_dot_org_links", false))
  8948. {
  8949. addFileHost(
  8950. "multiup\.org\/\\w+",
  8951. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8952. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8953. 'optional--',
  8954. 'optional2--',
  8955. "//a[contains(@href,'multiup.org')]"
  8956. );
  8957. }
  8958. if (GM_getValue("Check_file_dot_al_links", false))
  8959. {
  8960. addFileHost(
  8961. "file\.al\/\\w+",
  8962. 'method_free',
  8963. 'style="width:500px;text-align:left;">',
  8964. 'optional--',
  8965. 'optional2--',
  8966. "//a[contains(@href,'file.al')]"
  8967. );
  8968. }
  8969. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8970. {
  8971. addFileHost(
  8972. "devilshare\.net\/\\w+",
  8973. '<div class="large-12" id="download">',
  8974. '(Link: 0 Invalid)|File Not Found',
  8975. 'optional--',
  8976. 'optional2--',
  8977. "//a[contains(@href,'devilshare.net')]"
  8978. );
  8979. }
  8980. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8981. {
  8982. addFileHost(
  8983. "dailyuploads\.net\/\\w+",
  8984. 'id="downloadBtnClickOrignal',
  8985. '<div style="width:500px;text-align:left;">',
  8986. 'optional--',
  8987. 'optional2--',
  8988. "//a[contains(@href,'dailyuploads.net')]"
  8989. );
  8990. }
  8991. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8992. {
  8993. addFileHost(
  8994. "datoteke\.com\/\\w+",
  8995. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8996. '&nbsp;File has been removed',
  8997. 'optional--',
  8998. '<title>Error - Datoteke',
  8999. "//a[contains(@href,'datoteke.com')]"
  9000. );
  9001. }
  9002. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  9003. {
  9004. addFileHost(
  9005. "tezfiles\.com\/\\w+",
  9006. 'virtual/low-speed-download',
  9007. 'class="alert alert-block|file is no longer available',
  9008. 'optional--',
  9009. 'This file is available<br>only for premium members',
  9010. "//a[contains(@href,'tezfiles.com')]"
  9011. );
  9012. } */
  9013. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  9014. {
  9015. addFileHost(
  9016. "sharehost\.eu\/\\w+",
  9017. '/?v=download_free&',
  9018. 'Errors occured|Wystąpiły błędy',
  9019. 'optional--',
  9020. 'optional2--',
  9021. "//a[contains(@href,'sharehost.eu')]"
  9022. );
  9023. }
  9024. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9025. {
  9026. addFileHost(
  9027. "pornfile\.cz\/\\w+",
  9028. 'Stáhnout soubor',
  9029. 'Soubor byl smazán',
  9030. 'optional--',
  9031. 'optional2--',
  9032. "//a[contains(@href,'pornfile.cz')]"
  9033. );
  9034. }
  9035. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9036. {
  9037. addFileHost(
  9038. "pornoid\.cz\/\\w+",
  9039. 'class="btn btn-large btn-download',
  9040. 'Soubor byl smazán',
  9041. 'optional--',
  9042. 'optional2--',
  9043. "//a[contains(@href,'pornoid.cz')]"
  9044. );
  9045. }
  9046. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9047. {
  9048. addFileHost(
  9049. "file-share\.top\/\\w+",
  9050. 'btn-success btn-lg download',
  9051. 'Stránka neexistuje|404 Not Found',
  9052. 'optional--',
  9053. 'optional2--',
  9054. "//a[contains(@href,'file-share.top')]"
  9055. );
  9056. }
  9057. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9058. {
  9059. addFileHost(
  9060. "bitster\.cz\/\\w+",
  9061. 'section" content="VIDEO"',
  9062. 'section" content=""',
  9063. 'optional--',
  9064. 'optional2--',
  9065. "//a[contains(@href,'bitster.cz')]"
  9066. );
  9067. }
  9068. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9069. {
  9070. addFileHost(
  9071. "rapidu\.net\/\\w+",
  9072. 'onclick="downloadFreeFile',
  9073. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9074. 'optional--',
  9075. 'optional2--',
  9076. "//a[contains(@href,'rapidu.net')]"
  9077. );
  9078. }
  9079. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9080. {
  9081. addFileHost(
  9082. "dinoshare\.cz\/\\w+",
  9083. 'class="download-button"',
  9084. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9085. 'optional--',
  9086. 'optional2--',
  9087. "//a[contains(@href,'dinoshare.cz')]"
  9088. );
  9089. }
  9090. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9091. {
  9092. addFileHost(
  9093. "bytewhale\.com\/\\w+",
  9094. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9095. 'var rawest = "0 MB',
  9096. 'optional--',
  9097. 'optional--',
  9098. "//a[contains(@href,'bytewhale.com')]"
  9099. );
  9100. }
  9101. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9102. {
  9103. addFileHost(
  9104. "rapidrar\.com\/\\w+",
  9105. 'value="Free Download',
  9106. '<div style="width:500px;text-align:left;">',
  9107. 'optional--',
  9108. 'optional--',
  9109. "//a[contains(@href,'rapidrar.com')]"
  9110. );
  9111. }
  9112. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9113. {
  9114. addFileHost(
  9115. "gigasize\.com\/\\w+",
  9116. 'class="estimate">',
  9117. 'class="error">',
  9118. 'optional--',
  9119. 'optional--',
  9120. "//a[contains(@href,'gigasize.com')]"
  9121. );
  9122. }
  9123. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9124. {
  9125. addFileHost(
  9126. "filesupload\.org\/\\w+",
  9127. '<a href="/download-or-watch/',
  9128. 'File not found',
  9129. 'optional--',
  9130. 'optional--',
  9131. "//a[contains(@href,'filesupload.org')]"
  9132. );
  9133. }
  9134. if (GM_getValue("Check_filecad_dot_com_links", false))
  9135. {
  9136. addFileHost(
  9137. "filecad\.com\/\\w+",
  9138. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9139. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9140. 'optional--',
  9141. 'optional--',
  9142. "//a[contains(@href,'filecad.com')]"
  9143. );
  9144. }
  9145. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9146. {
  9147. addFileHost(
  9148. "file.up09\.com\/\\w+",
  9149. 'name="method_free',
  9150. 'style="width:500px;text-align:left;">',
  9151. 'optional--',
  9152. 'optional--',
  9153. "//a[contains(@href,'file.up09.com')]"
  9154. );
  9155. }
  9156. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9157. {
  9158. addFileHost(
  9159. "lunaticfiles\.com\/\\w+",
  9160. 'name="method_free"',
  9161. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9162. 'optional--',
  9163. 'optional--',
  9164. "//a[contains(@href,'lunaticfiles.com')]"
  9165. );
  9166. }
  9167. if (GM_getValue("Check_upload_dot_af_links", false))
  9168. {
  9169. addFileHost(
  9170. "upload\.af\/\\w+",
  9171. 'id="method_free"',
  9172. '<h1>File Not Found</',
  9173. 'optional--',
  9174. 'optional--',
  9175. "//a[contains(@href,'upload.af')]"
  9176. );
  9177. }
  9178. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9179. {
  9180. addFileHost(
  9181. "filedwon\.info\/\\w+",
  9182. 'name="method_free"',
  9183. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9184. 'optional--',
  9185. 'optional--',
  9186. "//a[contains(@href,'filedwon.info')]"
  9187. );
  9188. }
  9189. if (GM_getValue("Check_uplod_dot_it_links", false))
  9190. {
  9191. addFileHost(
  9192. "uplod\.it\/\\w+",
  9193. 'value="download2">|name="method_free',
  9194. '<Title>Download </Title>',
  9195. 'optional--',
  9196. 'optional--',
  9197. "//a[contains(@href,'uplod.it')]"
  9198. );
  9199. }
  9200. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9201. {
  9202. addFileHost(
  9203. "abelhas\.pt\/\\w+",
  9204. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9205. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9206. 'optional--',
  9207. 'optional--',
  9208. "//a[contains(@href,'abelhas.pt')]"
  9209. );
  9210. }
  9211. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9212. {
  9213. addFileHost(
  9214. "disk.yandex\.com\/\\w+",
  9215. 'nb-button _nb-small-button',
  9216. 'error code|Nothing found',
  9217. 'optional--',
  9218. 'optional2--',
  9219. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9220. }
  9221. /* if (GM_getValue("Check_k2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9222. {
  9223. addFileHost(
  9224. "k2s\.cc\/\\w+",
  9225. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9226. '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',
  9227. 'method="post">Displaying',
  9228. 'optional2--',
  9229. "//a[contains(@href,'k2s.cc')]");
  9230. }
  9231. if (GM_getValue("Check_keep2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9232. {
  9233. addFileHost(
  9234. "keep2s\.cc\/\\w+",
  9235. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9236. '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',
  9237. 'method="post">Displaying',
  9238. 'optional2--',
  9239. "//a[contains(@href,'keep2s.cc')]");
  9240. }
  9241. if (GM_getValue("Check_keep2share_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9242. {
  9243. addFileHost(
  9244. "keep2share\.cc\/\\w+",
  9245. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9246. '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',
  9247. 'method="post">Displaying',
  9248. 'optional2--',
  9249. "//a[contains(@href,'keep2share.cc')]");
  9250. }
  9251. if (GM_getValue("Check_keep2share_dot_com_links", false)) //this is here so host will work past redirect service antiref.com
  9252. {
  9253. addFileHost(
  9254. "keep2share\.com\/\\w+",
  9255. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9256. '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',
  9257. 'method="post">Displaying',
  9258. 'optional2--',
  9259. "//a[contains(@href,'keep2share.com')]");
  9260. } */
  9261. if (GM_getValue("Check_filespace_dot_com_links", false))
  9262. {
  9263. addFileHost(
  9264. "filespace\.com\/\\w+",
  9265. 'name="method_free',
  9266. '<div style="text-align:left;"><ul>|>File not found.<',
  9267. 'optional1--',
  9268. 'optional2--',
  9269. "//a[contains(@href,'filespace.com')]");
  9270. }
  9271.  
  9272. }
  9273. //start here
  9274.  
  9275. //hosts with direct download, so they must be requested for headers only
  9276. function initFileHostsHeadersOnly()
  9277. {
  9278. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9279. {
  9280. var host = new Array(5);
  9281. host[0] = linkRegex;
  9282. host[1] = isAliveRegex;
  9283. host[2] = isDeadRegex;
  9284. host[3] = xpathEx;
  9285. host[4] = ispremRegex;
  9286. http_file_hosts_headers_only.push(host);
  9287. }
  9288. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9289. {
  9290. addFileHostHeadersOnly(
  9291. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9292. 'Connection: Keep-Alive',
  9293. 'Content-Length: 3857',
  9294. "//a[contains(@href,'uloziste.com')]"
  9295. )
  9296. }
  9297. if (GM_getValue("Check_adrive_dot_com_links", false))
  9298. {
  9299. addFileHostHeadersOnly(
  9300. "adrive\\.com\/public\/\\w+",
  9301. 'Connection: keep-alive',
  9302. 'orig_ref=deleted',
  9303. "//a[contains(@href,'adrive.com')]"
  9304. )
  9305. }
  9306. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9307. {
  9308. addFileHostHeadersOnly(
  9309. "myupload\\.dk\/showfile\/\\w+",
  9310. 'Expires:',
  9311. 'squeeze1\\s+Vary',
  9312. "//a[contains(@href,'myupload.dk/showfile')]"
  9313. )
  9314. }
  9315. }
  9316. //CustomRules
  9317. //functions add...Host copied here
  9318. function addObsoleteHost(linkRegex, xpathEx)
  9319. {
  9320. var host = new Array(2);
  9321. host[0] = linkRegex;
  9322. host[1] = xpathEx;
  9323. http_file_hosts_obsolete.push(host);
  9324. }
  9325. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9326. {
  9327. var host = new Array(7);
  9328. host[0] = linkRegex;
  9329. host[1] = isAliveRegex;
  9330. host[2] = isDeadRegex;
  9331. host[3] = isUnavaRegex;
  9332. host[4] = xpathEx;
  9333. tryLoop ? host[5] = true : host[5] = false;
  9334. host[6] = ispremRegex;
  9335. http_file_hosts.push(host);
  9336. }
  9337. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9338. {
  9339. var host = new Array(5);
  9340. host[0] = linkRegex;
  9341. host[1] = isAliveRegex;
  9342. host[2] = isDeadRegex;
  9343. host[3] = xpathEx;
  9344. host[4] = ispremRegex;
  9345. http_file_hosts_headers_only.push(host);
  9346. }
  9347. //takes a fully built rules array and adds the rules to WARLC
  9348. function applyCustomRules(customRules)
  9349. {
  9350. if (!customRules) return;
  9351. var rules, r, i;
  9352. rules = customRules.rules;
  9353. for (i = 0 ; i < rules.length ; i++)
  9354. {
  9355. r = rules[i];
  9356. if (r.enabled)
  9357. {
  9358. switch (r.type)
  9359. {
  9360. case 'single':
  9361. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9362. break;
  9363. case 'headers':
  9364. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9365. break;
  9366. case 'obsolete':
  9367. addObsoleteHost(r.urlregex, r.xpath)
  9368. break;
  9369. }
  9370. }
  9371. }
  9372. }
  9373.  
  9374.  
  9375. function initFileHostsCustom()
  9376. {
  9377. if (Custom_rules && Custom_rules_text)
  9378. {
  9379. var msg = '';
  9380. if (newVersion)
  9381. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9382. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9383. msg = '60 or more days have passed since this notification.\n\n';
  9384. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9385. {
  9386. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9387. msg +=
  9388. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9389. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9390. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9391. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9392. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9393. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9394. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9395. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9396. setTimeout(function(){alert(msg)},0);
  9397. }
  9398. var customRules = parseCustomRules(Custom_rules_text);
  9399. if (customRules.warning || customRules.error)
  9400. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9401. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9402. JSON.stringify(customRules.info, null, ' '));
  9403. applyCustomRules(customRules);
  9404. }
  9405. }
  9406. //end of CustomRules processing
  9407.  
  9408.  
  9409.  
  9410. } //end of function start
  9411.  
  9412.  
  9413.  
  9414. function initClipBoardTools()
  9415. {
  9416. unsafeWindow.copyToClipboard = function(text)
  9417. {
  9418. try
  9419. {
  9420. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9421.  
  9422. var str = Components.classes["@mozilla.org/supports-string;1"].
  9423. createInstance(Components.interfaces.nsISupportsString);
  9424. if (!str) return false;
  9425.  
  9426. str.data = text;
  9427.  
  9428. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9429. createInstance(Components.interfaces.nsITransferable);
  9430. if (!trans) return false;
  9431.  
  9432. trans.addDataFlavor("text/unicode");
  9433. trans.setTransferData("text/unicode", str, text.length * 2);
  9434.  
  9435. var clipid = Components.interfaces.nsIClipboard;
  9436. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9437. if (!clip) return false;
  9438.  
  9439. clip.setData(trans, null, clipid.kGlobalClipboard);
  9440. } catch (e) {
  9441. GM_log("Error copyToClipboard : " + e);
  9442. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9443. }
  9444. }
  9445. }
  9446.  
  9447.  
  9448.  
  9449. //CustomRules
  9450.  
  9451. function escapeRegex(str)
  9452. {
  9453. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9454. }
  9455.  
  9456.  
  9457. //called internally from parseCustomRules.
  9458. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9459. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9460. function makeCustomRule(rule)
  9461. {
  9462. function makeMatchRegex(arrmatch)
  9463. {
  9464. return escapeRegex(arrmatch.join('\n'))
  9465. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9466. .replace(/\n/g,'|'); //join together
  9467. }
  9468. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9469. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9470. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9471. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9472. if (rule.baseurl)
  9473. {
  9474. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9475. for (i = 0 ; i < len ; i++)
  9476. {
  9477. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9478. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9479. {
  9480. 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'])
  9481. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9482. }
  9483. else //baseurl in the form: example.com/xxx
  9484. {
  9485. xpath.push(m[0]);
  9486. urlregex.push(escapeRegex(m[0]) + '.');
  9487. }
  9488. }
  9489. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9490. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9491. }
  9492. return rule;
  9493. } //function makeCustomRule
  9494.  
  9495.  
  9496. /*
  9497. Takes a string containing custom link checking rules.
  9498. Returns an object with fields:
  9499. info - contains notes, warnings and errors found during parsing
  9500. rules - the array of custom rules
  9501. note, warning, error - number of each of them found during parsing
  9502. Format of the input string:
  9503. One command per line. Command format: @keyword parameter
  9504. Keywords:
  9505. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9506. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9507. These keywords can be multiple (any of them will work):
  9508. @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...)
  9509. @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+
  9510. @alivelink, @deadlink - example links
  9511. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9512. Lines starting with // and empty lines are ignored.
  9513. Invalid parameters generate errors and those lines are skipped.
  9514. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9515. Example:
  9516. @customrule filehost
  9517. @baseurl filehost.com/download/
  9518. @baseurl filehost2. com net /d?=
  9519. @alivematch id="download">
  9520. @deadmatch File not found
  9521. @deadmatch File deleted
  9522. */
  9523. function parseCustomRules(rulesStr)
  9524. {
  9525. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9526. function addInfo(type, msg, ln){
  9527. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9528. customRules[type]++;
  9529. }
  9530. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9531. if (!lines) return null;
  9532. lines.push('@#customrule _'); //to save the last rule
  9533. var m, linecount = lines.length;
  9534. var keyword, param, constr, rule, err;
  9535. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9536. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9537. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9538. var constraints = {
  9539. 'baseurl': {
  9540. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9541. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9542. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9543. 'alivematch': {
  9544. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9545. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9546. 'deadmatch': {
  9547. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9548. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9549. 'unavamatch': {
  9550. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9551. 'alivelink': {
  9552. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9553. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9554. 'deadlink': {
  9555. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9556. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9557. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9558. };
  9559. for (linenum = 0 ; linenum < linecount ; linenum++)
  9560. {
  9561. //capturing groups: 1 23 4 5 6
  9562. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9563. if (m)
  9564. {
  9565. if (m[1] || !m[2])
  9566. continue; // ignore empty lines and lines starting with //
  9567. keyword = (m[4] || m[2]).toLowerCase();
  9568. param = m[6];
  9569. if (keyword == 'customrule')
  9570. {
  9571. //save the current rule if all required fields are provided
  9572. if (rule)
  9573. {
  9574. err = false;
  9575. $.each(constraints, function(kw, constraint){
  9576. var l, constr = constraint[rule.type];
  9577. if (constr)
  9578. {
  9579. l = rule[kw] ? rule[kw].length : 0;
  9580. if (l < constr.min || l > constr.max)
  9581. {
  9582. 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);
  9583. err = true;
  9584. }
  9585. }
  9586. });
  9587. if (!err)
  9588. customRules.rules.push(makeCustomRule(rule));
  9589. }
  9590. //start a new rule
  9591. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9592. {
  9593. rule = {
  9594. 'enabled': !m[3],
  9595. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9596. 'name': param
  9597. };
  9598. }
  9599. else
  9600. {
  9601. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9602. rule = null;
  9603. }
  9604. }
  9605. else //good line format, but keyword other than customrule
  9606. {
  9607. if (!rule)
  9608. {
  9609. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9610. continue;
  9611. }
  9612. if (constraints[keyword])
  9613. {
  9614. constr = constraints[keyword][rule.type];
  9615. if (constr)
  9616. {
  9617. if (constr.paramRE && !constr.paramRE.test(param))
  9618. {
  9619. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9620. continue;
  9621. }
  9622. }
  9623. else
  9624. {
  9625. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9626. continue;
  9627. }
  9628. }
  9629. //line OK, save
  9630. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9631. }
  9632. } //if (m)
  9633. else
  9634. addInfo('warning', 'Unknown line format. Line skipped.');
  9635. } //for loop
  9636. return customRules;
  9637. } //function parseCustomRules
  9638.  
  9639.  
  9640. /* ********************UPDATES********************
  9641.  
  9642. March 01, 2016
  9643. Version 1.2.5.7
  9644. fixed solidfiles.com
  9645.  
  9646. March 01, 2016
  9647. Version 1.2.5.6
  9648. added filespace.com
  9649. fixed depositfiles (by yurii)
  9650.  
  9651. February 29, 2016
  9652. Version 1.2.5.5
  9653. made change to keep2share
  9654.  
  9655. February 28, 2016
  9656. Version 1.2.5.4
  9657. removed down4files.com from obsolete hosts.
  9658.  
  9659. February 26, 2016
  9660. Version 1.2.5.3
  9661. fixed userscloud.com
  9662.  
  9663. February 24, 2016
  9664. Version 1.2.5.2
  9665. added yandex.com
  9666. fixed datafile.com
  9667.  
  9668. February 22, 2016
  9669. Version 1.2.5.1
  9670. added bigfile.to
  9671.  
  9672. February 20, 2016
  9673. Version 1.2.5.0
  9674. added abelhas.pt
  9675.  
  9676. February 18, 2016
  9677. Version 1.2.4.9
  9678. made change to uptobox
  9679.  
  9680. February 17, 2016
  9681. Version 1.2.4.8
  9682. fixed yadi.sk
  9683.  
  9684. February 16, 2016
  9685. Version 1.2.4.7
  9686. fixed datafile.com
  9687. fixed filecad.com
  9688. added filecore.co & filestorm.to to obsolete hosts
  9689. added upload.af, filedwon.in & uplod.it
  9690.  
  9691. February 15, 2016
  9692. Version 1.2.4.6
  9693. fixed kumpulbagi.id
  9694. added sangfile.com to obsolete hosts
  9695.  
  9696. February 14, 2016
  9697. Version 1.2.4.5
  9698. fixed yandex.ru
  9699.  
  9700. February 13, 2016
  9701. Version 1.2.4.4
  9702. added lunaticfiles.com.
  9703.  
  9704. February 09, 2016
  9705. Version 1.2.4.3
  9706. added file.up09.com.
  9707.  
  9708. February 09, 2016
  9709. Version 1.2.4.2
  9710. tezfiles.com premium links now detected.
  9711.  
  9712. February 09, 2016
  9713. Version 1.2.4.1
  9714. added seenupload.com to obsolete hosts
  9715. fixed 180upload.com to show obsolete
  9716.  
  9717. February 08, 2016
  9718. Version 1.2.4.0
  9719. added tusfiles.com
  9720. added filesupload.org
  9721. added gigasize.com
  9722. added filecad.com
  9723. fixed filecloud.io
  9724. added uploadnet.co to obsolete hosts
  9725.  
  9726. February 07,2016
  9727. Vession 1.2.3.9
  9728. fixed depositfiles.com folders
  9729. fixed turbobit.net folders
  9730.  
  9731. February 06, 2016
  9732. Version 1.2.3.8
  9733. fixed 1fichier false dead links
  9734.  
  9735. February 04, 2106
  9736. Version 1.2.3.7
  9737. added geupload and lenfile to obsolete hosts
  9738. fixed kyc.pm/depfile
  9739.  
  9740. February 03, 2016
  9741. Version 1.2.3.6
  9742. fixed some nitroflare.com dead links not being detected
  9743.  
  9744. February 01, 2016
  9745. Version 1.2.3.5
  9746. script moved to new site
  9747.  
  9748. January 20, 2016
  9749. Version 1.2.3.3
  9750. fixed some rapidgator premium link not being detected
  9751.  
  9752. January 17, 2016
  9753. Version 1.2.3.2
  9754. added bytewhale.com
  9755. added rapidrar.com
  9756.  
  9757. Version 1.2.3.1
  9758. added 180upload.com to obsolete hosts
  9759. fixed hellspy.com
  9760. added dinoshare.cz,
  9761.  
  9762. January 13, 2016
  9763. Version 1.2.3.0
  9764. added rapidu.net
  9765. added uploadboy.me
  9766. fixed euroshare.eu
  9767.  
  9768. January 12, 2016
  9769. Version 1.2.2.9
  9770. added kb.simple-aja.info
  9771.  
  9772. January 10, 2016
  9773. Version 1.2.2.8
  9774. made changes to fastshare.cz
  9775.  
  9776. January 10, 2016
  9777. Version 1.2.2.7
  9778. fixed uptobox.com
  9779.  
  9780. January 09, 2016
  9781. Version 1.2.2.6
  9782. datoteke.com now detects premium links
  9783. fixed turbobit.net
  9784. fixed uptobox.com
  9785. added pornfile.cz
  9786. added pornoid.cz
  9787. added file-share.top
  9788. added bitster.cz
  9789.  
  9790. January 05, 2016
  9791. Version 1.2.2.5
  9792. fixed salefiles.com
  9793. fixed ozofile.com
  9794.  
  9795. January 04, 2016
  9796. Version 1.2.2.4
  9797. added sharehost.eu
  9798.  
  9799. December 30, 2015
  9800. Version 1.2.2.3
  9801. added tezfiles.com
  9802.  
  9803. December 28, 2015
  9804. Version 1.2.2.2
  9805. fixed some k2s & fboom dead link not getting detected
  9806. fixed some k2s premium links not getting detected.
  9807. fixed ssh.yt not detecting some dead links
  9808. fixed ncrypt.in dead links showing yellow
  9809.  
  9810. December 20, 2015
  9811. Version 1.2.2.0
  9812. added datoteke.com
  9813.  
  9814. December 19, 2015
  9815. Version 1.2.1.9
  9816. added secured.in & linksave.in to obsolete hosts
  9817.  
  9818. December 17, 2015
  9819. Version 1.2.1.8
  9820. added german for dead links to secureupload.eu.
  9821.  
  9822. December 17, 2015
  9823. Version 1.2.1.7
  9824. added french for dead links to secureupload.eu.
  9825. fixed problem with tooltip display.
  9826.  
  9827. December 13, 2015
  9828. Version 1.2.1.6
  9829. added netload.me & fileparadox.in to obsolete hosts
  9830.  
  9831. December 09, 2015
  9832. Version 1.2.1.5
  9833. added rapidsonic.com & fileparadox.com to obsolete hosts
  9834.  
  9835. December 04, 2015
  9836. Version 1.2.1.4
  9837. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  9838.  
  9839. December 03, 2015
  9840. Version 1.2.1.3
  9841. added dailyuploads.net
  9842.  
  9843. December 02, 2015
  9844. Version 1.2.1.2
  9845. fixed hitfile.net
  9846. fixed kingfiles.net
  9847.  
  9848. November 30, 2015
  9849. Version 1.2.1.1
  9850. added filepost.com to obsolete hosts
  9851. added devilshare.net
  9852.  
  9853. November 28, 2015
  9854. Version 1.2.1.0
  9855. fixed datafile.com not detecting some premium links.
  9856.  
  9857. November 25, 2015
  9858. Version 1.2.0.9
  9859. fixed filejoker.net
  9860. fixed toutbox.fr
  9861. fixed nowvideo.sx
  9862.  
  9863. November 24, 2015
  9864. Version 1.2.0.8
  9865. fixed openload.io
  9866.  
  9867. November 20, 2015
  9868. Version 1.2.0.7
  9869. //added file.al
  9870. //fixed nitroflare.com false live links
  9871. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  9872.  
  9873. November 17, 2015
  9874. Version 1.2.0.6
  9875. added clicknupload.me
  9876.  
  9877. November 09, 2015
  9878. Version 1.2.0.5
  9879. fixed some depfile premium links not being detected
  9880.  
  9881. November 08, 2015
  9882. Version 1.2.0.4
  9883. fixed some rapidgator premium links not being detected
  9884. fixed doraupload.com
  9885.  
  9886. November 08, 2015
  9887. Version 1.2.0.3
  9888. fixed uploaded false premium
  9889.  
  9890. November 07, 2015
  9891. Version 1.2.0.2
  9892. fixed redbunker.net
  9893.  
  9894. November 05, 2015
  9895. Version 1.2.0.1
  9896. fixed app.box.com
  9897. added multiup.org (does not detect all dead links)
  9898.  
  9899. November 01, 2015
  9900. Version 1.2.0.0
  9901. added more languages to rockfile and 1fichier
  9902.  
  9903. November 01, 2015
  9904. Version 1.1.9.9
  9905. fixed rockfile.eu
  9906. changed 1fichier code (Thanks yurri)
  9907. added to obsolete hosts... (Thanks Love Buzz)
  9908. burnupload.com
  9909. cramit.in
  9910. cramitin.net
  9911. down4files.com
  9912. edoc.com
  9913. jumbofile.net
  9914. krotix.net
  9915. migahost.com
  9916. movreel.com
  9917. netload.in
  9918. newfileland.com
  9919. quickshare.cz
  9920.  
  9921. October 30, 2015
  9922. Version 1.1.9.8
  9923. added alfafile.net
  9924.  
  9925. October 26, 2015
  9926. Version 1.1.9.7
  9927. changed datafile.com and uplea.com
  9928. added lolabits.es
  9929.  
  9930. October 26, 2015
  9931. Version 1.1.9.6
  9932. added toutbox.fr
  9933.  
  9934. October 25, 2015
  9935. Version 1.1.9.5
  9936. fixed counter error
  9937.  
  9938. October 25, 2015
  9939. Version 1.1.9.4
  9940. changed uptobox.com code
  9941.  
  9942. October 21, 2015
  9943. Version 1.1.9.3
  9944. fixed uptobox.com
  9945.  
  9946. October 20, 2015
  9947. Version 1.1.9.2
  9948. bug fixes and new method of detecting premium links.
  9949.  
  9950. October 15, 2015
  9951. Version 1.1.9.1
  9952. fixed hugefiles.net false premium
  9953. changed uptobox.com code
  9954.  
  9955. October 06, 2015
  9956. Version 1.1.9.0
  9957. fixed filefactory
  9958. fixed rockfile false premium
  9959. keep2share & fileboom now detect premium links (fixed by yurii)
  9960.  
  9961. October 01, 2015
  9962. Version 1.1.8.9
  9963. fixed free.fr false premium
  9964. fixed thevideo.me false premium
  9965.  
  9966. September 28, 2015
  9967. Version 1.1.8.8
  9968. added uplea.com and openload.co
  9969.  
  9970. September 27, 2015
  9971. Version 1.1.8.7
  9972. fixed fileparadox.in false premium
  9973. added kingfiles.net to obsolete hosts
  9974. removed inafile.com from obsolete hosts
  9975.  
  9976. September 22, 2015
  9977. Version 1.1.8.6
  9978. fixed nitroflare false premium
  9979.  
  9980. September 22, 2015
  9981. Version 1.1.8.5
  9982. fixed userscloud.com false premium
  9983. fixed usersfiles.com false premium
  9984. changed arabloads.com to arabloads.net
  9985. changed nowdownloads.eu to nowdownloads.ch
  9986.  
  9987. September 21, 2015
  9988. Version 1.1.8.3
  9989. added ryushare.com to obsolete hosts.
  9990.  
  9991. September 20, 2015
  9992. Version 1.1.8.2
  9993. fixed nitroflare not showing premium links
  9994. added down4files.com,storfiles.co,filehost.pw
  9995.  
  9996. September 16, 2015
  9997. Version 1.1.8.1
  9998. added crisshare.com to obsolete hosts
  9999. fixed filemoney.com false premium
  10000. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10001.  
  10002. September 14, 2015
  10003. Version 1.1.8.0
  10004. added to obsolete hosts...
  10005. sharebeast.com
  10006. tufiles.ru
  10007.  
  10008. September 12, 2015
  10009. Version 1.1.7.9
  10010. fixed rghost.net false premium
  10011. fixed unlimitzone.com false premium
  10012. fixed turbobit.net false live link
  10013.  
  10014. September 11, 2015
  10015. Version 1.1.7.8
  10016. Fixed filefactory.com false premium.
  10017.  
  10018. September 07, 2015
  10019. Version 1.1.7.7
  10020. fixed "depositfiles.com/en/files" links not checking
  10021.  
  10022. September 06, 2015
  10023. Version 1.1.7.6
  10024. added French code for 1fichier
  10025.  
  10026. August 29, 2015
  10027. Version 1.1.7.5
  10028. fixed depositfiles
  10029. fixed mega.co.nz/mega.nz
  10030. (fixed by yurii)
  10031.  
  10032. August 23, 2015
  10033. Version 1.1.7.4
  10034. Fixed uploadrocket (by yurii)
  10035.  
  10036. August 20, 2015
  10037. Version 1.1.7.3
  10038. fixed depfile.com false premium
  10039. fixed 1fichier false premium
  10040. fixed rapidgator false premium
  10041.  
  10042. August 08, 2015
  10043. Version 1.1.7.1
  10044. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10045.  
  10046. August 07, 2015
  10047. Version 1.1.7.0
  10048. fixed...
  10049. streamin.to
  10050. thefile.me
  10051. vidzi.tv
  10052. added...
  10053. filenuke.com
  10054. vidto.me
  10055. vidspot.net
  10056. sharesix.com
  10057. sharesix.net
  10058. movpod.in,
  10059.  
  10060. August 07, 2015
  10061. Version 1.1.6.9 added...
  10062. thefile.me
  10063. vidzi.tv
  10064. videoweed.es
  10065. vodlocker.com
  10066. nowvideo.sx
  10067. cloudtime.to
  10068. thevideo.me
  10069. vidbull.com
  10070. allmyvideos.net
  10071. novamov.com
  10072. filehoot.com
  10073. stagevu.com
  10074. gorillavid.in
  10075. streamin.to
  10076.  
  10077. August 02, 2015
  10078. Version 1.1.6.8
  10079. added cloudshares.net
  10080.  
  10081. August 01, 2015
  10082. Version 1.1.6.7
  10083. fixed depfile redirectors false premium
  10084.  
  10085. July 31, 2015
  10086. Version 1.1.6.6
  10087. fixed depfile.com false premium
  10088. */