W.A.R. Links Checker Customized Premium Link Version

detects live, dead and premium links.

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

  1. //fixed some rapidgator premium link not being detected
  2. // ==UserScript==
  3. // @name W.A.R. Links Checker Customized Premium Link Version
  4. // @description detects live, dead and premium links.
  5. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  6. // @namespace premium version
  7. // @version 1.2.3.4
  8. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA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oX4lHbYQqp5L00QXJW50GK5q4E8A0A88fgoOnBihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  9. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  10. // @author mental
  11. // @include http://*
  12. // @include https://*
  13. // @include file:///*
  14. // @grant GM_setValue
  15. // @grant GM_getValue
  16. // @grant GM_xmlhttpRequest
  17. // @grant GM_log
  18. // @grant GM_addStyle
  19. // @grant GM_registerMenuCommand
  20. // @grant GM_getResourceText
  21. // @grant GM_info
  22. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  23. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  24. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  25. // @homepage http://www.warlc.5gbfree.com
  26. // @namespace http://www.warlc.5gbfree.com
  27. // @noframes
  28. // ==/UserScript==
  29.  
  30. //separate alternative domains with "|" char (first name is considered being main)
  31. var allHostNames = [
  32. "1fichier.com|dl4free.com",
  33. "rapidu.net",
  34. "bytewhale.com",
  35. "rapidrar.com",
  36. "download.cz.hellshare.com",
  37. "pornfile.cz",
  38. "dinoshare.cz",
  39. "kb.simple-aja.info",
  40. "bitster.cz",
  41. "file-share.top",
  42. "pornoid.cz",
  43. "dailyuploads.net",
  44. "sharehost.eu",
  45. "tezfiles.com",
  46. "devilshare.net",
  47. "alfafile.net",
  48. "openload.co",
  49. "multiup.org",
  50. "uplea.com",
  51. "filenuke.com",
  52. "file.al",
  53. // "inafile.com",
  54. "lolabits.es",
  55. "vidto.me",
  56. "storefiles.co",
  57. "filehost.pw",
  58. "vidspot.net",
  59. "turbobit.ru",
  60. "sharesix.com|sharesix.net",
  61. "movpod.in",
  62. "thefile.me",
  63. "datoteke.com",
  64. "vidzi.tv",
  65. "videoweed.es",
  66. "vodlocker.com",
  67. "nowvideo.sx",
  68. "cloudtime.to",
  69. "thevideo.me",
  70. "vidbull.com",
  71. "allmyvideos.net",
  72. "novamov.com",
  73. "filehoot.com",
  74. "stagevu.com",
  75. "gorillavid.in",
  76. "streamin.to",
  77. "4upld.com",
  78. "cloudshares.net",
  79. "swoopshare.com",
  80. "2shared.com",
  81. "fileupload.pw",
  82. "zxcfiles.com",
  83. "up07.net",
  84. "4shared.com",
  85. "adrive.com",
  86. "aisfile.com",
  87. "hexupload.com",
  88. "bezvadata.cz",
  89. "xkeepfile.com|Gamesena.com",
  90. "usersfiles.com",
  91. "pan.baidu.com",
  92. "radicalshare.com",
  93. "datei.to",
  94. "daten-hoster.de|filehosting.org|xtraupload.de",
  95. "demo.ovh.eu",
  96. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  97. "divshare.com",
  98. "easy-share.com|crocko.com",
  99. "easybytez.com",
  100. "edisk.cz",
  101. "euroshare.eu",
  102. "file-upload.net",
  103. "yadi.sk",
  104. "wizupload.com",
  105. "fastshare.cz",
  106. "filefactory.com",
  107. "share.vnn.vn",
  108. "yunpan.cn",
  109. "gulfup.com",
  110. "tropicshare.com",
  111. "cloudzilla.to",
  112. "inclouddrive.com",
  113. "fileflyer.com",
  114. "filerio.com|filekeen.com",
  115. "up.4share.vn",
  116. "upfile.vn",
  117. "datafilehost.com",
  118. "fileband.com",
  119. "worldbytez.com",
  120. "files.mail.ru",
  121. "filesflash.com",
  122. "box.com",
  123. "uptobox.com",
  124. "box.net",
  125. "goldbytez.com",
  126. "sdilej.cz",
  127. "ex-load.com",
  128. "filesmonster.com",
  129. "filestore.to",
  130. "hulkload.com",
  131. "filedropper.com",
  132. "free-uploading.com",
  133. "gamefront.com|filefront.com",
  134. "gettyfile.ru",
  135. "gigapeta.com",
  136. "gigasize.com",
  137. "hellshare.com",
  138. "hellspy.com",
  139. "hitfile.net",
  140. "hostuje.net",
  141. "freefilehosting.net",
  142. "free.fr",
  143. "hulkshare.com",
  144. "hyperfileshare.com",
  145. "filecloud.io|ifile.it",
  146. "ifolder.ru",
  147. "jumbofiles.com",
  148. "uploadrocket.net",
  149. "lafiles.com",
  150. "leteckaposta.cz|sharegadget.com",
  151. "letitbit.net",
  152. "load.to",
  153. "mediafire.com",
  154. "megafileupload.com",
  155. "megashares.com",
  156. "movshare.net",
  157. "muchshare.net",
  158. "myupload.dk",
  159. "narod.ru|narod.yandex.ru",
  160. "fboom.me|fileboom.me",
  161. "openfile.ru",
  162. "partage-facile.com",
  163. "plunder.com",
  164. "sharerapid.cz",
  165. "exclusiveloader.com",
  166. "acefile.net",
  167. "queenshare.com",
  168. "rapidgator.net",
  169. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  170. "oboom.com",
  171. "filepi.com",
  172. "neodrive.co",
  173. "rarefile.net",
  174. "rayfile.com",
  175. "rghost.net",
  176. "sendmyway.com",
  177. "clicknupload.com",
  178. "clicknupload.me",
  179. "sharemods.com",
  180. "hostr.co",
  181. "sendspace.com",
  182. "sharecash.org",
  183. "share-links.biz",
  184. "share-online.biz|egoshare.com",
  185. "megarapid.cz",
  186. "shareflare.net",
  187. "solidfiles.com",
  188. "led.wf",
  189. "lan.wf",
  190. "adlink.wf",
  191. "click.tf",
  192. "kyc.pm",
  193. "ssh.tf",
  194. "ssh.yt",
  195. "yep.pm",
  196. "stahovanizasms.cz",
  197. "turbobit.net",
  198. "filecloud.cc",
  199. "tikfile.com",
  200. "cloudsix.me",
  201. "turboupload.com",
  202. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  203. "ulozisko.sk",
  204. "uloziste.com",
  205. "unibytes.com",
  206. "upload-il.net|przeslij.net",
  207. "uploaded.to|ul.to",
  208. "uploading.com",
  209. "chayfile.com",
  210. "rockfile.eu",
  211. "24uploading.com",
  212. "uploadspace.pl",
  213. "upnito.sk",
  214. "usaupload.net",
  215. "veehd.com",
  216. "videobb.com",
  217. "vip-file.com",
  218. "webshare.cz",
  219. "xdisk.cz",
  220. "yunfile.com|filemarkets.com",
  221. "ziddu.com",
  222. "zippyshare.com",
  223. "rodfile.com",
  224. "wikiupload.com",
  225. "uploadstube.de",
  226. "faststore.org",
  227. "flyfiles.net",
  228. "nowdownload.ch",
  229. "prefiles.com",
  230. "axifile.com",
  231. "hackerbox.org",
  232. "amonshare.com",
  233. "data.hu",
  234. "brupload.net",
  235. "userscloud.com",
  236. "netkups.com",
  237. "xfileload.com",
  238. "kumpulbagi.com",
  239. "uppit.com|up.ht",
  240. "downloadani.me",
  241. "filesabc.com",
  242. "verzend.be",
  243. "4up.me",
  244. "extmatrix.com",
  245. "sendfiles.nl",
  246. "yourfilestore.com",
  247. "filebig.net",
  248. "nekaka.com",
  249. "file4safe.com",
  250. "tusfiles.net",
  251. "filemac.com",
  252. "idup.in",
  253. "fileswap.com",
  254. "ozofiles.com",
  255. "loudupload.net",
  256. "nosupload.com",
  257. "gboxes.com",
  258. "myvdrive.com|fileserving.com",
  259. "filesin.com",
  260. "novafile.com",
  261. "longfiles.com",
  262. // "uploadhero.com",
  263. "uploadbaz.com",
  264. "bitupload.com",
  265. "indowebster.com",
  266. "superload.cz",
  267. "mafiastorage.com",
  268. "4upfiles.com",
  269. "filesmelt.com",
  270. "hellupload.com",
  271. "uploadingit.com",
  272. "stiahni.si",
  273. "sendspace.pl",
  274. "fastshare.org",
  275. "filejoker.net",
  276. "filestore.com.ua",
  277. "secureupload.eu",
  278. "rapidfileshare.net",
  279. "stiahnito.sk",
  280. "rusfolder.com",
  281. "fileover.net",
  282. "catshare.net",
  283. "anonfiles.com",
  284. "mixturecloud.com",
  285. "filedais.com",
  286. // "imdb.com",
  287. "nitroflare.com",
  288. "akafile.com",
  289. "creafile.net",
  290. "hugefiles.net",
  291. "vidxden.com",
  292. "up.top4top.net",
  293. "upload.ee",
  294. "shareplace.org",
  295. "uploadc.com",
  296. "remixshare.com",
  297. "exoshare.com",
  298. "borncash.org",
  299. "junocloud.me",
  300. "expressleech.com",
  301. "2downloadz.com",
  302. "mightyupload.com",
  303. "anysend.com",
  304. "datafile.com",
  305. "upstore.net",
  306. "upsto.re",
  307. "speedy.sh",
  308. "sanshare.com",
  309. "kingfiles.net",
  310. // "uploadhero.co",
  311. "ge.tt",
  312. "filesflash.net",
  313. "salefiles.com",
  314. // "megairon.net",
  315. "datoid.cz",
  316. "cloudstor.es",
  317. "streamfile.com",
  318. "eyesfile.ca",
  319. "filemoney.com",
  320. "uploadboy.com",
  321. "uploadboy.me",
  322. "speedshare.eu",
  323. "google.com",
  324. "unlimitzone.com",
  325. "rioupload.com",
  326. "rg.to",
  327. "jumbofiles.org",
  328. "fshare.vn",
  329. "spaceforfiles.com",
  330. "up.media1fire.com",
  331. "depfile.com",
  332. "go4up.com",
  333. "dropbox.com",
  334. "redbunker.net",
  335. "divxpress.com",
  336. "mega.nz|mega.co.nz",
  337. "anafile.com",
  338. "uploadable.ch",
  339. "arabloads.net",
  340. "sharerepo.com",
  341. "sfshare.se",
  342. "files.fm",
  343. "koofile.com",
  344. "vidplay.net",
  345. "storagon.com",
  346. "doraupload.com",
  347. "openload.io",
  348. "geupload.com|lenfile.com",
  349. "uploads.xxx",
  350. "toutbox.fr",
  351. ];
  352.  
  353. try
  354. {
  355. //iframes excluded
  356. if (window.top != window.self)
  357. {
  358. return;
  359. }
  360. //allHostNames sites excluded
  361. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  362. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  363. ")"))
  364. {
  365. return;
  366. }
  367. }
  368. catch (e)
  369. {
  370. return;
  371. }
  372.  
  373. //separate alternative domains with "|" char (first name is considered being main)
  374. var allContainerNames = [
  375. "adf.ly",
  376. "linkcrypt.ws",
  377. "linksafe.me",
  378. // "linksave.in",
  379. "linkto.net",
  380. "madlink.sk",
  381. "multiload.cz",
  382. "mirrorcreator.com",
  383. "ncrypt.in",
  384. "redi.re",
  385. "relink.us",
  386. "safelinking.net",
  387. "theloo.katt.it",
  388. "bit.ly",
  389.  
  390. ];
  391.  
  392. //separate alternative domains with "|" char (first name is considered being main)
  393. var allObsoleteNames = [
  394. "uloz.cz",
  395. "secured.in",
  396. "linksave.in",
  397. "filepost.com|fp.io",
  398. "180upload.com",
  399. "rapidsonic.com",
  400. "fileparadox.com",
  401. "fileparadox.in",
  402. "uploadhero.co",
  403. "uploadhero.com",
  404. "newfileland.com",
  405. "quickshare.cz",
  406. "netload.in",
  407. "netload.me",
  408. "movreel.com",
  409. "migahost.com",
  410. "krotix.net",
  411. "jumbofile.net",
  412. "edoc.com",
  413. "down4files.com",
  414. "cramit.in|cramitin.net",
  415. "freakshare.com",
  416. "burnupload.com|burnupload.ihiphop.com",
  417. "freakshare.net",
  418. "daj.to",
  419. "bl.st",
  420. "2drive.net",
  421. "ryushare.com",
  422. "crisshare.com",
  423. "tufiles.ru",
  424. "uncapped-downloads.com",
  425. "sockshare.com",
  426. "ddlstorage.com",
  427. "dataport.cz",
  428. "dizzcloud.com",
  429. "sharebeast.com",
  430. "stahovadlo.cz",
  431. "shared.com",
  432. "storage.to",
  433. "putlocker.com",
  434. "lumfile.com",
  435. "lumfile.se",
  436. "lumfile.eu",
  437. "firedrive.com",
  438. "fileshare.in.ua",
  439. "filecore.co.nz",
  440. "iskladka.cz",
  441. "file-rack.com",
  442. "fast-load.net",
  443. "subory.sk",
  444. "bigandfree.com",
  445. "fileop.com",
  446. "mujsoubor.cz",
  447. "sendfile.to",
  448. "superfastfile.com",
  449. "quickyshare.com",
  450. "duckload.com",
  451. "uploadstore.net",
  452. "meinupload.com",
  453. "dualshare.com",
  454. "2xupload.to|2xupload.de",
  455. "oxedion.com",
  456. "uploadline.com",
  457. "dll.bz",
  458. "movieshare.in",
  459. "milledrive.com",
  460. "quickupload.net",
  461. "safelink.in",
  462. "metadivx.com",
  463. "divxlink.com",
  464. "uploadrack.com",
  465. "teradepot.com",
  466. "dataup.to",
  467. "upit.to",
  468. "driveway.com",
  469. "eatlime.com",
  470. "a2zuploads.com",
  471. "friendlyfiles.net",
  472. "flyfile.us",
  473. "speedyshare.com",
  474. "uploadspace.eu",
  475. "keepfile.com",
  476. "piggyshare.com",
  477. "uplly.com",
  478. "filecrown.com",
  479. "6giga.com",
  480. "uploadjockey.com",
  481. "bluehost.to",
  482. "filegu.ru",
  483. "filebase.to",
  484. "up-file.com",
  485. "xvideos.com",
  486. "ufox.com",
  487. "filebling.com",
  488. "loaded.it",
  489. "uploadcell.com",
  490. "uploadshare.cz",
  491. "mangoshare.com",
  492. "filestab.com",
  493. "crazyupload.com",
  494. "gaiafile.com",
  495. "sharejunky.com",
  496. "fileho.com",
  497. "bigandfree.com",
  498. "bigfile.in",
  499. "bigshare.eu",
  500. "dahosting.org",
  501. "digisofts.net",
  502. "file4save.com",
  503. "filechip.com",
  504. "filescloud.com",
  505. "saveqube.com",
  506. "turboshare.de",
  507. "z-upload.com",
  508. "youshare.com",
  509. "jiffyupload.com",
  510. "gigeshare.com",
  511. "datenklo.net",
  512. "upload.dj",
  513. "loadfiles.in",
  514. "upit.to",
  515. "dsfileshare.com",
  516. "sharesimple.net",
  517. "4files.net",
  518. "wooupload.com",
  519. "odsiebie.com",
  520. "filenavi.com",
  521. "3oof.com",
  522. "meshwaar.com",
  523. "maxupload.com",
  524. "share.cx",
  525. "atserver.eu",
  526. "hotfiles.ws",
  527. "esnips.com",
  528. "tuxfile.com",
  529. "file2upload.net",
  530. "filebling.com",
  531. "turboshare.com",
  532. "rarhost.com",
  533. "isharehd.com",
  534. "i741.com",
  535. "dataup.de",
  536. "fofly.com",
  537. "shareonall.com",
  538. "sexuploader.com",
  539. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  540. "uploadhyper.com",
  541. "filespawn.com",
  542. "caizzii.com",
  543. "volnyweb.cz",
  544. "usershare.net",
  545. "filescash.net",
  546. "metahyper.com",
  547. "combozip.com",
  548. "x7.to",
  549. "uploadbox.com",
  550. "enterupload.com|flyupload.com",
  551. "filepoint.de",
  552. "mystream.to",
  553. "x-fs.com",
  554. "shareator.com",
  555. "srapid.eu",
  556. "sosame.cz",
  557. "filesdump.com",
  558. "2-klicks.de",
  559. "uploking.com",
  560. "silofiles.com",
  561. "upfile.in",
  562. "filehook.com",
  563. "uploadking.com",
  564. "uploadhere.com",
  565. "kewlshare.com",
  566. "rapidable.com",
  567. "uploadwaste.com",
  568. "filemup.com",
  569. "filesonic.com|sharingmatrix.com",
  570. "fileserve.com",
  571. "wupload.com",
  572. "skipfile.com",
  573. "smartuploader.com",
  574. "dualshare.com",
  575. "storeandserve.com",
  576. "mountfile.com",
  577. "transitfiles.com",
  578. "uploadstation.com",
  579. "filejungle.com",
  580. "shareshared.com",
  581. "quickyshare.com",
  582. "save.am",
  583. "petandrive.com",
  584. "file2box.com",
  585. "flyshare.cz",
  586. "yabadaba.ru",
  587. "cloudcache.cc",
  588. "yourfilehost.com",
  589. "jakfile.com",
  590. "kickload.com",
  591. "pyramidfiles.com",
  592. "refile.net",
  593. "zshare.net",
  594. "ddlani.me|ddlanime.com",
  595. "ftp2share.com",
  596. "fooget.com",
  597. "rapidhide.com",
  598. "gotupload.com",
  599. "mooload.com",
  600. "zupload.com",
  601. "mytempdir.com",
  602. "onionshare.com",
  603. "stahnu.to",
  604. "oron.com",
  605. "badongo.com",
  606. "filereactor.com",
  607. "filegaze.com",
  608. "4bytez.com",
  609. "1hostclick.com",
  610. "anonstream.com",
  611. "batshare.com",
  612. "bitroad.net",
  613. "brontofile.com",
  614. "cloudnxt.net",
  615. "cloudnator.com|shragle.com",
  616. "filesfrog.net",
  617. "coolshare.cz",
  618. "dotavi.com",
  619. "ezyfile.net",
  620. "file-bit.net",
  621. "filecosy.com",
  622. "fileduct.com|fileduct.net",
  623. "filefat.com",
  624. "filelaser.com",
  625. "filemashine.com",
  626. "fileserver.cc",
  627. "filetechnology.com",
  628. "fireuploads.net",
  629. "gigfiles.net",
  630. "holderfile.com",
  631. "ihostia.com",
  632. "k2files.com",
  633. "mojofile.com",
  634. "ovfile.com",
  635. "qshare.com",
  636. "shafiles.me",
  637. "sharefilehost.com",
  638. "shareupload.com",
  639. "stahuj.to",
  640. "ugotfile.com",
  641. "uploadboost.com",
  642. "fileom.com",
  643. "vidhog.com",
  644. "xfileshare.eu",
  645. "bzlink.us",
  646. "bulletupload.com",
  647. "bloggerarticles.com",
  648. "mojedata.sk",
  649. "sharpfile.com",
  650. "upgrand.com",
  651. "nasdilej.cz",
  652. "mediatack.cz",
  653. "share-it.to",
  654. "primeupload.com",
  655. "filebeer.info",
  656. "baberepublic",
  657. "xtu.me",
  658. "sharebase.de",
  659. "luckyshare.net",
  660. "filerobo.com",
  661. "filevelocity.com",
  662. "filezpro.com",
  663. "file4sharing.com",
  664. "cing.be",
  665. "ufile.eu",
  666. "pigsonic.com",
  667. "fileupped.com",
  668. "sharerun.com",
  669. "filesaur.com",
  670. "rapidslnare.com",
  671. "bestsharing.com",
  672. "savefiles.net",
  673. "file2share.biz",
  674. "filecache.de",
  675. "monsteruploads.eu",
  676. "b9bb.com",
  677. "aiotool.net",
  678. "jamber.info",
  679. "megaftp.com",
  680. "desiupload.net",
  681. "file27.com",
  682. "yastorage.com",
  683. "filehost.ws",
  684. "copyload.com",
  685. "venusfile.com",
  686. "aieshare.com",
  687. "terafile.co",
  688. "terafile.com",
  689. "fileza.net",
  690. "filerose.com",
  691. "squillion.com",
  692. "fileprohost.com",
  693. "bitbonus.com",
  694. "warserver.cz",
  695. "uload.to",
  696. "sharedbit.net",
  697. "megaload.it",
  698. "filewinds.com",
  699. "uploadcore.com",
  700. "syfiles.com",
  701. "eyesfile.com",
  702. "hotfile.com",
  703. "superupl.com",
  704. "oteupload.com",
  705. "henchfile.com",
  706. "filegag.com",
  707. "HenchFile.com",
  708. "filedefend.com",
  709. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  710. "megabitshare.com",
  711. "cloudzer.com",
  712. "asfile.com",
  713. "cloudzer.net",
  714. "clz.to",
  715. "extabit.com",
  716. "247upload.com",
  717. "2download.de",
  718. "4fastfile.com",
  719. "asixfiles.com",
  720. "berofile.com",
  721. "bigupload.com",
  722. "cepzo.com",
  723. "clouds.to",
  724. "cobrashare.sk",
  725. "coraldrive.net",
  726. "cyberlocker.ch",
  727. "czshare.com",
  728. "darkport.org",
  729. "dark-uploads.com",
  730. "davvas.com",
  731. "enigmashare.com",
  732. "erofly.cz",
  733. "fastsonic.net",
  734. "filebox.com",
  735. "filecity.net",
  736. "filedap.com",
  737. "filedino.com",
  738. "filedownloads.org",
  739. "filefolks.com",
  740. "fileking.co",
  741. "filemates.com",
  742. "files.to",
  743. "files2k.eu",
  744. "filesector.cc",
  745. "bitshare.com",
  746. "filesega.com",
  747. "filesend.net",
  748. "filestay.com",
  749. "filestrum.com",
  750. "fileuplo.de",
  751. "fileupup.com",
  752. "forunesia.com",
  753. "freeuploads.fr",
  754. "uploa.dk",
  755. "getthebit.com",
  756. "getzilla.net",
  757. "goldfile.eu",
  758. "good.com",
  759. "grupload.com",
  760. "hellfile.com",
  761. "hipfile.com",
  762. "hitfile.com",
  763. "hulkfile.eu|duckfile.net",
  764. "i-filez.com",
  765. "ifile.ws",
  766. "kupload.org",
  767. "packupload.com",
  768. "lemuploads.com",
  769. "limelinx.com",
  770. "maxshare.pl",
  771. "megarelease.org",
  772. "megashare.com",
  773. "minus.com",
  774. "mlfat4arab.com",
  775. "multishare.cz",
  776. "nirafile.com",
  777. "ok2upload.com",
  778. "peejeshare.com",
  779. "premiuns.org",
  780. "przeklej.net",
  781. "qkup.net",
  782. "rapidupload.sk",
  783. "rockdizfile.com",
  784. "rocketfile.net",
  785. "share-now.net",
  786. "share76.com",
  787. "sharebees.com",
  788. "sharefiles.co",
  789. "slingfile.com",
  790. "sms4file.com",
  791. "space4file.com",
  792. "tigershare.net",
  793. "toucansharing.com",
  794. "ubuntuone.com",
  795. "unextfiles.com",
  796. "upaj.pl",
  797. "upfile.biz",
  798. "uploadbin.net",
  799. "uploadic.com",
  800. "uploadinc.com",
  801. "uploading4u.eu",
  802. "uploadjet.net",
  803. "uploadorb.com",
  804. "upthe.net",
  805. "uptorch.com",
  806. "vidbox.yt",
  807. "videozer.com",
  808. "vreer.com",
  809. "wallobit.com",
  810. "zooupload.com",
  811. "privatefiles.com",
  812. "xerver.co",
  813. "BillionUploads.com",
  814. "rapidshare.com",
  815. "rapidshare.ru",
  816. "4savefile.com",
  817. "bayfiles.com",
  818. "bayfiles.net",
  819. "dodane.pl",
  820. "dotsemper.com",
  821. "egofiles.com",
  822. "epicshare.net",
  823. "fiberupload.net",
  824. "filemonkey.in",
  825. "filemonster.net",
  826. "filepom.com",
  827. "filesbb.com",
  828. "fileshareup.com",
  829. "filevice.com",
  830. "gigaup.fr",
  831. "isavelink.com",
  832. "loombo.com",
  833. "megafiles.se",
  834. "migupload.com",
  835. "mydisc.net",
  836. "nitrobits.com",
  837. "potload.com",
  838. "redload.net",
  839. "shareprofi.com",
  840. "sharesuper.info",
  841. "sinhro.net",
  842. "speedfile.cz",
  843. "speedshare.org",
  844. "storage.novoro.net",
  845. "swankshare.com",
  846. "swatupload.com",
  847. "upafile.com",
  848. "uploadmachine.com",
  849. "uploadsat.com",
  850. "upshared.com",
  851. "usefile.com",
  852. "yourfiles.to",
  853. "zomgupload.com",
  854. "ultramegabit.com",
  855. "uploadto.us",
  856. "inafile.com",
  857. "megairon.net",
  858.  
  859. ];
  860. ///////////////////////////////////////////////////////////////////////////////////////
  861. var firstRun = GM_getValue("First_run", true);
  862.  
  863. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  864. //////////////////////////////////////////////////////////////////////////////////////
  865. try
  866. {
  867. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  868. var last_known_version = GM_getValue("last_known_version", "");
  869. if (!last_known_version)
  870. {
  871. last_known_version = thisVersion;
  872. GM_setValue("last_known_version", last_known_version);
  873. }
  874. //var newVersion = !(thisVersion == last_known_version);
  875. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  876. GM_setValue("last_known_version", thisVersion);
  877. }
  878. catch (err)
  879. {
  880. var newVersion = false;
  881. }
  882.  
  883. var now = (new Date()).getTime();
  884. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  885. if (!last_custom_rules_nag)
  886. {
  887. last_custom_rules_nag = now;
  888. GM_setValue('last_custom_rules_nag', ''+now);
  889. }
  890.  
  891.  
  892. allHostNames.sort();
  893. allContainerNames.sort();
  894. allObsoleteNames.sort();
  895.  
  896. var RAND_STRING = "8QyvpOSsRG3QWq";
  897. var DEBUG_MODE = false;
  898.  
  899. var TOOLTIP_MAXWIDTH = 600; //in pixels
  900. var TOOLTIP_THUMBWIDTH = 200;
  901. var containers_processed = false;
  902.  
  903. //settings for keyboard functions start
  904. var CHECK_ALL_LINKS_KEY = "A";
  905. var CONFIGURATION_KEY = "C";
  906. var copy_to_dead_key = "D";
  907. var toggle_autocheck_key = "W";
  908. var toggle_Enable_Anonymizer_key = "Z";
  909. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  910. var first_key_keycodename = 'CTRL';
  911. var second_key_keycode = '18';
  912. var second_key_keycodename = 'ALT';
  913. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  914. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  915. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  916. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  917. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  918. //settings for keyboard functions end
  919.  
  920. //global settings start
  921. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  922. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  923. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  924. var Show_progress_stats, Display_tooltip_info, Icon_set;
  925. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  926. var Progress_box_refresh_rate;
  927. var Obsolete_file_hosts;
  928. var Custom_rules, Custom_rules_text;
  929.  
  930. var messageBox = document.createElement('b'); // top-left message box
  931.  
  932. var cLinksTotal = 0;
  933. var cLinksDead = 0;
  934. var cLinksAlive = 0;
  935. var cLinksUnava = 0;
  936. var cLinksprem = 0;
  937. var cLinksProcessed = 0;
  938.  
  939. var intervalId; //for updateProgress()
  940.  
  941. //icon resources
  942. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSA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ShPIetLXxhASSIY3An1Gr4xkabq70iar9OkOeoWCSqVMAM8hzMiObnIUnQ0RFyR0DkgNylzhh7cB+bmsLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  949. var RSLC_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AQJDBgxYO68rwAAAZNJREFUeNptkr9LW1EcxT/3GhOTKIG8QTpm8B8IIoJTFkFwsXVyUaxFJHYoFzJYUVFHn4sKtoidCoKtIigWOtQOhRKowaFzJwcF0VeJ+fFe7nUwP57R7/S9nO+595z7PQJfGUgAsWqPaUBOC/yrHQI+QjKTXc7GQq4EhP+uKzdUcbtnelvhDzXQQHL2bCkbxhOA5GmZ24LUC73zPWE4lQYSmexynaCmjh5Nq9FdANER1uL9j7nfeUhIIFaVJNXEPrguKvPzgfD2G0iBGt8DkPG4CGiIyapZAWBvDUEoBOfnqPQxaANxC3v7Ze1hoQFpmsTbGwMQicLNNeTz2HaKYuO/4DnTauwLeC6i8wW4ZdSbA9rw/GtB6kaPmjyESATKZVZWUxAMQqnI9MTXOqdGcvRFoSw8o+0Pg1DxsD+PcFcJYH8aphSNsr71CkAH/17danAEQAGSa98zv7x4W9AIpGkRzap18cKU3vUv9lmQq6N5SH7cSZ8Uuqx205SI1rPL/6/HN1MW5GiKC84z2at6dixf9u4B/PqUtJuX27QAAAAASUVORK5CYII=';
  950. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBI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++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAaJJREFUeNpkkk1rE1EUhp9zJ21NpxJocxctiAQXXYkQQQsG/EJo0a0LyW8ws9KFP0E3HQv6D9x1KbixdTGIlrZuzUJLCM2iEykRJ23S5B4XsZOpPXAW957zXM773iNkQquUgAKAAlpISx3vDXunB8kA5Zbb3hr6l032HtDc7/rQzlWWJt6yk0Japfxr4udWN3dRAMP5UI5bzi5cu5F/ya7RKqWW204BG66c6bart0ePX1iQRjP6krygZIDCv5FMce0+cELx9WMAimuPUCPY8B6AmfYXcy5PwWhGW/vpR2AKdB8bPkScIswRBxupB84Dk3EIgDh4j+CjHIImxLV18sM/Z3rOibard1A5wcg8Kn1s+IAjb2bsiAPjlNNvwYbLINOgfQ5q6yCTqBzjv7qbMgoYl6PTTerSY+Di4ANqBrSDz0z1D2nXPtHr+STPNgFcN6mLm6EjAEfPKTea0Y74V5yHmEm8/6d23aRu7M1KOf4afTMAjWa0e6lUua7JDzNEtceATGoWWHx3a7wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  951.  
  952. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVR42mNkIBcwMWQwsDMrMZKhlZmRi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NjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  955. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  956.  
  957. //global settings end
  958. if (window.opera && !window.console)
  959. {
  960. window.console = {};
  961.  
  962. function fn()
  963. {
  964. opera.postError(arguments);
  965. };
  966. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  967. {
  968. window.console[name] = fn;
  969. });
  970. }
  971.  
  972. //displays colored text in message box
  973. function sendMessage(text, color)
  974. {
  975. var msgDiv = document.createElement('div');
  976. msgDiv.style.color = color;
  977. msgDiv.innerHTML = text;
  978. messageBox.appendChild(msgDiv);
  979. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  980. }
  981.  
  982. function linkify(totalourls)
  983. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  984. var ikkeTilladteTags;
  985. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  986. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  987. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  988. allLinksRegex = new RegExp(allLinksRegex, "g");
  989. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  990.  
  991. if (Do_not_linkify_DL_links)
  992. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  993. else
  994. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  995.  
  996. var regex = new RegExp(regexy);
  997. var textNode, muligtLink;
  998.  
  999. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1000. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1001.  
  1002. var i = textNodes.snapshotLength;
  1003. while (i--)
  1004. {
  1005. textNode = textNodes.snapshotItem(i);
  1006.  
  1007. muligtLink = textNode.nodeValue; //all links on page
  1008.  
  1009. var myArray = null;
  1010. var span = null;
  1011. var lastLastIndex = 0;
  1012. allLinksRegex.lastIndex = 0;
  1013. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1014. {
  1015. if (textNode.parentNode.className == "adead_link") continue;
  1016. var censoredLink = muligtLink;
  1017. var span = document.createElement('span');
  1018. span.className = "adead_link";
  1019. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1020. $(span).html(censoredLink);
  1021. span.addEventListener("mouseover", displayTooltipError, false);
  1022. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1023. textNode.parentNode.replaceChild(span, textNode);
  1024. continue;
  1025. alert(censoredLink);
  1026. }
  1027. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1028. {
  1029. if (!regex.test(myArray[0])) //this link is not recognized
  1030. {
  1031.  
  1032. continue;
  1033. }
  1034. if (!span)
  1035. span = document.createElement('span');
  1036.  
  1037. var link = myArray[0];
  1038. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1039.  
  1040. var $a = $("<a>" + link + "</a>")
  1041. if (!link.match(/https?:\/\//))
  1042. {
  1043. link = 'http://' + link;
  1044. }
  1045.  
  1046. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1047. .addClass("processing_link")
  1048. .appendTo(span);
  1049. lastLastIndex = allLinksRegex.lastIndex;
  1050. }
  1051. if (span)
  1052. {
  1053. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1054. textNode.parentNode.replaceChild(span, textNode);
  1055. }
  1056. }
  1057. }
  1058.  
  1059. function add_WARLC_style()
  1060. {
  1061. if (!(document.getElementsByTagName('WARLC')[0]))
  1062. {
  1063. var meta_not_to_add_more_style = document.createElement("WARLC");
  1064. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1065. meta_not_to_add_more_style.setAttribute('name', 'description');
  1066. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1067. alive_link_png = "";
  1068. adead_link_png = "";
  1069. unava_link_png = "";
  1070. prem_link_png = "";
  1071. switch(Icon_set)
  1072. {
  1073. //no icons
  1074. case 0: break;
  1075. // cat paws
  1076. case 1: alive_link_png = PAW_ICON_GREEN;
  1077. adead_link_png = PAW_ICON_RED;
  1078. unava_link_png = PAW_ICON_YELLOW;
  1079. prem_link_png = PAW_ICON_PINK;
  1080. break;
  1081. // classic RSLC look
  1082. case 2: alive_link_png = RSLC_ICON_GREEN;
  1083. adead_link_png = RSLC_ICON_RED;
  1084. unava_link_png = RSLC_ICON_YELLOW;
  1085. prem_link_png = RSLC_ICON_PINK;
  1086. break;
  1087. // New Icons
  1088. case 3: alive_link_png = NEW_ICON_GREEN;
  1089. adead_link_png = NEW_ICON_RED;
  1090. unava_link_png = NEW_ICON_YELLOW;
  1091. prem_link_png = NEW_ICON_PINK;
  1092. break;
  1093. // cat paws
  1094. default:alive_link_png = PAW_ICON_GREEN;
  1095. adead_link_png = PAW_ICON_RED;
  1096. unava_link_png = PAW_ICON_YELLOW;
  1097. prem_link_png = PAW_ICON_PINK;
  1098. break;
  1099. }
  1100. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1101. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1102.  
  1103. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1104.  
  1105. if (Color_DL_links)
  1106. {
  1107. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1108. live_color_css = 'color:' + Live_links_color + ' !important;';
  1109. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1110. container_color_css = 'color:' + Container_links_color + ' !important;';
  1111. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1112. }
  1113. else
  1114. {
  1115. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1116. }
  1117.  
  1118. if (Show_black_background_in_DL_links)
  1119. {
  1120. black_background_css = 'background-color: black !important;';
  1121. }
  1122. else
  1123. {
  1124. black_background_css = '';
  1125. }
  1126.  
  1127. if (Show_line_through_in_dead_links)
  1128. {
  1129. line_through_css = 'text-decoration: line-through !important;';
  1130. }
  1131. else
  1132. {
  1133. line_through_css = '';
  1134. }
  1135.  
  1136. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1137. 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 + "}");
  1138. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1139. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1140. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1141. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1142. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1143. }
  1144. }
  1145.  
  1146. var warlcTooltip = null;
  1147. var mouseoverLink = null; //link href with mouse cursor over it
  1148.  
  1149. var lastX = 0;
  1150. var lastY = 0;
  1151.  
  1152. $(document).ready(initTooltip);
  1153. //inits tooltip
  1154. function initTooltip()
  1155. { warlcTooltip = document.createElement("div");
  1156. 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;");
  1157. warlcTooltip.style.visibility = "hidden";
  1158. document.body.appendChild(warlcTooltip);
  1159. }
  1160.  
  1161. //"mousemove" event handler for all links
  1162. function moveTooltip(event)
  1163. {
  1164. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1165. { //no need to reflow if the cursor moved just a little
  1166. return;
  1167. }
  1168. else
  1169. {
  1170. lastX = event.clientX;
  1171. lastY = event.clientY;
  1172. }
  1173.  
  1174. posX = event.clientX + window.pageXOffset + 10;
  1175. posY = event.clientY + window.pageYOffset;
  1176. var ttHeight = warlcTooltip.offsetHeight;
  1177. var ttFreeSpace = window.innerHeight - event.clientY;
  1178. if (ttHeight > ttFreeSpace)
  1179. { //prevents tooltip from getting out of the window
  1180. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1181. }
  1182. else
  1183. {
  1184. posY += 7;
  1185. }
  1186. warlcTooltip.style.top = posY + "px";
  1187. warlcTooltip.style.left = posX + "px";
  1188. }
  1189.  
  1190. //"mouseout" event handler for all links
  1191. function hideTooltip(){
  1192. warlcTooltip.style.visibility = "hidden";
  1193. mouseoverLink = null;
  1194. }
  1195.  
  1196.  
  1197. //"mouseover" event handler for dead links
  1198. //displays tooltip error message on dead links
  1199. function displayTooltipError()
  1200. {
  1201. mouseoverLink = this.href;
  1202. this.addEventListener("mouseout", hideTooltip);
  1203. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1204. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1205. warlcTooltip.style.minWidth = 0;
  1206. warlcTooltip.style.visibility = "visible";
  1207. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1208. {
  1209. warlcTooltip.innerHTML = this.warlc_error;
  1210. }
  1211. else
  1212. {
  1213. loadErrorInfo(this);
  1214. }
  1215. function loadErrorInfo(link)
  1216. {
  1217. var href = link.href;
  1218. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1219. GM_xmlhttpRequest({
  1220. method: 'GET',
  1221. url: href.replace(Ref_anonymize_service, ""),
  1222. headers: {
  1223. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1224. 'Accept': 'text/xml',
  1225. 'Referer': ""
  1226. },
  1227. onload: function(result) {
  1228. var res = result.responseText;
  1229. //TODO: errorRegexs -
  1230. var errorRegexs = [ //generic error messages follow
  1231. /(empty directory)/i,
  1232. /(soubor nebyl nalezen)/i,
  1233. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1234. //server specific error messages follow
  1235. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1236. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1237. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1238. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1239. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1240. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1241. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1242. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1243. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1244. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1245. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1246. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1247. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1248. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1249. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1250. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1251. /(File has been removed due to Copyright Claim)/, //filerio
  1252. ];
  1253. var errorIdx = errorRegexs.length;
  1254. var error = "Cause of error: <b>unknown</b>";
  1255. var errorCandidate = "";
  1256. while(errorIdx--)
  1257. {
  1258. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1259. if (errorCandidate != null)
  1260. {
  1261. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1262. break;
  1263. }
  1264. }
  1265. //link attributes
  1266. link.warlc_error = error;
  1267. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1268. {
  1269. warlcTooltip.innerHTML = error;
  1270. }
  1271. }
  1272. });
  1273. }
  1274. }
  1275.  
  1276. //"mouseover" event handler for alive links
  1277. //displays tooltip info (file size, file name,...) on alive links
  1278. function displayTooltipInfo()
  1279. {
  1280. mouseoverLink = this.href;
  1281. //exclude direct download filehostings
  1282. 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)/))
  1283. {
  1284. return;
  1285. }
  1286. this.addEventListener("mouseout", hideTooltip);
  1287. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1288. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1289. warlcTooltip.style.minWidth = 0;
  1290. warlcTooltip.style.visibility = "visible";
  1291. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1292. {
  1293. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1294. }
  1295. else
  1296. {
  1297. loadInfo(this);
  1298. }
  1299. function loadInfo(link)
  1300. {
  1301. var href = link.href;
  1302. GM_xmlhttpRequest({
  1303. method: 'GET',
  1304. url: href.replace(Ref_anonymize_service, ""),
  1305. headers: {
  1306. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1307. 'Accept': 'text/xml',
  1308. 'Referer': ""
  1309. },
  1310. onload: function(result) {
  1311. var res = result.responseText;
  1312. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1313. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1314. /fl" title="(.+?)">/, //edisk
  1315. /<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
  1316. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1317. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1318. /title="download (.+?)">/, //sendspace
  1319. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1320. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1321. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1322. /d0FileName = "(.+?)";/, //letitbit
  1323. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1324. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1325. /fname" value="(.+?)">/, //syfiles, grupload,
  1326. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1327. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1328. /Complete name : (.+?)<br \/>/, //bezvadata
  1329. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1330. ];
  1331. var nameIdx = nameRegexs.length;
  1332. // [sizeRegexs]
  1333. // / \ \?
  1334. // prefix (size) postfix
  1335. // / \
  1336. // val quant
  1337. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1338. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1339. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1340. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1341. var postSizeRegex = '(?:\\))?';
  1342. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1343. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1344. ];
  1345. var sizeIdx = sizeRegexs.length;
  1346. //
  1347. //
  1348. var tooltip = "File Name: <b>";
  1349. var fileName = "unknown";
  1350. var nameCandidate = "";
  1351. while(nameIdx--)
  1352. {
  1353. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1354. if (nameCandidate != null)
  1355. {
  1356. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1357. break;
  1358. }
  1359. }
  1360. tooltip += fileName + "</b><br>File Size: <b>";
  1361. var fileSize = "unknown";
  1362. var sizeCandidate = "";
  1363. while(sizeIdx--)
  1364. {
  1365. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1366. if (sizeCandidate != null)
  1367. {
  1368. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1369. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1370. {
  1371. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1372. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1373. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1374. }
  1375. break;
  1376. }
  1377. }
  1378. tooltip += fileSize + "</b>";
  1379. // PROTOTYPE
  1380. // video thumbnails
  1381. if (href.match('hellshare'))
  1382. {
  1383. var thumbs;
  1384. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1385. if (thumbs)
  1386. {
  1387. tooltip += '<br>';
  1388. var j = Math.min(thumbs.length, 9);
  1389. for (var i = 0; i < j; i++)
  1390. {
  1391. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1392. }
  1393. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1394. }
  1395. }
  1396. if (href.match('czshare'))
  1397. {
  1398. var thumbs;
  1399. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1400. if (thumbs)
  1401. {
  1402. var thumbsServer = thumbs[1];
  1403. var thumbsId = thumbs[2];
  1404. tooltip += '<br>';
  1405. for (var i = 1; i < 9; i++)
  1406. {
  1407. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1408. }
  1409. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1410. }
  1411. }
  1412. if (href.match('bezvadata'))
  1413. {
  1414. var thumbs;
  1415. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1416. if (thumbs)
  1417. {
  1418. tooltip += '<br>';
  1419. var j = Math.min(thumbs.length, 9);
  1420. for (var i = 0; i < j; i++)
  1421. {
  1422. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1423. }
  1424. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1425. }
  1426. }
  1427. link.warlc_tooltipcache = tooltip;
  1428. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1429. {
  1430. warlcTooltip.innerHTML = tooltip;
  1431. }
  1432. }
  1433. });
  1434. }
  1435. }
  1436.  
  1437. function setVariables()
  1438. {
  1439. if (firstRun)
  1440. {
  1441. GM_log('First run, applying default settings...');
  1442. GM_setValue("Icon_set",1);
  1443. GM_setValue("Display_tooltip_info",true);
  1444. GM_setValue("Show_black_background_in_DL_links",false);
  1445. GM_setValue("Show_line_through_in_dead_links",false);
  1446. GM_setValue("Display_full_links_in_link_containers",false);
  1447. GM_setValue("Allow_spaces_in_DL_links",false);
  1448. GM_setValue("Autocheck",true);
  1449. GM_setValue("Enable_Anonymizer",false);
  1450. GM_setValue("Do_not_linkify_DL_links",false);
  1451. GM_setValue("Show_progress_stats",true);
  1452. GM_setValue("Keyboard_functions",true);
  1453. GM_setValue("Obsolete_file_hosts",false);
  1454. GM_setValue("Color_DL_links",true);
  1455. GM_setValue("Live_links_color","Green");
  1456. GM_setValue("Dead_links_color","#FF3300");
  1457. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1458. GM_setValue("Container_links_color","DarkKhaki");
  1459. GM_setValue("Premium_links_color","DeepPink");
  1460. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1461. GM_setValue("Custom_rules",false);
  1462. GM_setValue("Custom_rules_text","");
  1463. GM_setValue("First_run", false);
  1464. }
  1465. //hidden settings
  1466. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1467. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1468. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1469. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1470. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1471. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1472. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1473. //hidden settings end
  1474.  
  1475. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1476. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1477. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1478. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1479. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1480. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1481. Autocheck = GM_getValue("Autocheck", true);
  1482. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1483. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1484. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1485. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1486. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1487. Color_DL_links = GM_getValue("Color_DL_links", true);
  1488. Live_links_color = GM_getValue("Live_links_color", "Green");
  1489. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1490. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1491. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1492. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1493. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1494. Custom_rules = GM_getValue("Custom_rules", false);
  1495. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1496. }
  1497.  
  1498.  
  1499. // Delinkifies the links
  1500. // params:
  1501. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1502. // e.g. 'uloz.to/xs68skxl8')
  1503. function delinkifySnapshot(snapshot)
  1504. {
  1505. var n = snapshot.snapshotLength;
  1506.  
  1507. while (n--)
  1508. {
  1509. thisLink = snapshot.snapshotItem(n);
  1510.  
  1511. var spanElm = document.createElement("span");
  1512. spanElm.className = thisLink.className;
  1513. spanElm.innerHTML = thisLink.innerHTML;
  1514.  
  1515. if (Display_tooltip_info)
  1516. {
  1517. spanElm.href = thisLink.href;
  1518. switch (thisLink.className){
  1519. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1520. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1521. case "unava_link": //reserved
  1522. default:
  1523. }
  1524. }
  1525. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1526. }
  1527. }
  1528.  
  1529. function processContainers()
  1530. {
  1531. var redirectorTypes = { "HTTP_302": 0,
  1532. "INNER_LINK": 1,
  1533. "THELOO_KATT_IT": 2,
  1534. "CING_BE": 3,
  1535. "ADF_LY": 4};
  1536. var cMultiloadTotal = 0;
  1537. var cMultiloadProcessed = 0;
  1538.  
  1539. var cMirrorcreatorComTotal = 0;
  1540. var cMirrorcreatorComProcessed = 0;
  1541.  
  1542. var hostRestrictionRegex = "";
  1543. var multiloadComRestriction = "";
  1544. var multiloadComRestrictionRegex;
  1545.  
  1546. //
  1547. //HANDLING REDIRECTORS START
  1548. //
  1549.  
  1550. var redirectors = new Array();
  1551. initRedirectors();
  1552.  
  1553. var redirectorsCount = redirectors.length;
  1554.  
  1555. if (redirectorsCount > 0)
  1556. {
  1557. var allRedirectorsRegex = "";
  1558.  
  1559. //linkify redirector links
  1560. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1561. {
  1562. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1563. }
  1564. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1565. linkify(allRedirectorsRegex);
  1566. //
  1567. //process redirector links
  1568. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1569. {
  1570. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1571. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1572.  
  1573. cLinksTotal += redirectors[redirIdx].cTotal;
  1574. var linkIdx = redirectors[redirIdx].cTotal;
  1575.  
  1576. while(linkIdx--)
  1577. {
  1578. switch(redirectors[redirIdx].type)
  1579. {
  1580. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1581. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1582. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1583. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1584. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1585. default:
  1586. }
  1587. }
  1588. }
  1589. //
  1590. }
  1591.  
  1592. //HTTP_302
  1593. function processRedirectorLink(link, redirectorId)
  1594. {
  1595. link.className = 'container_link';
  1596.  
  1597. GM_xmlhttpRequest({
  1598. method: 'HEAD',
  1599. url: link.href,
  1600. headers: {
  1601. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1602. 'Accept': 'text/xml',
  1603. 'Referer': ""
  1604. },
  1605. onload: function(result) {
  1606. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1607. {
  1608. processRedirectorLink(link, redirectorId);
  1609. }
  1610. else
  1611. {
  1612. redirectors[redirectorId].cProcessed++;
  1613. link.href = result.finalUrl;
  1614. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1615. checkLinks('container_link');
  1616. }
  1617. },
  1618. onerror: function(result) { //probably caused by unresponsive filehosting
  1619. redirectors[redirectorId].cProcessed++;
  1620. link.className = 'unava_link';
  1621. cLinksProcessed++;
  1622. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1623. checkLinks('container_link');
  1624. }
  1625. });
  1626. }
  1627. //INNER_LINK
  1628. function processRedirectorLinkEx(link, redirectorId)
  1629. {
  1630. link.className = 'container_link';
  1631. GM_xmlhttpRequest({
  1632. method: 'GET',
  1633. url: link.href,
  1634. headers: {
  1635. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1636. 'Accept': 'text/xml',
  1637. 'Referer': ""
  1638. },
  1639. onload: function(result) {
  1640. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1641. redirectors[redirectorId].cProcessed++;
  1642. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1643. checkLinks('container_link');
  1644. }
  1645. });
  1646. }
  1647. //theloo.katt.it (wrapped safelinking.net)
  1648. function processThelooKattItLink(link, redirectorId)
  1649. {
  1650. link.className = 'container_link';
  1651. GM_xmlhttpRequest({
  1652. method: 'GET',
  1653. url: link.href,
  1654. headers: {
  1655. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1656. 'Accept': 'text/xml',
  1657. 'Referer': ""
  1658. },
  1659. onload: function(result) {
  1660. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1661. redirectors[redirectorId].cProcessed++;
  1662. //the inner links are safelinking.net links, so lets proceed with it
  1663. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1664. {
  1665. processRedirectorLink(link, 0);
  1666. }
  1667. }
  1668. });
  1669. }
  1670. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1671. function processAdfLyLink(link, redirectorId)
  1672. {
  1673. link.className = 'container_link';
  1674. GM_xmlhttpRequest({
  1675. method: 'GET',
  1676. url: link.href,
  1677. headers: {
  1678. 'User-agent': 'Mozilla/4.0',
  1679. 'Accept': 'text/xml',
  1680. 'Referer': ""
  1681. },
  1682. onload: function(result) {
  1683. if (result.finalUrl.match('/locked/'))
  1684. {
  1685. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1686. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1687. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1688. }
  1689. else
  1690. {
  1691. // GM_log('Processing... ' + link.href);
  1692. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1693. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1694. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1695. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1696. //confirm advert
  1697. GM_xmlhttpRequest(
  1698. {
  1699. method: 'POST',
  1700. url: 'http://adf.ly/l.php',
  1701. headers: {
  1702. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1703. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1704. 'Referer': link.href
  1705. },
  1706. data: users + '&lt=' + logToken,
  1707. onload: function(result) {
  1708. //retrieve final url from .../go/... link
  1709. GM_xmlhttpRequest({
  1710. method: 'GET',
  1711. url: directLink,
  1712. headers: {
  1713. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1714. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1715. 'Referer': link.href
  1716. },
  1717. onload: function(result) {
  1718. link.href = result.finalUrl;
  1719. redirectors[redirectorId].cProcessed++;
  1720. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1721. checkLinks('container_link');
  1722. }
  1723. });
  1724. }
  1725. });
  1726. }
  1727. }
  1728. });
  1729. function proceedOK()
  1730. {
  1731. }
  1732. }
  1733. //MULTILOAD.CZ START
  1734. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1735. {
  1736. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1737. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1738.  
  1739. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1740.  
  1741. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1742. hostRestrictionRegex += 'hellshare|';
  1743. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1744. hostRestrictionRegex += 'downloadhellshare|';
  1745. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1746. hostRestrictionRegex += 'share-rapid\\.com|';
  1747. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1748. hostRestrictionRegex += 'quickshare\\.cz|';
  1749. if (GM_getValue("Check_czshare_dot_com_links", false))
  1750. hostRestrictionRegex += 'czshare\\.com|';
  1751. if (GM_getValue("Check_uloz_dot_to_links", false))
  1752. hostRestrictionRegex += 'uloz\\.to|';
  1753. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1754. hostRestrictionRegex += 'hellspy|';
  1755. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1756. hostRestrictionRegex += 'multishare\\.cz|';
  1757.  
  1758. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1759.  
  1760. linkify(mlRegex);
  1761.  
  1762. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1763. var mlCount = mlSnapshot.snapshotLength;
  1764.  
  1765. if (mlCount > 0)
  1766. {
  1767. cMultiloadTotal += mlCount;
  1768.  
  1769. mlIdx = mlCount - 1;
  1770. do
  1771. {
  1772. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1773. }
  1774. while(mlIdx--)
  1775. }
  1776. }
  1777. //MULTILOAD.CZ END
  1778.  
  1779.  
  1780.  
  1781. function processMultiloadLink(mlLink)
  1782. {
  1783. GM_xmlhttpRequest({
  1784. method: 'GET',
  1785. url: mlLink.href,
  1786. headers: {
  1787. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1788. 'Accept': 'text/xml',
  1789. 'Referer': ""
  1790. },
  1791. onload: function(result) {
  1792. var res = result.responseText;
  1793.  
  1794. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1795. 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;
  1796. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1797. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1798.  
  1799. var blocks; // blocks of links
  1800. var blockIdx;
  1801.  
  1802. mlLink.className = '';
  1803.  
  1804. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1805. {
  1806. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1807. return;
  1808. }
  1809.  
  1810. blocks = res.match(innerBlockRegex);
  1811.  
  1812. if (blocks == null) //no links found, cancel further processing
  1813. {
  1814. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1815. cMultiloadProcessed++;
  1816. if (cMultiloadTotal <= cMultiloadProcessed)
  1817. {
  1818. startBulkCheck('container_link');
  1819. start('container_link');
  1820. }
  1821. return;
  1822. }
  1823.  
  1824. blockIdx = blocks.length;
  1825.  
  1826. if (Display_full_links_in_link_containers)
  1827. {
  1828. var ulElm = document.createElement('ul');
  1829. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1830.  
  1831. while(blockIdx--)
  1832. {
  1833. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1834. {
  1835. continue;
  1836. }
  1837.  
  1838. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1839.  
  1840. var linkIdx = innerLinks.length;
  1841. while (linkIdx--)
  1842. {
  1843. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1844.  
  1845. var liElm = document.createElement('li');
  1846.  
  1847. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1848. {
  1849. liElm.appendChild(document.createTextNode(innerLink));
  1850. }
  1851. else
  1852. {
  1853. var aElm = document.createElement('a');
  1854. aElm.innerHTML = innerLink;
  1855. aElm.href = innerLink;
  1856. aElm.className = 'container_link';
  1857.  
  1858. liElm.appendChild(aElm);
  1859. }
  1860.  
  1861. ulElm.appendChild(liElm);
  1862. cLinksTotal++;
  1863. }
  1864. }
  1865.  
  1866. mlLink.parentNode.appendChild(ulElm);
  1867. }
  1868. else //compact view
  1869. {
  1870. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1871.  
  1872. while(blockIdx--)
  1873. {
  1874. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1875. {
  1876. continue;
  1877. }
  1878.  
  1879. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1880.  
  1881. var linkIdx = innerLinks.length;
  1882. while (linkIdx--)
  1883. {
  1884. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1885.  
  1886. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1887. {
  1888. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1889. }
  1890. else
  1891. {
  1892. var aElm = document.createElement('a');
  1893.  
  1894. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1895.  
  1896. //abbreviate host name
  1897. switch(hostName + ""){
  1898.  
  1899. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1900. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1901. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1902. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1903. case 'multishare': aElm.innerHTML = 'MS'; break;
  1904. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1905. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1906. case 'czshare': aElm.innerHTML = 'CS'; break;
  1907. default: aElm.innerHTML = 'xx';
  1908.  
  1909. }
  1910.  
  1911. aElm.href = innerLink;
  1912. aElm.className = 'container_link';
  1913.  
  1914. mlLink.parentNode.appendChild(aElm);
  1915. cLinksTotal++;
  1916. }
  1917. }
  1918.  
  1919. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1920.  
  1921. }
  1922. }
  1923.  
  1924. cMultiloadProcessed++;
  1925. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1926. {
  1927. if (Do_not_linkify_DL_links)
  1928. {
  1929. delinkifySnapshot(mlSnapshot);
  1930. }
  1931. startBulkCheck('container_link');
  1932. start('container_link');
  1933. }
  1934. }
  1935. });
  1936. }
  1937.  
  1938.  
  1939. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1940. {
  1941. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1942. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1943. var mcShortHostNames =
  1944. '?? 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';
  1945. // 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
  1946. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1947. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1948. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1949. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1950.  
  1951. linkify(mcRegex);
  1952.  
  1953. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1954. var mcCount = mcSnapshot.snapshotLength;
  1955.  
  1956. cMirrorcreatorComTotal = mcCount;
  1957.  
  1958. if (mcCount > 0)
  1959. {
  1960. mcShortHostNames = mcShortHostNames.split(' ');
  1961. mcIdx = mcCount;
  1962. while(mcIdx--)
  1963. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1964. }
  1965.  
  1966. }
  1967. //MIRRORCREATOR.CZ END
  1968.  
  1969.  
  1970. //mirrorcreator.com checking works like this:
  1971. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1972. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1973. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1974. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1975. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1976. function processMirrorcreatorLink(mcLink)
  1977. {
  1978. var mcURL = mcLink.href.match(mcRegex);
  1979. if(!mcURL || !mcURL[1]) return;
  1980. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1981. GM_xmlhttpRequest({
  1982. method: 'GET',
  1983. url: mcURL,
  1984. headers: {
  1985. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1986. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1987. 'Referer': ""
  1988. },
  1989. onload: function(mcLinkResult) {
  1990. var mcLinkRes = mcLinkResult.responseText;
  1991.  
  1992. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  1993. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  1994.  
  1995. var mcRedirectors;
  1996. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  1997. var m = mcLinkRes.match(mcLinkBlockRegex);
  1998. if (m)
  1999. mcHostsFound = m.length;
  2000. else
  2001. { //no files inside container
  2002. processMirrorcreatorFoundHosts(mcLink, []);
  2003. return;
  2004. }
  2005.  
  2006. var mcRedirectorURL, idx, timedOut = false;
  2007.  
  2008. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2009. GM_xmlhttpRequest({
  2010. method: 'GET',
  2011. url: mcRedirectorURL,
  2012. headers: {
  2013. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2014. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2015. 'Referer': ""
  2016. },
  2017. onload: function(mcHostResult) {
  2018. if (timedOut) return; //too late, the list is already displayed
  2019. var mcHostRes = mcHostResult.responseText;
  2020. var mcHost = mcHostRes.match(mcHostRegex);
  2021. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2022. if (mcHost && idx!=-1)
  2023. {
  2024. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2025. mcHostsRetrieved++;
  2026. mcHostsToProcess++;
  2027. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2028. {
  2029. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2030. mcHostsToProcess = 0;
  2031. }
  2032. }
  2033. } //end of onload: function
  2034. }); //end of GM_xmlhttpRequest call
  2035. };//end of var gmxhrFunc
  2036.  
  2037. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2038. { //load individual redirector pages
  2039. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2040. mcHostURLs.push(mcRedirectorURL);
  2041. mcRedirectorIDs.push(mcRedirectors[2]);
  2042. gmxhrFunc(mcRedirectorURL);
  2043. } //end of while block
  2044.  
  2045. setTimeout(function(){ //in case the last page fails to load and call the function
  2046. timedOut = true;
  2047. if (mcHostsToProcess)
  2048. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2049. }, 60000);
  2050.  
  2051. } //end of onload function
  2052. }); //end of GM_xmlhttpRequest call
  2053. } //end of function processMirrorcreatorLink
  2054.  
  2055.  
  2056. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2057. {
  2058. var aEl, liEl, docFrag;
  2059. var hostName, mcRedirectorID, trimFilename = false;
  2060. var i = mcHostURLs.length;
  2061. if (i == 0)
  2062. {
  2063. trimFilename = true;
  2064. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2065. }
  2066. else
  2067. {
  2068. if (Display_full_links_in_link_containers)
  2069. { //full view
  2070. var wrapperEl = document.createElement('span');
  2071. wrapperEl.style.display = 'block';
  2072. var ulistEl = document.createElement('ul');
  2073. ulistEl.className = 'container_list';
  2074. while (i--)
  2075. {
  2076. liEl = document.createElement('li');
  2077. aEl = document.createElement('a');
  2078. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2079. aEl.href = mcHostURLs[i];
  2080. aEl.className = 'container_link';
  2081. liEl.appendChild(aEl);
  2082. ulistEl.appendChild(liEl);
  2083. }
  2084. wrapperEl.appendChild(ulistEl);
  2085. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2086. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2087. }
  2088. else
  2089. { //compact view
  2090. trimFilename = true;
  2091. docFrag = document.createDocumentFragment();
  2092. docFrag.appendChild(document.createTextNode(' |'));
  2093. while (i--)
  2094. {
  2095. mcRedirectorID = mcRedirectorIDs[i];
  2096. hostName = mcHostURLs[i];
  2097. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2098. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2099. else
  2100. hostName = mcShortHostNames[mcRedirectorID];
  2101. aEl = document.createElement('a');
  2102. aEl.href = mcHostURLs[i];
  2103. aEl.className = 'container_link';
  2104. aEl.appendChild(document.createTextNode(hostName));
  2105. docFrag.appendChild(aEl);
  2106. docFrag.appendChild(document.createTextNode('|'));
  2107. }
  2108. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2109. } //end of else block
  2110. } //end of else block
  2111. mcLink.className = '';
  2112. if (trimFilename)
  2113. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2114. cMirrorcreatorComProcessed++;
  2115. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2116. {
  2117. if (Do_not_linkify_DL_links)
  2118. delinkifySnapshot(mcSnapshot);
  2119. startBulkCheck('container_link');
  2120. start('container_link');
  2121. }
  2122. } //end of function processMirrorcreatorFoundHosts
  2123.  
  2124. containers_processed = true;
  2125.  
  2126.  
  2127. function initRedirectors()
  2128. {
  2129. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2130. {
  2131. var redirector = new Object();
  2132. redirector.linkRegex = linkRegex;
  2133. redirector.xpath = xpathEx; //xpath expression
  2134. redirector.cProcessed = 0; //processed links count
  2135. redirector.cTotal = 0; //total links count
  2136. redirector.type = redirType; //redirectorTypes enum
  2137. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2138. redirectors.push(redirector);
  2139. }
  2140. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2141. {
  2142. addRedirector(
  2143. 'safelinking\\.net\/d\/\\w+',
  2144. "//a[contains(@href,'safelinking.net/d/')]",
  2145. redirectorTypes.HTTP_302,
  2146. null);
  2147. }
  2148. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2149. {
  2150. addRedirector(
  2151. 'linksafe\\.me\/d\/\\w+',
  2152. "//a[contains(@href,'linksafe.me/d/')]",
  2153. redirectorTypes.HTTP_302,
  2154. null);
  2155. }
  2156. if (GM_getValue("Check_linkto_dot_net_links", false))
  2157. {
  2158. addRedirector(
  2159. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2160. "//a[contains(@href,'linkto.net/?')]",
  2161. redirectorTypes.INNER_LINK,
  2162. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2163. }
  2164. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2165. {
  2166. addRedirector(
  2167. '(?:the)?loo\\.katt\\.it\/\\w+',
  2168. "//a[contains(@href,'loo.katt.it/')]",
  2169. redirectorTypes.THELOO_KATT_IT,
  2170. /Proceed to URL - <a href="(.+?)">/);
  2171. }
  2172. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2173. {
  2174. addRedirector(
  2175. 'madlink\\.sk\/\\w+',
  2176. "//a[contains(@href,'madlink.sk/')]",
  2177. redirectorTypes.INNER_LINK,
  2178. /name="url" value="(.+?)\s*"\/>/);
  2179. }
  2180. if (GM_getValue("Check_adf_dot_ly_links", false))
  2181. {
  2182. addRedirector(
  2183. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2184. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2185. redirectorTypes.ADF_LY,
  2186. null);
  2187. }
  2188. if (GM_getValue("Check_redi_dot_re_links", false))
  2189. {
  2190. addRedirector(
  2191. 'redi\\.re\/\\w+',
  2192. "//a[contains(@href,'redi.re/')]",
  2193. redirectorTypes.HTTP_302,
  2194. null);
  2195. }
  2196. if (GM_getValue("Check_bit_dot_ly_links", false))
  2197. {
  2198. addRedirector(
  2199. 'bit\\.ly\/\\w+',
  2200. "//a[contains(@href,'bit.ly/')]",
  2201. redirectorTypes.HTTP_302,
  2202. null);
  2203. }
  2204. }
  2205.  
  2206. }
  2207.  
  2208. var bulkHosts = new Array();
  2209. var bulkHostNames = new Array();
  2210. function initBulkCheck()
  2211. {
  2212. /////////////////////////////
  2213. // Inits filehost object
  2214. /////////////////////////////
  2215. // params :
  2216. // hostName -- [string] host name (multiple domains separated with coma)
  2217. // linkRegex -- [string] link regex
  2218. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2219. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2220. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2221. // corrReplWhat -- [regex] link correction regex (replace)
  2222. // corrReplWith -- [string]
  2223. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2224. //
  2225. // apiUrl -- [string] web linkchecker or API URL
  2226. // postData -- [string] POSTDATA of xmlhttprequest
  2227. // resLinkRegex -- [regex]
  2228. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2229. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2230. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2231. // func -- [function] bulkcheck handler, genBulkCheck if null
  2232. //
  2233. //////////////////////////////
  2234. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2235. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2236. {
  2237. var fileHost = new Object();
  2238.  
  2239. fileHost.linkRegex = linkRegex;
  2240. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2241. fileHost.xpath = xpath;
  2242. fileHost.cFound = 0; //found links counter
  2243. fileHost.links = new Array(); //found links
  2244. if (blockSize == null)
  2245. {
  2246. fileHost.blockSize = 50;
  2247. }
  2248. else
  2249. {
  2250. fileHost.blockSize = blockSize;
  2251. }
  2252. fileHost.corrMatch = corrMatch;
  2253. fileHost.corrReplWhat = corrReplWhat;
  2254. fileHost.corrReplWith = corrReplWith;
  2255. if (splitSeparator == null)
  2256. {
  2257. fileHost.splitSeparator = "\r\n";
  2258. }
  2259. else
  2260. {
  2261. fileHost.splitSeparator = splitSeparator;
  2262. }
  2263. fileHost.apiUrl = apiUrl;
  2264. fileHost.postData = postData;
  2265. fileHost.resLinkRegex = resLinkRegex;
  2266. fileHost.resLiveRegex = resLiveRegex;
  2267. fileHost.resDeadRegex = resDeadRegex;
  2268. fileHost.resUnavaRegex = resUnavaRegex;
  2269. if (func == null)
  2270. {
  2271. fileHost.func = genBulkCheck;
  2272. }
  2273. else
  2274. {
  2275. fileHost.func = func;
  2276. }
  2277. bulkHosts.push(fileHost);
  2278. var names = hostName.split(',');
  2279. var i = names.length;
  2280. while(i--)
  2281. {
  2282. bulkHostNames[names[i]] = fileHost;
  2283. }
  2284. }
  2285. var genType1 = [
  2286. "rodfile.com", "downloadani.me", //"migahost.com",
  2287. "rarefile.net",
  2288. "filesabc.com",
  2289. "verzend.be", //"180upload.com",
  2290. // "movreel.com",
  2291. "4up.me",
  2292. "file4safe.com", "filemac.com", "4upfiles.com",
  2293. "idup.in", "novafile.com", "longfiles.com",
  2294. "bitupload.com",
  2295. "uploadbaz.com"
  2296. ];
  2297. var genType2 = [ "queenshare.com",
  2298. "hulkload.com",
  2299. "amonshare.com", //"edoc.com",
  2300. ];
  2301. //xfilesharing 1.0
  2302. function addGenericType1()
  2303. {
  2304. var i = genType1.length;
  2305. while(i--)
  2306. {
  2307. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2308. {
  2309. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2310. addHost(
  2311. genType1[i].match(/[\w-]+/)[0], //hostname
  2312. regexSafe + "\/\\w+", //linkregex
  2313. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2314. null, //blocksize
  2315. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2316. null, //corrreplwhat
  2317. null, //corrreplwith
  2318. null, //separator
  2319. "http://" + genType1[i] + "/checkfiles.html", //api url
  2320. "op=checkfiles&process=Check+URLs&list=", //postdata
  2321. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2322. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2323. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2324. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2325. null //function delegate
  2326. )
  2327. }
  2328. }
  2329. }
  2330. //xfilesharing 2.0
  2331. function addGenericType2()
  2332. {
  2333. var i = genType2.length;
  2334. while(i--)
  2335. {
  2336. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2337. {
  2338. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2339. addHost(
  2340. genType2[i].match(/[\w-]+/)[0], //hostname
  2341. regexSafe + "\/\\w+", //linkregex
  2342. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2343. null, //blocksize
  2344. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2345. null, //corrreplwhat
  2346. null, //corrreplwith
  2347. null, //separator
  2348. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2349. "op=checkfiles&process=Check+URLs&list=", //postdata
  2350. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2351. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2352. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2353. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2354. null //function delegate
  2355. )
  2356. }
  2357. }
  2358. }
  2359. // TEMPLATE
  2360. // if (GM_getValue("Check__dot_com_links", false))
  2361. // {
  2362. // addHost(
  2363. // "", //hostname
  2364. // "", //linkregex
  2365. // "//a[contains(@href,'.com/')]", //xpath
  2366. // null, //blocksize
  2367. // null, //corrmatch
  2368. // null, //corrreplwhat
  2369. // null, //corrreplwith
  2370. // null, //separator
  2371. // "", //api url
  2372. // "", //postdata
  2373. // /()/, //linkregex
  2374. // //liveregex
  2375. // //deadregex
  2376. // //unavaregex
  2377. // null //function delegate
  2378. // )
  2379. // }
  2380. addGenericType1();
  2381. addGenericType2();
  2382.  
  2383. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2384. {
  2385. addHost(
  2386. "myvdrive,fileserving", //hostname
  2387. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2388. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2389. null, //blocksize
  2390. null, //corrmatch
  2391. null, //corrreplwhat
  2392. null, //corrreplwith
  2393. null, //separator
  2394. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2395. "links=", //postdata
  2396. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2397. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2398. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2399. null, //unavaregex
  2400. null //function delegate
  2401. )
  2402. }
  2403. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2404. {
  2405. addHost(
  2406. "hackerbox", //hostname
  2407. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2408. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2409. null, //blocksize
  2410. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2411. null, //corrreplwhat
  2412. null, //corrreplwith
  2413. null, //separator
  2414. "http://host.hackerbox.org/checkfiles.html", //api url
  2415. "op=checkfiles&process=Check+URLs&list=", //postdata
  2416. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2417. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2418. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2419. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2420. null //function delegate
  2421. )
  2422. }
  2423. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2424. {
  2425. addHost(
  2426. "hellshare", //hostname
  2427. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2428. "//a[contains(@href,'hellshare.')]", //xpath
  2429. 48, //blocksize
  2430. null, //corrmatch
  2431. null, //corrreplwhat
  2432. null, //corrreplwith
  2433. null, //separator
  2434. null, //api url
  2435. null, //postdata
  2436. null, //linkregex
  2437. null, //liveregex
  2438. null, //deadregex
  2439. null, //unavaregex
  2440. hellshareBulkCheck //function delegate
  2441. )
  2442. }
  2443. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2444. {
  2445. addHost(
  2446. "ncrypt", //hostname
  2447. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2448. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2449. 100000, //blocksize
  2450. null, //corrmatch
  2451. null, //corrreplwhat
  2452. null, //corrreplwith
  2453. null, //separator
  2454. null,
  2455. null,
  2456. null,
  2457. null,
  2458. null,
  2459. null,
  2460. ncryptBulkCheck //function delegate
  2461. )
  2462. }
  2463. if (GM_getValue("Check_geupload_dot_com_links", false))
  2464. {
  2465. addHost(
  2466. "geupload,lenfile", //hostname
  2467. "(?:geupload\\.com|lenfile\\.com)\/\\w+", //linkregex
  2468. "//a[contains(@href,'geupload.com/') or contains(@href,'lenfile.com/')]", //xpath
  2469. null, //blocksize
  2470. null, //corrmatch
  2471. null, //corrreplwhat
  2472. null, //corrreplwith
  2473. "\n", //separator
  2474. 'http://geupload.com/?op=checkfiles',
  2475. 'op=checkfiles&process=Check+URLs&list=',
  2476. />http:\/\/(?:geupload|lenfile)\.com\/(\w+)/,
  2477. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:green/g,
  2478. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:red/g,
  2479. null,
  2480. null
  2481. )
  2482. }
  2483. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2484. {
  2485. addHost(
  2486. "uploadrocket", //hostname
  2487. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2488. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2489. null, //blocksize
  2490. null, //corrmatch
  2491. null, //corrreplwhat
  2492. null, //corrreplwith
  2493. "\n", //separator
  2494. 'http://uploadrocket.net/?op=checkfiles',
  2495. 'op=checkfiles&process=Check+URLs&list=',
  2496. /uploadrocket.net\/(\w+)/,
  2497. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2498. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2499. null,
  2500. null //function delegate
  2501. )
  2502. }
  2503. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2504. {
  2505. addHost(
  2506. "k2s,keep2s,keep2share",
  2507. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2508. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2509. 100000, //blocksize
  2510. null, //corrmatch
  2511. null, //corrreplwhat
  2512. null, //corrreplwith
  2513. null, //separator
  2514. null,
  2515. null,
  2516. null,
  2517. null,
  2518. null,
  2519. null,
  2520. k2sBulkCheck //function delegate
  2521. )
  2522. }
  2523. if (GM_getValue("Check_fboom_dot_me_links", false))
  2524. {
  2525. addHost(
  2526. "fboom,fileboom",
  2527. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2528. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2529. 100000, //blocksize
  2530. null, //corrmatch
  2531. null, //corrreplwhat
  2532. null, //corrreplwith
  2533. null, //separator
  2534. null,
  2535. null,
  2536. null,
  2537. null,
  2538. null,
  2539. null,
  2540. fboomBulkCheck //function delegate
  2541. )
  2542. }
  2543. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2544. {
  2545. addHost(
  2546. "1fichier,dl4free",
  2547. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2548. "//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/?')]",
  2549. 100000, //blocksize
  2550. null, //corrmatch
  2551. null, //corrreplwhat
  2552. null, //corrreplwith
  2553. null, //separator
  2554. null,
  2555. null,
  2556. null,
  2557. null,
  2558. null,
  2559. null,
  2560. dl4free_1fichier_BulkCheck //function delegate
  2561. )
  2562. }
  2563. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2564. {
  2565. addHost(
  2566. "depositfiles,dfiles",
  2567. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2568. "//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/')]",
  2569. 100000, //blocksize
  2570. null, //corrmatch
  2571. null, //corrreplwhat
  2572. null, //corrreplwith
  2573. null, //separator
  2574. null,
  2575. null,
  2576. null,
  2577. null,
  2578. null,
  2579. null,
  2580. depositfilesBulkCheck //function delegate
  2581. )
  2582. }
  2583. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2584. {
  2585. addHost(
  2586. "filesflash", //hostname
  2587. "filesflash\\.com\/\\w+", //linkregex
  2588. "//a[contains(@href,'filesflash.com')]", //xpath
  2589. null, //blocksize
  2590. null, //corrmatch
  2591. /http:\/\//, //corrreplwhat
  2592. '', //corrreplwith
  2593. null, //separator
  2594. 'http://filesflash.com/checklinks.php',
  2595. 'submit=Go&links=',
  2596. /filesflash\.com\/(\w+)/,
  2597. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2598. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2599. null,
  2600. null //function delegate
  2601. )
  2602. }
  2603. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2604. {
  2605. addHost(
  2606. "jumbofiles", //hostname
  2607. "jumbofiles\\.com\/\\w+", //linkregex
  2608. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2609. null, //blocksize
  2610. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2611. null, //corrreplwhat
  2612. null, //corrreplwith
  2613. null, //separator
  2614. "http://jumbofiles.com/checkfiles.html", //api url
  2615. "op=checkfiles&process=Check+URLs&list=", //postdata
  2616. /(jumbofiles\.com\/\w+)/, //linkregex
  2617. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2618. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2619. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2620. null //function delegate
  2621. )
  2622. }
  2623. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2624. {
  2625. addHost(
  2626. "edisk", //hostname
  2627. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2628. "//a[contains(@href,'edisk.')]", //xpath
  2629. null, //blocksize
  2630. null, //corrmatch
  2631. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2632. 'edisk.cz/stahni', //corrreplwith
  2633. null, //separator
  2634. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2635. 'submitBtn=Zkontrolovat&checkFiles=',
  2636. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2637. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2638. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2639. null,
  2640. null //function delegate
  2641. )
  2642. }
  2643. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2644. {
  2645. GM_xmlhttpRequest( //age check skip
  2646. {
  2647. method: 'POST',
  2648. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2649. headers: {
  2650. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2651. 'Content-type': 'application/x-www-form-urlencoded',
  2652. 'Referer': ""
  2653. }
  2654. });
  2655. addHost(
  2656. "bezvadata", //hostname
  2657. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2658. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2659. null, //blocksize
  2660. null, //corrmatch
  2661. null, //corrreplwhat
  2662. null, //corrreplwith
  2663. null, //separator
  2664. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2665. 'zkontrolovat=Zkontrolovat&odkazy=',
  2666. /(bezvadata\.cz\/stahnout\/\d+)/,
  2667. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2668. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2669. null,
  2670. null //function delegate
  2671. )
  2672. }
  2673. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2674. {
  2675. addHost(
  2676. "linkcrypt", //hostname
  2677. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2678. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2679. 100000, //blocksize
  2680. null, //corrmatch
  2681. null, //corrreplwhat
  2682. null, //corrreplwith
  2683. null, //separator
  2684. null,
  2685. null,
  2686. null,
  2687. null,
  2688. null,
  2689. null,
  2690. linkcryptBulkCheck //function delegate
  2691. )
  2692. }
  2693. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2694. {
  2695. addHost(
  2696. "linksave", //hostname
  2697. "linksave\\.in\/\\w+", //linkregex
  2698. "//a[contains(@href,'linksave.in')]", //xpath
  2699. 100000, //blocksize
  2700. null, //corrmatch
  2701. null, //corrreplwhat
  2702. null, //corrreplwith
  2703. null, //separator
  2704. null,
  2705. null,
  2706. null,
  2707. null,
  2708. null,
  2709. null,
  2710. linksaveBulkCheck //function delegate
  2711. )
  2712. } */
  2713. if (GM_getValue("Check_videobb_dot_com_links", false))
  2714. {
  2715. addHost(
  2716. "videobb", //hostname
  2717. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2718. "//a[contains(@href,'videobb.com')]", //xpath
  2719. null, //blocksize
  2720. null, //corrmatch
  2721. /watch_video\.php\?v=/, //corrreplwhat
  2722. 'video/', //corrreplwith
  2723. null, //separator
  2724. 'http://www.videobb.com/link_checker.php',
  2725. 'links=',
  2726. /videobb\.com\/video\/(\w+)/,
  2727. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2728. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2729. null,
  2730. null //function delegate
  2731. )
  2732. }
  2733. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2734. {
  2735. addHost(
  2736. "cramit,cramitin", //hostname
  2737. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2738. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2739. null, //blocksize
  2740. null, //corrmatch
  2741. null, //corrreplwhat
  2742. null, //corrreplwith
  2743. null, //separator
  2744. 'http://cramit.in/checkfiles.html',
  2745. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2746. /(cramit(?:\.in|in\.net)\/\w+)/,
  2747. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2748. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2749. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2750. null //function delegate
  2751. )
  2752. }
  2753. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2754. {
  2755. addHost(
  2756. "turbobit", //hostname
  2757. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2758. "//a[contains(@href,'turbobit.')]", //xpath
  2759. null, //blocksize
  2760. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2761. null, //corrreplwhat
  2762. null, //corrreplwith
  2763. "\n", //separator
  2764. 'http://turbobit.net/linkchecker/csv',
  2765. 'links_to_check=',
  2766. /(turbobit\.(?:net|pl)\/\w+)/,
  2767. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2768. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2769. null,
  2770. null //function delegate
  2771. )
  2772. } */
  2773. if (GM_getValue("Check_filerio_dot_com_links", false))
  2774. {
  2775. addHost(
  2776. "filekeen,filerio", //hostname
  2777. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2778. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2779. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2780. null, //blocksize
  2781. null, //corrmatch
  2782. null, //corrreplwhat
  2783. null, //corrreplwith
  2784. null, //separator
  2785. 'http://filerio.in/checkfiles.html',
  2786. 'op=checkfiles&process=Check+URLs&list=',
  2787. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2788. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2789. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2790. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2791. null //function delegate
  2792. )
  2793. }
  2794. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2795. {
  2796. addHost(
  2797. "share-online,egoshare", //hostname
  2798. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2799. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2800. null, //blocksize
  2801. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2802. null, //corrreplwhat
  2803. null, //corrreplwith
  2804. "\n", //separator
  2805. 'http://api.share-online.biz/linkcheck.php',
  2806. 'links=',
  2807. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2808. /\w+;OK/g,
  2809. /\w+;(?:NOTFOUND|DELETED)/g,
  2810. null,
  2811. null //function delegate
  2812. )
  2813. }
  2814. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2815. {
  2816. addHost(
  2817. "quickshare", //hostname
  2818. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2819. "//a[contains(@href,'quickshare.cz')]", //xpath
  2820. null, //blocksize
  2821. null, //corrmatch
  2822. null, //corrreplwhat
  2823. null, //corrreplwith
  2824. null, //separator
  2825. 'http://www.quickshare.cz/nastroje/link-checker',
  2826. 'linky=',
  2827. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2828. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2829. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2830. null,
  2831. null //function delegate
  2832. )
  2833. } */
  2834. if (GM_getValue("Check_oboom_dot_com_links", false))
  2835. {
  2836. addHost(
  2837. "oboom", //hostname
  2838. "oboom\\.com\/#?\\w{8}", //linkregex
  2839. "//a[contains(@href,'oboom.com/')]", //xpath
  2840. null, //blocksize
  2841. /oboom\.com\/#?(\w{8})/, //corrmatch
  2842. null, //corrreplwhat
  2843. null, //corrreplwith
  2844. null, //separator
  2845. null,
  2846. null,
  2847. null,
  2848. null, //liveregex
  2849. null, //deadregex
  2850. null,
  2851. oboomBulk //function delegate
  2852. )
  2853. }
  2854. if (GM_getValue("Check_mega_dot_nz_links", false))
  2855. {
  2856. addHost(
  2857. "mega",
  2858. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2859. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2860. 100000, //blocksize
  2861. null, //corrmatch
  2862. null, //corrreplwhat
  2863. null, //corrreplwith
  2864. null, //separator
  2865. null,
  2866. null,
  2867. null,
  2868. null,
  2869. null,
  2870. null,
  2871. megaBulkCheck //function delegate
  2872. )
  2873. }
  2874.  
  2875. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2876.  
  2877. if (GM_getValue("Check_extabit_dot_com_links", false))
  2878. {
  2879. addHost(
  2880. "extabit", //hostname
  2881. "extabit\\.com\/file\/\\w+", //linkregex
  2882. "//a[contains(@href,'extabit.com')]", //xpath
  2883. null, //blocksize
  2884. null, //corrmatch
  2885. null, //corrreplwhat
  2886. null, //corrreplwith
  2887. "\n", //separator
  2888. "http://extabit.com/linkchecker.jsp", //api url
  2889. "url=", //postdata
  2890. /extabit\.com\/(file\/\w+)/, //linkregex
  2891. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2892. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2893. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2894. extabitBulkCheck //function delegate
  2895. )
  2896. }
  2897. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2898. {
  2899. addHost(
  2900. "junocloud", //hostname
  2901. "junocloud\\.me\/\\w+", //linkregex
  2902. "//a[contains(@href,'junocloud.me')]", //xpath
  2903. null, //blocksize
  2904. null, //corrmatch
  2905. null, //corrreplwhat
  2906. null, //corrreplwith
  2907. "\n", //separator
  2908. "http://junocloud.me/checkfiles.html", //api url
  2909. "op=checkfiles&process=Check+URLs&list=", //postdata
  2910. /(junocloud\.me\/\w+)/, //linkregex
  2911. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2912. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2913. null, //unavaregex
  2914. null //function delegate
  2915. )
  2916. }
  2917. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2918. {
  2919. addHost(
  2920. "webshare", //hostname
  2921. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2922. "//a[contains(@href,'webshare.cz')]", //xpath
  2923. 100000, //blocksize
  2924. null, //corrmatch
  2925. null, //corrreplwhat
  2926. null, //corrreplwith
  2927. null, //separator
  2928. null, //api url
  2929. null, //postdata
  2930. null, //linkregex
  2931. null, //liveregex
  2932. null, //deadregex
  2933. null, //unavaregex
  2934. webshareBulkCheck //function delegate
  2935. )
  2936. }
  2937. /////////////////////////////
  2938. // Common function delegate to send links to get checked by host linkchecker
  2939. /////////////////////////////
  2940. // If you define a new delegate, you may use following properties
  2941. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2942. // this.apiUrl [string] API or web linkchecker URL
  2943. // this.postData [string] POSTDATA for POST request
  2944. // this.resLiveRegex [regex] matches live substrings in the request response
  2945. // this.resDeadRegex [regex] matches dead substrings in the request response
  2946. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2947. //
  2948. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2949. //
  2950. // See the code below for standard bulkcheck handling reference.
  2951. //////////////////////////////
  2952. function genBulkCheck()
  2953. {
  2954. var blockIdx = this.links.length;
  2955. while (blockIdx--)
  2956. {
  2957. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2958. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2959. }
  2960. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2961. {
  2962. GM_xmlhttpRequest(
  2963. {
  2964. method: 'POST',
  2965. url: api,
  2966. headers: {
  2967. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2968. 'Content-type': 'application/x-www-form-urlencoded',
  2969. 'Referer': api,
  2970. 'X-Requested-With': 'XMLHttpRequest'
  2971. },
  2972. data: postData + encodeURIComponent(links),
  2973. onload: function (result)
  2974. {
  2975. var res = result.responseText;
  2976. // GM_log(res);
  2977. var i;
  2978.  
  2979. var livelinks = res.match(liveRegex);
  2980. var deadlinks = res.match(deadRegex);
  2981. // GM_log(livelinks);
  2982. // GM_log(deadlinks);
  2983. if (livelinks != null)
  2984. {
  2985. i = livelinks.length - 1;
  2986. do
  2987. {
  2988. livelinks[i] = livelinks[i].match(linkRegex)[1];
  2989. }
  2990. while (i--);
  2991. DisplayTheCheckedLinks(livelinks, 'alive_link');
  2992. }
  2993.  
  2994. if (deadlinks != null)
  2995. {
  2996. i = deadlinks.length - 1;
  2997. do
  2998. {
  2999. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3000. }
  3001. while (i--);
  3002. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3003. }
  3004.  
  3005. if (unavaRegex != null)
  3006. {
  3007. var unavalinks = res.match(unavaRegex);
  3008. if (unavalinks)
  3009. {
  3010. i = unavalinks.length - 1;
  3011. do
  3012. {
  3013. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3014. }
  3015. while (i--);
  3016. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3017. }
  3018. }
  3019. }
  3020. });
  3021. }
  3022. }
  3023. //specialized bulkchecking handlers follow
  3024. function webshareBulkCheck()
  3025. {
  3026. var arr = this.links[0].split("\r\n");
  3027. var i = arr.length;
  3028. while(i--)
  3029. {
  3030. postRequest(arr[i]);
  3031. }
  3032. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3033. function postRequest(wsLink)
  3034. {
  3035. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3036. GM_xmlhttpRequest(
  3037. {
  3038. method: 'POST',
  3039. url: "http://webshare.cz/api/file_info/",
  3040. headers: {
  3041. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3042. 'Content-type': 'application/x-www-form-urlencoded',
  3043. 'Referer': "",
  3044. },
  3045. data: "wst=&ident=" + id,
  3046. onload: function (result)
  3047. {
  3048. var res = result.responseText;
  3049. if (res.match(/<name>.+?<\/name>/))
  3050. {
  3051. DisplayTheCheckedLinks([id], 'alive_link');
  3052. }
  3053. else
  3054. {
  3055. DisplayTheCheckedLinks([id], 'adead_link');
  3056. }
  3057. }
  3058. });
  3059. }
  3060. }
  3061. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3062. //extabit also doesn't like requests in fast succession, so some delays are added.
  3063. function extabitBulkCheck()
  3064. {
  3065. var timeoutDelay = 0;
  3066. var blockIdx = this.links.length;
  3067. while (blockIdx--)
  3068. {
  3069. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3070. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3071. }
  3072. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3073. {
  3074. GM_xmlhttpRequest(
  3075. {
  3076. method: 'POST',
  3077. url: api,
  3078. headers: {
  3079. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3080. 'Content-type': 'application/x-www-form-urlencoded',
  3081. 'Referer': api,
  3082. 'X-Requested-With': 'XMLHttpRequest'
  3083. },
  3084. data: postData + encodeURIComponent(links),
  3085. onload: function (result)
  3086. {
  3087. var res = result.responseText;
  3088. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3089. {
  3090. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3091. {
  3092. //GM_log(tryID + ': ' + link);
  3093. GM_xmlhttpRequest(
  3094. {
  3095. method: 'GET',
  3096. url: link,
  3097. 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': ""},
  3098. onload: function(result2)
  3099. {
  3100. var res2 = result2.responseText;
  3101. var res2Status = result.status;
  3102. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3103. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3104. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3105. {
  3106. if (tryID < 7)
  3107. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3108. else
  3109. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3110. }
  3111. }
  3112. });
  3113. }
  3114. //split the hrefs and check them one by one
  3115. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3116. links = links.split('\n');
  3117. var i = links.length;
  3118. while (i--)
  3119. {
  3120. if (links[i])
  3121. {
  3122. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3123. timeoutDelay += 500;
  3124. }
  3125. }
  3126. return;
  3127. }
  3128. var i;
  3129.  
  3130. var livelinks = res.match(liveRegex);
  3131. var deadlinks = res.match(deadRegex);
  3132. if (livelinks != null)
  3133. {
  3134. i = livelinks.length - 1;
  3135. do
  3136. {
  3137. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3138. }
  3139. while (i--);
  3140. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3141. }
  3142.  
  3143. if (deadlinks != null)
  3144. {
  3145. i = deadlinks.length - 1;
  3146. do
  3147. {
  3148. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3149. }
  3150. while (i--);
  3151. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3152. }
  3153.  
  3154. if (unavaRegex != null)
  3155. {
  3156. var unavalinks = res.match(unavaRegex);
  3157. if (unavalinks)
  3158. {
  3159. i = unavalinks.length - 1;
  3160. do
  3161. {
  3162. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3163. }
  3164. while (i--);
  3165. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3166. }
  3167. }
  3168. }
  3169. });
  3170. }
  3171. }
  3172. function k2sBulkCheck()
  3173. {
  3174. var arr = this.links[0].split("\r\n");
  3175. var i = arr.length;
  3176. c=0;
  3177. arrIDs=[];
  3178. while(i--)
  3179. {
  3180. id = arr[i].match(/\/file\/(\w+)/)[1];
  3181. if (id=='info')
  3182. {
  3183. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3184. continue;
  3185. }
  3186. k2salreadyexist=false;
  3187. for (j=0;j<arrIDs.length;j++)
  3188. {
  3189. if (arrIDs[j]==id)
  3190. {
  3191. k2salreadyexist=true;
  3192. break;
  3193. }
  3194. }
  3195. if (k2salreadyexist) continue;
  3196. arrIDs.push(id);
  3197. c++;
  3198. setTimeout(k2sRequest,c*500,arr[i]);
  3199. }
  3200. }
  3201. function k2sRequest(K2SLink)
  3202. {
  3203. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3204. GM_xmlhttpRequest(
  3205. {
  3206. method: 'GET',
  3207. url: K2SLink,
  3208. headers: {
  3209. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3210. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3211. 'Referer': ''
  3212. },
  3213. onload: function (result)
  3214. {
  3215. var res = result.responseText;
  3216. K2Dom='k2s.cc';
  3217. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3218. K2SLink2='http://'+K2Dom+'/file/'+id;
  3219.  
  3220. 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'))
  3221. {
  3222. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3223. return;
  3224. }
  3225. if (res.match('method="post">Displaying'))
  3226. {
  3227. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3228. return;
  3229. }
  3230. if (res.match('Premium only'))
  3231. {
  3232. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3233. return;
  3234. }
  3235. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3236. {
  3237. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3238. slID=slow_id.exec(res)[1];
  3239. GM_xmlhttpRequest(
  3240. {
  3241. method: 'POST',
  3242. url: K2SLink2,
  3243. headers: {
  3244. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3245. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3246. 'Content-Type': 'application/x-www-form-urlencoded',
  3247. 'Referer': K2SLink
  3248. },
  3249. data: 'slow_id='+slID+'&yt0=',
  3250. onload: function (result)
  3251. {
  3252. var newres = result.responseText;
  3253. newoversizedtest=new RegExp("Free user can't download large files.");
  3254. if (newoversizedtest.test(newres))
  3255. {
  3256. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3257. return;
  3258. }
  3259. else
  3260. {
  3261. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3262. return;
  3263. }
  3264. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3265. return;
  3266. }
  3267. });
  3268. /////////////////////end additional check for oversized links
  3269. return;
  3270. }
  3271. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3272. return;
  3273. },
  3274. onerror: function ()
  3275. {
  3276. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3277. return;
  3278. }
  3279. });
  3280. }
  3281. function fboomBulkCheck()
  3282. {
  3283. var arr = this.links[0].split("\r\n");
  3284. var i = arr.length;
  3285. c=0;
  3286. arrIDs=[];
  3287. while(i--)
  3288. {
  3289. id = arr[i].match(/\/file\/(\w+)/)[1];
  3290. if (id=='info')
  3291. {
  3292. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3293. continue;
  3294. }
  3295. fbalreadyexist=false;
  3296. for (j=0;j<arrIDs.length;j++)
  3297. {
  3298. if (arrIDs[j]==id)
  3299. {
  3300. fbalreadyexist=true;
  3301. break;
  3302. }
  3303. }
  3304. if (fbalreadyexist) continue;
  3305. arrIDs.push(id);
  3306. c++;
  3307. setTimeout(fboomRequest,c*500,arr[i]);
  3308. }
  3309. }
  3310. function fboomRequest(FBoomLink)
  3311. {
  3312. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3313. FBoomLink2='http://fboom.me/file/'+id;
  3314. GM_xmlhttpRequest(
  3315. {
  3316. method: 'GET',
  3317. url: FBoomLink,
  3318. headers: {
  3319. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3320. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3321. 'Referer': ''
  3322. },
  3323. onload: function (result)
  3324. {
  3325. var res = result.responseText;
  3326. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3327. {
  3328. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3329. return;
  3330. }
  3331. if (res.match('method="post">Displaying'))
  3332. {
  3333. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3334. return;
  3335. }
  3336. if (res.match('only for premium members'))
  3337. {
  3338. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3339. return;
  3340. }
  3341. if (res.match('id="download-free" href="#"'))
  3342. {
  3343. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3344. slID=slow_id.exec(res)[1];
  3345. GM_xmlhttpRequest(
  3346. {
  3347. method: 'POST',
  3348. url: FBoomLink2,
  3349. headers: {
  3350. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3351. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3352. 'Content-Type': 'application/x-www-form-urlencoded',
  3353. 'Referer': FBoomLink
  3354. },
  3355. data: 'slow_id='+slID,
  3356. onload: function (result)
  3357. {
  3358. var newres = result.responseText;
  3359. newoversizedtest=new RegExp("Downloading is not possible");
  3360. if (newoversizedtest.test(newres))
  3361. {
  3362. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3363. return;
  3364. }
  3365. else
  3366. {
  3367. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3368. return;
  3369. }
  3370. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3371. return;
  3372. }
  3373. });
  3374. /////////////////////end additional check for oversized links
  3375. return;
  3376. }
  3377. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3378. return;
  3379. },
  3380. onerror: function ()
  3381. {
  3382. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3383. return;
  3384. }
  3385. });
  3386. }
  3387. function dl4free_1fichier_BulkCheck()
  3388. {
  3389. var arr = this.links[0].split("\r\n");
  3390. var i = arr.length;
  3391. while(i--)
  3392. {
  3393. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3394. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3395. gethead_dl4free_1fichier(arr[i]);
  3396. }
  3397. }
  3398. function gethead_dl4free_1fichier(link)
  3399. {
  3400. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3401. GM_xmlhttpRequest(
  3402. {
  3403. method: 'HEAD',
  3404. url: link,
  3405. headers: {
  3406. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3407. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3408. 'Referer': ''
  3409. },
  3410. onload: function (result)
  3411. {
  3412. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3413. {
  3414. DisplayTheCheckedLinks([id], 'alive_link');
  3415. return;
  3416. }
  3417. else
  3418. {
  3419. getlink_dl4free_1fichier(link);
  3420. }
  3421. return;
  3422. },
  3423. onerror: function ()
  3424. {
  3425. DisplayTheCheckedLinks([id], 'unava_link');
  3426. }
  3427. });
  3428. }
  3429. function getlink_dl4free_1fichier(link)
  3430. {
  3431. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3432. GM_xmlhttpRequest(
  3433. {
  3434. method: 'GET',
  3435. url: link,
  3436. headers: {
  3437. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3438. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3439. 'Referer': ''
  3440. },
  3441. onload: function (result)
  3442. {
  3443. var res = result.responseText;
  3444. 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|<span class="spacer spacer-20"></span>');
  3445. if (deadRegex.test(res))
  3446. {
  3447. DisplayTheCheckedLinks([id], 'adead_link');
  3448. return;
  3449. }
  3450. premiumRegex=new RegExp('only for premium users');
  3451. if (premiumRegex.test(res))
  3452. {
  3453. DisplayTheCheckedLinks([id], 'prem_link');
  3454. return;
  3455. }
  3456. liveRegex=new RegExp('<title>Download</title>|<br/>You must wait|submit" value="Download|Download without SSL encryption|submit" value="Telecharger|submit" value="Telecharger|<input type="submit" value="');
  3457. if (liveRegex.test(res))
  3458. {
  3459. DisplayTheCheckedLinks([id], 'alive_link');
  3460. return;
  3461. }
  3462. DisplayTheCheckedLinks([id], 'unava_link');
  3463. },
  3464. onerror: function ()
  3465. {
  3466. DisplayTheCheckedLinks([id], 'unava_link');
  3467. }
  3468. });
  3469. }
  3470. function depositfilesBulkCheck()
  3471. {
  3472. var arr = this.links[0].split("\r\n");
  3473. var i = arr.length;
  3474. var seqno = Math.floor(Math.random()*1000000000);
  3475. while(i--)
  3476. {
  3477. DFpostRequest(arr[i]);
  3478. }
  3479. }
  3480. function DFpostRequest(DFLink)
  3481. {
  3482. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3483. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3484. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3485. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3486. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3487. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3488. GM_xmlhttpRequest(
  3489. {
  3490. method: "GET",
  3491. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3492. headers: {
  3493. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3494. 'Content-Type': 'application/x-www-form-urlencoded',
  3495. 'Referer': ""
  3496. },
  3497. onload: function (result)
  3498. {
  3499. var res = result.responseText;
  3500. if (res.match('(?:no_file|file_ban)'))
  3501. {
  3502. DisplayTheCheckedLinks([id], 'adead_link');
  3503. return;
  3504. }
  3505. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3506. {
  3507. DisplayTheCheckedLinks([id], 'alive_link');
  3508. return;
  3509. }
  3510. DisplayTheCheckedLinks([id], 'unava_link');
  3511. }
  3512. });
  3513. }
  3514.  
  3515. function megaBulkCheck()
  3516. {
  3517. var arr = this.links[0].split("\r\n");
  3518. var i = arr.length;
  3519. var seqno = Math.floor(Math.random()*1000000000);
  3520. while(i--)
  3521. {
  3522. postRequest(arr[i]);
  3523. }
  3524. function postRequest(megaLink)
  3525. {
  3526. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3527. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3528. GM_xmlhttpRequest(
  3529. {
  3530. method: "POST",
  3531. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3532. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3533. headers: {
  3534. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3535. 'Content-Type': 'application/xml',
  3536. 'Referer': "https://mega.co.nz/"
  3537. },
  3538. onload: function (result)
  3539. {
  3540. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3541. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3542. {
  3543.  
  3544. DisplayTheCheckedLinks([id], 'adead_link');
  3545. }
  3546. if (res.at)
  3547. {
  3548. DisplayTheCheckedLinks([id], 'alive_link');
  3549. }
  3550. if (res.e == "ETEMPUNAVAIL")
  3551. {
  3552. DisplayTheCheckedLinks([id], 'unava_link');
  3553. }
  3554. }
  3555. });
  3556. }
  3557.  
  3558. }
  3559.  
  3560. function oboomBulk() {
  3561. var a = [], b = [], c = [];
  3562. var array = this.links;
  3563.  
  3564. GM_xmlhttpRequest({
  3565. method: 'GET',
  3566. url: 'https://www.oboom.com/1/guestsession',
  3567. headers: {
  3568. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3569. 'Content-type': 'application/x-www-form-urlencoded',
  3570. 'Referer': 'https://www.oboom.com',
  3571. 'X-Requested-With': 'XMLHttpRequest'
  3572. },
  3573. onload: function(result) {
  3574. var blockIdx = array.length;
  3575. var token = JSON.parse(result.responseText)[1];
  3576. while (blockIdx--) {
  3577. startCheck(array[blockIdx].split('\r\n'), token);
  3578. }
  3579. }
  3580. });
  3581.  
  3582. function startCheck(links, token) {
  3583. GM_xmlhttpRequest({
  3584. method: 'POST',
  3585. url: "https://api.oboom.com/1/info",
  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. data: "token=" + token + "&items=" + links.join(","),
  3593. onload: function(result) {
  3594. var res = JSON.parse(result.responseText)[1];
  3595. var i = res.length, s;
  3596.  
  3597. while (i--) {
  3598. s = res[i].state;
  3599. if (s == 'online') a.push(res[i].id);
  3600. 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);
  3601. else c.push(res[i].id);
  3602. }
  3603.  
  3604. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3605. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3606. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3607. }
  3608. });
  3609. }
  3610. }
  3611. /* function linksaveBulkCheck()
  3612. {
  3613. var arr = this.links[0].split("\r\n");
  3614. var i = arr.length;
  3615. while(i--)
  3616. {
  3617. postRequest(arr[i]);
  3618. }
  3619. function postRequest(lsLink)
  3620. {
  3621. GM_xmlhttpRequest(
  3622. {
  3623. method: "GET",
  3624. url: lsLink + '-t.jpg',
  3625. headers: {
  3626. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3627. 'Accept': 'text/xml',
  3628. 'Referer': ""
  3629. },
  3630. onload: function (result)
  3631. {
  3632. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3633. if (imgLen == 965) //online
  3634. {
  3635. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3636. }
  3637.  
  3638. if (imgLen == 972) //offline
  3639. {
  3640. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3641. }
  3642. if (imgLen == 978) //unava
  3643. {
  3644. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3645. }
  3646. }
  3647. });
  3648. }
  3649.  
  3650. } */
  3651. function linkcryptBulkCheck()
  3652. {
  3653. var arr = this.links[0].split("\r\n");
  3654. var i = arr.length;
  3655. while(i--)
  3656. {
  3657. postRequest(arr[i]);
  3658. }
  3659. function postRequest(lcLink)
  3660. {
  3661. GM_xmlhttpRequest(
  3662. {
  3663. method: "GET",
  3664. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3665. headers: {
  3666. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3667. 'Accept': 'text/xml',
  3668. 'Referer': ""
  3669. },
  3670. onload: function (result)
  3671. {
  3672. var res = result.responseText;
  3673. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3674. {
  3675. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3676. return;
  3677. }
  3678. if (res.match(/folderStatus>1/)) //Online status
  3679. {
  3680. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3681. }
  3682. else
  3683. {
  3684. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3685. }
  3686. }
  3687. });
  3688. }
  3689. }
  3690.  
  3691. function megashareBulkCheck()
  3692. {
  3693. var arr = this.links[0].split("\r\n");
  3694. var i = arr.length;
  3695. while(i--)
  3696. {
  3697. postRequest(arr[i]);
  3698. }
  3699. function postRequest(msLink)
  3700. {
  3701. GM_xmlhttpRequest(
  3702. {
  3703. method: "GET",
  3704. url: msLink,
  3705. headers: {
  3706. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3707. 'Content-Type': 'application/x-www-form-urlencoded',
  3708. 'Referer': ""
  3709. },
  3710. onload: function (result)
  3711. {
  3712. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3713. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3714. if ((prZVal == null) || (btn3Name == null))
  3715. {
  3716. return;
  3717. }
  3718. GM_xmlhttpRequest(
  3719. {
  3720. method: "POST",
  3721. url: msLink,
  3722. headers: {
  3723. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3724. 'Content-Type': 'application/x-www-form-urlencoded',
  3725. 'Referer': ""
  3726. },
  3727. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3728. onload: function (result)
  3729. {
  3730. var res = result.responseText;
  3731. if (res.match(/<div id="err">/))
  3732. {
  3733. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3734. }
  3735. else
  3736. {
  3737. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3738. }
  3739. }
  3740. });
  3741. }
  3742. });
  3743. }
  3744. }
  3745. function ncryptBulkCheck()
  3746. {
  3747. var arr = this.links[0].split("\r\n");
  3748. var i = arr.length;
  3749. while(i--)
  3750. {
  3751. postRequest(arr[i]);
  3752. }
  3753. function postRequest(ncryptLink)
  3754. {
  3755. GM_xmlhttpRequest(
  3756. {
  3757. method: "POST",
  3758. url: 'http://ncrypt.in/api_status.php',
  3759. headers: {
  3760. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3761. 'Content-Type': 'application/x-www-form-urlencoded',
  3762. 'Referer': ""
  3763. },
  3764. data: 'link=' + encodeURI(ncryptLink),
  3765. onload: function (result)
  3766. {
  3767. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3768. switch(foldStatus + ""){
  3769. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3770. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3771. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3772. }
  3773. }
  3774. });
  3775. }
  3776. }
  3777. function hellshareBulkCheck()
  3778. {
  3779. var links = this.links;
  3780. GM_xmlhttpRequest(
  3781. {
  3782. method: "GET",
  3783. url: 'http://www.hellshare.com',
  3784. headers: {
  3785. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3786. 'Accept': 'text/xml',
  3787. 'Referer': ""
  3788. },
  3789. onload: function (result)
  3790. {
  3791. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3792.  
  3793. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3794. if (domain == 'sk')
  3795. loc = 'check=Skontrolova%C5%A5&links=';
  3796. if (domain == 'com')
  3797. loc = 'check=Check+availability&links=';
  3798. if (domain == 'hu')
  3799. loc = 'check=Kontrol%C3%A1lj&links=';
  3800. if (domain == 'pl')
  3801. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3802.  
  3803. genBulkCheck.call({ links: links,
  3804. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3805. postData: loc,
  3806. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3807. 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,
  3808. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3809. resUnavaRegex: null
  3810. });
  3811. }
  3812. });
  3813. }
  3814. /**
  3815. * Displays check result
  3816. * @param {Array} Array of links or link fragments.
  3817. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3818. */
  3819. function DisplayTheCheckedLinks(links, resultStatus)
  3820. {
  3821. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3822. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3823. if (Do_not_linkify_DL_links)
  3824. { //TODO into separate jQuery function
  3825. $links.replaceWith(function(){
  3826. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3827. });
  3828. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3829. }
  3830. $links.removeClass().addClass(resultStatus);
  3831. $links.each(function() {
  3832. this.href = Ref_anonymize_service + $(this).attr("href");
  3833. });
  3834. switch(resultStatus)
  3835. {
  3836. case "alive_link": cLinksAlive += $links.length;
  3837. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3838. break;
  3839. case "adead_link": cLinksDead += $links.length;
  3840. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3841. break;
  3842. case "prem_link": cLinksprem += $links.length;
  3843. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3844. break;
  3845. case "unava_link": cLinksUnava += $links.length; break;
  3846. default:
  3847. }
  3848. cLinksProcessed += $links.length;
  3849. }
  3850. }
  3851. // starts bulkchecking
  3852. //
  3853. // params
  3854. // filterId [string] restricts link detection with passed id attribute
  3855. function startBulkCheck(filterId)
  3856. {
  3857. var cHosts = bulkHosts.length;
  3858. if (cHosts == 0) //no filehostings selected
  3859. return;
  3860. // STEP 1 linkify the links
  3861. var linkifyRegex = '';
  3862. var hostIdx = cHosts;
  3863. while(hostIdx--)
  3864. {
  3865. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3866. }
  3867. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3868. linkify(linkifyRegex);
  3869. //
  3870. //STEP 2 detect link objects
  3871. var xpathAll = '';
  3872. var hostIdx = cHosts;
  3873. while(hostIdx--)
  3874. {
  3875. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3876. }
  3877. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3878. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3879. if (filterId != null) //insert id restriction in the xpath
  3880. {
  3881. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3882. }
  3883. else
  3884. {
  3885. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3886. }
  3887. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3888. if (filterId == null)
  3889. {
  3890. cLinksTotal += links.snapshotLength;
  3891. }
  3892. //
  3893. //STEP 3 bind links with hostings
  3894. var linkIdx = links.snapshotLength;
  3895. var href = null;
  3896. if (linkIdx == 0) // no links found
  3897. return;
  3898. var name;
  3899. while (linkIdx--)
  3900. {
  3901. href = links.snapshotItem(linkIdx).href;
  3902. try // DO NOT REMOVE, filters crap that went through xpath detection
  3903. {
  3904. name = gimmeHostName(href);
  3905. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3906. bulkHostNames[name].links.push(href);
  3907. }
  3908. catch(e)
  3909. {
  3910.  
  3911. }
  3912. }
  3913. //
  3914. //STEP 4 process the links for each filehosting
  3915. var hostIdx = cHosts;
  3916. var host;
  3917. var m,n;
  3918. var arr;
  3919. while (hostIdx--)
  3920. {
  3921. host = bulkHosts[hostIdx];
  3922. arr = host.links;
  3923. if (arr.length == 0) //no links for this hosting, skip
  3924. {
  3925. continue;
  3926. }
  3927. //links match corrections
  3928. if (host.corrMatch != null)
  3929. {
  3930. var idx = arr.length;
  3931. while (idx--)
  3932. {
  3933. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3934. }
  3935. }
  3936. //links replace corrections
  3937. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3938. {
  3939. var idx = arr.length;
  3940. while (idx--)
  3941. {
  3942. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3943. }
  3944. }
  3945. m = arr.length;
  3946. n = host.blockSize;
  3947. if (m > n)
  3948. {
  3949. //insert block separators (RAND_STRING) into the array
  3950. for(var i = n; i < m; i += n + 1)
  3951. {
  3952. arr.splice(i, 0, RAND_STRING);
  3953. }
  3954. }
  3955.  
  3956. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3957. apiUrl: host.apiUrl,
  3958. postData: host.postData,
  3959. resLinkRegex: host.resLinkRegex,
  3960. resLiveRegex: host.resLiveRegex,
  3961. resDeadRegex: host.resDeadRegex,
  3962. resUnavaRegex: host.resUnavaRegex
  3963. });
  3964. //clean up
  3965. arr.length = 0;
  3966. }
  3967. //
  3968.  
  3969. function gimmeHostName(link)
  3970. {
  3971. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3972. }
  3973. }
  3974. function checkLinks(filterId)
  3975. {
  3976. startBulkCheck(filterId);
  3977. start(filterId);
  3978. }
  3979.  
  3980. /**
  3981. * Initialises progress box including event binding and CSS
  3982. */
  3983. function initProgressBox()
  3984. {
  3985. if ($("#warlc-progressbox").length > 0)
  3986. return;
  3987. //progressbox css change size and color of progress box
  3988. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  3989. "; opacity:" + (Progress_box_opacity / 100) +
  3990. "; bottom:" + Progress_box_pos_bottom +
  3991. "px; right:" + Progress_box_pos_right +
  3992. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  3993. \
  3994. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  3995. \
  3996. .warlc-progressitem {}\
  3997. \
  3998. .alive {color:#00FF7F; " + Live_links_color +
  3999. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4000. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4001. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4002. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4003. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4004. );
  4005. //
  4006. $('body').append(' <div id="warlc-progressbox">\
  4007. <div class="warlc-progressbar"></div>\
  4008. <span class="warlc-progressitem alive"></span> - \
  4009. <span class="warlc-progressitem dead"></span> - \
  4010. <span class="warlc-progressitem unava"></span> - \
  4011. <span class="warlc-progressitem prem"></span> - \
  4012. <span class="warlc-progressitem processing"></span>\
  4013. </div>');
  4014. $('#warlc-progressbox').hide().click(function(){
  4015. clearInterval(intervalId);
  4016. $(this).hide();
  4017. return false;
  4018. });
  4019. $(".warlc-progressbar").progressbar({complete: function(){
  4020. $(this).fadeOut();
  4021. clearInterval(intervalId); //stop refreshing the stats
  4022. }
  4023. })
  4024. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4025. }
  4026. /**
  4027. * Updates progress data in progress box
  4028. */
  4029. function updateProgress()
  4030. {
  4031. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4032. if (cLinksTotal) // some links were detected on page
  4033. {
  4034. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4035. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4036. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4037. if ((cLinksTotal - cLinksProcessed) == 0)
  4038. {
  4039. $progressItems.first().text(cLinksAlive)
  4040. .next().text(cLinksDead)
  4041. .next().text(cLinksUnava)
  4042. .next().text(cLinksprem)
  4043. .next().remove();
  4044. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4045. $('#warlc-progressbox div:first-child').remove();
  4046. }
  4047. else
  4048. {
  4049. $progressItems.first().text(cLinksAlive)
  4050. .next().text(cLinksDead)
  4051. .next().text(cLinksUnava)
  4052. .next().text(cLinksprem)
  4053. .next().text(cLinksTotal - cLinksProcessed);
  4054. }
  4055. }
  4056. }
  4057.  
  4058. function check_all_links()
  4059. {
  4060. add_WARLC_style();
  4061.  
  4062. if (Show_progress_stats)
  4063. {
  4064. initProgressBox();
  4065. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4066. }
  4067.  
  4068. startBulkCheck(null);
  4069. start(null);
  4070.  
  4071. if (!containers_processed)
  4072. {
  4073. processContainers();
  4074. }
  4075. }
  4076.  
  4077. //Copies all found dead links to clipboard - right now for Scriptish only
  4078. function copy_dead_to_clipboard()
  4079. {
  4080. initClipBoardTools();
  4081.  
  4082. var deadlinksxpath = "//.[@class='adead_link']";
  4083.  
  4084. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4085. var foundlinkstext = '';
  4086.  
  4087. var foundlinkIdx = foundlinks.snapshotLength;
  4088.  
  4089. while(foundlinkIdx--)
  4090. {
  4091. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4092. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4093. }
  4094.  
  4095. unsafeWindow.copyToClipboard(foundlinkstext);
  4096. }
  4097.  
  4098. function toggle_autocheck()
  4099. {
  4100. var currentState = GM_getValue("Autocheck", false);
  4101. GM_setValue("Autocheck", !currentState);
  4102.  
  4103. if (currentState == true)
  4104. {
  4105. sendMessage('Autocheck disabled', 'red');
  4106. }
  4107. else
  4108. {
  4109. sendMessage('Autocheck enabled', 'SpringGreen');
  4110. }
  4111. }
  4112. function toggle_Enable_Anonymizer()
  4113. {
  4114. var currentState = GM_getValue("Enable_Anonymizer", false);
  4115. GM_setValue("Enable_Anonymizer", !currentState);
  4116.  
  4117. if (currentState == true)
  4118. {
  4119. GM_setValue("Ref_anonymize_service", "");
  4120. sendMessage('Anonymizer Disabled', 'red');
  4121. }
  4122. else
  4123. {
  4124. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4125. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4126. }
  4127. }
  4128.  
  4129. function KeyDownHandler(event)
  4130. {
  4131. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4132. if (event.ctrlKey && event.altKey)
  4133. {
  4134. switch(kcode)
  4135. {
  4136. case 65 : check_all_links(); break;
  4137. case 67 : configuration(); break;
  4138. case 68 : copy_dead_to_clipboard(); break;
  4139. case 87 : toggle_autocheck(); break;
  4140. case 90 : toggle_Enable_Anonymizer(); break;
  4141. }
  4142. }
  4143. }
  4144.  
  4145. //
  4146. //
  4147. // SCRIPT EXECUTION START POINT
  4148. //
  4149. //
  4150. // Safari specific GM_getResourceText override
  4151. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4152. {
  4153. GM_getResourceText = function(res) {
  4154. var $cssText = GM_getValue("jquery_css", "");
  4155. if ($cssText == "")
  4156. {
  4157. GM_xmlhttpRequest(
  4158. {
  4159. method: 'GET',
  4160. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4161. onload: function (result)
  4162. {
  4163. GM_setValue("jquery_css", result.responseText);
  4164. window.location.reload();
  4165. }
  4166. });
  4167. }
  4168. else
  4169. {
  4170. return $cssText;
  4171. }
  4172. }
  4173. }
  4174. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4175. GM_addStyle(jQueryUICSS);
  4176. //init the stuff
  4177. setVariables();
  4178. initBulkCheck();
  4179. //init info boxes
  4180. messageBox.style.position = 'fixed';
  4181. messageBox.style.top = '20px';
  4182. messageBox.style.left = '10px';
  4183. messageBox.style.opacity = '0.85';
  4184. messageBox.style.background = 'DimGray';
  4185. messageBox.style.fontSize = '36px';
  4186. document.body.appendChild(messageBox);
  4187.  
  4188. //register GM menu commands & keyboard shortcut event handler
  4189. if (Keyboard_functions)
  4190. {
  4191. $(document).keydown(KeyDownHandler);
  4192. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4193. 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);
  4194. }
  4195. else
  4196. {
  4197. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4198. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4199. }
  4200.  
  4201. //start linkchecking
  4202. if (Autocheck)
  4203. {
  4204. $(document).ready(check_all_links);
  4205. }
  4206.  
  4207. //
  4208. //
  4209. // SCRIPT EXECUTION END POINT
  4210. //
  4211. //
  4212.  
  4213. //shows configuration box
  4214. function configuration()
  4215. {
  4216.  
  4217. //prevent multiple creating of config window
  4218. if ($("#hideshow").length)
  4219. {
  4220. $("#hideshow").show();
  4221. return;
  4222. }
  4223.  
  4224. var configcss = '\
  4225. .popup_block .popup fieldset{\
  4226. padding: 1%;\
  4227. border-style: solid;\
  4228. border-width: 1px;\
  4229. border-color: gray;\
  4230. margin-bottom: 1px;\
  4231. }\
  4232. #h3hideshowtitle{\
  4233. font-size: 2em;\
  4234. }\
  4235. #h3hideshow{\
  4236. font-size: 1.5em;\
  4237. }\
  4238. #imghideshow {\
  4239. border: none;\
  4240. }\
  4241. #plusimage{\
  4242. display:inline;\
  4243. }\
  4244. #hideshow {\
  4245. position: fixed;\
  4246. width: 100%;\
  4247. height: 100%;\
  4248. top: 0;\
  4249. left: 0;\
  4250. font-size:12px;\
  4251. z-index:2147483645;\
  4252. text-align:left;\
  4253. }\
  4254. #fade {\
  4255. background: #000;\
  4256. position: fixed;\
  4257. width: 100%;\
  4258. height: 100%;\
  4259. opacity: .80;\
  4260. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4261. left: 0;\
  4262. z-index: 10;\
  4263. }\
  4264. .popup_block {\
  4265. font-family:verdana;\
  4266. color:black;\
  4267. background: #ddd;\
  4268. padding: 10px 20px;\
  4269. border: 2px solid DarkOrange;\
  4270. float: left;\
  4271. width: 700px;\
  4272. position: absolute;\
  4273. top: 7%;\
  4274. left: 50%;\
  4275. bottom: 7%;\
  4276. margin: 0 0 0 -350px;\
  4277. -moz-border-radius:10px;\
  4278. z-index: 100;\
  4279. \
  4280. }\
  4281. .popup_block .popup {\
  4282. float: left;\
  4283. width: 100%;\
  4284. background: #fff;\
  4285. margin: 10px 0;\
  4286. padding: 0px 0 0px;\
  4287. border-left: 1px solid #bbb;\
  4288. border-top: 1px solid #bbb;\
  4289. border-right: 1px solid #bbb;\
  4290. }\
  4291. #h3hideshow{\
  4292. margin: 1px 0 0px;\
  4293. padding: 1px 10px;\
  4294. border-bottom: 1px solid #bbb;\
  4295. font-size: 1.5em;\
  4296. font-weight: normal;\
  4297. cursor:pointer;\
  4298. background:#DDDDDD none repeat scroll 0 0;\
  4299. }\
  4300. #h3hideshow:hover{\
  4301. background:#C0BEBE none repeat scroll 0 0;\
  4302. }\
  4303. #h3hideshowtitle{\
  4304. margin: 2px 0 0px;\
  4305. padding: 7px 10px;\
  4306. border-bottom: 1px solid #bbb;\
  4307. font-size: 1.5em;\
  4308. font-weight: normal;\
  4309. }\
  4310. .popup_block .popup a {\
  4311. color:DarkSkyBlue;\
  4312. text-decoration:none;\
  4313. }\
  4314. .popup p {\
  4315. padding: 1px 10px;\
  4316. margin: 0px 0;\
  4317. -x-system-font:none;\
  4318. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4319. font-size:10pt;\
  4320. font-size-adjust:none;\
  4321. font-stretch:normal;\
  4322. font-style:normal;\
  4323. font-variant:normal;\
  4324. font-weight:normal;\
  4325. line-height:normal;\
  4326. }\
  4327. #sites {\
  4328. padding: 1px 10px;\
  4329. margin: 0px 0;display:inline-block;width:16em;\
  4330. }\
  4331. #dev_ver {\
  4332. color: #00FF00;\
  4333. background: Black;\
  4334. text-align: right;\
  4335. }\
  4336. #sites_suspended {\
  4337. padding: 1px 10px;\
  4338. margin: 0px 0;display:inline-block;width:16em;\
  4339. text-decoration: line-through;\
  4340. }\
  4341. .popup img.cntrl {\
  4342. position: absolute;\
  4343. right: -15px;\
  4344. top: -15px;\
  4345. }\
  4346. #bulk {\
  4347. font-size:8pt;\
  4348. color:orange;\
  4349. padding: 1px 10px;\
  4350. margin: 0px 0;\
  4351. display:inline-block;\
  4352. width:100px;\
  4353. }\
  4354. #note {\
  4355. font-size:7pt;\
  4356. color:gray;\
  4357. padding: 1px 10px;\
  4358. margin: 0px 0;display:inline-block;\
  4359. min-width:100px;\
  4360. }\
  4361. #rednote {\
  4362. font-size:7pt;\
  4363. color:red;\
  4364. padding: 1px 10px;\
  4365. margin: 0px 0;display:inline-block;\
  4366. }\
  4367. #configinfo {\
  4368. font-size:8pt;\
  4369. color:gray;\
  4370. padding: 1px 10px;\
  4371. margin: 0px 0;display:inline-block;width:60em;\
  4372. }\
  4373. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4374. color:black;\
  4375. border-style: solid;\
  4376. border-width: 1px;\
  4377. border-color: gray;\
  4378. }\
  4379. #h3hideshowcontent {\
  4380. min-height:220px;\
  4381. max-height:220px;\
  4382. overflow:auto;\
  4383. display: none;\
  4384. padding: 10px 10px;\
  4385. }\
  4386. #specinfo{\
  4387. font-size:14px;\
  4388. }\
  4389. .warlc-ui-tab {\
  4390. height:300px;\
  4391. overflow:auto;\
  4392. }\
  4393. #warlcsitelist2, #warlcsitelist1 {\
  4394. height:220px;\
  4395. border-top: 1px solid #ddd;\
  4396. padding-top: 5px;\
  4397. overflow:auto;\
  4398. }\
  4399. input:hover+label {\
  4400. background:#F1F77C;\
  4401. font-size:110%;\
  4402. }\
  4403. ';
  4404.  
  4405. GM_addStyle(configcss);
  4406.  
  4407. var customRulesRefHTML =
  4408. '\
  4409. <br>\
  4410. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4411. <b>@keyword</b> <i>parameter</i>\
  4412. <br><br>\
  4413. 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. \
  4414. <br><br>\
  4415. 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.\
  4416. 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.\
  4417. 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.\
  4418. 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,\
  4419. but all commands until the next valid @customrule are ignored.<br><br>\
  4420. Available forms and types:\
  4421. <ul>\
  4422. <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.\
  4423. <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.\
  4424. <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.\
  4425. <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.\
  4426. </ul>\
  4427. Other available commands:<br>\
  4428. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4429. <ul>\
  4430. <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.\
  4431. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4432. <ul>examples:<br>\
  4433. <li>good: <i>filehost.com/download/</i><br>\
  4434. <li>good: <i>download.filehost.net/?d=</i><br>\
  4435. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4436. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4437. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4438. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4439. <li>bad: <i>filehost.com</i> - no slash<br>\
  4440. </ul>\
  4441. \
  4442. <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.\
  4443. 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 \
  4444. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4445. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4446. 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.)\
  4447. Two spaces again match any whitespace.\
  4448. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4449. Two spaces again match any whitespace.\
  4450. <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. \
  4451. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4452. </ul>\
  4453. \
  4454. ';
  4455.  
  4456. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4457. var configurationinnerHTML =
  4458. '<div id="fade"></div>\
  4459. <div class="popup_block">\
  4460. <div class="popup">\
  4461. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwA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WJ1/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>\
  4463. <div id="warlc-conf-tabs">\
  4464. <ul>\
  4465. <li><a href="#tabs-1">Filehostings</a></li>\
  4466. <li><a href="#tabs-2">Containers</a></li>\
  4467. <li><a href="#tabs-5">Custom rules</a></li>\
  4468. <li><a href="#tabs-3">Settings</a></li>\
  4469. <li><a href="#tabs-4">About</a></li>\
  4470. </ul>\
  4471. <div id="tabs-1" class="warlc-ui-tab">\
  4472. <div class="warlc-ui-buttonset">\
  4473. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4474. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4475. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4476. </div><br>\
  4477. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4478. <div id="warlcsitelist1"><span>Empty</span></div>\
  4479. </div>\
  4480. <div id="tabs-2" class="warlc-ui-tab">\
  4481. <div class="warlc-ui-buttonset">\
  4482. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4483. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4484. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4485. </div><br>\
  4486. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4487. <div id="warlcsitelist2"><span>Empty</span></div>\
  4488. </div>\
  4489. <div id="tabs-5" class="warlc-ui-tab">\
  4490. <div class="warlcsettings">\
  4491. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4492. <br>\
  4493. <div>Edit custom rules: \
  4494. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4495. <div id="customRulesReference" style="display:none;">'
  4496. + customRulesRefHTML + '\
  4497. </div>\
  4498. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4499. </div>\
  4500. </div>\
  4501. </div>\
  4502. <div id="tabs-3" class="warlc-ui-tab">\
  4503. <div class="warlcsettings">\
  4504. <fieldset>\
  4505. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4506. <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>\
  4507. </fieldset>\
  4508. <fieldset>\
  4509. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4510. <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>\
  4511. <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>\
  4512. <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>\
  4513. <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>\
  4514. <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>\
  4515. <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>\
  4516. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4517. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4518. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4519. <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>\
  4520. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4521. <fieldset>\
  4522. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4523. <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>\
  4524. <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>\
  4525. <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>\
  4526. </fieldset>\
  4527. </fieldset>\
  4528. <fieldset>\
  4529. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4530. </fieldset>\
  4531. <fieldset>\
  4532. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4533. </fieldset>\
  4534. <fieldset>\
  4535. <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>\
  4536. </fieldset>\
  4537. <fieldset>\
  4538. <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>\
  4539. </fieldset>\
  4540. </div>\
  4541. </div>\
  4542. <div id="tabs-4" class="warlc-ui-tab">\
  4543. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4544. <p><b>Script Homepage:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">www.warlc.5gbfree.com</a></p>\
  4545. <br />\
  4546. <p><b>Currently supported:</b><br>\
  4547. Filehostings: ' + allHostNames.length + '<br />\
  4548. Containers: ' + allContainerNames.length + '<br />\
  4549. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4550. <br />\
  4551. <p><b>Based on:</b><br>\
  4552. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4553. <br />\
  4554. <p><b>Uses:</b></p>\
  4555. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4556. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4557. <br />\
  4558. <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>\
  4559. </div>\
  4560. </div>\
  4561. </div>\
  4562. </div>';
  4563. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4564. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4565. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4566. var elmHostList = document.getElementById("warlcsitelist1");
  4567. var elmContainerList = document.getElementById("warlcsitelist2");
  4568. buildSettings();
  4569. buildSitelist("", allHostNames, elmHostList);
  4570. buildSitelist("", allContainerNames, elmContainerList);
  4571. if (DEBUG_MODE)
  4572. {
  4573. //log all sites availability status
  4574. diagSites();
  4575. }
  4576. //handler for checkbox state change
  4577. function changeConfiguration(e)
  4578. {
  4579. var element = e.target;
  4580.  
  4581. if (element.type == 'checkbox')
  4582. {
  4583. if (element.checked == 1)
  4584. {
  4585. GM_setValue(element.id, true);
  4586. }
  4587. else
  4588. {
  4589. GM_setValue(element.id, false);
  4590. }
  4591.  
  4592. }
  4593. setVariables();
  4594. }
  4595.  
  4596. //Selects all filehosting checkboxes
  4597. function selectAll()
  4598. {
  4599. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4600. .each(function(index, element){GM_setValue(this.id, true)});
  4601. }
  4602.  
  4603. //Deselects all filehosting checkboxes
  4604. function selectNone()
  4605. {
  4606. $(":checkbox:visible:checked").prop("checked",false)
  4607. .each(function(index, element){GM_setValue(this.id, false)});
  4608. }
  4609.  
  4610. //Inverts filehosting checkboxes selection
  4611. function selectInvert()
  4612. {
  4613. var $checked = $(":checkbox:visible:checked");
  4614. var $unchecked = $(":checkbox:visible:not(:checked)");
  4615. $unchecked.prop("checked",true)
  4616. .each(function(index, element){GM_setValue(this.id, true)});
  4617. $checked.prop("checked",false)
  4618. .each(function(index, element){GM_setValue(this.id, false)});
  4619. }
  4620. //toggles anonymizer on off
  4621. function Enable_Anonymizer()
  4622. {
  4623. var $checked = $(":checkbox:visible:checked");
  4624. var $unchecked = $(":checkbox:visible:not(:checked)");
  4625. $unchecked.prop("checked",true)
  4626. .each(function(index, element){GM_setValue(this.id, true)});
  4627. $checked.prop("checked",false)
  4628. .each(function(index, element){GM_setValue(this.id, false)});
  4629. }
  4630.  
  4631. function changeRefAnonymizer(){
  4632. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4633. }
  4634.  
  4635. //Sets live links color
  4636. function changeColorLive()
  4637. {
  4638. var inColorLive = document.getElementById("inputColorLive");
  4639. inColorLive.style.background = inColorLive.value;
  4640. GM_setValue("Live_links_color", inColorLive.value);
  4641. }
  4642.  
  4643. //Sets dead links color
  4644. function changeColorDead()
  4645. {
  4646. var inColorDead = document.getElementById("inputColorDead");
  4647. inColorDead.style.background = inColorDead.value;
  4648. GM_setValue("Dead_links_color", inColorDead.value);
  4649. }
  4650.  
  4651. //Sets temp. unavailable links color
  4652. function changeColorTemp()
  4653. {
  4654. var inColorTemp = document.getElementById("inputColorTemp");
  4655. inColorTemp.style.background = inColorTemp.value;
  4656. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4657. }
  4658.  
  4659. //Sets temp. unavailable links color
  4660. function changeColorCont()
  4661. {
  4662. var inColorCont = document.getElementById("inputColorCont");
  4663. inColorCont.style.background = inColorCont.value;
  4664. GM_setValue("Container_links_color", inColorCont.value);
  4665. }
  4666. //Sets premium. links color
  4667. function changeColorprem()
  4668. {
  4669. var inColorprem = document.getElementById("inputColorprem");
  4670. inColorprem.style.background = inColorprem.value;
  4671. GM_setValue("Premium_links_color", inColorprem.value);
  4672. }
  4673.  
  4674. //Diagnose sites for availability
  4675. function diagSites()
  4676. {
  4677. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4678.  
  4679. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4680. {
  4681. if (boxes[i].type == "checkbox")
  4682. {
  4683. checkAvailability(boxes[i]);
  4684. }
  4685. }
  4686.  
  4687. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4688.  
  4689. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4690. {
  4691. if (boxes[i].type == "checkbox")
  4692. {
  4693. checkAvailability(boxes[i]);
  4694. }
  4695. }
  4696.  
  4697. function checkAvailability(cbElm)
  4698. {
  4699. var cb = cbElm;
  4700. GM_xmlhttpRequest(
  4701. {
  4702. method: 'HEAD',
  4703. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4704. headers: {
  4705. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4706. 'Accept': 'text/xml',
  4707. 'Referer': ""
  4708. },
  4709. onload: function (result)
  4710. {
  4711. if (result.status != 200)
  4712. {
  4713. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4714. }
  4715. },
  4716. onerror: function (result)
  4717. {
  4718. if (result.status != 200)
  4719. {
  4720. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4721. }
  4722. }
  4723. });
  4724. }
  4725. }
  4726. function buildSettings()
  4727. {
  4728. $(".warlcsettings :checkbox").each(function(){
  4729. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4730. .click(function(e){
  4731. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4732. setVariables();
  4733. });
  4734. })
  4735. }
  4736. //Dynamic build of host list
  4737. //param search [string] searches for hostnames matching search substring
  4738. //param siteNames [array] array of site names
  4739. //param targetNode [DOM Node] where the list should be built
  4740. // first child node is replaced
  4741. function buildSitelist(search, siteNames, targetNode)
  4742. {
  4743. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4744. var $targetNode = $(targetNode).empty();
  4745. var searchedSite = "";
  4746. $.each(siteNames, function(i, site){
  4747. if (searchedSite = site.match(searchRegex))
  4748. {
  4749. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4750. //ensuring backward compatibility with the rest of code, to be refactored later
  4751. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4752. //
  4753. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4754. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4755. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4756. );
  4757. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4758. .change(changeConfiguration);
  4759. $targetNode.append('<br />');
  4760. }
  4761. });
  4762. $targetNode.append("<hr>");
  4763. //obsolete hosts checkbox
  4764. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4765. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4766. .change(changeConfiguration);
  4767. $targetNode.append('<br />');
  4768. var foundName = "";
  4769. $.each(allObsoleteNames, function(i, site){
  4770. if (foundName = allObsoleteNames[i].match(searchRegex))
  4771. {
  4772. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4773. }
  4774. })
  4775. }
  4776. var hostSearchBox = document.getElementById("hostSearchBox");
  4777. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4778. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4779. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4780. $(".warlc-ui-select-all").click(selectAll).button();
  4781. $(".warlc-ui-select-none").click(selectNone).button();
  4782. $(".warlc-ui-select-invert").click(selectInvert).button();
  4783. $(".warlc-ui-buttonset").buttonset();
  4784. var inColorLive = document.getElementById("inputColorLive");
  4785. inColorLive.addEventListener('keyup', changeColorLive, false);
  4786.  
  4787. var inColorDead = document.getElementById("inputColorDead");
  4788. inColorDead.addEventListener('keyup', changeColorDead, false);
  4789.  
  4790. var inColorTemp = document.getElementById("inputColorTemp");
  4791. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4792.  
  4793. var inColorCont = document.getElementById("inputColorCont");
  4794. inColorCont.addEventListener('keyup', changeColorCont, false);
  4795. var inColorprem = document.getElementById("inputColorprem");
  4796. inColorprem.addEventListener('keyup', changeColorprem, false);
  4797. $("#refAnonymizer").change(changeRefAnonymizer);
  4798. //buttons and edit boxes init end
  4799.  
  4800. //icon sets radio buttons
  4801. var radioButtons = document.getElementsByName("warlciconset");
  4802. radioButtons[Icon_set].checked = "checked";
  4803.  
  4804. radioButtons[0].addEventListener("change", updateIconSet);
  4805. radioButtons[1].addEventListener("change", updateIconSet);
  4806. radioButtons[2].addEventListener("change", updateIconSet);
  4807. radioButtons[3].addEventListener("change", updateIconSet);
  4808. function updateIconSet()
  4809. {
  4810. GM_setValue("Icon_set", this.value * 1);
  4811. }
  4812. //
  4813. $('#showCustomRulesReference').click(function(e){
  4814. e.preventDefault();
  4815. $('#customRulesReference').toggle();
  4816. });
  4817. $('#Custom_rules_text')
  4818. .val(Custom_rules_text)
  4819. .change(saveCustomRules);
  4820. function saveCustomRules(e)
  4821. {
  4822. var cr = parseCustomRules(this.value);
  4823. if (cr.info.length)
  4824. 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, ' '));
  4825. GM_setValue('Custom_rules_text', this.value);
  4826. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4827. }
  4828. }
  4829.  
  4830. //begin standard link checking algorithm
  4831. function start(filterId)
  4832. {
  4833. var doNotLinkify = Do_not_linkify_DL_links;
  4834.  
  4835. // USER SELECTED FILE HOSTS INITIALIZATION START
  4836. var http_file_hosts = new Array(); //standard hostings
  4837. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4838. var http_file_hosts_obsolete = new Array(); //dead hostings
  4839. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4840.  
  4841. initFileHosts();
  4842. initFileHostsHeadersOnly();
  4843. initFileHostsCustom(); //CustomRules
  4844. // USER SELECTED FILE HOSTS INITIALIZATION END
  4845.  
  4846. // LINKIFICATION START
  4847. var totalxpath = '';
  4848. var totalxpathcoded = '';
  4849. var totalxpathobsolete = '';
  4850. var totalxpathheadersonly = '';
  4851. var totalourls = '';
  4852.  
  4853. var filehostLen = http_file_hosts.length;
  4854. var filehostCodedLen = http_file_hosts_coded.length;
  4855. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4856. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4857.  
  4858. var filehostIdx = filehostLen;
  4859. var filehostCodedIdx = filehostCodedLen;
  4860. var filehostObsoleteIdx = filehostObsoleteLen;
  4861. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4862.  
  4863. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4864. return;
  4865.  
  4866. while (filehostIdx--)
  4867. {
  4868. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4869. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4870. }
  4871.  
  4872. while (filehostCodedIdx--)
  4873. {
  4874. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4875. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4876. }
  4877.  
  4878. while (filehostObsoleteIdx--)
  4879. {
  4880. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4881. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4882. }
  4883.  
  4884. while (filehostHeadersOnlyIdx--)
  4885. {
  4886. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4887. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4888. }
  4889.  
  4890. totalourls = totalourls.replace(/\|$/g, "");
  4891. //TODO: further refactoring needed
  4892. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4893. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4894. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4895. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4896. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4897. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4898. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4899. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4900. if (filterId != null) //insert id restriction in the xpath
  4901. {
  4902. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4903. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4904. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4905. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4906. }
  4907. else
  4908. {
  4909. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4910. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4911. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4912. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4913. }
  4914. linkify(totalourls);
  4915. //LINKIFICATION END
  4916. //ENCRYPTED LINKS PROCESSING START
  4917. if (http_file_hosts_coded.length > 0)
  4918. {
  4919. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4920.  
  4921. // decrypt coded links (redirects, link protectors etc.)
  4922. if (linksCoded.snapshotLength > 0)
  4923. {
  4924. var link;
  4925. var reallinkreg;
  4926. var reallinkcorrection;
  4927.  
  4928. if (filterId == null)
  4929. {
  4930. cLinksTotal += linksCoded.snapshotLength;
  4931. }
  4932.  
  4933. var y = linksCoded.snapshotLength - 1;
  4934. do
  4935. {
  4936. // linksCoded.snapshotItem(y).id = 'processing_link';
  4937. link = linksCoded.snapshotItem(y);
  4938. filehostIdx = filehostCodedLen;
  4939. while (filehostIdx--)
  4940. {
  4941. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4942. {
  4943. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4944. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4945. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4946.  
  4947. decurl(link, reallinkreg, reallinkcorrection);
  4948. break;
  4949. }
  4950. }
  4951. }
  4952. while (y--);
  4953. }
  4954. }
  4955. //ENCRYPTED LINKS PROCESSING END
  4956.  
  4957. //STANDARD LINKCHECKING START
  4958. if (http_file_hosts.length > 0)
  4959. {
  4960. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4961.  
  4962. if (filterId == null)
  4963. {
  4964. cLinksTotal += lianks.snapshotLength;
  4965. }
  4966.  
  4967. if (lianks.snapshotLength > 0)
  4968. {
  4969. var link;
  4970.  
  4971. var URL = "";
  4972. var name = "";
  4973. var isAliveRegex = "";
  4974. var isDeadRegex = "";
  4975. var isUnavaRegex = "";
  4976. var ispremRegex = "";
  4977. var tryLoop = false;
  4978.  
  4979. var y = lianks.snapshotLength;
  4980.  
  4981. while (y--)
  4982. {
  4983. link = lianks.snapshotItem(y);
  4984.  
  4985. filehostIdx = filehostLen;
  4986. while (filehostIdx--)
  4987. {
  4988. if (link.href.match(http_file_hosts[filehostIdx][0]))
  4989. {
  4990. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  4991. isAliveRegex = http_file_hosts[filehostIdx][1];
  4992. isDeadRegex = http_file_hosts[filehostIdx][2];
  4993. isUnavaRegex = http_file_hosts[filehostIdx][3];
  4994. ispremRegex = http_file_hosts[filehostIdx][6];
  4995. tryLoop = http_file_hosts[filehostIdx][5];
  4996.  
  4997. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  4998.  
  4999. break;
  5000. }
  5001. }
  5002. }
  5003. }
  5004. }
  5005. //STANDARD LINKCHECKING END
  5006. //OBSOLETE FILE HOSTS PROCESSING START
  5007. if (filehostObsoleteLen > 0)
  5008. {
  5009. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5010.  
  5011. var obsoleteLink;
  5012.  
  5013. //check links
  5014. if (obsoletelinks.snapshotLength > 0)
  5015. {
  5016. var y = obsoletelinks.snapshotLength;
  5017.  
  5018. if (filterId == null)
  5019. {
  5020. cLinksTotal += y;
  5021. }
  5022.  
  5023. while (y--)
  5024. {
  5025. obsoleteLink = obsoletelinks.snapshotItem(y);
  5026.  
  5027. if (Display_tooltip_info)
  5028. {
  5029. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5030. }
  5031. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5032. }
  5033. }
  5034. }
  5035. //OBSOLETE FILE HOSTS PROCESSING END
  5036.  
  5037. //DIRECT LINKCHECKING START
  5038. if (http_file_hosts_headers_only.length > 0)
  5039. {
  5040. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5041.  
  5042. //check links
  5043. if (links.snapshotLength > 0)
  5044. {
  5045. var link;
  5046. var isAliveRegex;
  5047. var isDeadRegex;
  5048. var ispremRegex;
  5049.  
  5050. var y = links.snapshotLength;
  5051.  
  5052.  
  5053. if (filterId == null)
  5054. {
  5055. cLinksTotal += y;
  5056. }
  5057.  
  5058. while (y--)
  5059. {
  5060. // links.snapshotItem(y).id = 'processing_link';
  5061. link = links.snapshotItem(y);
  5062. filehostIdx = filehostHeadersOnlyLen;
  5063. while (filehostIdx--)
  5064. {
  5065. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5066. {
  5067. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5068. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5069. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5070. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5071.  
  5072. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5073.  
  5074. break;
  5075. }
  5076. }
  5077. }
  5078.  
  5079. }
  5080. }
  5081. //DIRECT LINKCHECKING END
  5082.  
  5083.  
  5084. //finds the real url on the page, replaces link.href with it and calls geturl
  5085. function decurl(link, reallinkreg, reallinkcorrection)
  5086. {
  5087.  
  5088. GM_xmlhttpRequest(
  5089. {
  5090. method: 'GET',
  5091. url: link.href,
  5092. headers: {
  5093. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5094. 'Accept': 'text/xml',
  5095. 'Referer': ""
  5096. },
  5097. onload: function (result)
  5098. {
  5099. // cLinksProcessed++;
  5100.  
  5101. var reallink = result.responseText.match(reallinkreg)[0];
  5102. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5103.  
  5104. link.href = reallink;
  5105.  
  5106. var i = http_file_hosts.length - 1;
  5107. do
  5108. {
  5109. if ((reallink.match(http_file_hosts[i][0])))
  5110. {
  5111. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5112. var isAliveRegex = http_file_hosts[i][1];
  5113. var isDeadRegex = http_file_hosts[i][2];
  5114. var isUnavaRegex = http_file_hosts[i][3];
  5115. var ispremRegex = http_file_hosts[i][4];
  5116.  
  5117. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5118.  
  5119. break;
  5120. }
  5121. }
  5122. while (i--);
  5123. }
  5124. });
  5125. }
  5126.  
  5127. function randUA()
  5128. {
  5129. //TODO
  5130. }
  5131. //Processes link
  5132. //
  5133. // [string] link link URL
  5134. // [string] isAliveRegex alive link regex
  5135. // [string] isDeadRegex dead link regex
  5136. // [string] isUnavaRegex unavailable link regex
  5137. // [string] ispremRegex premium link regex
  5138. // [boolean] tryLoop repeats request until succeeded
  5139. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5140. {
  5141. GM_xmlhttpRequest(
  5142. {
  5143. method: 'GET',
  5144. url: link.href,
  5145. headers: {
  5146. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5147. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5148. 'Referer': ""
  5149. },
  5150. onload: function (result)
  5151. {
  5152. var res = result.responseText;
  5153. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5154. {
  5155. displayTheCheckedLink(link, 'alive_link');
  5156. return;
  5157. }
  5158.  
  5159. if (res.match(isAliveRegex))
  5160. {
  5161. displayTheCheckedLink(link, 'alive_link');
  5162. return;
  5163. }
  5164.  
  5165. if (res.match(isDeadRegex))
  5166. {
  5167. displayTheCheckedLink(link, 'adead_link');
  5168. return;
  5169. }
  5170.  
  5171. if (isUnavaRegex && res.match(isUnavaRegex))
  5172. {
  5173. displayTheCheckedLink(link, 'unava_link');
  5174. return;
  5175. }
  5176. if (res.match(ispremRegex))
  5177. {
  5178. displayTheCheckedLink(link, 'prem_link');
  5179. return;
  5180. }
  5181.  
  5182. var resStatus = result.status;
  5183.  
  5184. if (resStatus == 404)
  5185. {
  5186. displayTheCheckedLink(link, 'adead_link');
  5187. }
  5188. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5189. {
  5190. if (tryLoop)
  5191. {
  5192. //wait 1-5 seconds and repeat the request
  5193. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5194. }
  5195. else
  5196. {
  5197. displayTheCheckedLink(link, 'unava_link');
  5198. }
  5199.  
  5200. return;
  5201. }
  5202. },
  5203. onerror: function ()
  5204. {
  5205. displayTheCheckedLink(link, 'unava_link');
  5206. }
  5207. });
  5208. }
  5209.  
  5210. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5211. {
  5212. GM_xmlhttpRequest(
  5213. {
  5214. method: 'HEAD',
  5215. url: link.href,
  5216. headers: {
  5217. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5218. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5219. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5220. 'Referer': ""
  5221. },
  5222. onload: function (result)
  5223. {
  5224. var resStatus = result.status;
  5225. var resHeaders = "";
  5226. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5227. {
  5228. displayTheCheckedLink(link, 'adead_link');
  5229. return;
  5230. }
  5231.  
  5232. resHeaders = result.responseHeaders;
  5233.  
  5234. if (resHeaders.match(isDeadRegex))
  5235. {
  5236. displayTheCheckedLink(link, 'adead_link');
  5237. return;
  5238. }
  5239.  
  5240. if (resHeaders.match(isAliveRegex))
  5241. {
  5242. displayTheCheckedLink(link, 'alive_link');
  5243. return;
  5244. }
  5245. if (resHeaders.match(ispremRegex))
  5246. {
  5247. displayTheCheckedLink(link, 'prem_link');
  5248. return;
  5249. }
  5250. },
  5251. onerror: function ()
  5252. {
  5253. displayTheCheckedLink(link, 'unava_link');
  5254. }
  5255. });
  5256. }
  5257.  
  5258. //Delinkfifies the <a> element object
  5259. function delinkifyLink(link)
  5260. {
  5261. var spanElm = document.createElement("span");
  5262. spanElm.className = link.className;
  5263. spanElm.innerHTML = link.innerHTML;
  5264.  
  5265. if (Display_tooltip_info)
  5266. {
  5267. spanElm.href = link.href;
  5268. spanElm.warlc_error = link.warlc_error;
  5269. switch (link.className){
  5270. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5271. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5272. case "unava_link": //reserved
  5273. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5274. default:
  5275. }
  5276. }
  5277. link.parentNode.replaceChild(spanElm, link);
  5278. }
  5279.  
  5280. //Assigns result status to the <a> element object and calls delinkifying eventually
  5281. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5282. function displayTheCheckedLink(link, resultStatus)
  5283. {
  5284. link.className = resultStatus;
  5285. link.href = Ref_anonymize_service + link.href;
  5286. if (Display_tooltip_info)
  5287. {
  5288. switch (resultStatus){
  5289. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5290. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5291. case "unava_link": //reserved
  5292. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5293. default:
  5294. }
  5295. }
  5296. if (doNotLinkify)
  5297. {
  5298. delinkifyLink(link);
  5299. }
  5300. cLinksProcessed++;
  5301.  
  5302. if (resultStatus == "alive_link")
  5303. {
  5304. cLinksAlive++;
  5305. return;
  5306. }
  5307.  
  5308. if (resultStatus == "adead_link")
  5309. {
  5310. cLinksDead++;
  5311. return;
  5312. }
  5313.  
  5314. if (resultStatus == "unava_link")
  5315. {
  5316. cLinksUnava++;
  5317. }
  5318. if (resultStatus == "prem_link")
  5319. {
  5320. cLinksprem++;
  5321. return;
  5322. }
  5323. }
  5324.  
  5325.  
  5326. function initFileHosts()
  5327. {
  5328.  
  5329. function addObsoleteHost(linkRegex, xpathEx)
  5330. {
  5331. var host = new Array(2);
  5332. host[0] = linkRegex;
  5333. host[1] = xpathEx;
  5334. http_file_hosts_obsolete.push(host);
  5335. }
  5336.  
  5337. //obsolete file hosts init start
  5338. if (Obsolete_file_hosts)
  5339. {
  5340. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5341. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5342. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5343. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5344. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5345. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5346. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5347. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5348. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5349. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5350. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5351. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5352. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5353. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5354. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5355. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5356. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5357. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5358. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5359. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5360. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5361. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5362. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5363. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5364. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5365. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5366. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5367. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5368. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5369. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5370. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5371. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5372. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5373. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5374. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5375. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5376. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5377. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5378. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5379. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5380. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5381. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5382. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5383. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5384. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5385. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5386. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5387. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5388. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5389. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5390. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5391. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5392. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5393. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5394. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5395. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5396. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5397. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5398. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5399. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5400. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5401. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5402. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5403. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5404. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5405. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5406. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5407. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5408. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5409. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5410. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5411. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5412. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5413. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5414. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5415. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5416. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5417. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5418. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5419. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5420. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5421. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5422. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5423. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5424. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5425. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5426. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5427. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5428. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5429. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5430. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5431. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5432. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5433. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5434. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5435. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5436. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5437. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5438. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5439. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5440. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5441. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5442. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5443. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5444. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5445. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5446. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5447. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5448. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5449. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5450. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5451. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5452. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5453. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5454. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5455. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5456. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5457. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5458. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5459. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5460. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5461. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5462. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5463. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5464. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5465. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5466. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5467. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5468. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5469. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5470. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5471. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5472. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5473. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5474. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5475. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5476. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5477. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5478. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5479. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5480. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5481. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5482. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5483. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5484. 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')]");
  5485. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5486. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5487. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5488. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5489. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5490. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5491. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5492. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5493. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5494. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5495. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5496. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5497. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5498. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5499. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5500. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5501. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5502. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5503. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5504. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5505. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5506. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5507. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5508. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5509. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5510. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5511. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5512. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5513. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5514. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5515. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5516. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5517. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5518. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5519. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5520. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5521. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5522. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5523. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5524. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5525. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5526. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5527. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5528. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5529. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5530. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5531. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5532. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5533. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5534. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5535. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5536. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5537. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5538. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5539. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5540. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5541. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5542. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5543. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5544. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5545. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5546. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5547. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5548. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5549. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5550. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5551. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5552. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5553. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5554. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5555. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5556. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5557. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5558. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5559. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5560. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5561. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5562. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5563. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5564. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5565. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5566. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5567. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5568. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5569. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5570. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5571. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5572. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5573. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5574. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5575. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5576. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5577. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5578. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5579. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5580. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5581. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5582. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5583. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5584. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5585. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5586. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5587. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5588. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5589. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5590. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5591. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5592. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5593. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5594. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5595. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5596. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5597. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5598. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5599. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5600. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5601. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5602. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5603. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5604. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5605. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5606. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5607. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5608. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5609. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5610. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5611. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5612. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5613. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5614. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5615. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5616. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5617. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5618. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5619. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5620. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5621. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5622. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5623. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5624. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5625. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5626. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5627. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5628. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5629. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5630. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5631. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5632. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5633. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5634. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5635. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5636. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5637. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5638. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5639. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5640. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5641. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5642. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5643. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5644. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5645. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5646. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5647. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5648. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5649. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5650. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5651. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5652. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5653. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5654. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5655. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5656. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5657. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5658. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5659. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5660. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5661. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5662. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5663. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5664. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5665. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5666. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5667. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5668. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5669. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5670. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5671. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5672. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5673. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5674. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5675. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5676. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5677. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5678. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5679. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5680. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5681. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5682. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5683. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5684. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5685. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5686. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5687. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5688. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5689. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5690. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5691. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5692. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5693. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5694. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5695. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5696. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5697. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5698. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5699. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5700. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5701. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5702. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5703. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5704. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5705. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5706. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5707. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5708. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5709. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5710. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5711. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5712. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5713. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5714. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5715. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5716. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5717. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5718. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5719. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5720. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5721. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5722. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5723. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5724. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5725. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5726. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5727. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5728. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5729. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5730. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5731. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5732. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5733. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5734. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5735. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5736. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5737. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5738. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5739. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5740. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5741. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5742. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5743. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5744. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5745. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5746. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5747. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5748. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5749. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5750. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5751. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5752. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5753. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5754. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5755. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5756. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5757. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5758. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5759. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5760. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5761. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5762. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5763. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5764. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5765. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5766. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5767. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5768. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5769. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5770. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5771. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5772. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5773. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5774. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5775. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5776. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5777. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5778. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5779. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5780. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5781. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5782. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5783. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5784. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5785. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5786. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5787. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5788. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5789. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5790. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5791. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5792. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5793. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5794. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5795. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5796. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5797. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5798. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5799. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5800. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5801. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5802. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5803. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5804. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5805. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5806. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5807. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5808. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5809. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5810. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5811. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5812. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5813. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5814. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5815. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5816. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5817. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5818. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5819. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5820. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5821. // obsolete start
  5822. }
  5823. //obsolete file hosts init end
  5824. //Add Host Example
  5825. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5826. {
  5827. addFileHost(
  5828. "datafile\.com\/\\w+",
  5829. 'var captchaPanel|<link href="/css/files_download.css"',
  5830. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5831. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5832. '<style type="text/css">',
  5833. "//a[contains(@href,'datafile.com')]",
  5834. true);
  5835. } */
  5836.  
  5837. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5838. {
  5839. var host = new Array(7);
  5840. host[0] = linkRegex;
  5841. host[1] = isAliveRegex;
  5842. host[2] = isDeadRegex;
  5843. host[3] = isUnavaRegex;
  5844. host[6] = ispremRegex;
  5845. host[4] = xpathEx;
  5846. tryLoop ? host[5] = true : host[5] = false;
  5847. http_file_hosts.push(host);
  5848. }
  5849. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5850. {
  5851. addFileHost(
  5852. "megafileupload\.com\/..\/file\/",
  5853. 'downloadbtn',
  5854. 'is not found',
  5855. 'optional--',
  5856. 'optional2--',
  5857. "//a[contains(@href,'megafileupload.com')]");
  5858. }
  5859. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5860. {
  5861. addFileHost(
  5862. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5863. 'download\\.gif"',
  5864. 'p_point">',
  5865. 'optional--',
  5866. 'optional2--',
  5867. "//a[contains(@href,'demo.ovh.eu')]");
  5868. }
  5869. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5870. {
  5871. addFileHost(
  5872. "xkeepfile\.com\/\\w+",
  5873. 'File has been found|Click here to download',
  5874. 'File cannot be found|class="error">',
  5875. 'optional--',
  5876. 'optional2--',
  5877. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5878. }
  5879. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5880. {
  5881. addFileHost(
  5882. "safelinking\\.net\/p\/\\w+",
  5883. 'color:green;"',
  5884. 'color:(?:red|orange);"',
  5885. 'color:(?:grey|brown);"',
  5886. 'optional2--',
  5887. "//a[contains(@href,'safelinking.net/p/')]",
  5888. true);
  5889. }
  5890. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5891. {
  5892. addFileHost(
  5893. "fastshare\\.cz\/\\d+\/\\w*",
  5894. 'dwntable">|speed-low',
  5895. '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',
  5896. 'optional--',
  5897. 'optional2--',
  5898. "//a[contains(@href,'fastshare.cz')]");
  5899. }
  5900. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5901. {
  5902. addFileHost(
  5903. "[fF]ast[sS]hare\\.org\/download",
  5904. 'Download ">',
  5905. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5906. 'optional--',
  5907. 'optional2--',
  5908. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5909. }
  5910. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5911. {
  5912. addFileHost(
  5913. "partage-facile\.com\/\\w+",
  5914. 'class="title"><strong>|colspan="2"',
  5915. 'Page introuvable|class="alert-message',
  5916. 'optional--',
  5917. 'optional2--',
  5918. "//a[contains(@href,'partage-facile.com')]");
  5919. }
  5920. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5921. {
  5922. addFileHost(
  5923. "rapidgator\\.net\/file\/\\w+",
  5924. '/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',
  5925. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5926. 'optional--',
  5927. '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',
  5928. "//a[contains(@href,'rapidgator.net/file')]",
  5929. true
  5930. );
  5931. }
  5932. if (GM_getValue("Check_relink_dot_us_links", false))
  5933. {
  5934. addFileHost(
  5935. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5936. 'online_detail\\.png" alt="Status',
  5937. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5938. 'unknown_detail\\.png" alt="Status',
  5939. 'optional2--',
  5940. "//a[contains(@href,'relink.us/')]"
  5941. );
  5942. }
  5943. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5944. {
  5945. addFileHost(
  5946. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5947. 'div id="dl"',
  5948. 'Sie haben den Link falsch',
  5949. 'optional--',
  5950. 'optional2--',
  5951. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5952. );
  5953. }
  5954. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5955. {
  5956. addFileHost(
  5957. "flyfiles\\.net\/\\w+",
  5958. 'download_button"|"Download file"',
  5959. 'File not found!|Файл не найден',
  5960. 'optional--',
  5961. 'optional2--',
  5962. "//a[contains(@href,'flyfiles.net/')]"
  5963. );
  5964. }
  5965. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5966. {
  5967. addFileHost(
  5968. "wikiupload\\.com\/\\w+",
  5969. 'download-button">',
  5970. 'Sorry, File not found',
  5971. 'optional--',
  5972. 'optional2--',
  5973. "//a[contains(@href,'wikiupload.com/')]"
  5974. );
  5975. }
  5976. if (GM_getValue("Check_hostuje_dot_net_links", false))
  5977. {
  5978. addFileHost(
  5979. "hostuje\\.net\/file\\.php\\?id=\\w+",
  5980. 'file\\.php">|Pobierz Plik',
  5981. 'Podany plik nie zosta',
  5982. 'optional--',
  5983. 'optional2--',
  5984. "//a[contains(@href,'hostuje.net/file')]"
  5985. );
  5986. }
  5987. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  5988. {
  5989. addFileHost(
  5990. "gettyfile\\.ru\/\\d+",
  5991. 'download\\.gif border',
  5992. '<center><font size="3">',
  5993. 'optional--',
  5994. 'optional2--',
  5995. "//a[contains(@href,'gettyfile.ru/')]"
  5996. );
  5997. }
  5998. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  5999. {
  6000. addFileHost(
  6001. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6002. 'download\\-file">',
  6003. 'col-1">\\s*<h1>',
  6004. 'optional--',
  6005. 'optional2--',
  6006. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6007. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6008. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6009. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6010. );
  6011. }
  6012. if (GM_getValue("Check_data_dot_hu_links", false))
  6013. {
  6014. addFileHost(
  6015. "data\\.hu\/get\/\\d+\/",
  6016. 'download_box_button',
  6017. 'missing\\.php',
  6018. 'optional--',
  6019. 'optional2--',
  6020. "//a[contains(@href,'data.hu/get')]",
  6021. true
  6022. );
  6023. }
  6024. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6025. {
  6026. addFileHost(
  6027. "filesmelt\\.com\/dl\/\\w+",
  6028. '(Your download is ready|Download File)',
  6029. 'Sorry, but your',
  6030. 'optional--',
  6031. 'optional2--',
  6032. "//a[contains(@href,'filesmelt.com/dl')]"
  6033. );
  6034. }
  6035. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6036. {
  6037. addFileHost(
  6038. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6039. 'premiumBtn"',
  6040. 'errorMessage"',
  6041. 'optional--',
  6042. 'optional2--',
  6043. "//a[contains(@href,'indowebster.com/download')]"
  6044. );
  6045. }
  6046. if (GM_getValue("Check_superload_dot_cz_links", false))
  6047. {
  6048. addFileHost(
  6049. "superload\\.cz\/dl\/\\w+",
  6050. 'icon-download">',
  6051. 'soubor nebyl nalezen',
  6052. 'optional--',
  6053. 'optional2--',
  6054. "//a[contains(@href,'superload.cz/dl')]"
  6055. );
  6056. }
  6057. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6058. {
  6059. addFileHost(
  6060. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6061. 'op" value="download',
  6062. 'class="err">|width:500px;text-align:left;">',
  6063. 'optional--',
  6064. 'optional2--',
  6065. "//a[contains(@href,'hulkfile.')]"
  6066. );
  6067. }
  6068. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6069. {
  6070. addFileHost(
  6071. "easybytez\\.com\/\\w+",
  6072. 'op" value="download',
  6073. 'stop_error\\.gif',
  6074. 'optional--',
  6075. 'optional2--',
  6076. "//a[contains(@href,'easybytez.com/')]"
  6077. );
  6078. }
  6079. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6080. {
  6081. addFileHost(
  6082. "filestore\\.com\\.ua\/\\?d=\\w+",
  6083. 'tdrow1>',
  6084. 'class=warn',
  6085. 'optional--',
  6086. 'optional2--',
  6087. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6088. );
  6089. }
  6090. if (GM_getValue("Check_netkups_dot_com_links", false))
  6091. {
  6092. addFileHost(
  6093. "netkups\\.com\/\\?d=\\w+",
  6094. 'submit">Continue',
  6095. 'page">File not found|deleted due to inactivity',
  6096. 'optional--',
  6097. 'optional2--',
  6098. "//a[contains(@href,'netkups.com/?d=')]"
  6099. );
  6100. }
  6101. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6102. {
  6103. addFileHost(
  6104. "openfile\\.ru\/(?:video\/|)\\d+",
  6105. 'videobox_left">',
  6106. 'blog_title">|not found on this server',
  6107. 'optional--',
  6108. 'optional2--',
  6109. "//a[contains(@href,'openfile.ru/')]"
  6110. );
  6111. }
  6112. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6113. {
  6114. addFileHost(
  6115. "extmatrix\\.com\/files\/\\w+",
  6116. 'div class="success"',
  6117. 'div class="error"',
  6118. 'optional--',
  6119. 'optional2--',
  6120. "//a[contains(@href,'extmatrix.com/files')]"
  6121. );
  6122. }
  6123. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6124. {
  6125. addFileHost(
  6126. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6127. 'content_lnkDownload',
  6128. 'error\\.aspx\\?',
  6129. 'optional--',
  6130. 'optional2--',
  6131. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6132. );
  6133. }
  6134. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6135. {
  6136. addFileHost(
  6137. "yourfilestore\\.com\/download\/\\d+\/",
  6138. 'download_data">',
  6139. 'may have been deleted|<h1>Sorry!<\/h1>',
  6140. 'optional--',
  6141. 'optional2--',
  6142. "//a[contains(@href,'yourfilestore.com/download')]"
  6143. );
  6144. }
  6145. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6146. {
  6147. addFileHost(
  6148. "nekaka\\.com\/d\/[\\w-]+",
  6149. 'downloadForm">',
  6150. 'invalid file link',
  6151. 'optional--',
  6152. 'optional2--',
  6153. "//a[contains(@href,'nekaka.com/d')]"
  6154. );
  6155. }
  6156. if (GM_getValue("Check_filebig_dot_net_links", false))
  6157. {
  6158. addFileHost(
  6159. "filebig\\.net\/files\/\\w+",
  6160. 'downloadFile">',
  6161. '<p>File not found<\/p>',
  6162. 'optional--',
  6163. 'optional2--',
  6164. "//a[contains(@href,'filebig.net/files')]"
  6165. );
  6166. }
  6167. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6168. {
  6169. addFileHost(
  6170. "files\\.filefront\\.com\/\/;\\d+;;",
  6171. 'downloadLink">',
  6172. 'File not found, you',
  6173. 'optional--',
  6174. 'optional2--',
  6175. "//a[contains(@href,'files.filefront.com')]"
  6176. );
  6177.  
  6178. addFileHost(
  6179. "gamefront\\.com\/files\/\\d+",
  6180. 'downloadLink">',
  6181. 'File not found, you',
  6182. 'optional--',
  6183. 'optional2--',
  6184. "//a[contains(@href,'gamefront.com/files')]"
  6185. );
  6186. }
  6187. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6188. {
  6189. addFileHost(
  6190. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6191. 'dnlLnk"',
  6192. 'already been deleted',
  6193. 'optional--',
  6194. 'optional2--',
  6195. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6196. );
  6197. }
  6198. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6199. {
  6200. addFileHost(
  6201. "hellupload\\.com\/\\w+",
  6202. '<h3>Download File<br',
  6203. 'id="podstrona">|AVOID_IE_BUG',
  6204. 'optional--',
  6205. 'optional2--',
  6206. "//a[contains(@href,'hellupload.com/')]"
  6207. );
  6208. }
  6209. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6210. {
  6211. addFileHost(
  6212. "free\\-uploading\\.com\/\\w+",
  6213. 'op" value="download',
  6214. 'class="err">|width:500px;text-align:left;">',
  6215. 'optional--',
  6216. 'optional2--',
  6217. "//a[contains(@href,'free-uploading.com/')]"
  6218. );
  6219. }
  6220. if (GM_getValue("Check_fileape_dot_com_links", false))
  6221. {
  6222. addFileHost(
  6223. "fileape\\.com\/download\\-",
  6224. 'button_dl\\.png',
  6225. 'does not exist\\.',
  6226. 'optional--',
  6227. 'optional2--',
  6228. "//a[contains(@href,'fileape.com/')]"
  6229. );
  6230. }
  6231. if (GM_getValue("Check_uppit_dot_com_links", false))
  6232. {
  6233. addFileHost(
  6234. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6235. 'op" value="download',
  6236. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6237. 'optional--',
  6238. 'optional2--',
  6239. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6240. true
  6241. );
  6242. }
  6243. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6244. {
  6245. addFileHost(
  6246. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6247. 'op" value="download',
  6248. '>File Not Found<',
  6249. 'optional--',
  6250. 'optional2--',
  6251. "//a[contains(@href,'nosupload.com')]",
  6252. true
  6253. );
  6254. }
  6255. if (GM_getValue("Check_filesin_dot_com_links", false))
  6256. {
  6257. addFileHost(
  6258. "filesin\\.com\/\\w+\/download\\.html",
  6259. 'download_area">',
  6260. 'error_note">',
  6261. 'optional--',
  6262. 'optional2--',
  6263. "//a[contains(@href,'filesin.com/')]",
  6264. true
  6265. );
  6266. }
  6267. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6268. {
  6269. addFileHost(
  6270. "nowdownload\\.ch\/dl\/\\w+",
  6271. 'alert-success"',
  6272. 'This file does not exist!',
  6273. 'The file is being transfered',
  6274. 'optional2--',
  6275. "//a[contains(@href,'nowdownload.ch/dl')]"
  6276. );
  6277. }
  6278. if (GM_getValue("Check_axifile_dot_com_links", false))
  6279. {
  6280. addFileHost(
  6281. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6282. 'Dbutton_big"',
  6283. 'download\\-error\\.php',
  6284. 'optional--',
  6285. 'optional2--',
  6286. "//a[contains(@href,'axifile.com/')]"
  6287. );
  6288. }
  6289. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6290. {
  6291. addFileHost(
  6292. "hulkshare\.com\/\\w+",
  6293. 'download\.sam\.png|This is a private file|id="filename',
  6294. 'File does not exist|fingerprint protected copyright',
  6295. 'optional--',
  6296. 'optional2--',
  6297. "//a[contains(@href,'hulkshare.com')]"
  6298. );
  6299. }
  6300. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6301. {
  6302. addFileHost(
  6303. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6304. 'col-1">\\s*<s',
  6305. 'col-1">\\s*<h',
  6306. 'optional--',
  6307. 'optional2--',
  6308. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6309. );
  6310. }
  6311. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6312. {
  6313. addFileHost(
  6314. "turbobit\\.(?:net|pl)",
  6315. 'id="download-gate-info',
  6316. 'afterWait()|no files in this folder',
  6317. 'optional--',
  6318. 'optional2--',
  6319. "//a[contains(@href,'turbobit.net')]"
  6320. );
  6321. }
  6322. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6323. {
  6324. addFileHost(
  6325. "hitfile\\.net\/download\/folder\/\\d+",
  6326. 'content">\\s*<s',
  6327. 'content">\\s*<h',
  6328. 'optional--',
  6329. 'optional2--',
  6330. "//a[contains(@href,'hitfile.net/download/folder')]"
  6331. );
  6332. }
  6333. if (GM_getValue("Check_movshare_dot_net_links", false))
  6334. {
  6335. addFileHost(
  6336. "movshare\\.net\\/video\\/\\w+",
  6337. 'optional--"',
  6338. 'no longer exists',
  6339. 'optional--',
  6340. 'optional2--',
  6341. "//a[contains(@href,'movshare.net/video')]"
  6342. );
  6343. }
  6344. if (GM_getValue("Check_plunder_dot_com_links", false))
  6345. {
  6346. addFileHost(
  6347. "plunder\.com\/\\w+",
  6348. 'x\/download\\.gif',
  6349. '404 - File or directory not found.',
  6350. 'optional--',
  6351. 'optional2--',
  6352. "//a[contains(@href,'plunder.com')]"
  6353. );
  6354. }
  6355. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6356. {
  6357. addFileHost(
  6358. "mafiastorage\\.com\/\\w+",
  6359. 'op" value="download',
  6360. 'class="err">|style="width:500px;text-align:left;"',
  6361. 'optional--',
  6362. 'optional2--',
  6363. "//a[contains(@href,'mafiastorage.com/')]"
  6364. );
  6365. }
  6366. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6367. {
  6368. addFileHost(
  6369. "uploadspace\.pl\/plik\\w+",
  6370. 'Downloading .+? \\|',
  6371. 'Downloading a file',
  6372. 'optional--',
  6373. 'optional2--',
  6374. "//a[contains(@href,'uploadspace.pl/plik')]"
  6375. );
  6376. }
  6377. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6378. {
  6379. addFileHost(
  6380. "uploadingit\\.com\/file\/\\w+",
  6381. 'downloadTitle">',
  6382. 'deleteContent">',
  6383. 'optional--',
  6384. 'optional2--',
  6385. "//a[contains(@href,'uploadingit.com/file')]"
  6386. );
  6387. }
  6388. if (GM_getValue("Check_rghost_dot_net_links", false))
  6389. {
  6390. addFileHost(
  6391. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6392. 'download_link|btn large download',
  6393. 'file is restricted|File is deleted|503 Service Unavailable',
  6394. 'optional--',
  6395. 'optional2--',
  6396. "//a[contains(@href,'rghost.')]"
  6397. );
  6398. }
  6399. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6400. {
  6401. addFileHost(
  6402. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6403. '">Staženo:\\s*<\/span>',
  6404. 'Soubor, který hledáte nenalezen',
  6405. 'optional--',
  6406. 'optional2--',
  6407. "//a[contains(@href,'xdisk.cz/')]"
  6408. );
  6409. }
  6410. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6411. {
  6412. addFileHost(
  6413. "expressleech\.com\/\\w+",
  6414. 'src="/img/Download.gif"|var _gaq =',
  6415. 'var rr =|403 Forbidden',
  6416. 'optional--',
  6417. 'optional2--',
  6418. "//a[contains(@href,'expressleech.com')]");
  6419. }
  6420. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6421. {
  6422. addFileHost(
  6423. "2downloadz\.com\/\\w+",
  6424. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6425. 'color="#006DCC|File error',
  6426. 'optional--',
  6427. 'optional2--',
  6428. "//a[contains(@href,'2downloadz.com')]");
  6429. }
  6430. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6431. {
  6432. addFileHost(
  6433. "mightyupload\.com\/\\w+",
  6434. 'background:#ccc;text-align|CONTENT="Download File"',
  6435. 'style="background:#eee|var rr =|File Not Found',
  6436. 'error-code">1010',
  6437. 'optional2--',
  6438. "//a[contains(@href,'mightyupload.com')]");
  6439. }
  6440. if (GM_getValue("Check_anysend_dot_com_links", false))
  6441. {
  6442. addFileHost(
  6443. "anysend\.com\/\\w+",
  6444. 'var openCalled=false;|content="noindex"',
  6445. '_trackPageview',
  6446. 'optional--',
  6447. 'optional2--',
  6448. "//a[contains(@href,'anysend.com')]");
  6449. }
  6450. if (GM_getValue("Check_datafile_dot_com_links", false))
  6451. {
  6452. addFileHost(
  6453. "datafile\.com\/\\w+",
  6454. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6455. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6456. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6457. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">', //<style type="text/css">
  6458. "//a[contains(@href,'datafile.com')]",
  6459. true);
  6460. }
  6461. if (GM_getValue("Check_upstore_dot_net_links", false))
  6462. {
  6463. addFileHost(
  6464. "upstore\.net\/\\w+",
  6465. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6466. 'File not found|onload="redirect|class="error">',
  6467. 'optional--',
  6468. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6469. "//a[contains(@href,'upstore.net')]");
  6470. }
  6471. if (GM_getValue("Check_upsto_dot_re_links", false))
  6472. {
  6473. addFileHost(
  6474. "upsto\.re\/\\w+",
  6475. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6476. 'File not found|onload="redirect|class="error">',
  6477. 'optional--',
  6478. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6479. "//a[contains(@href,'upsto.re')]");
  6480. }
  6481. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6482. {
  6483. addFileHost(
  6484. "speedy\.sh\/\\w+",
  6485. 'bgcolor=#eeeeee|class="addthis',
  6486. 'File not found|downloadfilenamenotfound>',
  6487. 'optional--',
  6488. 'optional2--',
  6489. "//a[contains(@href,'speedy.sh')]");
  6490. }
  6491. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6492. {
  6493. addFileHost(
  6494. "sanshare\.com\/\\w+",
  6495. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6496. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6497. 'optional--',
  6498. 'optional2--',
  6499. "//a[contains(@href,'sanshare.com')]");
  6500. }
  6501. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6502. {
  6503. addFileHost(
  6504. "kingfiles\.net\/\\w+",
  6505. 'method_free',
  6506. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6507. 'optional--',
  6508. 'optional2--',
  6509. "//a[contains(@href,'kingfiles.net')]");
  6510. }
  6511. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6512. {
  6513. addFileHost(
  6514. "uploadhero\\.co\/dl\/\\w+",
  6515. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6516. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6517. 'optional--',
  6518. 'optional2--',
  6519. "//a[contains(@href,'uploadhero.co/dl')]"
  6520. );
  6521. } */
  6522. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6523. {
  6524. addFileHost(
  6525. "secureupload\\.eu\/\\w+",
  6526. 'Downloading',
  6527. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6528. 'optional--',
  6529. 'optional2--',
  6530. "//a[contains(@href,'secureupload.eu')]"
  6531. );
  6532. }
  6533. if (GM_getValue("Check_ge_dot_tt_links", false))
  6534. {
  6535. addFileHost(
  6536. "ge\.tt\/\\w+",
  6537. 'downloads pic',
  6538. 'is NOT the same as',
  6539. 'optional--',
  6540. 'optional2--',
  6541. "//a[contains(@href,'ge.tt')]");
  6542. }
  6543. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6544. {
  6545. addFileHost(
  6546. "filefactory\.com\/\\w+",
  6547. 'div id="file_holder"|download.css',
  6548. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6549. 'Server Maintenance|temporarily overloaded',
  6550. 'Premium Account Required',
  6551. "//a[contains(@href,'filefactory.com')]");
  6552. }
  6553. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6554. {
  6555. addFileHost(
  6556. "filesflash\.net\/\\w+",
  6557. 'align:right">Filename:',
  6558. 'class="msg">',
  6559. 'optional--',
  6560. 'optional2--',
  6561. "//a[contains(@href,'filesflash.net')]");
  6562. }
  6563. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6564. {
  6565. addFileHost(
  6566. "rapidgator\\.net\/folder\/\\w+",
  6567. 'href="/folder/',
  6568. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6569. 'optional--',
  6570. 'optional2--',
  6571. "//a[contains(@href,'rapidgator.net/folder')]",
  6572. true
  6573. );
  6574. }
  6575. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6576. {
  6577. addFileHost(
  6578. "salefiles\.com\/\\w+",
  6579. 'name="method_free',
  6580. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6581. 'optional--',
  6582. 'optional2--',
  6583. "//a[contains(@href,'salefiles.com')]");
  6584. }
  6585. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6586. {
  6587. addFileHost(
  6588. "megairon\.net\/\\w+",
  6589. 'border: 5px #ffeb90 solid;',
  6590. 'CONTENT="Download File ">|var rr =',
  6591. 'error-code">523',
  6592. 'optional2--',
  6593. "//a[contains(@href,'megairon.net')]",
  6594. true);
  6595. } */
  6596. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6597. {
  6598. addFileHost(
  6599. "datoid\.cz\/\\w+",
  6600. 'btn-download|class="icon-download-large"',
  6601. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6602. 'optional--',
  6603. 'optional2--',
  6604. "//a[contains(@href,'datoid.cz')]");
  6605. }
  6606. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6607. {
  6608. addFileHost(
  6609. "stiahni\.si\/\\w+",
  6610. 'report_icon.png"|slow-download-button',
  6611. 'none.png|deleted|<h2>Error 500</h2>',
  6612. 'optional--',
  6613. 'optional2--',
  6614. "//a[contains(@href,'stiahni.si')]");
  6615. }
  6616. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6617. {
  6618. addFileHost(
  6619. "cloudstor\.es\/\\w+",
  6620. '"btn_download"',
  6621. '404: Page Not Found',
  6622. 'optional--',
  6623. 'optional2--',
  6624. "//a[contains(@href,'cloudstor.es')]");
  6625. }
  6626. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6627. {
  6628. addFileHost(
  6629. "streamfile\.com\/\\w+",
  6630. 'class="btn',
  6631. 'class="green-btn',
  6632. 'optional--',
  6633. 'optional2--',
  6634. "//a[contains(@href,'streamfile.com')]");
  6635. }
  6636. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6637. {
  6638. addFileHost(
  6639. "eyesfile\.ca\/\\w+",
  6640. 'value="Get Link',
  6641. 'var rr =',
  6642. 'optional--',
  6643. 'optional2--',
  6644. "//a[contains(@href,'eyesfile.ca')]");
  6645. }
  6646. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6647. {
  6648. addFileHost(
  6649. "filemoney\.com\/\\w+",
  6650. 'og:title',
  6651. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6652. 'error-code">1010',
  6653. 'optional2--',
  6654. "//a[contains(@href,'filemoney.com')]");
  6655. }
  6656. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6657. {
  6658. addFileHost(
  6659. "uploadboy\.com\/\\w+",
  6660. 'width="740">|method_free',
  6661. 'var rr =|background:#ffffff|not be found|file was removed',
  6662. 'optional--',
  6663. 'optional2--',
  6664. "//a[contains(@href,'uploadboy.com')]");
  6665. }
  6666. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6667. {
  6668. addFileHost(
  6669. "uploadboy\.com\/\\w+",
  6670. 'width="740">|method_free',
  6671. 'var rr =|background:#ffffff|not be found|file was removed',
  6672. 'optional--',
  6673. 'optional2--',
  6674. "//a[contains(@href,'uploadboy.me')]");
  6675. }
  6676. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6677. {
  6678. addFileHost(
  6679. "speedshare\.eu\/\\w+",
  6680. 'favicon.png|color:#3d87c0|cross.png"',
  6681. 'var rr =|File Not Found|style="background:#eee',
  6682. 'optional--',
  6683. 'optional2--',
  6684. "//a[contains(@href,'speedshare.eu')]");
  6685. }
  6686. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6687. {
  6688. addFileHost(
  6689. "unlimitzone\.com\/\\w+",
  6690. 'name="method_free',
  6691. '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',
  6692. 'optional--',
  6693. 'optional2--',
  6694. "//a[contains(@href,'unlimitzone.com')]");
  6695. }
  6696. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6697. {
  6698. addFileHost(
  6699. "rioupload\.com\/\\w+",
  6700. 'sell.jpg',
  6701. 'var rr =',
  6702. 'optional--',
  6703. 'optional2--',
  6704. "//a[contains(@href,'rioupload.com')]");
  6705. }
  6706. if (GM_getValue("Check_rg_dot_to_links", false))
  6707. {
  6708. addFileHost(
  6709. "rg\.to\/\\w+",
  6710. '/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',
  6711. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6712. 'optional--',
  6713. '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',
  6714. "//a[contains(@href,'rg.to')]");
  6715. }
  6716. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6717. {
  6718. addFileHost(
  6719. "jumbofiles\.org\/\\w+",
  6720. 'H71C5.png|class="downloadtitle">',
  6721. 'var swfu|ViewSourceBIN.png',
  6722. 'optional--',
  6723. 'optional2--',
  6724. "//a[contains(@href,'jumbofiles.org')]");
  6725. }
  6726. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6727. {
  6728. addFileHost(
  6729. "fshare\\.vn\/file\/\\w+",
  6730. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6731. 'không tồn tại|class="color_red m_t_50"',
  6732. 'optional--',
  6733. 'optional2--',
  6734. "//a[contains(@href,'fshare.vn/file')]",
  6735. true
  6736. );
  6737. }
  6738. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6739. {
  6740. addFileHost(
  6741. "spaceforfiles\.com\/\\w+",
  6742. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6743. 'var rr =|AVOID_IE_BUG',
  6744. 'optional--',
  6745. 'optional2--',
  6746. "//a[contains(@href,'spaceforfiles.com')]");
  6747. }
  6748. if (GM_getValue("Check_google_dot_com_links", false))
  6749. {
  6750. addFileHost(
  6751. "google\\.com\/file\/\\w+",
  6752. 'content="!">|color:#2d2d2d',
  6753. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6754. 'optional--',
  6755. 'optional2--',
  6756. "//a[contains(@href,'google.com/file')]",
  6757. true
  6758. );
  6759. }
  6760. if (GM_getValue("Check_google_dot_com_links", false))
  6761. {
  6762. addFileHost(
  6763. "docs.google.com\/\\w+",
  6764. 'content="!">|color:#2d2d2d',
  6765. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6766. 'optional--',
  6767. 'optional2--',
  6768. "//a[contains(@href,'docs.google.com')]",
  6769. true
  6770. );
  6771. }
  6772. if (GM_getValue("Check_google_dot_com_links", false))
  6773. {
  6774. addFileHost(
  6775. "drive.google.com\/\\w+",
  6776. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6777. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6778. 'optional--',
  6779. 'optional2--',
  6780. "//a[contains(@href,'drive.google.com')]",
  6781. true
  6782. );
  6783. }
  6784. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6785. {
  6786. addFileHost(
  6787. "up.media1fire\.com\/\\w+",
  6788. 'class="addthis_|value="download',
  6789. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6790. 'optional--',
  6791. 'optional2--',
  6792. "//a[contains(@href,'up.media1fire.com')]");
  6793. }
  6794. if (GM_getValue("Check_depfile_dot_com_links", false))
  6795. {
  6796. addFileHost(
  6797. "depfile\.com\/\\w+",
  6798. 'logo_0.png|downloads.gif"|verifycode',
  6799. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6800. 'optional--',
  6801. 'available only for Premium users',
  6802. "//a[contains(@href,'depfile.com')]");
  6803. }
  6804. if (GM_getValue("Check_go4up_dot_com_links", false))
  6805. {
  6806. addFileHost(
  6807. "go4up\.com\/\\w+",
  6808. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6809. '<title>GO4UP|dmca',
  6810. 'optional--',
  6811. 'optional2--',
  6812. "//a[contains(@href,'go4up.com')]");
  6813. }
  6814. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6815. {
  6816. addFileHost(
  6817. "redbunker\.net\/\\w+",
  6818. 'name="method_free"',
  6819. 'color="red">Unknow / Bilinmiyor<',
  6820. 'optional--',
  6821. '2.3 GB',
  6822. "//a[contains(@href,'redbunker.net')]");
  6823. }
  6824. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6825. {
  6826. addFileHost(
  6827. "divxpress\.com\/\\w+",
  6828. 'btn_download|logo.png"',
  6829. 'AVOID_IE_BUG|var rr =',
  6830. 'optional--',
  6831. 'optional2--',
  6832. "//a[contains(@href,'divxpress.com')]");
  6833. }
  6834. if (GM_getValue("Check_anafile_dot_com_links", false))
  6835. {
  6836. addFileHost(
  6837. "anafile\.com\/\\w+",
  6838. 'width="881" valign="top|color="#800080"|name="go"',
  6839. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6840. 'optional--',
  6841. 'optional2--',
  6842. "//a[contains(@href,'anafile.com')]");
  6843. }
  6844. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6845. {
  6846. addFileHost(
  6847. "uploadable\\.ch\/file\/\\w+",
  6848. 'captcha.js"|payment.js"|class="btn_download"',
  6849. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6850. 'optional--',
  6851. 'optional2--',
  6852. "//a[contains(@href,'uploadable.ch/file')]",
  6853. true
  6854. );
  6855. }
  6856. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6857. {
  6858. addFileHost(
  6859. "arabloads\.net\/\\w+",
  6860. 'name="method_free"|name="method_premium"',
  6861. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6862. 'optional--',
  6863. 'optional2--',
  6864. "//a[contains(@href,'arabloads.net')]");
  6865. }
  6866. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6867. {
  6868. addFileHost(
  6869. "sharerepo\.com\/\\w+",
  6870. 'name="method_free"',
  6871. 'var public_on=|The file you were looking for could not be found',
  6872. 'optional--',
  6873. 'optional2--',
  6874. "//a[contains(@href,'sharerepo.com')]");
  6875. }
  6876. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6877. {
  6878. addFileHost(
  6879. "sfshare\.se\/\\w+",
  6880. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6881. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6882. 'optional--',
  6883. 'optional2--',
  6884. "//a[contains(@href,'sfshare.se')]");
  6885. }
  6886. if (GM_getValue("Check_files_dot_fm_links", false))
  6887. {
  6888. addFileHost(
  6889. "files\.fm\/\\w+",
  6890. 'dl.png"|background-color: transparent',
  6891. 'margin: 40px 40px|background: none;',
  6892. 'optional--',
  6893. 'optional2--',
  6894. "//a[contains(@href,'files.fm')]");
  6895. }
  6896. if (GM_getValue("Check_koofile_dot_com_links", false))
  6897. {
  6898. addFileHost(
  6899. "koofile\.com\/\\w+",
  6900. 'value="download1">|name="method_free"',
  6901. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6902. 'optional--',
  6903. 'optional2--',
  6904. "//a[contains(@href,'koofile.com')]");
  6905. }
  6906. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6907. {
  6908. addFileHost(
  6909. "vidxden\\.com\/\\w+",
  6910. 'Continue to Video"',
  6911. 'No such file',
  6912. 'optional--',
  6913. 'optional2--',
  6914. "//a[contains(@href,'vidxden.com')]"
  6915. );
  6916. }
  6917. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6918. {
  6919. addFileHost(
  6920. "muchshare\\.net\/\\w+",
  6921. 'id="btn_download"',
  6922. 'File Not Found|width: 500px; text-align: left;',
  6923. 'optional--',
  6924. 'optional2--',
  6925. "//a[contains(@href,'muchshare.net')]"
  6926. );
  6927. }
  6928. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6929. {
  6930. addFileHost(
  6931. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6932. 'Details zur Datei|Details page',
  6933. 'Jetzt hochladen|upload now',
  6934. 'optional--',
  6935. 'optional2--',
  6936. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6937. );
  6938. }
  6939. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6940. {
  6941. addFileHost(
  6942. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6943. 'downloadbtn"',
  6944. 'DL_FileNotFound',
  6945. 'optional--',
  6946. 'optional2--',
  6947. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6948. );
  6949. }
  6950. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6951. {
  6952. addFileHost(
  6953. "fileflyer\.com\/view\/\\w+",
  6954. '(?:dwl|locked)btn"',
  6955. 'error.gif"|link">Removed|removedlink">',
  6956. 'optional--',
  6957. 'optional2--',
  6958. "//a[contains(@href,'fileflyer.com')]"
  6959. );
  6960. }
  6961. if (GM_getValue("Check_filestore_dot_to_links", false))
  6962. {
  6963. addFileHost(
  6964. "filestore\.to\/\\?d=\\w+",
  6965. '"downloading"',
  6966. 'Datei wurde nicht gefunden',
  6967. 'optional--',
  6968. 'optional2--',
  6969. "//a[contains(@href,'filestore.to')]"
  6970. );
  6971. }
  6972. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6973. {
  6974. addFileHost(
  6975. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6976. 'fz24">Download|class="pl15">',
  6977. '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',
  6978. 'optional--',
  6979. 'optional2--',
  6980. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  6981. );
  6982. }
  6983. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  6984. {
  6985. addFileHost(
  6986. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  6987. 'File size:',
  6988. 'file is not found',
  6989. 'optional--',
  6990. 'optional2--',
  6991. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  6992. );
  6993. } */
  6994. if (GM_getValue("Check_datei_dot_to_links", false))
  6995. {
  6996. addFileHost(
  6997. "datei\\.to\/\\??\\w+",
  6998. 'icon_downloaden\\.png|>Download starten<',
  6999. 'Datei wurde nicht gefunden|icon_deleted.png',
  7000. 'optional--',
  7001. 'optional2--',
  7002. "//a[contains(@href,'datei.to')]"
  7003. );
  7004. }
  7005. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7006. {
  7007. addFileHost(
  7008. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7009. '<body class="body" id="body">|value="Slow Download"',
  7010. '<body class="body" >',
  7011. 'optional--',
  7012. 'optional2--',
  7013. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7014. );
  7015. }
  7016. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7017. {
  7018. addFileHost(
  7019. "uploadhero\\.com\/dl\/\\w+",
  7020. 'content-dl">',
  7021. 'men_file_lost\\.jpg"',
  7022. 'optional--',
  7023. 'optional2--',
  7024. "//a[contains(@href,'uploadhero.com/dl')]"
  7025. );
  7026. } */
  7027. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7028. {
  7029. addFileHost(
  7030. "unibytes\\.com\/[\\w\.]+",
  7031. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7032. 'File not found|Файл не найден|',
  7033. 'optional--',
  7034. 'optional2--',
  7035. "//a[contains(@href,'unibytes.com')]"
  7036. );
  7037. }
  7038. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7039. {
  7040. addFileHost(
  7041. "www\\.hellshare\\.com\/\\d+",
  7042. 'tab\\-details"',
  7043. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7044. 'optional--',
  7045. 'optional2--',
  7046. "//a[contains(@href,'www.hellshare.com')]"
  7047. );
  7048. }
  7049. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7050. {
  7051. addFileHost(
  7052. "www\\.download.cz.hellshare\\.com\/\\w+",
  7053. 'tab\\-details"',
  7054. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7055. 'optional--',
  7056. 'optional2--',
  7057. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7058. );
  7059. }
  7060. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7061. {
  7062. addFileHost(
  7063. "quickshare\\.cz\/slozka-\\d+",
  7064. 'Počet souborů: <strong>[1-9]',
  7065. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7066. 'optional--',
  7067. 'optional2--',
  7068. "//a[contains(@href,'quickshare.cz/slozka')]"
  7069. );
  7070. } */
  7071. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7072. {
  7073. addFileHost(
  7074. "filefactory\\.com\/f\/\\w+",
  7075. 'folderFileList">',
  7076. 'table class="items"|Pointer" class="red">',
  7077. 'optional--',
  7078. 'optional2--',
  7079. "//a[contains(@href,'filefactory.com/f/')]"
  7080. );
  7081. }
  7082. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7083. {
  7084. addFileHost(
  7085. "netfolder\\.in\/\\w+",
  7086. 'list" value="http',
  7087. 'InPage_Error">|list" value=""',
  7088. 'optional--',
  7089. 'optional2--',
  7090. "//a[contains(@href,'netfolder.in')]"
  7091. );
  7092. } */
  7093. if (GM_getValue("Check_load_dot_to_links", false))
  7094. {
  7095. addFileHost(
  7096. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7097. '"download_table_left">Size',
  7098. 'Can\'t find file',
  7099. 'optional--',
  7100. 'optional2--',
  7101. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7102. );
  7103. }
  7104. if (GM_getValue("Check_divshare_dot_com_links", false))
  7105. {
  7106. addFileHost(
  7107. "divshare\\.com\/download\/",
  7108. 'download_new\.png',
  7109. 'have been removed',
  7110. 'optional--',
  7111. 'optional2--',
  7112. "//a[contains(@href,'divshare.com')]"
  7113. );
  7114. }
  7115. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7116. {
  7117. addFileHost(
  7118. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7119. 'class="nazev-souboru',
  7120. '<div class="background margin-top vlevo" style="width: 600px;">',
  7121. 'optional--',
  7122. 'optional2--',
  7123. "//a[contains(@href,'euroshare.eu/file')]"
  7124. );
  7125. }
  7126. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7127. {
  7128. addFileHost(
  7129. 'files\\.mail\\.ru/(?:\\w*)',
  7130. 'fileList',
  7131. 'errorMessage',
  7132. 'optional--',
  7133. 'optional2--',
  7134. "//a[contains(@href,'files.mail.ru')]"
  7135. );
  7136. }
  7137. if (GM_getValue("Check_megashares_dot_com_links", false))
  7138. {
  7139. addFileHost(
  7140. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7141. 'Filesize',
  7142. 'Invalid|deleted|Could not download file',
  7143. 'slots|scheduled maintenance',
  7144. 'optional2--',
  7145. "//a[contains(@href,'megashares.com/')]"
  7146. );
  7147. }
  7148. if (GM_getValue("Check_narod_dot_ru_links", false))
  7149. {
  7150. addFileHost(
  7151. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7152. 'b-submit',
  7153. 'b-download-virus-note|headCode">404<',
  7154. 'Внутренняя ошибка сервиса',
  7155. 'optional2--',
  7156. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7157. );
  7158. }
  7159. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7160. {
  7161. addFileHost(
  7162. "rayfile\\.com\/",
  7163. 'FILEtitleTXT',
  7164. 'blueRow',
  7165. 'optional--',
  7166. 'optional2--',
  7167. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7168. );
  7169. }
  7170. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7171. {
  7172. addFileHost(
  7173. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7174. 'button_green_body"',
  7175. 'error">',
  7176. 'optional--',
  7177. 'optional2--',
  7178. "//a[contains(@href,'filesmonster.com/download')]"
  7179. );
  7180. }
  7181. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7182. {
  7183. addFileHost(
  7184. 'usaupload\\.net\/d\/(?:\w*)',
  7185. '<strong>File size:</strong>',
  7186. 'is not available',
  7187. 'optional--',
  7188. 'optional2--',
  7189. "//a[contains(@href,'usaupload.net/d/')]"
  7190. );
  7191. }
  7192. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7193. {
  7194. addFileHost(
  7195. 'sendspace\\.com\/file\/\\w+',
  7196. 'file_description',
  7197. 'msg error"',
  7198. 'optional--',
  7199. 'optional2--',
  7200. "//a[contains(@href,'sendspace.com/file')]"
  7201. );
  7202. }
  7203. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7204. {
  7205. addFileHost(
  7206. 'sendspace\\.pl\/file\/\\w+',
  7207. 'download_file"',
  7208. 'Podany plik nie',
  7209. 'optional--',
  7210. 'optional2--',
  7211. "//a[contains(@href,'sendspace.pl/file')]"
  7212. );
  7213. }
  7214. if (GM_getValue("Check_uploading_dot_com_links", false))
  7215. {
  7216. addFileHost(
  7217. 'uploading\\.com\/(?:files\/)?\\w+',
  7218. 'free_method">',
  7219. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7220. 'optional--',
  7221. 'optional2--',
  7222. "//a[contains(@href,'uploading.com')]"
  7223. );
  7224. }
  7225. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7226. {
  7227. addFileHost(
  7228. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7229. 'fileId"',
  7230. 'error">',
  7231. 'optional--',
  7232. 'optional2--',
  7233. "//a[contains(@href,'gigasize.com/get')]"
  7234. );
  7235. }
  7236. if (GM_getValue("Check_good_dot_com_links", false))
  7237. {
  7238. addFileHost(
  7239. 'good\\.net\/(?:_|dl)',
  7240. 'Free Download',
  7241. 'Not Found',
  7242. 'Forbidden',
  7243. 'optional2--',
  7244. "//a[contains(@href,'good.net')]"
  7245. );
  7246. }
  7247. if (GM_getValue("Check_2shared_dot_com_links", false))
  7248. {
  7249. addFileHost(
  7250. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7251. 'File size',
  7252. 'File not found|is not valid|/images/important.gif',
  7253. 'optional--',
  7254. 'optional2--',
  7255. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7256. );
  7257. }
  7258. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7259. {
  7260. addFileHost(
  7261. 'turboupload\\.com\/\\w*',
  7262. 'You have requested',
  7263. 'File Not Found',
  7264. 'optional--',
  7265. 'optional2--',
  7266. "//a[contains(@href,'turboupload.com')]"
  7267. );
  7268. }
  7269. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7270. {
  7271. addFileHost(
  7272. 'gigapeta\\.com\/dl\/',
  7273. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7274. '404|page_error',
  7275. 'optional--',
  7276. 'optional2--',
  7277. "//a[contains(@href,'gigapeta.com/dl')]"
  7278. );
  7279. }
  7280. if (GM_getValue("Check_veehd_dot_com_links", false))
  7281. {
  7282. addFileHost(
  7283. 'veehd\.com\/video\/.*?',
  7284. 'No sound|Download video',
  7285. 'Featured Videos',
  7286. 'optional--',
  7287. 'optional2--',
  7288. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7289. );
  7290. }
  7291. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7292. {
  7293. addFileHost(
  7294. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7295. 'fast_download_form">|submit_sms_download',
  7296. '<p style="text-align:center">',
  7297. 'optional--',
  7298. 'optional2--',
  7299. "//a[contains(@href,'vip-file.com/download')]"
  7300. );
  7301. }
  7302. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7303. {
  7304. addFileHost(
  7305. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7306. 'download\\-pnl ',
  7307. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7308. 'optional--',
  7309. 'optional2--',
  7310. "//a[contains(@href,'letitbit.net/download')]"
  7311. );
  7312. }
  7313. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7314. {
  7315. addFileHost(
  7316. 'ifolder\.ru\/\\d+',
  7317. 'file-info',
  7318. 'ui-state-error',
  7319. 'optional--',
  7320. 'optional2--',
  7321. "//a[contains(@href,'ifolder.ru')]"
  7322. );
  7323. }
  7324. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7325. {
  7326. addFileHost(
  7327. 'fileswap\\.com\/dl\/\\w+',
  7328. 'bttnDownloadLink"',
  7329. 'rounded_block_error"',
  7330. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7331. 'optional2--',
  7332. "//a[contains(@href,'fileswap.com/dl')]"
  7333. );
  7334. }
  7335. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7336. {
  7337. addFileHost(
  7338. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7339. 'var __error = 0',
  7340. 'FILES__DOESNT_EXIST|removed or did not exist',
  7341. 'optional--',
  7342. 'optional2--',
  7343. "//a[contains(@href,'filecloud.io/')]"
  7344. );
  7345. addFileHost(
  7346. 'ifile\\.it\/\\w+',
  7347. 'var __error = 0',
  7348. 'FILES__DOESNT_EXIST',
  7349. 'optional--',
  7350. 'optional2--',
  7351. "//a[contains(@href,'ifile.it/')]"
  7352. );
  7353. }
  7354. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7355. {
  7356. addFileHost(
  7357. 'solidfiles\\.com\/d\/\\w+',
  7358. 'id="download"|content="Download',
  7359. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7360. 'optional--',
  7361. 'optional2--',
  7362. "//a[contains(@href,'solidfiles.com/d')]"
  7363. );
  7364. }
  7365. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7366. {
  7367. addFileHost(
  7368. "(?:.\\.|)shareflare\\.net",
  7369. 'download-pnl|<div class="premium-block">',
  7370. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7371. 'optional--',
  7372. 'optional2--',
  7373. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7374. );
  7375. }
  7376. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7377. {
  7378. addFileHost(
  7379. "u18116681.shareflare\\.net",
  7380. 'download-pnl|<div class="premium-block">',
  7381. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7382. 'optional--',
  7383. 'optional2--',
  7384. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7385. );
  7386. }
  7387. if (GM_getValue("Check_uloz_dot_to_links", false))
  7388. {
  7389. addFileHost(
  7390. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7391. 'fileDownload">|fileSize">',
  7392. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7393. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7394. 'optional2--',
  7395. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7396. true
  7397. );
  7398. }
  7399. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7400. {
  7401. addFileHost(
  7402. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7403. 'file\\-list-orderby|section-filedetail">',
  7404. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7405. 'optional--',
  7406. 'optional2--',
  7407. "//a[contains(@href,'hellspy.')]"
  7408. );
  7409. }
  7410. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7411. {
  7412. addFileHost(
  7413. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7414. '<body onload="">',
  7415. 'neexistuje|not exist',
  7416. 'optional--',
  7417. 'optional2--',
  7418. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7419. );
  7420. }
  7421. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7422. {
  7423. addFileHost(
  7424. "stahovanizasms\\.cz\/\\w+",
  7425. 'download\\.png>|font-size:11px><tr>',
  7426. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7427. 'optional--',
  7428. 'optional2--',
  7429. "//a[contains(@href,'stahovanizasms.cz')]"
  7430. );
  7431. }
  7432. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7433. {
  7434. addFileHost(
  7435. "share-links\\.biz\/\\w*",
  7436. 'online\\.gif',
  7437. '(?:offline|parts)\\.gif',
  7438. 'optional--',
  7439. 'optional2--',
  7440. "//a[contains(@href,'share-links.biz')]"
  7441. );
  7442. }
  7443. if (GM_getValue("Check_4shared_dot_com_links", false))
  7444. {
  7445. addFileHost(
  7446. "4shared\\.com\/.+\/",
  7447. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7448. 'class="warn\"|big red"|GetDataBack',
  7449. 'Service Unavailable',
  7450. 'optional2--',
  7451. "//a[contains(@href,'4shared.com')]"
  7452. );
  7453. }
  7454. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7455. {
  7456. addFileHost(
  7457. "(?:www\\d+\.|)zippyshare\.com\/",
  7458. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7459. 'not exist|Status 404',
  7460. 'optional--',
  7461. 'optional2--',
  7462. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7463. );
  7464. }
  7465. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7466. {
  7467. addFileHost(
  7468. "mediafire\.com\/",
  7469. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7470. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7471. 'set to private',
  7472. 'optional2--',
  7473. "//a[contains(@href,'mediafire.com')]"
  7474. );
  7475. }
  7476. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7477. {
  7478. addFileHost(
  7479. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7480. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB',
  7481. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7482. 'optional--',
  7483. 'GB</small>',
  7484. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7485. );
  7486. }
  7487. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7488. {
  7489. addFileHost(
  7490. "ulozisko\.sk\/",
  7491. 'Detaily',
  7492. 'neexistuje',
  7493. 'optional--',
  7494. 'optional2--',
  7495. "//a[contains(@href,'ulozisko.sk')]"
  7496. );
  7497. }
  7498. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7499. {
  7500. addFileHost(
  7501. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7502. 'download.php',
  7503. 'notfound|upload\\-suborov\\.php"',
  7504. 'optional--',
  7505. 'optional2--',
  7506. "//a[contains(@href,'upnito.sk')]"
  7507. );
  7508. }
  7509. if (GM_getValue("Check_box_dot_com_links", false))
  7510. {
  7511. addFileHost(
  7512. "box\.com\/\\w+",
  7513. 'download-file-btn|id="download_button|preview-download',
  7514. 'BIyMin.png| <div class="error_message|link has been removed',
  7515. 'optional--',
  7516. 'optional2--',
  7517. "//a[contains(@href,'app.box.com')]");
  7518. }
  7519. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7520. {
  7521. addFileHost(
  7522. "uptobox\\.com\/\\w+",
  7523. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link',
  7524. '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|لا يوجد أي ملف',
  7525. 'Maintenance',
  7526. 'optional2--',
  7527. "//a[contains(@href,'uptobox.com')]"
  7528. );
  7529. }
  7530. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7531. {
  7532. addFileHost(
  7533. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7534. 'FILE DOWNLOAD<',
  7535. 'File Does Not Exist',
  7536. 'optional--',
  7537. 'optional2--',
  7538. "//a[contains(@href,'sharecash.org/download.php')]"
  7539. );
  7540. }
  7541. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7542. {
  7543. addFileHost(
  7544. "depositfiles\\.com\/folders\/\\w+",
  7545. '<div class="progressContainer">',
  7546. '<div id="files" class="files">\\s*<\/div>',
  7547. 'optional--',
  7548. 'optional2--',
  7549. "//a[contains(@href,'depositfiles.com/folders')]"
  7550. );
  7551. }
  7552. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7553. {
  7554. addFileHost(
  7555. "rapidfileshare\\.net/\\w+",
  7556. '<div id="upload-header-bg">',
  7557. '<div style="width:500px;text-align:left;">',
  7558. 'optional--',
  7559. 'optional2--',
  7560. "//a[contains(@href,'rapidfileshare.net/')]"
  7561. );
  7562. }
  7563. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7564. {
  7565. addFileHost(
  7566. "stiahnito\\.sk/",
  7567. '<span class="filesize right">',
  7568. '<ol class="list-purp-2">',
  7569. 'optional--',
  7570. 'optional2--',
  7571. "//a[contains(@href,'stiahnito.sk/')]"
  7572. );
  7573. }
  7574. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7575. {
  7576. addFileHost(
  7577. "rusfolder\\.(?:com|net)",
  7578. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7579. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7580. 'optional--',
  7581. 'optional2--',
  7582. "//a[contains(@href,'rusfolder')]"
  7583. );
  7584. }
  7585. if (GM_getValue("Check_fileover_dot_net_links", false))
  7586. {
  7587. addFileHost(
  7588. "fileover\\.net/\\d+",
  7589. 'id="filesize"',
  7590. 'Not found or deleted|The following file is unavailable',
  7591. 'optional--',
  7592. 'optional2--',
  7593. "//a[contains(@href,'fileover.net/')]"
  7594. );
  7595. }
  7596. if (GM_getValue("Check_catshare_dot_net_links", false))
  7597. {
  7598. addFileHost(
  7599. "catshare\\.net/\\w+",
  7600. '"icon-share',
  7601. 'alert alert-error',
  7602. 'optional--',
  7603. 'optional2--',
  7604. "//a[contains(@href,'catshare.net/')]"
  7605. );
  7606. }
  7607. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7608. {
  7609. addFileHost(
  7610. "anonfiles\\.com/\\w+",
  7611. '"download_button"',
  7612. '<legend><b>404</b>',
  7613. 'optional--',
  7614. 'optional2--',
  7615. "//a[contains(@href,'anonfiles.com')]"
  7616. );
  7617. }
  7618. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7619. {
  7620. addFileHost(
  7621. "mixturecloud\\.com/media/\\w+",
  7622. '"btn icon i_globe gray share_150',
  7623. '"s_cross_close"></span> 404:',
  7624. 'optional--',
  7625. 'optional2--',
  7626. "//a[contains(@href,'mixturecloud.com/media/')]"
  7627. );
  7628. }
  7629. if (GM_getValue("Check_akafile_dot_com_links", false))
  7630. {
  7631. addFileHost(
  7632. "akafile\\.com\/\\w+",
  7633. 'download1',
  7634. 'File Not Found',
  7635. 'optional--',
  7636. 'optional2--',
  7637. "//a[contains(@href,'akafile.com/')]"
  7638. );
  7639. }
  7640. if (GM_getValue("Check_creafile_dot_net_links", false))
  7641. {
  7642. addFileHost(
  7643. "creafile\\.net\/\\w+",
  7644. 'downloadblock',
  7645. 'errtitle',
  7646. 'optional--',
  7647. 'optional2--',
  7648. "//a[contains(@href,'creafile.net/')]"
  7649. );
  7650. }
  7651. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7652. {
  7653. addFileHost(
  7654. "hugefiles\\.net\/\\w+",
  7655. 'download1|class="btn-create-download" value="Create Download Link">',
  7656. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7657. 'optional--',
  7658. 'optional2--',
  7659. "//a[contains(@href,'hugefiles.net/')]"
  7660. );
  7661. }
  7662. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7663. {
  7664. addFileHost(
  7665. "sendmyway\\.com\/\\w+",
  7666. 'id="btn_download"',
  7667. '500px;text-align:left;"|<center><h3>',
  7668. 'optional--',
  7669. 'optional2--',
  7670. "//a[contains(@href,'sendmyway.com/')]"
  7671. );
  7672. }
  7673. if (GM_getValue("Check_upload_dot_ee_links", false))
  7674. {
  7675. addFileHost(
  7676. "upload\\.ee\/\\w+",
  7677. 'onmouseout="document.dllink.src',
  7678. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7679. 'optional--',
  7680. 'optional2--',
  7681. "//a[contains(@href,'upload.ee/')]"
  7682. );
  7683. }
  7684. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7685. {
  7686. addFileHost(
  7687. "shareplace\\.org\/\\?\\w+",
  7688. 'Download-Link',
  7689. 'Your requested file is not found|Select file to send',
  7690. 'optional--',
  7691. 'optional2--',
  7692. "//a[contains(@href,'shareplace.org/?')]"
  7693. );
  7694. }
  7695. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7696. {
  7697. addFileHost(
  7698. "uploadc\\.com\/\\w+",
  7699. 'id="prebut"',
  7700. 'File Not Found|This file has been removed due',
  7701. 'optional--',
  7702. 'optional2--',
  7703. "//a[contains(@href,'uploadc.com/')]"
  7704. );
  7705. }
  7706. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7707. {
  7708. addFileHost(
  7709. "remixshare\\.com\/\\w+",
  7710. 'id="dl2"',
  7711. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7712. 'optional--',
  7713. 'optional2--',
  7714. "//a[contains(@href,'remixshare.com/')]"
  7715. );
  7716. }
  7717. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7718. {
  7719. addFileHost(
  7720. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7721. 'Last Download :',
  7722. 'img src="\\/404.jpg"',
  7723. 'optional--',
  7724. 'optional2--',
  7725. "//a[contains(@href,'exoshare.com/download.php')]"
  7726. );
  7727. }
  7728. if (GM_getValue("Check_borncash_dot_org_links", false))
  7729. {
  7730. addFileHost(
  7731. "borncash\\.org\/download\/\\?a=\\w+",
  7732. 'class="knop_1"',
  7733. '\/error\/er00',
  7734. 'optional--',
  7735. 'optional2--',
  7736. "//a[contains(@href,'borncash.org/download/')]"
  7737. );
  7738. }
  7739. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7740. {
  7741. addFileHost(
  7742. "vidplay\.net\/\\w+",
  7743. 'solvemedia puzzle widget',
  7744. 'File not found|AVOID_IE_BUG',
  7745. 'optional--',
  7746. 'optional2--',
  7747. "//a[contains(@href,'vidplay.net')]");
  7748. }
  7749. if (GM_getValue("Check_storagon_dot_com_links", false))
  7750. {
  7751. addFileHost(
  7752. "storagon\.com\/\\w+",
  7753. 'class="icon-cloud-download"></i>|content="Download Options',
  7754. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7755. 'optional--',
  7756. 'optional2--',
  7757. "//a[contains(@href,'storagon.com')]");
  7758. }
  7759. if (GM_getValue("Check_filedais_dot_com_links", false))
  7760. {
  7761. addFileHost(
  7762. "filedais\.com\/\\w+",
  7763. 'class="btn btn-info"|name="method_free"',
  7764. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7765. 'optional--',
  7766. 'optional2--',
  7767. "//a[contains(@href,'filedais.com')]");
  7768. }
  7769. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7770. {
  7771. addFileHost(
  7772. "up.4share\.vn\/\\w+",
  7773. '<font size="2" face="Verdana">',
  7774. 'font: 13px Tahoma; color: Brown',
  7775. 'optional--',
  7776. 'optional2--',
  7777. "//a[contains(@href,'up.4share.vn')]");
  7778. }
  7779. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7780. {
  7781. addFileHost(
  7782. "share.vnn\.vn\/\\w+",
  7783. '"index,follow"|<div class="main" id="download-box">',
  7784. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7785. 'optional--',
  7786. 'optional2--',
  7787. "//a[contains(@href,'share.vnn.vn')]");
  7788. }
  7789. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7790. {
  7791. addFileHost(
  7792. "upfile\.vn\/\\w+",
  7793. 'download-timer',
  7794. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7795. 'optional--',
  7796. 'optional2--',
  7797. "//a[contains(@href,'upfile.vn')]");
  7798. }
  7799. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7800. {
  7801. addFileHost(
  7802. "aisfile\.com\/\\w+",
  7803. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7804. '<div style="width:500px;text-align:left;">|File Not Found',
  7805. 'optional--',
  7806. 'optional2--',
  7807. "//a[contains(@href,'aisfile.com')]");
  7808. }
  7809. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7810. {
  7811. addFileHost(
  7812. "usersfiles\.com\/\\w+",
  7813. 'class="btn btn-success|id="btn_download" class="btn"',
  7814. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7815. 'optional--',
  7816. 'optional2--',
  7817. "//a[contains(@href,'usersfiles.com')]");
  7818. }
  7819. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7820. {
  7821. addFileHost(
  7822. "pan.baidu\.com\/\\w+",
  7823. 'target="_blank" title=|share-personal-info',
  7824. 'share_notfound.png|background:#f9f9f9',
  7825. 'optional--',
  7826. 'optional2--',
  7827. "//a[contains(@href,'pan.baidu.com')]");
  7828. }
  7829. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7830. {
  7831. addFileHost(
  7832. "yunpan\.cn\/\\w+",
  7833. 'class="icon icon-download',
  7834. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7835. 'optional--',
  7836. 'optional2--',
  7837. "//a[contains(@href,'yunpan.cn')]");
  7838. }
  7839. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7840. {
  7841. addFileHost(
  7842. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7843. 'getElementById("downbild")|style.display',
  7844. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7845. 'optional--',
  7846. 'optional2--',
  7847. "//a[contains(@href,'file-upload.net')]");
  7848. }
  7849. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7850. {
  7851. addFileHost(
  7852. "gulfup\.com\/",
  7853. '<!-- Downlod template -->|download.gif',
  7854. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7855. 'optional--',
  7856. 'optional2--',
  7857. "//a[contains(@href,'gulfup.com')]");
  7858. }
  7859. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7860. {
  7861. addFileHost(
  7862. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7863. 'dldtable">',
  7864. 'does not exist\\.',
  7865. 'optional--',
  7866. 'optional2--',
  7867. "//a[contains(@href,'datafilehost.com')]");
  7868. }
  7869. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7870. {
  7871. addFileHost(
  7872. "dropbox\.com\/s\/\\w+",
  7873. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7874. '>Nothing Here<|>Error (404)<',
  7875. 'title>Dropbox - 509|Error (403)|Error: 429',
  7876. 'optional2--',
  7877. "//a[contains(@href,'dropbox.com')]");
  7878. }
  7879. if (GM_getValue("Check_box_dot_net_links", false))
  7880. {
  7881. addFileHost(
  7882. "box\.net\/\\w+",
  7883. 'download-file-btn|id="download_button',
  7884. 'BIyMin.png| <div class="error_message',
  7885. 'optional--',
  7886. 'optional2--',
  7887. "//a[contains(@href,'box.net')]");
  7888. }
  7889. if (GM_getValue("Check_fileband_dot_com_links", false))
  7890. {
  7891. addFileHost(
  7892. "fileband\.com\/\\w+",
  7893. 'value="download1">|name="id" value=',
  7894. '<div style="width:500px;text-align:left;">|not be found',
  7895. 'optional--',
  7896. 'optional2--',
  7897. "//a[contains(@href,'fileband.com')]");
  7898. }
  7899. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7900. {
  7901. addFileHost(
  7902. "filedropper\.com\/\\w+",
  7903. 'background:#ddd;|width:985px; ',
  7904. 'background-color:#FFFFFF;|margin-left: -400px;',
  7905. 'optional--',
  7906. 'optional2--',
  7907. "//a[contains(@href,'filedropper.com')]");
  7908. }
  7909. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7910. {
  7911. addFileHost(
  7912. "tropicshare\\.com\/files\/\\d+",
  7913. 'MB</span>|GB</span>|KB</span>',
  7914. '>FNF<|size: </span>',
  7915. 'optional--',
  7916. 'optional2--',
  7917. "//a[contains(@href,'tropicshare.com')]");
  7918. }
  7919. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7920. {
  7921. addFileHost(
  7922. "goldbytez\.com\/\\w+",
  7923. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7924. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7925. 'optional--',
  7926. 'optional2--',
  7927. "//a[contains(@href,'goldbytez.com')]");
  7928. }
  7929. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7930. {
  7931. addFileHost(
  7932. "worldbytez\.com\/\\w+",
  7933. '<div class="download_type">',
  7934. '<div style="width:500px;text-align:left;">',
  7935. 'optional--',
  7936. 'optional2--',
  7937. "//a[contains(@href,'worldbytez.com')]");
  7938. }
  7939. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7940. {
  7941. addFileHost(
  7942. "freefilehosting\.net\/\\w+",
  7943. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7944. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7945. 'optional--',
  7946. 'optional2--',
  7947. "//a[contains(@href,'freefilehosting.net')]");
  7948. }
  7949. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7950. {
  7951. addFileHost(
  7952. "ziddu\.com\/\\w+",
  7953. 'downloads.ziddu.com|downloadfilelinkicon',
  7954. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7955. 'optional--',
  7956. 'optional2--',
  7957. "//a[contains(@href,'ziddu.com')]");
  7958. }
  7959. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7960. {
  7961. addFileHost(
  7962. "exclusiveloader\.com\/\\w+",
  7963. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7964. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7965. 'optional--',
  7966. 'optional2--',
  7967. "//a[contains(@href,'exclusiveloader.com')]");
  7968. }
  7969. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7970. {
  7971. addFileHost(
  7972. "sharerapid\.cz\/\\w+",
  7973. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7974. 'error_div">|404 - Not Found',
  7975. 'optional--',
  7976. 'optional2--',
  7977. "//a[contains(@href,'sharerapid.cz')]");
  7978. }
  7979. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7980. {
  7981. addFileHost(
  7982. "sdilej\.cz\/\\w+",
  7983. 'class="page-download"',
  7984. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  7985. 'optional--',
  7986. 'optional2--',
  7987. "//a[contains(@href,'sdilej.cz')]");
  7988. }
  7989. if (GM_getValue("Check_lafiles_dot_com_links", false))
  7990. {
  7991. addFileHost(
  7992. "lafiles\.com\/\\w+",
  7993. '<div id="pay_modes">',
  7994. '<b class="err"></b>',
  7995. 'optional--',
  7996. 'optional2--',
  7997. "//a[contains(@href,'lafiles.com')]");
  7998. }
  7999. if (GM_getValue("Check_acefile_dot_net_links", false))
  8000. {
  8001. addFileHost(
  8002. "acefile\.net\/\\w+",
  8003. 'align=right nowrap><b>',
  8004. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8005. 'optional--',
  8006. 'optional2--',
  8007. "//a[contains(@href,'acefile.net')]");
  8008. }
  8009. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8010. {
  8011. addFileHost(
  8012. "megarapid\.cz\/\\w+",
  8013. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8014. 'error_div">|404 - Not Found',
  8015. 'optional--',
  8016. 'optional2--',
  8017. "//a[contains(@href,'megarapid.cz')]");
  8018. }
  8019. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8020. {
  8021. addFileHost(
  8022. "yadi\.sk\/\\w+",
  8023. 'twitter:site|View and download',
  8024. 'error code|Nothing found',
  8025. 'optional--',
  8026. 'optional2--',
  8027. "//a[contains(@href,'yadi.sk')]");
  8028. }
  8029. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8030. {
  8031. addFileHost(
  8032. "imdb\.com\/\\w+",
  8033. 'imdb.com',
  8034. '404 Error',
  8035. 'optional--',
  8036. 'optional2--',
  8037. "//a[contains(@href,'imdb.com')]");
  8038. } */
  8039. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8040. {
  8041. addFileHost(
  8042. "hitfile\.net\/\\w+",
  8043. 'class="download-file',
  8044. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8045. 'optional--',
  8046. 'optional2--',
  8047. "//a[contains(@href,'hitfile.net')]");
  8048. }
  8049. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8050. {
  8051. addFileHost(
  8052. "nitroflare\.com\/\\w+",
  8053. 'Report this file</a>|left;">1 GB<|KB</span>|left;">1.0',
  8054. 'file has been removed|id="error" style="display|Probably deleted|file has been removed due to infringement',
  8055. 'optional--',
  8056. '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',
  8057. "//a[contains(@href,'nitroflare.com')]");
  8058. }
  8059. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8060. {
  8061. addFileHost(
  8062. "up.top4top\.net\/\\w+",
  8063. 'start Downlod template',
  8064. 'start err template',
  8065. 'optional--',
  8066. 'optional2--',
  8067. "//a[contains(@href,'up.top4top.net')]");
  8068. }
  8069. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8070. {
  8071. addFileHost(
  8072. "filejoker\.net\/\\w+",
  8073. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8074. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8075. 'optional--',
  8076. 'id="download" class="premium-only">',
  8077. "//a[contains(@href,'filejoker.net')]");
  8078. }
  8079. if (GM_getValue("Check_free_dot_fr_links", false))
  8080. {
  8081. addFileHost(
  8082. "(?:dl.\\.|)free\\.fr",
  8083. 'Valider et t&eacute;l&eacute',
  8084. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8085. 'optional--',
  8086. 'optional2--',
  8087. "//a[contains(@href,'dl.free.fr')]");
  8088. }
  8089. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8090. {
  8091. addFileHost(
  8092. "gboxes\.com\/\\w+",
  8093. 'You have requested|color="red">http://www.gboxes.com',
  8094. 'File Not Found|<div style="width:500px;text-align:left;">',
  8095. 'optional--',
  8096. 'optional2--',
  8097. "//a[contains(@href,'gboxes.com')]");
  8098. }
  8099. if (GM_getValue("Check_led_dot_wf_links", false))
  8100. {
  8101. addFileHost(
  8102. "led\.wf\/\\w+",
  8103. 'logo_0.png|downloads.gif"|verifycode',
  8104. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8105. 'optional--',
  8106. 'available only for Premium users',
  8107. "//a[contains(@href,'led.wf')]");
  8108. }
  8109. if (GM_getValue("Check_lan_dot_wf_links", false))
  8110. {
  8111. addFileHost(
  8112. "lan\.wf\/\\w+",
  8113. 'logo_0.png|downloads.gif"|verifycode',
  8114. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8115. 'optional--',
  8116. 'available only for Premium users',
  8117. "//a[contains(@href,'lan.wf')]");
  8118. }
  8119. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8120. {
  8121. addFileHost(
  8122. "adlink\.wf\/\\w+",
  8123. 'logo_0.png|downloads.gif"|verifycode',
  8124. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8125. 'optional--',
  8126. 'available only for Premium users',
  8127. "//a[contains(@href,'adlink.wf')]");
  8128. }
  8129. if (GM_getValue("Check_click_dot_tf_links", false))
  8130. {
  8131. addFileHost(
  8132. "click\.tf\/\\w+",
  8133. 'logo_0.png|downloads.gif"|verifycode',
  8134. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8135. 'optional--',
  8136. 'available only for Premium users',
  8137. "//a[contains(@href,'click.tf')]");
  8138. }
  8139. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8140. {
  8141. addFileHost(
  8142. "ssh\.tf\/\\w+",
  8143. 'logo_0.png|downloads.gif"|verifycode',
  8144. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8145. 'optional--',
  8146. 'available only for Premium users',
  8147. "//a[contains(@href,'ssh.tf')]");
  8148. }
  8149. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8150. {
  8151. addFileHost(
  8152. "ssh\.yt\/\\w+",
  8153. 'logo_0.png|downloads.gif"|verifycode',
  8154. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8155. 'optional--',
  8156. 'available only for Premium users',
  8157. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8158. }
  8159. if (GM_getValue("Check_yep_dot_pm_links", false))
  8160. {
  8161. addFileHost(
  8162. "yep\.pm\/\\w+",
  8163. 'logo_0.png|downloads.gif"|verifycode',
  8164. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8165. 'optional--',
  8166. 'available only for Premium users',
  8167. "//a[contains(@href,'yep.pm')]");
  8168. }
  8169. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8170. {
  8171. addFileHost(
  8172. "kyc\.pm\/\\w+",
  8173. 'logo_0.png|downloads.gif"|verifycode',
  8174. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8175. 'optional--',
  8176. 'available only for Premium users',
  8177. "//a[contains(@href,'kyc.pm')]");
  8178. }
  8179. if (GM_getValue("Check_brupload_dot_net_links", false))
  8180. {
  8181. addFileHost(
  8182. "brupload\.net\/\\w+",
  8183. 'Download Gratuito',
  8184. '<div style="width:500px;text-align:left;">',
  8185. 'optional--',
  8186. 'optional2--',
  8187. "//a[contains(@href,'brupload.net')]");
  8188. }
  8189. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8190. {
  8191. addFileHost(
  8192. "cloudzilla\.to\/\\w+",
  8193. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8194. 'File not found|/imgs/broken.png',
  8195. 'optional--',
  8196. 'optional2--',
  8197. "//a[contains(@href,'cloudzilla.to')]");
  8198. }
  8199. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8200. {
  8201. addFileHost(
  8202. "fileparadox\.in\/\\w+",
  8203. 'CONTENT="Download File|method_free_file',
  8204. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8205. 'optional--',
  8206. 'optional2--',
  8207. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8208. } */
  8209. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8210. {
  8211. addFileHost(
  8212. "clicknupload\.com\/\\w+",
  8213. 'name="method_free',
  8214. 'File Not Found',
  8215. 'optional--',
  8216. 'optional2--',
  8217. "//a[contains(@href,'clicknupload.com')]");
  8218. }
  8219. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8220. {
  8221. addFileHost(
  8222. "clicknupload\.me\/\\w+",
  8223. 'name="method_free',
  8224. 'File Not Found',
  8225. 'optional--',
  8226. 'optional2--',
  8227. "//a[contains(@href,'clicknupload.me')]");
  8228. }
  8229. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8230. {
  8231. addFileHost(
  8232. "ex-load\.com\/\\w+",
  8233. 'name="method_free|<p>Download File:</p>',
  8234. 'Folder Not Found|File Not Found|Error 404',
  8235. 'optional--',
  8236. 'class="downprem wow bounceInLeft',
  8237. "//a[contains(@href,'ex-load.com')]");
  8238. }
  8239. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8240. {
  8241. addFileHost(
  8242. "hexupload\.com\/\\w+",
  8243. 'button" value="Free|type="submit" value=""',
  8244. 'File Not Found|<div style="width:500px;text-align:left;">',
  8245. 'optional--',
  8246. 'optional2--',
  8247. "//a[contains(@href,'hexupload.com')]");
  8248. }
  8249. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8250. {
  8251. addFileHost(
  8252. "wizupload\.com\/\\w+",
  8253. 'btn_download|class="downloadbtn"',
  8254. '>File Not Found<',
  8255. 'optional--',
  8256. 'optional2--',
  8257. "//a[contains(@href,'wizupload.com')]");
  8258. }
  8259. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8260. {
  8261. addFileHost(
  8262. "filecloud\.cc\/\\w+",
  8263. 'align="center"><input type="submit" name=',
  8264. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8265. 'optional--',
  8266. 'optional2--',
  8267. "//a[contains(@href,'filecloud.cc')]");
  8268. }
  8269. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8270. {
  8271. addFileHost(
  8272. "inclouddrive\.com\/\\w+",
  8273. 'initfreedownload',
  8274. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8275. 'optional--',
  8276. 'optional2--',
  8277. "//a[contains(@href,'inclouddrive.com')]");
  8278. }
  8279. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8280. {
  8281. addFileHost(
  8282. "radicalshare\.com\/\\w+",
  8283. 'value="download1|name="method_free"',
  8284. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8285. 'optional--',
  8286. 'optional2--',
  8287. "//a[contains(@href,'radicalshare.com')]");
  8288. }
  8289. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8290. {
  8291. addFileHost(
  8292. "sharemods\.com\/\\w+",
  8293. 'name="method_free"',
  8294. 'File Not Found<',
  8295. 'optional--',
  8296. 'optional2--',
  8297. "//a[contains(@href,'sharemods.com')]");
  8298. }
  8299. if (GM_getValue("Check_hostr_dot_co_links", false))
  8300. {
  8301. addFileHost(
  8302. "hostr\.co\/\\w+",
  8303. 'method="get"',
  8304. 'File not found<|error-page',
  8305. 'optional--',
  8306. 'optional2--',
  8307. "//a[contains(@href,'hostr.co')]");
  8308. }
  8309. if (GM_getValue("Check_filepi_dot_com_links", false))
  8310. {
  8311. addFileHost(
  8312. "filepi\.com\/\\w+",
  8313. 'id="button_start">',
  8314. 'File not found',
  8315. 'optional--',
  8316. 'optional2--',
  8317. "//a[contains(@href,'filepi.com')]");
  8318. }
  8319. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8320. {
  8321. addFileHost(
  8322. "tikfile\.com\/\\w+",
  8323. 'btn_download',
  8324. 'File Not Found|file was removed|Reason for deletion',
  8325. 'optional--',
  8326. 'optional2--',
  8327. "//a[contains(@href,'tikfile.com')]");
  8328. }
  8329. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8330. {
  8331. addFileHost(
  8332. "cloudsix\.me\/\\w+",
  8333. 'name="method_free"',
  8334. 'File Not Found|width:500px;text-align:left;">',
  8335. 'optional--',
  8336. 'optional2--',
  8337. "//a[contains(@href,'cloudsix.me')]");
  8338. }
  8339. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8340. {
  8341. addFileHost(
  8342. "neodrive\.co\/\\w+",
  8343. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8344. 'File not found|/imgs/broken.png',
  8345. 'optional--',
  8346. 'optional2--',
  8347. "//a[contains(@href,'neodrive.co')]");
  8348. }
  8349. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8350. {
  8351. addFileHost(
  8352. "chayfile\.com\/\\w+",
  8353. 'name="method_free"',
  8354. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8355. 'optional--',
  8356. 'optional2--',
  8357. "//a[contains(@href,'chayfile.com')]");
  8358. }
  8359. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8360. {
  8361. addFileHost(
  8362. "xfileload\.com\/\\w+",
  8363. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8364. '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..|הקובץ שחיפשת לא נמצא.',
  8365. 'optional--',
  8366. 'optional2--',
  8367. "//a[contains(@href,'xfileload.com')]");
  8368. }
  8369. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8370. {
  8371. addFileHost(
  8372. "rockfile\.eu\/\\w+",
  8373. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8374. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8375. 'optional--',
  8376. 'optional2--',
  8377. "//a[contains(@href,'rockfile.eu')]");
  8378. }
  8379. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8380. {
  8381. addFileHost(
  8382. "24uploading\.com\/\\w+",
  8383. 'File:|Download Speed:',
  8384. '<b>File Not Found</b>|file was removed',
  8385. 'optional--',
  8386. 'optional2--',
  8387. "//a[contains(@href,'24uploading.com')]");
  8388. }
  8389. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8390. {
  8391. addFileHost(
  8392. "tusfiles\.net\/\\w+",
  8393. 'i/icon/dll.png"|>Start download<br',
  8394. 'no longer available<|i/ino.png"',
  8395. 'optional--',
  8396. 'optional2--',
  8397. "//a[contains(@href,'tusfiles.net')]");
  8398. }
  8399. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8400. {
  8401. addFileHost(
  8402. "jumbofile\.net\/\\w+",
  8403. 'button" class="" value="Free',
  8404. 'This File Was Deleted',
  8405. 'optional--',
  8406. 'optional2--',
  8407. "//a[contains(@href,'jumbofile.net')]");
  8408. } */
  8409. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8410. {
  8411. addFileHost(
  8412. "ozofiles\.com\/\\w+",
  8413. 'button" value="Free|name="method_free',
  8414. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8415. 'optional--',
  8416. 'optional2--',
  8417. "//a[contains(@href,'ozofiles.com')]");
  8418. }
  8419. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8420. {
  8421. addFileHost(
  8422. "loudupload\.net\/\\w+",
  8423. 'value="Get Links',
  8424. 'File Not Found',
  8425. 'optional--',
  8426. 'optional2--',
  8427. "//a[contains(@href,'loudupload.net')]");
  8428. }
  8429. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8430. {
  8431. addFileHost(
  8432. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8433. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8434. '>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">',
  8435. 'optional--',
  8436. 'optional2--',
  8437. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8438. }
  8439. if (GM_getValue("Check_krotix_dot_net_links", false))
  8440. {
  8441. addFileHost(
  8442. "krotix\.net\/\\w+",
  8443. 'btn btn-warning|btn-free',
  8444. 'pageErrors|This File has been removed',
  8445. 'content="Scheduled Maintenance',
  8446. 'optional2--',
  8447. "//a[contains(@href,'krotix.net')]");
  8448. } */
  8449. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8450. {
  8451. addFileHost(
  8452. "userscloud\.com\/\\w+",
  8453. 'btn_download',
  8454. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8455. 'optional--',
  8456. 'optional2--',
  8457. "//a[contains(@href,'userscloud.com')]");
  8458. }
  8459. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8460. {
  8461. addFileHost(
  8462. "kumpulbagi\.com\/\\w+",
  8463. 'class="button download',
  8464. 'internal server error',
  8465. 'optional--',
  8466. 'optional2--',
  8467. "//a[contains(@href,'kumpulbagi.com')]");
  8468. }
  8469. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8470. {
  8471. addFileHost(
  8472. "kb.simple-aja\.info\/\\w+",
  8473. 'class="button download',
  8474. 'internal server error|<p>404</p>',
  8475. 'optional--',
  8476. 'optional2--',
  8477. "//a[contains(@href,'kb.simple')]");
  8478. }
  8479. if (GM_getValue("Check_faststore_dot_org_links", false))
  8480. {
  8481. addFileHost(
  8482. "faststore\.org\/\\w+",
  8483. 'name="method_free',
  8484. 'File Not Found',
  8485. 'optional--',
  8486. 'optional2--',
  8487. "//a[contains(@href,'faststore.org')]");
  8488. }
  8489. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8490. {
  8491. addFileHost(
  8492. "prefiles\.com\/\\w+",
  8493. 'id="method_free',
  8494. 'File not Found',
  8495. 'optional--',
  8496. 'optional2--',
  8497. "//a[contains(@href,'prefiles.com')]");
  8498. }
  8499. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8500. {
  8501. addFileHost(
  8502. "doraupload\.com\/\\w+",
  8503. 'btn_download|name="method_free',
  8504. 'class="error-code|Could Not Be Found',
  8505. 'optional--',
  8506. 'optional2--',
  8507. "//a[contains(@href,'doraupload.com')]");
  8508. }
  8509. if (GM_getValue("Check_openload_dot_io_links", false))
  8510. {
  8511. addFileHost(
  8512. "openload\.io\/\\w+",
  8513. 'btn btn-primary|class="count">|secondsleftouter',
  8514. 'class="jumbotron">|We are sorry',
  8515. 'optional--',
  8516. 'optional2--',
  8517. "//a[contains(@href,'openload.io')]");
  8518. }
  8519. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8520. {
  8521. addFileHost(
  8522. "uploads\.xxx\/\\w+",
  8523. 'downoadForFree',
  8524. 'File not found',
  8525. 'optional--',
  8526. 'optional2--',
  8527. "//a[contains(@href,'uploads.xxx')]");
  8528. }
  8529. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8530. {
  8531. addFileHost(
  8532. "zxcfiles\.com\/\\w+",
  8533. 'class="downloadbtn',
  8534. 'File Not Found',
  8535. 'optional--',
  8536. 'optional2--',
  8537. "//a[contains(@href,'zxcfiles.com')]");
  8538. }
  8539. if (GM_getValue("Check_up07_dot_net_links", false))
  8540. {
  8541. addFileHost(
  8542. "up07\.net\/\\w+",
  8543. 'name="method_free',
  8544. 'File Not Found',
  8545. 'optional--',
  8546. 'optional2--',
  8547. "//a[contains(@href,'up07.net')]");
  8548. }
  8549. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8550. {
  8551. addFileHost(
  8552. "fileupload\.pw\/\\w+",
  8553. 'value="Free"',
  8554. 'File Not Found',
  8555. 'optional--',
  8556. 'optional2--',
  8557. "//a[contains(@href,'fileupload.pw')]");
  8558. }
  8559. if (GM_getValue("Check_4upld_dot_com_links", false))
  8560. {
  8561. addFileHost(
  8562. "4upld\.com\/\\w+",
  8563. 'alt="Download Now"|content="Download file">|btn-free-element',
  8564. '<title>Error|content="error|File not found',
  8565. 'optional--',
  8566. 'optional2--',
  8567. "//a[contains(@href,'4upld.com')]");
  8568. }
  8569. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8570. {
  8571. addFileHost(
  8572. "newfileland\.com\/\\w+",
  8573. 'name="method_free',
  8574. 'File Not Found',
  8575. 'optional--',
  8576. 'optional2--',
  8577. "//a[contains(@href,'newfileland.com')]");
  8578. } */
  8579. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8580. {
  8581. addFileHost(
  8582. "(?:.swoopshare)\\.com\/\\w+",
  8583. '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',
  8584. '<input type="file" name="f"',
  8585. 'optional--',
  8586. 'optional2--',
  8587. "//a[contains(@href,'swoopshare.com')]"
  8588. );
  8589. }
  8590. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8591. {
  8592. addFileHost(
  8593. "cloudshares\.net\/\\w+",
  8594. '"method_free|"Low Speed Download|submit" name="go',
  8595. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8596. 'optional--',
  8597. 'optional2--',
  8598. "//a[contains(@href,'cloudshares.net')]"
  8599. );
  8600. }
  8601. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8602. {
  8603. addFileHost(
  8604. "allmyvideos\.net\/\\w+",
  8605. 'Continue to Video',
  8606. 'File Not Found|class="err">Removed for',
  8607. 'optional--',
  8608. 'optional2--',
  8609. "//a[contains(@href,'allmyvideos.net')]"
  8610. );
  8611. }
  8612. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8613. {
  8614. addFileHost(
  8615. "vodlocker\.com\/\\w+",
  8616. 'Proceed to video',
  8617. 'Not Found',
  8618. 'optional--',
  8619. 'optional2--',
  8620. "//a[contains(@href,'vodlocker.com')]"
  8621. );
  8622. }
  8623. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8624. {
  8625. addFileHost(
  8626. "vidbull\.com\/\\w+",
  8627. 'Verifying Video Request',
  8628. 'File Not Found',
  8629. 'optional--',
  8630. 'optional2--',
  8631. "//a[contains(@href,'vidbull.com')]");
  8632. }
  8633. if (GM_getValue("Check_novamov_dot_com_links", false))
  8634. {
  8635. addFileHost(
  8636. "novamov\.com\/\\w+",
  8637. 'For version detection',
  8638. 'file no longer exists',
  8639. 'optional--',
  8640. 'optional2--',
  8641. "//a[contains(@href,'novamov.com')]"
  8642. );
  8643. }
  8644. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8645. {
  8646. addFileHost(
  8647. "filehoot\.com\/\\w+",
  8648. 'Continue to watch',
  8649. 'File Not Found',
  8650. 'optional--',
  8651. 'optional2--',
  8652. "//a[contains(@href,'filehoot.com')]"
  8653. );
  8654. }
  8655. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8656. {
  8657. addFileHost(
  8658. "stagevu\.com\/\\w+",
  8659. 'Video Info',
  8660. 'No video with the provided',
  8661. 'optional--',
  8662. 'optional2--',
  8663. "//a[contains(@href,'stagevu.com')]"
  8664. );
  8665. }
  8666. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8667. {
  8668. addFileHost(
  8669. "cloudtime\.to\/\\w+",
  8670. 'Download the video',
  8671. 'no longer exists',
  8672. 'optional--',
  8673. 'optional2--',
  8674. "//a[contains(@href,'cloudtime.to')]"
  8675. );
  8676. }
  8677. if (GM_getValue("Check_streamin_dot_to_links", false))
  8678. {
  8679. addFileHost(
  8680. "streamin\.to\/\\w+",
  8681. 'id="btn_download',
  8682. 'Not Found|Copyright Infringement|File Deleted',
  8683. 'optional--',
  8684. 'optional2--',
  8685. "//a[contains(@href,'streamin.to')]"
  8686. );
  8687. }
  8688. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8689. {
  8690. addFileHost(
  8691. "videoweed\.es\/\\w+",
  8692. 'version detection',
  8693. 'no longer exists',
  8694. 'optional--',
  8695. 'optional2--',
  8696. "//a[contains(@href,'videoweed.es')]"
  8697. );
  8698. }
  8699. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8700. {
  8701. addFileHost(
  8702. "nowvideo\.sx\/\\w+",
  8703. 'Download this video|value="submit">Continue',
  8704. 'no longer exists',
  8705. 'optional--',
  8706. 'optional2--',
  8707. "//a[contains(@href,'nowvideo.sx')]"
  8708. );
  8709. }
  8710. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8711. {
  8712. addFileHost(
  8713. "thevideo\.me\/\\w+",
  8714. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8715. 'File Not Found',
  8716. 'optional--',
  8717. 'optional2--',
  8718. "//a[contains(@href,'thevideo.me')]"
  8719. );
  8720. }
  8721. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8722. {
  8723. addFileHost(
  8724. "gorillavid\.in\/\\w+",
  8725. 'Wait 5 seconds',
  8726. 'File Not Found',
  8727. 'optional--',
  8728. 'optional2--',
  8729. "//a[contains(@href,'gorillavid.in')]"
  8730. );
  8731. }
  8732. if (GM_getValue("Check_thefile_dot_me_links", false))
  8733. {
  8734. addFileHost(
  8735. "thefile\.me\/\\w+",
  8736. 'Choose free or',
  8737. '',
  8738. 'optional--',
  8739. 'optional2--',
  8740. "//a[contains(@href,'thefile.me')]"
  8741. );
  8742. }
  8743. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8744. {
  8745. addFileHost(
  8746. "vidzi\.tv\/\\w+",
  8747. 'video-embed-modal row',
  8748. 'File Not Found|file was deleted',
  8749. 'optional--',
  8750. 'optional2--',
  8751. "//a[contains(@href,'vidzi.tv')]"
  8752. );
  8753. }
  8754. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8755. {
  8756. addFileHost(
  8757. "filenuke\.com\/\\w+",
  8758. 'Download File',
  8759. 'Earn with us',
  8760. 'optional--',
  8761. 'optional2--',
  8762. "//a[contains(@href,'filenuke.com')]"
  8763. );
  8764. }
  8765. if (GM_getValue("Check_vidto_dot_me_links", false))
  8766. {
  8767. addFileHost(
  8768. "vidto\.me\/\\w+",
  8769. 'Proceed to video',
  8770. 'Not Found',
  8771. 'optional--',
  8772. 'optional2--',
  8773. "//a[contains(@href,'vidto.me')]"
  8774. );
  8775. }
  8776. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8777. {
  8778. addFileHost(
  8779. "vidspot\.net\/\\w+",
  8780. 'Duration',
  8781. 'Removed for',
  8782. 'optional--',
  8783. 'optional2--',
  8784. "//a[contains(@href,'vidspot.net')]"
  8785. );
  8786. }
  8787. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8788. {
  8789. addFileHost(
  8790. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8791. 'Download File',
  8792. 'File Not Found',
  8793. 'optional--',
  8794. 'optional2--',
  8795. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8796. );
  8797. }
  8798. if (GM_getValue("Check_movpod_dot_in_links", false))
  8799. {
  8800. addFileHost(
  8801. "movpod\.in\/\\w+",
  8802. 'Continue',
  8803. 'File Not Found',
  8804. 'optional--',
  8805. 'optional2--',
  8806. "//a[contains(@href,'movpod.in')]"
  8807. );
  8808. }
  8809. /* if (GM_getValue("Check_down4files_dot_com_links", false))
  8810. {
  8811. addFileHost(
  8812. "down4files\.com\/\\w+",
  8813. 'down_table.png',
  8814. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8815. 'optional--',
  8816. 'optional2--',
  8817. "//a[contains(@href,'down4files.com')]"
  8818. );
  8819. } */
  8820. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8821. {
  8822. addFileHost(
  8823. "storefiles\.co\/\\w+",
  8824. 'btn_download',
  8825. 'No such file|>Error<|mqmaintitle">',
  8826. 'optional--',
  8827. 'optional2--',
  8828. "//a[contains(@href,'storefiles.co')]"
  8829. );
  8830. }
  8831. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8832. {
  8833. addFileHost(
  8834. "filehost\.pw\/\\w+",
  8835. 'name="method_free',
  8836. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8837. 'optional--',
  8838. 'optional2--',
  8839. "//a[contains(@href,'filehost.pw')]"
  8840. );
  8841. }
  8842. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8843. {
  8844. addFileHost(
  8845. "inafile\.com\/\\w+",
  8846. 'value="download1">|<h2>File: <font style="color:darkred">',
  8847. '<div style="width:500px;text-align:left;">|File Not Found',
  8848. 'optional--',
  8849. 'optional2--',
  8850. "//a[contains(@href,'inafile.com')]"
  8851. );
  8852. } */
  8853. if (GM_getValue("Check_uplea_dot_com_links", false))
  8854. {
  8855. addFileHost(
  8856. "uplea\.com\/\\w+",
  8857. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8858. 'expired link|ou est invalide',
  8859. 'optional--',
  8860. 'optional2--',
  8861. "//a[contains(@href,'uplea.com/dl')]",
  8862. true);
  8863. }
  8864. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8865. {
  8866. addFileHost(
  8867. "toutbox\.fr\/\\w+",
  8868. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8869. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8870. 'Serviço temporariamente indisponível',
  8871. 'optional2--',
  8872. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8873. );
  8874. }
  8875. if (GM_getValue("Check_openload_dot_co_links", false))
  8876. {
  8877. addFileHost(
  8878. "openload\.co\/\\w+",
  8879. 'id="downloadTimer">|button dlbutton',
  8880. 'jumbotron{color|got deleted|center !important',
  8881. 'optional--',
  8882. 'optional2--',
  8883. "//a[contains(@href,'openload.co')]"
  8884. );
  8885. }
  8886. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8887. {
  8888. addFileHost(
  8889. "lolabits\.es\/\\w+",
  8890. 'Descargar:',
  8891. '<title>Archivos de usuario',
  8892. 'Service Unavailable',
  8893. 'optional2--',
  8894. "//a[contains(@href,'lolabits.es')]"
  8895. );
  8896. }
  8897. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8898. {
  8899. addFileHost(
  8900. "alfafile\.net\/\\w+",
  8901. 'id="slow_download_btn',
  8902. 'class="error-box">',
  8903. 'optional--',
  8904. 'optional2--',
  8905. "//a[contains(@href,'alfafile.net')]"
  8906. );
  8907. }
  8908. if (GM_getValue("Check_multiup_dot_org_links", false))
  8909. {
  8910. addFileHost(
  8911. "multiup\.org\/\\w+",
  8912. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8913. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8914. 'optional--',
  8915. 'optional2--',
  8916. "//a[contains(@href,'multiup.org')]"
  8917. );
  8918. }
  8919. if (GM_getValue("Check_file_dot_al_links", false))
  8920. {
  8921. addFileHost(
  8922. "file\.al\/\\w+",
  8923. 'method_free',
  8924. 'style="width:500px;text-align:left;">',
  8925. 'optional--',
  8926. 'optional2--',
  8927. "//a[contains(@href,'file.al')]"
  8928. );
  8929. }
  8930. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8931. {
  8932. addFileHost(
  8933. "devilshare\.net\/\\w+",
  8934. '<div class="large-12" id="download">',
  8935. '(Link: 0 Invalid)|File Not Found',
  8936. 'optional--',
  8937. 'optional2--',
  8938. "//a[contains(@href,'devilshare.net')]"
  8939. );
  8940. }
  8941. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8942. {
  8943. addFileHost(
  8944. "dailyuploads\.net\/\\w+",
  8945. 'id="downloadBtnClickOrignal',
  8946. '<div style="width:500px;text-align:left;">',
  8947. 'optional--',
  8948. 'optional2--',
  8949. "//a[contains(@href,'dailyuploads.net')]"
  8950. );
  8951. }
  8952. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8953. {
  8954. addFileHost(
  8955. "datoteke\.com\/\\w+",
  8956. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8957. '&nbsp;File has been removed',
  8958. 'optional--',
  8959. '<title>Error - Datoteke',
  8960. "//a[contains(@href,'datoteke.com')]"
  8961. );
  8962. }
  8963. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  8964. {
  8965. addFileHost(
  8966. "tezfiles\.com\/\\w+",
  8967. 'virtual/low-speed-download',
  8968. 'class="alert alert-block|file is no longer available',
  8969. 'optional--',
  8970. 'This file is available<br>only for premium members',
  8971. "//a[contains(@href,'tezfiles.com')]"
  8972. );
  8973. }
  8974. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8975. {
  8976. addFileHost(
  8977. "sharehost\.eu\/\\w+",
  8978. '/?v=download_free&',
  8979. 'Errors occured|Wystąpiły błędy',
  8980. 'optional--',
  8981. 'optional2--',
  8982. "//a[contains(@href,'sharehost.eu')]"
  8983. );
  8984. }
  8985. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8986. {
  8987. addFileHost(
  8988. "pornfile\.cz\/\\w+",
  8989. 'Stáhnout soubor',
  8990. 'Soubor byl smazán',
  8991. 'optional--',
  8992. 'optional2--',
  8993. "//a[contains(@href,'pornfile.cz')]"
  8994. );
  8995. }
  8996. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8997. {
  8998. addFileHost(
  8999. "pornoid\.cz\/\\w+",
  9000. 'class="btn btn-large btn-download',
  9001. 'Soubor byl smazán',
  9002. 'optional--',
  9003. 'optional2--',
  9004. "//a[contains(@href,'pornoid.cz')]"
  9005. );
  9006. }
  9007. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9008. {
  9009. addFileHost(
  9010. "file-share\.top\/\\w+",
  9011. 'btn-success btn-lg download',
  9012. 'Stránka neexistuje|404 Not Found',
  9013. 'optional--',
  9014. 'optional2--',
  9015. "//a[contains(@href,'file-share.top')]"
  9016. );
  9017. }
  9018. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9019. {
  9020. addFileHost(
  9021. "bitster\.cz\/\\w+",
  9022. 'section" content="VIDEO"',
  9023. 'section" content=""',
  9024. 'optional--',
  9025. 'optional2--',
  9026. "//a[contains(@href,'bitster.cz')]"
  9027. );
  9028. }
  9029. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9030. {
  9031. addFileHost(
  9032. "rapidu\.net\/\\w+",
  9033. 'onclick="downloadFreeFile',
  9034. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9035. 'optional--',
  9036. 'optional2--',
  9037. "//a[contains(@href,'rapidu.net')]"
  9038. );
  9039. }
  9040. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9041. {
  9042. addFileHost(
  9043. "dinoshare\.cz\/\\w+",
  9044. 'class="download-button"',
  9045. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9046. 'optional--',
  9047. 'optional2--',
  9048. "//a[contains(@href,'dinoshare.cz')]"
  9049. );
  9050. }
  9051. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9052. {
  9053. addFileHost(
  9054. "bytewhale\.com\/\\w+",
  9055. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9056. 'var rawest = "0 MB',
  9057. 'optional--',
  9058. 'optional--',
  9059. "//a[contains(@href,'bytewhale.com')]"
  9060. );
  9061. }
  9062. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9063. {
  9064. addFileHost(
  9065. "rapidrar\.com\/\\w+",
  9066. 'value="Free Download',
  9067. '<div style="width:500px;text-align:left;">',
  9068. 'optional--',
  9069. 'optional--',
  9070. "//a[contains(@href,'rapidrar.com')]"
  9071. );
  9072. }
  9073.  
  9074. }
  9075. //start here
  9076.  
  9077. //hosts with direct download, so they must be requested for headers only
  9078. function initFileHostsHeadersOnly()
  9079. {
  9080. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9081. {
  9082. var host = new Array(5);
  9083. host[0] = linkRegex;
  9084. host[1] = isAliveRegex;
  9085. host[2] = isDeadRegex;
  9086. host[3] = xpathEx;
  9087. host[4] = ispremRegex;
  9088. http_file_hosts_headers_only.push(host);
  9089. }
  9090. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9091. {
  9092. addFileHostHeadersOnly(
  9093. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9094. 'Connection: Keep-Alive',
  9095. 'Content-Length: 3857',
  9096. "//a[contains(@href,'uloziste.com')]"
  9097. )
  9098. }
  9099. if (GM_getValue("Check_adrive_dot_com_links", false))
  9100. {
  9101. addFileHostHeadersOnly(
  9102. "adrive\\.com\/public\/\\w+",
  9103. 'Connection: keep-alive',
  9104. 'orig_ref=deleted',
  9105. "//a[contains(@href,'adrive.com')]"
  9106. )
  9107. }
  9108. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9109. {
  9110. addFileHostHeadersOnly(
  9111. "myupload\\.dk\/showfile\/\\w+",
  9112. 'Expires:',
  9113. 'squeeze1\\s+Vary',
  9114. "//a[contains(@href,'myupload.dk/showfile')]"
  9115. )
  9116. }
  9117. }
  9118. //CustomRules
  9119. //functions add...Host copied here
  9120. function addObsoleteHost(linkRegex, xpathEx)
  9121. {
  9122. var host = new Array(2);
  9123. host[0] = linkRegex;
  9124. host[1] = xpathEx;
  9125. http_file_hosts_obsolete.push(host);
  9126. }
  9127. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9128. {
  9129. var host = new Array(7);
  9130. host[0] = linkRegex;
  9131. host[1] = isAliveRegex;
  9132. host[2] = isDeadRegex;
  9133. host[3] = isUnavaRegex;
  9134. host[4] = xpathEx;
  9135. tryLoop ? host[5] = true : host[5] = false;
  9136. host[6] = ispremRegex;
  9137. http_file_hosts.push(host);
  9138. }
  9139. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9140. {
  9141. var host = new Array(5);
  9142. host[0] = linkRegex;
  9143. host[1] = isAliveRegex;
  9144. host[2] = isDeadRegex;
  9145. host[3] = xpathEx;
  9146. host[4] = ispremRegex;
  9147. http_file_hosts_headers_only.push(host);
  9148. }
  9149. //takes a fully built rules array and adds the rules to WARLC
  9150. function applyCustomRules(customRules)
  9151. {
  9152. if (!customRules) return;
  9153. var rules, r, i;
  9154. rules = customRules.rules;
  9155. for (i = 0 ; i < rules.length ; i++)
  9156. {
  9157. r = rules[i];
  9158. if (r.enabled)
  9159. {
  9160. switch (r.type)
  9161. {
  9162. case 'single':
  9163. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9164. break;
  9165. case 'headers':
  9166. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9167. break;
  9168. case 'obsolete':
  9169. addObsoleteHost(r.urlregex, r.xpath)
  9170. break;
  9171. }
  9172. }
  9173. }
  9174. }
  9175.  
  9176.  
  9177. function initFileHostsCustom()
  9178. {
  9179. if (Custom_rules && Custom_rules_text)
  9180. {
  9181. var msg = '';
  9182. if (newVersion)
  9183. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9184. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9185. msg = '60 or more days have passed since this notification.\n\n';
  9186. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9187. {
  9188. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9189. msg +=
  9190. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9191. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9192. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9193. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9194. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9195. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9196. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9197. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9198. setTimeout(function(){alert(msg)},0);
  9199. }
  9200. var customRules = parseCustomRules(Custom_rules_text);
  9201. if (customRules.warning || customRules.error)
  9202. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9203. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9204. JSON.stringify(customRules.info, null, ' '));
  9205. applyCustomRules(customRules);
  9206. }
  9207. }
  9208. //end of CustomRules processing
  9209.  
  9210.  
  9211.  
  9212. } //end of function start
  9213.  
  9214.  
  9215.  
  9216. function initClipBoardTools()
  9217. {
  9218. unsafeWindow.copyToClipboard = function(text)
  9219. {
  9220. try
  9221. {
  9222. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9223.  
  9224. var str = Components.classes["@mozilla.org/supports-string;1"].
  9225. createInstance(Components.interfaces.nsISupportsString);
  9226. if (!str) return false;
  9227.  
  9228. str.data = text;
  9229.  
  9230. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9231. createInstance(Components.interfaces.nsITransferable);
  9232. if (!trans) return false;
  9233.  
  9234. trans.addDataFlavor("text/unicode");
  9235. trans.setTransferData("text/unicode", str, text.length * 2);
  9236.  
  9237. var clipid = Components.interfaces.nsIClipboard;
  9238. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9239. if (!clip) return false;
  9240.  
  9241. clip.setData(trans, null, clipid.kGlobalClipboard);
  9242. } catch (e) {
  9243. GM_log("Error copyToClipboard : " + e);
  9244. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9245. }
  9246. }
  9247. }
  9248.  
  9249.  
  9250.  
  9251. //CustomRules
  9252.  
  9253. function escapeRegex(str)
  9254. {
  9255. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9256. }
  9257.  
  9258.  
  9259. //called internally from parseCustomRules.
  9260. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9261. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9262. function makeCustomRule(rule)
  9263. {
  9264. function makeMatchRegex(arrmatch)
  9265. {
  9266. return escapeRegex(arrmatch.join('\n'))
  9267. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9268. .replace(/\n/g,'|'); //join together
  9269. }
  9270. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9271. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9272. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9273. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9274. if (rule.baseurl)
  9275. {
  9276. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9277. for (i = 0 ; i < len ; i++)
  9278. {
  9279. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9280. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9281. {
  9282. 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'])
  9283. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9284. }
  9285. else //baseurl in the form: example.com/xxx
  9286. {
  9287. xpath.push(m[0]);
  9288. urlregex.push(escapeRegex(m[0]) + '.');
  9289. }
  9290. }
  9291. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9292. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9293. }
  9294. return rule;
  9295. } //function makeCustomRule
  9296.  
  9297.  
  9298. /*
  9299. Takes a string containing custom link checking rules.
  9300. Returns an object with fields:
  9301. info - contains notes, warnings and errors found during parsing
  9302. rules - the array of custom rules
  9303. note, warning, error - number of each of them found during parsing
  9304. Format of the input string:
  9305. One command per line. Command format: @keyword parameter
  9306. Keywords:
  9307. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9308. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9309. These keywords can be multiple (any of them will work):
  9310. @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...)
  9311. @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+
  9312. @alivelink, @deadlink - example links
  9313. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9314. Lines starting with // and empty lines are ignored.
  9315. Invalid parameters generate errors and those lines are skipped.
  9316. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9317. Example:
  9318. @customrule filehost
  9319. @baseurl filehost.com/download/
  9320. @baseurl filehost2. com net /d?=
  9321. @alivematch id="download">
  9322. @deadmatch File not found
  9323. @deadmatch File deleted
  9324. */
  9325. function parseCustomRules(rulesStr)
  9326. {
  9327. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9328. function addInfo(type, msg, ln){
  9329. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9330. customRules[type]++;
  9331. }
  9332. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9333. if (!lines) return null;
  9334. lines.push('@#customrule _'); //to save the last rule
  9335. var m, linecount = lines.length;
  9336. var keyword, param, constr, rule, err;
  9337. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9338. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9339. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9340. var constraints = {
  9341. 'baseurl': {
  9342. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9343. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9344. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9345. 'alivematch': {
  9346. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9347. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9348. 'deadmatch': {
  9349. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9350. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9351. 'unavamatch': {
  9352. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9353. 'alivelink': {
  9354. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9355. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9356. 'deadlink': {
  9357. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9358. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9359. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9360. };
  9361. for (linenum = 0 ; linenum < linecount ; linenum++)
  9362. {
  9363. //capturing groups: 1 23 4 5 6
  9364. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9365. if (m)
  9366. {
  9367. if (m[1] || !m[2])
  9368. continue; // ignore empty lines and lines starting with //
  9369. keyword = (m[4] || m[2]).toLowerCase();
  9370. param = m[6];
  9371. if (keyword == 'customrule')
  9372. {
  9373. //save the current rule if all required fields are provided
  9374. if (rule)
  9375. {
  9376. err = false;
  9377. $.each(constraints, function(kw, constraint){
  9378. var l, constr = constraint[rule.type];
  9379. if (constr)
  9380. {
  9381. l = rule[kw] ? rule[kw].length : 0;
  9382. if (l < constr.min || l > constr.max)
  9383. {
  9384. 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);
  9385. err = true;
  9386. }
  9387. }
  9388. });
  9389. if (!err)
  9390. customRules.rules.push(makeCustomRule(rule));
  9391. }
  9392. //start a new rule
  9393. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9394. {
  9395. rule = {
  9396. 'enabled': !m[3],
  9397. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9398. 'name': param
  9399. };
  9400. }
  9401. else
  9402. {
  9403. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9404. rule = null;
  9405. }
  9406. }
  9407. else //good line format, but keyword other than customrule
  9408. {
  9409. if (!rule)
  9410. {
  9411. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9412. continue;
  9413. }
  9414. if (constraints[keyword])
  9415. {
  9416. constr = constraints[keyword][rule.type];
  9417. if (constr)
  9418. {
  9419. if (constr.paramRE && !constr.paramRE.test(param))
  9420. {
  9421. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9422. continue;
  9423. }
  9424. }
  9425. else
  9426. {
  9427. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9428. continue;
  9429. }
  9430. }
  9431. //line OK, save
  9432. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9433. }
  9434. } //if (m)
  9435. else
  9436. addInfo('warning', 'Unknown line format. Line skipped.');
  9437. } //for loop
  9438. return customRules;
  9439. } //function parseCustomRules
  9440.  
  9441.  
  9442. /* ********************UPDATES********************
  9443.  
  9444. January 20, 2016
  9445. Version 1.2.3.3
  9446. fixed some rapidgator premium link not being detected
  9447.  
  9448. January 17, 2016
  9449. Version 1.2.3.2
  9450. added bytewhale.com
  9451. added rapidrar.com
  9452.  
  9453. Version 1.2.3.1
  9454. added 180upload.com to obsolete hosts
  9455. fixed hellspy.com
  9456. added dinoshare.cz,
  9457.  
  9458. January 13, 2016
  9459. Version 1.2.3.0
  9460. added rapidu.net
  9461. added uploadboy.me
  9462. fixed euroshare.eu
  9463.  
  9464. January 12, 2016
  9465. Version 1.2.2.9
  9466. added kb.simple-aja.info
  9467.  
  9468. January 10, 2016
  9469. Version 1.2.2.8
  9470. made changes to fastshare.cz
  9471.  
  9472. January 10, 2016
  9473. Version 1.2.2.7
  9474. fixed uptobox.com
  9475.  
  9476. January 09, 2016
  9477. Version 1.2.2.6
  9478. datoteke.com now detects premium links
  9479. fixed turbobit.net
  9480. fixed uptobox.com
  9481. added pornfile.cz
  9482. added pornoid.cz
  9483. added file-share.top
  9484. added bitster.cz
  9485.  
  9486. January 05, 2016
  9487. Version 1.2.2.5
  9488. fixed salefiles.com
  9489. fixed ozofile.com
  9490.  
  9491. January 04, 2016
  9492. Version 1.2.2.4
  9493. added sharehost.eu
  9494.  
  9495. December 30, 2015
  9496. Version 1.2.2.3
  9497. added tezfiles.com
  9498.  
  9499. December 28, 2015
  9500. Version 1.2.2.2
  9501. fixed some k2s & fboom dead link not getting detected
  9502. fixed some k2s premium links not getting detected.
  9503. fixed ssh.yt not detecting some dead links
  9504. fixed ncrypt.in dead links showing yellow
  9505.  
  9506. December 20, 2015
  9507. Version 1.2.2.0
  9508. added datoteke.com
  9509.  
  9510. December 19, 2015
  9511. Version 1.2.1.9
  9512. added secured.in & linksave.in to obsolete hosts
  9513.  
  9514. December 17, 2015
  9515. Version 1.2.1.8
  9516. added german for dead links to secureupload.eu.
  9517.  
  9518. December 17, 2015
  9519. Version 1.2.1.7
  9520. added french for dead links to secureupload.eu.
  9521. fixed problem with tooltip display.
  9522.  
  9523. December 13, 2015
  9524. Version 1.2.1.6
  9525. added netload.me & fileparadox.in to obsolete hosts
  9526.  
  9527. December 09, 2015
  9528. Version 1.2.1.5
  9529. added rapidsonic.com & fileparadox.com to obsolete hosts
  9530.  
  9531. December 04, 2015
  9532. Version 1.2.1.4
  9533. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  9534.  
  9535. December 03, 2015
  9536. Version 1.2.1.3
  9537. added dailyuploads.net
  9538.  
  9539. December 02, 2015
  9540. Version 1.2.1.2
  9541. fixed hitfile.net
  9542. fixed kingfiles.net
  9543.  
  9544. November 30, 2015
  9545. Version 1.2.1.1
  9546. added filepost.com to obsolete hosts
  9547. added devilshare.net
  9548.  
  9549. November 28, 2015
  9550. Version 1.2.1.0
  9551. fixed datafile.com not detecting some premium links.
  9552.  
  9553. November 25, 2015
  9554. Version 1.2.0.9
  9555. fixed filejoker.net
  9556. fixed toutbox.fr
  9557. fixed nowvideo.sx
  9558.  
  9559. November 24, 2015
  9560. Version 1.2.0.8
  9561. fixed openload.io
  9562.  
  9563. November 20, 2015
  9564. Version 1.2.0.7
  9565. //added file.al
  9566. //fixed nitroflare.com false live links
  9567. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  9568.  
  9569. November 17, 2015
  9570. Version 1.2.0.6
  9571. added clicknupload.me
  9572.  
  9573. November 09, 2015
  9574. Version 1.2.0.5
  9575. fixed some depfile premium links not being detected
  9576.  
  9577. November 08, 2015
  9578. Version 1.2.0.4
  9579. fixed some rapidgator premium links not being detected
  9580. fixed doraupload.com
  9581.  
  9582. November 08, 2015
  9583. Version 1.2.0.3
  9584. fixed uploaded false premium
  9585.  
  9586. November 07, 2015
  9587. Version 1.2.0.2
  9588. fixed redbunker.net
  9589.  
  9590. November 05, 2015
  9591. Version 1.2.0.1
  9592. fixed app.box.com
  9593. added multiup.org (does not detect all dead links)
  9594.  
  9595. November 01, 2015
  9596. Version 1.2.0.0
  9597. added more languages to rockfile and 1fichier
  9598.  
  9599. November 01, 2015
  9600. Version 1.1.9.9
  9601. fixed rockfile.eu
  9602. changed 1fichier code (Thanks yurri)
  9603. added to obsolete hosts... (Thanks Love Buzz)
  9604. burnupload.com
  9605. cramit.in
  9606. cramitin.net
  9607. down4files.com
  9608. edoc.com
  9609. jumbofile.net
  9610. krotix.net
  9611. migahost.com
  9612. movreel.com
  9613. netload.in
  9614. newfileland.com
  9615. quickshare.cz
  9616.  
  9617. October 30, 2015
  9618. Version 1.1.9.8
  9619. added alfafile.net
  9620.  
  9621. October 26, 2015
  9622. Version 1.1.9.7
  9623. changed datafile.com and uplea.com
  9624. added lolabits.es
  9625.  
  9626. October 26, 2015
  9627. Version 1.1.9.6
  9628. added toutbox.fr
  9629.  
  9630. October 25, 2015
  9631. Version 1.1.9.5
  9632. fixed counter error
  9633.  
  9634. October 25, 2015
  9635. Version 1.1.9.4
  9636. changed uptobox.com code
  9637.  
  9638. October 21, 2015
  9639. Version 1.1.9.3
  9640. fixed uptobox.com
  9641.  
  9642. October 20, 2015
  9643. Version 1.1.9.2
  9644. bug fixes and new method of detecting premium links.
  9645.  
  9646. October 15, 2015
  9647. Version 1.1.9.1
  9648. fixed hugefiles.net false premium
  9649. changed uptobox.com code
  9650.  
  9651. October 06, 2015
  9652. Version 1.1.9.0
  9653. fixed filefactory
  9654. fixed rockfile false premium
  9655. keep2share & fileboom now detect premium links (fixed by yurii)
  9656.  
  9657. October 01, 2015
  9658. Version 1.1.8.9
  9659. fixed free.fr false premium
  9660. fixed thevideo.me false premium
  9661.  
  9662. September 28, 2015
  9663. Version 1.1.8.8
  9664. added uplea.com and openload.co
  9665.  
  9666. September 27, 2015
  9667. Version 1.1.8.7
  9668. fixed fileparadox.in false premium
  9669. added kingfiles.net to obsolete hosts
  9670. removed inafile.com from obsolete hosts
  9671.  
  9672. September 22, 2015
  9673. Version 1.1.8.6
  9674. fixed nitroflare false premium
  9675.  
  9676. September 22, 2015
  9677. Version 1.1.8.5
  9678. fixed userscloud.com false premium
  9679. fixed usersfiles.com false premium
  9680. changed arabloads.com to arabloads.net
  9681. changed nowdownloads.eu to nowdownloads.ch
  9682.  
  9683. September 21, 2015
  9684. Version 1.1.8.3
  9685. added ryushare.com to obsolete hosts.
  9686.  
  9687. September 20, 2015
  9688. Version 1.1.8.2
  9689. fixed nitroflare not showing premium links
  9690. added down4files.com,storfiles.co,filehost.pw
  9691.  
  9692. September 16, 2015
  9693. Version 1.1.8.1
  9694. added crisshare.com to obsolete hosts
  9695. fixed filemoney.com false premium
  9696. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  9697.  
  9698. September 14, 2015
  9699. Version 1.1.8.0
  9700. added to obsolete hosts...
  9701. sharebeast.com
  9702. tufiles.ru
  9703.  
  9704. September 12, 2015
  9705. Version 1.1.7.9
  9706. fixed rghost.net false premium
  9707. fixed unlimitzone.com false premium
  9708. fixed turbobit.net false live link
  9709.  
  9710. September 11, 2015
  9711. Version 1.1.7.8
  9712. Fixed filefactory.com false premium.
  9713.  
  9714. September 07, 2015
  9715. Version 1.1.7.7
  9716. fixed "depositfiles.com/en/files" links not checking
  9717.  
  9718. September 06, 2015
  9719. Version 1.1.7.6
  9720. added French code for 1fichier
  9721.  
  9722. August 29, 2015
  9723. Version 1.1.7.5
  9724. fixed depositfiles
  9725. fixed mega.co.nz/mega.nz
  9726. (fixed by yurii)
  9727.  
  9728. August 23, 2015
  9729. Version 1.1.7.4
  9730. Fixed uploadrocket (by yurii)
  9731.  
  9732. August 20, 2015
  9733. Version 1.1.7.3
  9734. fixed depfile.com false premium
  9735. fixed 1fichier false premium
  9736. fixed rapidgator false premium
  9737.  
  9738. August 08, 2015
  9739. Version 1.1.7.1
  9740. fixed unlimitzone.com, added freakshare to obsolete hosts.
  9741.  
  9742. August 07, 2015
  9743. Version 1.1.7.0
  9744. fixed...
  9745. streamin.to
  9746. thefile.me
  9747. vidzi.tv
  9748. added...
  9749. filenuke.com
  9750. vidto.me
  9751. vidspot.net
  9752. sharesix.com
  9753. sharesix.net
  9754. movpod.in,
  9755.  
  9756. August 07, 2015
  9757. Version 1.1.6.9 added...
  9758. thefile.me
  9759. vidzi.tv
  9760. videoweed.es
  9761. vodlocker.com
  9762. nowvideo.sx
  9763. cloudtime.to
  9764. thevideo.me
  9765. vidbull.com
  9766. allmyvideos.net
  9767. novamov.com
  9768. filehoot.com
  9769. stagevu.com
  9770. gorillavid.in
  9771. streamin.to
  9772.  
  9773. August 02, 2015
  9774. Version 1.1.6.8
  9775. added cloudshares.net
  9776.  
  9777. August 01, 2015
  9778. Version 1.1.6.7
  9779. fixed depfile redirectors false premium
  9780.  
  9781. July 31, 2015
  9782. Version 1.1.6.6
  9783. fixed depfile.com false premium
  9784. */