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

detects live, dead and premium links.

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

  1. //made fastshare.cz show dead to united states users added kb.simple-aja.info
  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.2.9
  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+T1t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SO58hcHcTk3oX4lHbYQqp5L00QXJW50GK5q4E8A0A88fgoOnBihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/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. "pornfile.cz",
  34. "kb.simple-aja.info",
  35. "bitster.cz",
  36. "file-share.top",
  37. "pornoid.cz",
  38. "dailyuploads.net",
  39. "sharehost.eu",
  40. "tezfiles.com",
  41. "devilshare.net",
  42. "alfafile.net",
  43. "openload.co",
  44. "multiup.org",
  45. "uplea.com",
  46. "filenuke.com",
  47. "file.al",
  48. // "inafile.com",
  49. "lolabits.es",
  50. "vidto.me",
  51. "storefiles.co",
  52. "filehost.pw",
  53. "vidspot.net",
  54. "turbobit.ru",
  55. "sharesix.com|sharesix.net",
  56. "movpod.in",
  57. "thefile.me",
  58. "datoteke.com",
  59. "vidzi.tv",
  60. "videoweed.es",
  61. "vodlocker.com",
  62. "nowvideo.sx",
  63. "cloudtime.to",
  64. "thevideo.me",
  65. "vidbull.com",
  66. "allmyvideos.net",
  67. "novamov.com",
  68. "filehoot.com",
  69. "stagevu.com",
  70. "gorillavid.in",
  71. "streamin.to",
  72. "4upld.com",
  73. "cloudshares.net",
  74. "swoopshare.com",
  75. "2shared.com",
  76. "fileupload.pw",
  77. "zxcfiles.com",
  78. "up07.net",
  79. "4shared.com",
  80. "adrive.com",
  81. "aisfile.com",
  82. "hexupload.com",
  83. "bezvadata.cz",
  84. "xkeepfile.com|Gamesena.com",
  85. "usersfiles.com",
  86. "pan.baidu.com",
  87. "radicalshare.com",
  88. "datei.to",
  89. "daten-hoster.de|filehosting.org|xtraupload.de",
  90. "demo.ovh.eu",
  91. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  92. "divshare.com",
  93. "easy-share.com|crocko.com",
  94. "easybytez.com",
  95. "edisk.cz",
  96. "euroshare.eu",
  97. "file-upload.net",
  98. "yadi.sk",
  99. "wizupload.com",
  100. "fastshare.cz",
  101. "filefactory.com",
  102. "share.vnn.vn",
  103. "yunpan.cn",
  104. "gulfup.com",
  105. "tropicshare.com",
  106. "cloudzilla.to",
  107. "inclouddrive.com",
  108. "fileflyer.com",
  109. "filerio.com|filekeen.com",
  110. "up.4share.vn",
  111. "upfile.vn",
  112. "datafilehost.com",
  113. "fileband.com",
  114. "worldbytez.com",
  115. "files.mail.ru",
  116. "filesflash.com",
  117. "box.com",
  118. "uptobox.com",
  119. "box.net",
  120. "goldbytez.com",
  121. "sdilej.cz",
  122. "ex-load.com",
  123. "filesmonster.com",
  124. "filestore.to",
  125. "hulkload.com",
  126. "filedropper.com",
  127. "free-uploading.com",
  128. "gamefront.com|filefront.com",
  129. "gettyfile.ru",
  130. "gigapeta.com",
  131. "gigasize.com",
  132. "hellshare.com",
  133. "hellspy.com",
  134. "hitfile.net",
  135. "hostuje.net",
  136. "freefilehosting.net",
  137. "free.fr",
  138. "hulkshare.com",
  139. "hyperfileshare.com",
  140. "filecloud.io|ifile.it",
  141. "ifolder.ru",
  142. "jumbofiles.com",
  143. "uploadrocket.net",
  144. "lafiles.com",
  145. "leteckaposta.cz|sharegadget.com",
  146. "letitbit.net",
  147. "load.to",
  148. "mediafire.com",
  149. "megafileupload.com",
  150. "megashares.com",
  151. "movshare.net",
  152. "muchshare.net",
  153. "myupload.dk",
  154. "narod.ru|narod.yandex.ru",
  155. "fboom.me|fileboom.me",
  156. "openfile.ru",
  157. "partage-facile.com",
  158. "plunder.com",
  159. "sharerapid.cz",
  160. "exclusiveloader.com",
  161. "acefile.net",
  162. "queenshare.com",
  163. "rapidgator.net",
  164. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  165. "oboom.com",
  166. "filepi.com",
  167. "neodrive.co",
  168. "rarefile.net",
  169. "rayfile.com",
  170. "rghost.net",
  171. "sendmyway.com",
  172. "clicknupload.com",
  173. "clicknupload.me",
  174. "sharemods.com",
  175. "hostr.co",
  176. "sendspace.com",
  177. "sharecash.org",
  178. "share-links.biz",
  179. "share-online.biz|egoshare.com",
  180. "megarapid.cz",
  181. "shareflare.net",
  182. "solidfiles.com",
  183. "led.wf",
  184. "lan.wf",
  185. "adlink.wf",
  186. "click.tf",
  187. "kyc.pm",
  188. "ssh.tf",
  189. "ssh.yt",
  190. "yep.pm",
  191. "stahovanizasms.cz",
  192. "turbobit.net",
  193. "filecloud.cc",
  194. "tikfile.com",
  195. "cloudsix.me",
  196. "turboupload.com",
  197. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  198. "ulozisko.sk",
  199. "uloziste.com",
  200. "unibytes.com",
  201. "upload-il.net|przeslij.net",
  202. "uploaded.to|ul.to",
  203. "uploading.com",
  204. "chayfile.com",
  205. "rockfile.eu",
  206. "24uploading.com",
  207. "uploadspace.pl",
  208. "upnito.sk",
  209. "usaupload.net",
  210. "veehd.com",
  211. "videobb.com",
  212. "vip-file.com",
  213. "webshare.cz",
  214. "xdisk.cz",
  215. "yunfile.com|filemarkets.com",
  216. "ziddu.com",
  217. "zippyshare.com",
  218. "rodfile.com",
  219. "wikiupload.com",
  220. "uploadstube.de",
  221. "faststore.org",
  222. "flyfiles.net",
  223. "nowdownload.ch",
  224. "prefiles.com",
  225. "axifile.com",
  226. "hackerbox.org",
  227. "amonshare.com",
  228. "data.hu",
  229. "brupload.net",
  230. "userscloud.com",
  231. "netkups.com",
  232. "xfileload.com",
  233. "kumpulbagi.com",
  234. "uppit.com|up.ht",
  235. "downloadani.me",
  236. "filesabc.com",
  237. "180upload.com",
  238. "verzend.be",
  239. "4up.me",
  240. "extmatrix.com",
  241. "sendfiles.nl",
  242. "yourfilestore.com",
  243. "filebig.net",
  244. "nekaka.com",
  245. "file4safe.com",
  246. "tusfiles.net",
  247. "filemac.com",
  248. "idup.in",
  249. "fileswap.com",
  250. "ozofiles.com",
  251. "loudupload.net",
  252. "nosupload.com",
  253. "gboxes.com",
  254. "myvdrive.com|fileserving.com",
  255. "filesin.com",
  256. "novafile.com",
  257. "longfiles.com",
  258. // "uploadhero.com",
  259. "uploadbaz.com",
  260. "bitupload.com",
  261. "indowebster.com",
  262. "superload.cz",
  263. "mafiastorage.com",
  264. "4upfiles.com",
  265. "filesmelt.com",
  266. "hellupload.com",
  267. "uploadingit.com",
  268. "stiahni.si",
  269. "sendspace.pl",
  270. "fastshare.org",
  271. "filejoker.net",
  272. "filestore.com.ua",
  273. "secureupload.eu",
  274. "rapidfileshare.net",
  275. "stiahnito.sk",
  276. "rusfolder.com",
  277. "fileover.net",
  278. "catshare.net",
  279. "anonfiles.com",
  280. "mixturecloud.com",
  281. "filedais.com",
  282. // "imdb.com",
  283. "nitroflare.com",
  284. "akafile.com",
  285. "creafile.net",
  286. "hugefiles.net",
  287. "vidxden.com",
  288. "up.top4top.net",
  289. "upload.ee",
  290. "shareplace.org",
  291. "uploadc.com",
  292. "remixshare.com",
  293. "exoshare.com",
  294. "borncash.org",
  295. "junocloud.me",
  296. "expressleech.com",
  297. "2downloadz.com",
  298. "mightyupload.com",
  299. "anysend.com",
  300. "datafile.com",
  301. "upstore.net",
  302. "upsto.re",
  303. "speedy.sh",
  304. "sanshare.com",
  305. "kingfiles.net",
  306. // "uploadhero.co",
  307. "ge.tt",
  308. "filesflash.net",
  309. "salefiles.com",
  310. // "megairon.net",
  311. "datoid.cz",
  312. "cloudstor.es",
  313. "streamfile.com",
  314. "eyesfile.ca",
  315. "filemoney.com",
  316. "uploadboy.com",
  317. "speedshare.eu",
  318. "google.com",
  319. "unlimitzone.com",
  320. "rioupload.com",
  321. "rg.to",
  322. "jumbofiles.org",
  323. "fshare.vn",
  324. "spaceforfiles.com",
  325. "up.media1fire.com",
  326. "depfile.com",
  327. "go4up.com",
  328. "dropbox.com",
  329. "redbunker.net",
  330. "divxpress.com",
  331. "mega.nz|mega.co.nz",
  332. "anafile.com",
  333. "uploadable.ch",
  334. "arabloads.net",
  335. "sharerepo.com",
  336. "sfshare.se",
  337. "files.fm",
  338. "koofile.com",
  339. "vidplay.net",
  340. "storagon.com",
  341. "doraupload.com",
  342. "openload.io",
  343. "geupload.com|lenfile.com",
  344. "uploads.xxx",
  345. "toutbox.fr",
  346. ];
  347.  
  348. try
  349. {
  350. //iframes excluded
  351. if (window.top != window.self)
  352. {
  353. return;
  354. }
  355. //allHostNames sites excluded
  356. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  357. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  358. ")"))
  359. {
  360. return;
  361. }
  362. }
  363. catch (e)
  364. {
  365. return;
  366. }
  367.  
  368. //separate alternative domains with "|" char (first name is considered being main)
  369. var allContainerNames = [
  370. "adf.ly",
  371. "linkcrypt.ws",
  372. "linksafe.me",
  373. // "linksave.in",
  374. "linkto.net",
  375. "madlink.sk",
  376. "multiload.cz",
  377. "mirrorcreator.com",
  378. "ncrypt.in",
  379. "redi.re",
  380. "relink.us",
  381. "safelinking.net",
  382. "theloo.katt.it",
  383. "bit.ly",
  384.  
  385. ];
  386.  
  387. //separate alternative domains with "|" char (first name is considered being main)
  388. var allObsoleteNames = [
  389. "uloz.cz",
  390. "secured.in",
  391. "linksave.in",
  392. "filepost.com|fp.io",
  393. "rapidsonic.com",
  394. "fileparadox.com",
  395. "fileparadox.in",
  396. "uploadhero.co",
  397. "uploadhero.com",
  398. "newfileland.com",
  399. "quickshare.cz",
  400. "netload.in",
  401. "netload.me",
  402. "movreel.com",
  403. "migahost.com",
  404. "krotix.net",
  405. "jumbofile.net",
  406. "edoc.com",
  407. "down4files.com",
  408. "cramit.in|cramitin.net",
  409. "freakshare.com",
  410. "burnupload.com|burnupload.ihiphop.com",
  411. "freakshare.net",
  412. "daj.to",
  413. "bl.st",
  414. "2drive.net",
  415. "ryushare.com",
  416. "crisshare.com",
  417. "tufiles.ru",
  418. "uncapped-downloads.com",
  419. "sockshare.com",
  420. "ddlstorage.com",
  421. "dataport.cz",
  422. "dizzcloud.com",
  423. "sharebeast.com",
  424. "stahovadlo.cz",
  425. "shared.com",
  426. "storage.to",
  427. "putlocker.com",
  428. "lumfile.com",
  429. "lumfile.se",
  430. "lumfile.eu",
  431. "firedrive.com",
  432. "fileshare.in.ua",
  433. "filecore.co.nz",
  434. "iskladka.cz",
  435. "file-rack.com",
  436. "fast-load.net",
  437. "subory.sk",
  438. "bigandfree.com",
  439. "fileop.com",
  440. "mujsoubor.cz",
  441. "sendfile.to",
  442. "superfastfile.com",
  443. "quickyshare.com",
  444. "duckload.com",
  445. "uploadstore.net",
  446. "meinupload.com",
  447. "dualshare.com",
  448. "2xupload.to|2xupload.de",
  449. "oxedion.com",
  450. "uploadline.com",
  451. "dll.bz",
  452. "movieshare.in",
  453. "milledrive.com",
  454. "quickupload.net",
  455. "safelink.in",
  456. "metadivx.com",
  457. "divxlink.com",
  458. "uploadrack.com",
  459. "teradepot.com",
  460. "dataup.to",
  461. "upit.to",
  462. "driveway.com",
  463. "eatlime.com",
  464. "a2zuploads.com",
  465. "friendlyfiles.net",
  466. "flyfile.us",
  467. "speedyshare.com",
  468. "uploadspace.eu",
  469. "keepfile.com",
  470. "piggyshare.com",
  471. "uplly.com",
  472. "filecrown.com",
  473. "6giga.com",
  474. "uploadjockey.com",
  475. "bluehost.to",
  476. "filegu.ru",
  477. "filebase.to",
  478. "up-file.com",
  479. "xvideos.com",
  480. "ufox.com",
  481. "filebling.com",
  482. "loaded.it",
  483. "uploadcell.com",
  484. "uploadshare.cz",
  485. "mangoshare.com",
  486. "filestab.com",
  487. "crazyupload.com",
  488. "gaiafile.com",
  489. "sharejunky.com",
  490. "fileho.com",
  491. "bigandfree.com",
  492. "bigfile.in",
  493. "bigshare.eu",
  494. "dahosting.org",
  495. "digisofts.net",
  496. "file4save.com",
  497. "filechip.com",
  498. "filescloud.com",
  499. "saveqube.com",
  500. "turboshare.de",
  501. "z-upload.com",
  502. "youshare.com",
  503. "jiffyupload.com",
  504. "gigeshare.com",
  505. "datenklo.net",
  506. "upload.dj",
  507. "loadfiles.in",
  508. "upit.to",
  509. "dsfileshare.com",
  510. "sharesimple.net",
  511. "4files.net",
  512. "wooupload.com",
  513. "odsiebie.com",
  514. "filenavi.com",
  515. "3oof.com",
  516. "meshwaar.com",
  517. "maxupload.com",
  518. "share.cx",
  519. "atserver.eu",
  520. "hotfiles.ws",
  521. "esnips.com",
  522. "tuxfile.com",
  523. "file2upload.net",
  524. "filebling.com",
  525. "turboshare.com",
  526. "rarhost.com",
  527. "isharehd.com",
  528. "i741.com",
  529. "dataup.de",
  530. "fofly.com",
  531. "shareonall.com",
  532. "sexuploader.com",
  533. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  534. "uploadhyper.com",
  535. "filespawn.com",
  536. "caizzii.com",
  537. "volnyweb.cz",
  538. "usershare.net",
  539. "filescash.net",
  540. "metahyper.com",
  541. "combozip.com",
  542. "x7.to",
  543. "uploadbox.com",
  544. "enterupload.com|flyupload.com",
  545. "filepoint.de",
  546. "mystream.to",
  547. "x-fs.com",
  548. "shareator.com",
  549. "srapid.eu",
  550. "sosame.cz",
  551. "filesdump.com",
  552. "2-klicks.de",
  553. "uploking.com",
  554. "silofiles.com",
  555. "upfile.in",
  556. "filehook.com",
  557. "uploadking.com",
  558. "uploadhere.com",
  559. "kewlshare.com",
  560. "rapidable.com",
  561. "uploadwaste.com",
  562. "filemup.com",
  563. "filesonic.com|sharingmatrix.com",
  564. "fileserve.com",
  565. "wupload.com",
  566. "skipfile.com",
  567. "smartuploader.com",
  568. "dualshare.com",
  569. "storeandserve.com",
  570. "mountfile.com",
  571. "transitfiles.com",
  572. "uploadstation.com",
  573. "filejungle.com",
  574. "shareshared.com",
  575. "quickyshare.com",
  576. "save.am",
  577. "petandrive.com",
  578. "file2box.com",
  579. "flyshare.cz",
  580. "yabadaba.ru",
  581. "cloudcache.cc",
  582. "yourfilehost.com",
  583. "jakfile.com",
  584. "kickload.com",
  585. "pyramidfiles.com",
  586. "refile.net",
  587. "zshare.net",
  588. "ddlani.me|ddlanime.com",
  589. "ftp2share.com",
  590. "fooget.com",
  591. "rapidhide.com",
  592. "gotupload.com",
  593. "mooload.com",
  594. "zupload.com",
  595. "mytempdir.com",
  596. "onionshare.com",
  597. "stahnu.to",
  598. "oron.com",
  599. "badongo.com",
  600. "filereactor.com",
  601. "filegaze.com",
  602. "4bytez.com",
  603. "1hostclick.com",
  604. "anonstream.com",
  605. "batshare.com",
  606. "bitroad.net",
  607. "brontofile.com",
  608. "cloudnxt.net",
  609. "cloudnator.com|shragle.com",
  610. "filesfrog.net",
  611. "coolshare.cz",
  612. "dotavi.com",
  613. "ezyfile.net",
  614. "file-bit.net",
  615. "filecosy.com",
  616. "fileduct.com|fileduct.net",
  617. "filefat.com",
  618. "filelaser.com",
  619. "filemashine.com",
  620. "fileserver.cc",
  621. "filetechnology.com",
  622. "fireuploads.net",
  623. "gigfiles.net",
  624. "holderfile.com",
  625. "ihostia.com",
  626. "k2files.com",
  627. "mojofile.com",
  628. "ovfile.com",
  629. "qshare.com",
  630. "shafiles.me",
  631. "sharefilehost.com",
  632. "shareupload.com",
  633. "stahuj.to",
  634. "ugotfile.com",
  635. "uploadboost.com",
  636. "fileom.com",
  637. "vidhog.com",
  638. "xfileshare.eu",
  639. "bzlink.us",
  640. "bulletupload.com",
  641. "bloggerarticles.com",
  642. "mojedata.sk",
  643. "sharpfile.com",
  644. "upgrand.com",
  645. "nasdilej.cz",
  646. "mediatack.cz",
  647. "share-it.to",
  648. "primeupload.com",
  649. "filebeer.info",
  650. "baberepublic",
  651. "xtu.me",
  652. "sharebase.de",
  653. "luckyshare.net",
  654. "filerobo.com",
  655. "filevelocity.com",
  656. "filezpro.com",
  657. "file4sharing.com",
  658. "cing.be",
  659. "ufile.eu",
  660. "pigsonic.com",
  661. "fileupped.com",
  662. "sharerun.com",
  663. "filesaur.com",
  664. "rapidslnare.com",
  665. "bestsharing.com",
  666. "savefiles.net",
  667. "file2share.biz",
  668. "filecache.de",
  669. "monsteruploads.eu",
  670. "b9bb.com",
  671. "aiotool.net",
  672. "jamber.info",
  673. "megaftp.com",
  674. "desiupload.net",
  675. "file27.com",
  676. "yastorage.com",
  677. "filehost.ws",
  678. "copyload.com",
  679. "venusfile.com",
  680. "aieshare.com",
  681. "terafile.co",
  682. "terafile.com",
  683. "fileza.net",
  684. "filerose.com",
  685. "squillion.com",
  686. "fileprohost.com",
  687. "bitbonus.com",
  688. "warserver.cz",
  689. "uload.to",
  690. "sharedbit.net",
  691. "megaload.it",
  692. "filewinds.com",
  693. "uploadcore.com",
  694. "syfiles.com",
  695. "eyesfile.com",
  696. "hotfile.com",
  697. "superupl.com",
  698. "oteupload.com",
  699. "henchfile.com",
  700. "filegag.com",
  701. "HenchFile.com",
  702. "filedefend.com",
  703. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  704. "megabitshare.com",
  705. "cloudzer.com",
  706. "asfile.com",
  707. "cloudzer.net",
  708. "clz.to",
  709. "extabit.com",
  710. "247upload.com",
  711. "2download.de",
  712. "4fastfile.com",
  713. "asixfiles.com",
  714. "berofile.com",
  715. "bigupload.com",
  716. "cepzo.com",
  717. "clouds.to",
  718. "cobrashare.sk",
  719. "coraldrive.net",
  720. "cyberlocker.ch",
  721. "czshare.com",
  722. "darkport.org",
  723. "dark-uploads.com",
  724. "davvas.com",
  725. "enigmashare.com",
  726. "erofly.cz",
  727. "fastsonic.net",
  728. "filebox.com",
  729. "filecity.net",
  730. "filedap.com",
  731. "filedino.com",
  732. "filedownloads.org",
  733. "filefolks.com",
  734. "fileking.co",
  735. "filemates.com",
  736. "files.to",
  737. "files2k.eu",
  738. "filesector.cc",
  739. "bitshare.com",
  740. "filesega.com",
  741. "filesend.net",
  742. "filestay.com",
  743. "filestrum.com",
  744. "fileuplo.de",
  745. "fileupup.com",
  746. "forunesia.com",
  747. "freeuploads.fr",
  748. "uploa.dk",
  749. "getthebit.com",
  750. "getzilla.net",
  751. "goldfile.eu",
  752. "good.com",
  753. "grupload.com",
  754. "hellfile.com",
  755. "hipfile.com",
  756. "hitfile.com",
  757. "hulkfile.eu|duckfile.net",
  758. "i-filez.com",
  759. "ifile.ws",
  760. "kupload.org",
  761. "packupload.com",
  762. "lemuploads.com",
  763. "limelinx.com",
  764. "maxshare.pl",
  765. "megarelease.org",
  766. "megashare.com",
  767. "minus.com",
  768. "mlfat4arab.com",
  769. "multishare.cz",
  770. "nirafile.com",
  771. "ok2upload.com",
  772. "peejeshare.com",
  773. "premiuns.org",
  774. "przeklej.net",
  775. "qkup.net",
  776. "rapidupload.sk",
  777. "rockdizfile.com",
  778. "rocketfile.net",
  779. "share-now.net",
  780. "share76.com",
  781. "sharebees.com",
  782. "sharefiles.co",
  783. "slingfile.com",
  784. "sms4file.com",
  785. "space4file.com",
  786. "tigershare.net",
  787. "toucansharing.com",
  788. "ubuntuone.com",
  789. "unextfiles.com",
  790. "upaj.pl",
  791. "upfile.biz",
  792. "uploadbin.net",
  793. "uploadic.com",
  794. "uploadinc.com",
  795. "uploading4u.eu",
  796. "uploadjet.net",
  797. "uploadorb.com",
  798. "upthe.net",
  799. "uptorch.com",
  800. "vidbox.yt",
  801. "videozer.com",
  802. "vreer.com",
  803. "wallobit.com",
  804. "zooupload.com",
  805. "privatefiles.com",
  806. "xerver.co",
  807. "BillionUploads.com",
  808. "rapidshare.com",
  809. "rapidshare.ru",
  810. "4savefile.com",
  811. "bayfiles.com",
  812. "bayfiles.net",
  813. "dodane.pl",
  814. "dotsemper.com",
  815. "egofiles.com",
  816. "epicshare.net",
  817. "fiberupload.net",
  818. "filemonkey.in",
  819. "filemonster.net",
  820. "filepom.com",
  821. "filesbb.com",
  822. "fileshareup.com",
  823. "filevice.com",
  824. "gigaup.fr",
  825. "isavelink.com",
  826. "loombo.com",
  827. "megafiles.se",
  828. "migupload.com",
  829. "mydisc.net",
  830. "nitrobits.com",
  831. "potload.com",
  832. "redload.net",
  833. "shareprofi.com",
  834. "sharesuper.info",
  835. "sinhro.net",
  836. "speedfile.cz",
  837. "speedshare.org",
  838. "storage.novoro.net",
  839. "swankshare.com",
  840. "swatupload.com",
  841. "upafile.com",
  842. "uploadmachine.com",
  843. "uploadsat.com",
  844. "upshared.com",
  845. "usefile.com",
  846. "yourfiles.to",
  847. "zomgupload.com",
  848. "ultramegabit.com",
  849. "uploadto.us",
  850. "inafile.com",
  851. "megairon.net",
  852.  
  853. ];
  854. ///////////////////////////////////////////////////////////////////////////////////////
  855. var firstRun = GM_getValue("First_run", true);
  856.  
  857. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  858. //////////////////////////////////////////////////////////////////////////////////////
  859. try
  860. {
  861. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  862. var last_known_version = GM_getValue("last_known_version", "");
  863. if (!last_known_version)
  864. {
  865. last_known_version = thisVersion;
  866. GM_setValue("last_known_version", last_known_version);
  867. }
  868. //var newVersion = !(thisVersion == last_known_version);
  869. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  870. GM_setValue("last_known_version", thisVersion);
  871. }
  872. catch (err)
  873. {
  874. var newVersion = false;
  875. }
  876.  
  877. var now = (new Date()).getTime();
  878. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  879. if (!last_custom_rules_nag)
  880. {
  881. last_custom_rules_nag = now;
  882. GM_setValue('last_custom_rules_nag', ''+now);
  883. }
  884.  
  885.  
  886. allHostNames.sort();
  887. allContainerNames.sort();
  888. allObsoleteNames.sort();
  889.  
  890. var RAND_STRING = "8QyvpOSsRG3QWq";
  891. var DEBUG_MODE = false;
  892.  
  893. var TOOLTIP_MAXWIDTH = 600; //in pixels
  894. var TOOLTIP_THUMBWIDTH = 200;
  895. var containers_processed = false;
  896.  
  897. //settings for keyboard functions start
  898. var CHECK_ALL_LINKS_KEY = "A";
  899. var CONFIGURATION_KEY = "C";
  900. var copy_to_dead_key = "D";
  901. var toggle_autocheck_key = "W";
  902. var toggle_Enable_Anonymizer_key = "Z";
  903. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  904. var first_key_keycodename = 'CTRL';
  905. var second_key_keycode = '18';
  906. var second_key_keycodename = 'ALT';
  907. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  908. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  909. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  910. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  911. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  912. //settings for keyboard functions end
  913.  
  914. //global settings start
  915. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  916. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  917. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  918. var Show_progress_stats, Display_tooltip_info, Icon_set;
  919. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  920. var Progress_box_refresh_rate;
  921. var Obsolete_file_hosts;
  922. var Custom_rules, Custom_rules_text;
  923.  
  924. var messageBox = document.createElement('b'); // top-left message box
  925.  
  926. var cLinksTotal = 0;
  927. var cLinksDead = 0;
  928. var cLinksAlive = 0;
  929. var cLinksUnava = 0;
  930. var cLinksprem = 0;
  931. var cLinksProcessed = 0;
  932.  
  933. var intervalId; //for updateProgress()
  934.  
  935. //icon resources
  936. 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/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiil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sLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  943. 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=';
  944. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj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e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  949. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  950.  
  951. //global settings end
  952. if (window.opera && !window.console)
  953. {
  954. window.console = {};
  955.  
  956. function fn()
  957. {
  958. opera.postError(arguments);
  959. };
  960. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  961. {
  962. window.console[name] = fn;
  963. });
  964. }
  965.  
  966. //displays colored text in message box
  967. function sendMessage(text, color)
  968. {
  969. var msgDiv = document.createElement('div');
  970. msgDiv.style.color = color;
  971. msgDiv.innerHTML = text;
  972. messageBox.appendChild(msgDiv);
  973. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  974. }
  975.  
  976. function linkify(totalourls)
  977. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  978. var ikkeTilladteTags;
  979. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  980. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  981. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  982. allLinksRegex = new RegExp(allLinksRegex, "g");
  983. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  984.  
  985. if (Do_not_linkify_DL_links)
  986. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  987. else
  988. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  989.  
  990. var regex = new RegExp(regexy);
  991. var textNode, muligtLink;
  992.  
  993. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  994. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  995.  
  996. var i = textNodes.snapshotLength;
  997. while (i--)
  998. {
  999. textNode = textNodes.snapshotItem(i);
  1000.  
  1001. muligtLink = textNode.nodeValue; //all links on page
  1002.  
  1003. var myArray = null;
  1004. var span = null;
  1005. var lastLastIndex = 0;
  1006. allLinksRegex.lastIndex = 0;
  1007. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1008. {
  1009. if (textNode.parentNode.className == "adead_link") continue;
  1010. var censoredLink = muligtLink;
  1011. var span = document.createElement('span');
  1012. span.className = "adead_link";
  1013. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1014. $(span).html(censoredLink);
  1015. span.addEventListener("mouseover", displayTooltipError, false);
  1016. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1017. textNode.parentNode.replaceChild(span, textNode);
  1018. continue;
  1019. alert(censoredLink);
  1020. }
  1021. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1022. {
  1023. if (!regex.test(myArray[0])) //this link is not recognized
  1024. {
  1025.  
  1026. continue;
  1027. }
  1028. if (!span)
  1029. span = document.createElement('span');
  1030.  
  1031. var link = myArray[0];
  1032. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1033.  
  1034. var $a = $("<a>" + link + "</a>")
  1035. if (!link.match(/https?:\/\//))
  1036. {
  1037. link = 'http://' + link;
  1038. }
  1039.  
  1040. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1041. .addClass("processing_link")
  1042. .appendTo(span);
  1043. lastLastIndex = allLinksRegex.lastIndex;
  1044. }
  1045. if (span)
  1046. {
  1047. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1048. textNode.parentNode.replaceChild(span, textNode);
  1049. }
  1050. }
  1051. }
  1052.  
  1053. function add_WARLC_style()
  1054. {
  1055. if (!(document.getElementsByTagName('WARLC')[0]))
  1056. {
  1057. var meta_not_to_add_more_style = document.createElement("WARLC");
  1058. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1059. meta_not_to_add_more_style.setAttribute('name', 'description');
  1060. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1061. alive_link_png = "";
  1062. adead_link_png = "";
  1063. unava_link_png = "";
  1064. prem_link_png = "";
  1065. switch(Icon_set)
  1066. {
  1067. //no icons
  1068. case 0: break;
  1069. // cat paws
  1070. case 1: alive_link_png = PAW_ICON_GREEN;
  1071. adead_link_png = PAW_ICON_RED;
  1072. unava_link_png = PAW_ICON_YELLOW;
  1073. prem_link_png = PAW_ICON_PINK;
  1074. break;
  1075. // classic RSLC look
  1076. case 2: alive_link_png = RSLC_ICON_GREEN;
  1077. adead_link_png = RSLC_ICON_RED;
  1078. unava_link_png = RSLC_ICON_YELLOW;
  1079. prem_link_png = RSLC_ICON_PINK;
  1080. break;
  1081. // New Icons
  1082. case 3: alive_link_png = NEW_ICON_GREEN;
  1083. adead_link_png = NEW_ICON_RED;
  1084. unava_link_png = NEW_ICON_YELLOW;
  1085. prem_link_png = NEW_ICON_PINK;
  1086. break;
  1087. // cat paws
  1088. default:alive_link_png = PAW_ICON_GREEN;
  1089. adead_link_png = PAW_ICON_RED;
  1090. unava_link_png = PAW_ICON_YELLOW;
  1091. prem_link_png = PAW_ICON_PINK;
  1092. break;
  1093. }
  1094. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1095. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1096.  
  1097. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1098.  
  1099. if (Color_DL_links)
  1100. {
  1101. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1102. live_color_css = 'color:' + Live_links_color + ' !important;';
  1103. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1104. container_color_css = 'color:' + Container_links_color + ' !important;';
  1105. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1106. }
  1107. else
  1108. {
  1109. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1110. }
  1111.  
  1112. if (Show_black_background_in_DL_links)
  1113. {
  1114. black_background_css = 'background-color: black !important;';
  1115. }
  1116. else
  1117. {
  1118. black_background_css = '';
  1119. }
  1120.  
  1121. if (Show_line_through_in_dead_links)
  1122. {
  1123. line_through_css = 'text-decoration: line-through !important;';
  1124. }
  1125. else
  1126. {
  1127. line_through_css = '';
  1128. }
  1129.  
  1130. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1131. 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 + "}");
  1132. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1133. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1134. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1135. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1136. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1137. }
  1138. }
  1139.  
  1140. var warlcTooltip = null;
  1141. var mouseoverLink = null; //link href with mouse cursor over it
  1142.  
  1143. var lastX = 0;
  1144. var lastY = 0;
  1145.  
  1146. $(document).ready(initTooltip);
  1147. //inits tooltip
  1148. function initTooltip()
  1149. { warlcTooltip = document.createElement("div");
  1150. 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;");
  1151. warlcTooltip.style.visibility = "hidden";
  1152. document.body.appendChild(warlcTooltip);
  1153. }
  1154.  
  1155. //"mousemove" event handler for all links
  1156. function moveTooltip(event)
  1157. {
  1158. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1159. { //no need to reflow if the cursor moved just a little
  1160. return;
  1161. }
  1162. else
  1163. {
  1164. lastX = event.clientX;
  1165. lastY = event.clientY;
  1166. }
  1167.  
  1168. posX = event.clientX + window.pageXOffset + 10;
  1169. posY = event.clientY + window.pageYOffset;
  1170. var ttHeight = warlcTooltip.offsetHeight;
  1171. var ttFreeSpace = window.innerHeight - event.clientY;
  1172. if (ttHeight > ttFreeSpace)
  1173. { //prevents tooltip from getting out of the window
  1174. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1175. }
  1176. else
  1177. {
  1178. posY += 7;
  1179. }
  1180. warlcTooltip.style.top = posY + "px";
  1181. warlcTooltip.style.left = posX + "px";
  1182. }
  1183.  
  1184. //"mouseout" event handler for all links
  1185. function hideTooltip(){
  1186. warlcTooltip.style.visibility = "hidden";
  1187. mouseoverLink = null;
  1188. }
  1189.  
  1190.  
  1191. //"mouseover" event handler for dead links
  1192. //displays tooltip error message on dead links
  1193. function displayTooltipError()
  1194. {
  1195. mouseoverLink = this.href;
  1196. this.addEventListener("mouseout", hideTooltip);
  1197. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1198. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1199. warlcTooltip.style.minWidth = 0;
  1200. warlcTooltip.style.visibility = "visible";
  1201. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1202. {
  1203. warlcTooltip.innerHTML = this.warlc_error;
  1204. }
  1205. else
  1206. {
  1207. loadErrorInfo(this);
  1208. }
  1209. function loadErrorInfo(link)
  1210. {
  1211. var href = link.href;
  1212. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1213. GM_xmlhttpRequest({
  1214. method: 'GET',
  1215. url: href.replace(Ref_anonymize_service, ""),
  1216. headers: {
  1217. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1218. 'Accept': 'text/xml',
  1219. 'Referer': ""
  1220. },
  1221. onload: function(result) {
  1222. var res = result.responseText;
  1223. //TODO: errorRegexs -
  1224. var errorRegexs = [ //generic error messages follow
  1225. /(empty directory)/i,
  1226. /(soubor nebyl nalezen)/i,
  1227. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1228. //server specific error messages follow
  1229. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1230. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1231. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1232. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1233. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1234. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1235. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1236. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1237. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1238. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1239. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1240. /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1241. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1242. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1243. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1244. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1245. /(File has been removed due to Copyright Claim)/, //filerio
  1246. ];
  1247. var errorIdx = errorRegexs.length;
  1248. var error = "Cause of error: <b>unknown</b>";
  1249. var errorCandidate = "";
  1250. while(errorIdx--)
  1251. {
  1252. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1253. if (errorCandidate != null)
  1254. {
  1255. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1256. break;
  1257. }
  1258. }
  1259. //link attributes
  1260. link.warlc_error = error;
  1261. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1262. {
  1263. warlcTooltip.innerHTML = error;
  1264. }
  1265. }
  1266. });
  1267. }
  1268. }
  1269.  
  1270. //"mouseover" event handler for alive links
  1271. //displays tooltip info (file size, file name,...) on alive links
  1272. function displayTooltipInfo()
  1273. {
  1274. mouseoverLink = this.href;
  1275. //exclude direct download filehostings
  1276. 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)/))
  1277. {
  1278. return;
  1279. }
  1280. this.addEventListener("mouseout", hideTooltip);
  1281. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1282. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1283. warlcTooltip.style.minWidth = 0;
  1284. warlcTooltip.style.visibility = "visible";
  1285. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1286. {
  1287. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1288. }
  1289. else
  1290. {
  1291. loadInfo(this);
  1292. }
  1293. function loadInfo(link)
  1294. {
  1295. var href = link.href;
  1296. GM_xmlhttpRequest({
  1297. method: 'GET',
  1298. url: href.replace(Ref_anonymize_service, ""),
  1299. headers: {
  1300. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1301. 'Accept': 'text/xml',
  1302. 'Referer': ""
  1303. },
  1304. onload: function(result) {
  1305. var res = result.responseText;
  1306. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1307. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1308. /fl" title="(.+?)">/, //edisk
  1309. /<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
  1310. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1311. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1312. /title="download (.+?)">/, //sendspace
  1313. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1314. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1315. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1316. /d0FileName = "(.+?)";/, //letitbit
  1317. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1318. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1319. /fname" value="(.+?)">/, //syfiles, grupload,
  1320. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1321. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1322. /Complete name : (.+?)<br \/>/, //bezvadata
  1323. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1324. ];
  1325. var nameIdx = nameRegexs.length;
  1326. // [sizeRegexs]
  1327. // / \ \?
  1328. // prefix (size) postfix
  1329. // / \
  1330. // val quant
  1331. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1332. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1333. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1334. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1335. var postSizeRegex = '(?:\\))?';
  1336. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1337. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1338. ];
  1339. var sizeIdx = sizeRegexs.length;
  1340. //
  1341. //
  1342. var tooltip = "File Name: <b>";
  1343. var fileName = "unknown";
  1344. var nameCandidate = "";
  1345. while(nameIdx--)
  1346. {
  1347. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1348. if (nameCandidate != null)
  1349. {
  1350. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1351. break;
  1352. }
  1353. }
  1354. tooltip += fileName + "</b><br>File Size: <b>";
  1355. var fileSize = "unknown";
  1356. var sizeCandidate = "";
  1357. while(sizeIdx--)
  1358. {
  1359. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1360. if (sizeCandidate != null)
  1361. {
  1362. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1363. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1364. {
  1365. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1366. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1367. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1368. }
  1369. break;
  1370. }
  1371. }
  1372. tooltip += fileSize + "</b>";
  1373. // PROTOTYPE
  1374. // video thumbnails
  1375. if (href.match('hellshare'))
  1376. {
  1377. var thumbs;
  1378. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1379. if (thumbs)
  1380. {
  1381. tooltip += '<br>';
  1382. var j = Math.min(thumbs.length, 9);
  1383. for (var i = 0; i < j; i++)
  1384. {
  1385. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1386. }
  1387. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1388. }
  1389. }
  1390. if (href.match('czshare'))
  1391. {
  1392. var thumbs;
  1393. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1394. if (thumbs)
  1395. {
  1396. var thumbsServer = thumbs[1];
  1397. var thumbsId = thumbs[2];
  1398. tooltip += '<br>';
  1399. for (var i = 1; i < 9; i++)
  1400. {
  1401. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1402. }
  1403. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1404. }
  1405. }
  1406. if (href.match('bezvadata'))
  1407. {
  1408. var thumbs;
  1409. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1410. if (thumbs)
  1411. {
  1412. tooltip += '<br>';
  1413. var j = Math.min(thumbs.length, 9);
  1414. for (var i = 0; i < j; i++)
  1415. {
  1416. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1417. }
  1418. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1419. }
  1420. }
  1421. link.warlc_tooltipcache = tooltip;
  1422. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1423. {
  1424. warlcTooltip.innerHTML = tooltip;
  1425. }
  1426. }
  1427. });
  1428. }
  1429. }
  1430.  
  1431. function setVariables()
  1432. {
  1433. if (firstRun)
  1434. {
  1435. GM_log('First run, applying default settings...');
  1436. GM_setValue("Icon_set",1);
  1437. GM_setValue("Display_tooltip_info",true);
  1438. GM_setValue("Show_black_background_in_DL_links",false);
  1439. GM_setValue("Show_line_through_in_dead_links",false);
  1440. GM_setValue("Display_full_links_in_link_containers",false);
  1441. GM_setValue("Allow_spaces_in_DL_links",false);
  1442. GM_setValue("Autocheck",true);
  1443. GM_setValue("Enable_Anonymizer",false);
  1444. GM_setValue("Do_not_linkify_DL_links",false);
  1445. GM_setValue("Show_progress_stats",true);
  1446. GM_setValue("Keyboard_functions",true);
  1447. GM_setValue("Obsolete_file_hosts",false);
  1448. GM_setValue("Color_DL_links",true);
  1449. GM_setValue("Live_links_color","Green");
  1450. GM_setValue("Dead_links_color","#FF3300");
  1451. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1452. GM_setValue("Container_links_color","DarkKhaki");
  1453. GM_setValue("Premium_links_color","DeepPink");
  1454. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1455. GM_setValue("Custom_rules",false);
  1456. GM_setValue("Custom_rules_text","");
  1457. GM_setValue("First_run", false);
  1458. }
  1459. //hidden settings
  1460. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1461. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1462. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1463. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1464. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1465. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1466. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1467. //hidden settings end
  1468.  
  1469. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1470. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1471. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1472. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1473. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1474. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1475. Autocheck = GM_getValue("Autocheck", true);
  1476. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1477. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1478. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1479. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1480. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1481. Color_DL_links = GM_getValue("Color_DL_links", true);
  1482. Live_links_color = GM_getValue("Live_links_color", "Green");
  1483. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1484. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1485. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1486. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1487. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1488. Custom_rules = GM_getValue("Custom_rules", false);
  1489. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1490. }
  1491.  
  1492.  
  1493. // Delinkifies the links
  1494. // params:
  1495. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1496. // e.g. 'uloz.to/xs68skxl8')
  1497. function delinkifySnapshot(snapshot)
  1498. {
  1499. var n = snapshot.snapshotLength;
  1500.  
  1501. while (n--)
  1502. {
  1503. thisLink = snapshot.snapshotItem(n);
  1504.  
  1505. var spanElm = document.createElement("span");
  1506. spanElm.className = thisLink.className;
  1507. spanElm.innerHTML = thisLink.innerHTML;
  1508.  
  1509. if (Display_tooltip_info)
  1510. {
  1511. spanElm.href = thisLink.href;
  1512. switch (thisLink.className){
  1513. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1514. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1515. case "unava_link": //reserved
  1516. default:
  1517. }
  1518. }
  1519. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1520. }
  1521. }
  1522.  
  1523. function processContainers()
  1524. {
  1525. var redirectorTypes = { "HTTP_302": 0,
  1526. "INNER_LINK": 1,
  1527. "THELOO_KATT_IT": 2,
  1528. "CING_BE": 3,
  1529. "ADF_LY": 4};
  1530. var cMultiloadTotal = 0;
  1531. var cMultiloadProcessed = 0;
  1532.  
  1533. var cMirrorcreatorComTotal = 0;
  1534. var cMirrorcreatorComProcessed = 0;
  1535.  
  1536. var hostRestrictionRegex = "";
  1537. var multiloadComRestriction = "";
  1538. var multiloadComRestrictionRegex;
  1539.  
  1540. //
  1541. //HANDLING REDIRECTORS START
  1542. //
  1543.  
  1544. var redirectors = new Array();
  1545. initRedirectors();
  1546.  
  1547. var redirectorsCount = redirectors.length;
  1548.  
  1549. if (redirectorsCount > 0)
  1550. {
  1551. var allRedirectorsRegex = "";
  1552.  
  1553. //linkify redirector links
  1554. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1555. {
  1556. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1557. }
  1558. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1559. linkify(allRedirectorsRegex);
  1560. //
  1561. //process redirector links
  1562. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1563. {
  1564. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1565. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1566.  
  1567. cLinksTotal += redirectors[redirIdx].cTotal;
  1568. var linkIdx = redirectors[redirIdx].cTotal;
  1569.  
  1570. while(linkIdx--)
  1571. {
  1572. switch(redirectors[redirIdx].type)
  1573. {
  1574. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1575. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1576. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1577. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1578. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1579. default:
  1580. }
  1581. }
  1582. }
  1583. //
  1584. }
  1585.  
  1586. //HTTP_302
  1587. function processRedirectorLink(link, redirectorId)
  1588. {
  1589. link.className = 'container_link';
  1590.  
  1591. GM_xmlhttpRequest({
  1592. method: 'HEAD',
  1593. url: link.href,
  1594. headers: {
  1595. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1596. 'Accept': 'text/xml',
  1597. 'Referer': ""
  1598. },
  1599. onload: function(result) {
  1600. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1601. {
  1602. processRedirectorLink(link, redirectorId);
  1603. }
  1604. else
  1605. {
  1606. redirectors[redirectorId].cProcessed++;
  1607. link.href = result.finalUrl;
  1608. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1609. checkLinks('container_link');
  1610. }
  1611. },
  1612. onerror: function(result) { //probably caused by unresponsive filehosting
  1613. redirectors[redirectorId].cProcessed++;
  1614. link.className = 'unava_link';
  1615. cLinksProcessed++;
  1616. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1617. checkLinks('container_link');
  1618. }
  1619. });
  1620. }
  1621. //INNER_LINK
  1622. function processRedirectorLinkEx(link, redirectorId)
  1623. {
  1624. link.className = 'container_link';
  1625. GM_xmlhttpRequest({
  1626. method: 'GET',
  1627. url: link.href,
  1628. headers: {
  1629. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1630. 'Accept': 'text/xml',
  1631. 'Referer': ""
  1632. },
  1633. onload: function(result) {
  1634. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1635. redirectors[redirectorId].cProcessed++;
  1636. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1637. checkLinks('container_link');
  1638. }
  1639. });
  1640. }
  1641. //theloo.katt.it (wrapped safelinking.net)
  1642. function processThelooKattItLink(link, redirectorId)
  1643. {
  1644. link.className = 'container_link';
  1645. GM_xmlhttpRequest({
  1646. method: 'GET',
  1647. url: link.href,
  1648. headers: {
  1649. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1650. 'Accept': 'text/xml',
  1651. 'Referer': ""
  1652. },
  1653. onload: function(result) {
  1654. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1655. redirectors[redirectorId].cProcessed++;
  1656. //the inner links are safelinking.net links, so lets proceed with it
  1657. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1658. {
  1659. processRedirectorLink(link, 0);
  1660. }
  1661. }
  1662. });
  1663. }
  1664. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1665. function processAdfLyLink(link, redirectorId)
  1666. {
  1667. link.className = 'container_link';
  1668. GM_xmlhttpRequest({
  1669. method: 'GET',
  1670. url: link.href,
  1671. headers: {
  1672. 'User-agent': 'Mozilla/4.0',
  1673. 'Accept': 'text/xml',
  1674. 'Referer': ""
  1675. },
  1676. onload: function(result) {
  1677. if (result.finalUrl.match('/locked/'))
  1678. {
  1679. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1680. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1681. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1682. }
  1683. else
  1684. {
  1685. // GM_log('Processing... ' + link.href);
  1686. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1687. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1688. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1689. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1690. //confirm advert
  1691. GM_xmlhttpRequest(
  1692. {
  1693. method: 'POST',
  1694. url: 'http://adf.ly/l.php',
  1695. headers: {
  1696. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1697. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1698. 'Referer': link.href
  1699. },
  1700. data: users + '&lt=' + logToken,
  1701. onload: function(result) {
  1702. //retrieve final url from .../go/... link
  1703. GM_xmlhttpRequest({
  1704. method: 'GET',
  1705. url: directLink,
  1706. headers: {
  1707. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1708. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1709. 'Referer': link.href
  1710. },
  1711. onload: function(result) {
  1712. link.href = result.finalUrl;
  1713. redirectors[redirectorId].cProcessed++;
  1714. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1715. checkLinks('container_link');
  1716. }
  1717. });
  1718. }
  1719. });
  1720. }
  1721. }
  1722. });
  1723. function proceedOK()
  1724. {
  1725. }
  1726. }
  1727. //MULTILOAD.CZ START
  1728. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1729. {
  1730. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1731. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1732.  
  1733. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1734.  
  1735. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1736. hostRestrictionRegex += 'hellshare|';
  1737. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1738. hostRestrictionRegex += 'share-rapid\\.com|';
  1739. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1740. hostRestrictionRegex += 'quickshare\\.cz|';
  1741. if (GM_getValue("Check_czshare_dot_com_links", false))
  1742. hostRestrictionRegex += 'czshare\\.com|';
  1743. if (GM_getValue("Check_uloz_dot_to_links", false))
  1744. hostRestrictionRegex += 'uloz\\.to|';
  1745. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1746. hostRestrictionRegex += 'hellspy|';
  1747. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1748. hostRestrictionRegex += 'multishare\\.cz|';
  1749.  
  1750. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1751.  
  1752. linkify(mlRegex);
  1753.  
  1754. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1755. var mlCount = mlSnapshot.snapshotLength;
  1756.  
  1757. if (mlCount > 0)
  1758. {
  1759. cMultiloadTotal += mlCount;
  1760.  
  1761. mlIdx = mlCount - 1;
  1762. do
  1763. {
  1764. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1765. }
  1766. while(mlIdx--)
  1767. }
  1768. }
  1769. //MULTILOAD.CZ END
  1770.  
  1771.  
  1772.  
  1773. function processMultiloadLink(mlLink)
  1774. {
  1775. GM_xmlhttpRequest({
  1776. method: 'GET',
  1777. url: mlLink.href,
  1778. headers: {
  1779. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1780. 'Accept': 'text/xml',
  1781. 'Referer': ""
  1782. },
  1783. onload: function(result) {
  1784. var res = result.responseText;
  1785.  
  1786. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1787. 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;
  1788. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1789. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1790.  
  1791. var blocks; // blocks of links
  1792. var blockIdx;
  1793.  
  1794. mlLink.className = '';
  1795.  
  1796. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1797. {
  1798. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1799. return;
  1800. }
  1801.  
  1802. blocks = res.match(innerBlockRegex);
  1803.  
  1804. if (blocks == null) //no links found, cancel further processing
  1805. {
  1806. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1807. cMultiloadProcessed++;
  1808. if (cMultiloadTotal <= cMultiloadProcessed)
  1809. {
  1810. startBulkCheck('container_link');
  1811. start('container_link');
  1812. }
  1813. return;
  1814. }
  1815.  
  1816. blockIdx = blocks.length;
  1817.  
  1818. if (Display_full_links_in_link_containers)
  1819. {
  1820. var ulElm = document.createElement('ul');
  1821. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1822.  
  1823. while(blockIdx--)
  1824. {
  1825. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1826. {
  1827. continue;
  1828. }
  1829.  
  1830. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1831.  
  1832. var linkIdx = innerLinks.length;
  1833. while (linkIdx--)
  1834. {
  1835. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1836.  
  1837. var liElm = document.createElement('li');
  1838.  
  1839. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1840. {
  1841. liElm.appendChild(document.createTextNode(innerLink));
  1842. }
  1843. else
  1844. {
  1845. var aElm = document.createElement('a');
  1846. aElm.innerHTML = innerLink;
  1847. aElm.href = innerLink;
  1848. aElm.className = 'container_link';
  1849.  
  1850. liElm.appendChild(aElm);
  1851. }
  1852.  
  1853. ulElm.appendChild(liElm);
  1854. cLinksTotal++;
  1855. }
  1856. }
  1857.  
  1858. mlLink.parentNode.appendChild(ulElm);
  1859. }
  1860. else //compact view
  1861. {
  1862. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1863.  
  1864. while(blockIdx--)
  1865. {
  1866. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1867. {
  1868. continue;
  1869. }
  1870.  
  1871. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1872.  
  1873. var linkIdx = innerLinks.length;
  1874. while (linkIdx--)
  1875. {
  1876. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1877.  
  1878. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1879. {
  1880. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1881. }
  1882. else
  1883. {
  1884. var aElm = document.createElement('a');
  1885.  
  1886. var hostName = innerLink.match(/quickshare|hellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1887.  
  1888. //abbreviate host name
  1889. switch(hostName + ""){
  1890.  
  1891. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1892. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1893. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1894. case 'multishare': aElm.innerHTML = 'MS'; break;
  1895. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1896. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1897. case 'czshare': aElm.innerHTML = 'CS'; break;
  1898. default: aElm.innerHTML = 'xx';
  1899.  
  1900. }
  1901.  
  1902. aElm.href = innerLink;
  1903. aElm.className = 'container_link';
  1904.  
  1905. mlLink.parentNode.appendChild(aElm);
  1906. cLinksTotal++;
  1907. }
  1908. }
  1909.  
  1910. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1911.  
  1912. }
  1913. }
  1914.  
  1915. cMultiloadProcessed++;
  1916. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1917. {
  1918. if (Do_not_linkify_DL_links)
  1919. {
  1920. delinkifySnapshot(mlSnapshot);
  1921. }
  1922. startBulkCheck('container_link');
  1923. start('container_link');
  1924. }
  1925. }
  1926. });
  1927. }
  1928.  
  1929.  
  1930. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1931. {
  1932. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1933. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1934. var mcShortHostNames =
  1935. '?? 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';
  1936. // 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
  1937. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1938. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1939. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1940. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1941.  
  1942. linkify(mcRegex);
  1943.  
  1944. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1945. var mcCount = mcSnapshot.snapshotLength;
  1946.  
  1947. cMirrorcreatorComTotal = mcCount;
  1948.  
  1949. if (mcCount > 0)
  1950. {
  1951. mcShortHostNames = mcShortHostNames.split(' ');
  1952. mcIdx = mcCount;
  1953. while(mcIdx--)
  1954. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1955. }
  1956.  
  1957. }
  1958. //MIRRORCREATOR.CZ END
  1959.  
  1960.  
  1961. //mirrorcreator.com checking works like this:
  1962. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1963. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1964. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1965. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1966. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1967. function processMirrorcreatorLink(mcLink)
  1968. {
  1969. var mcURL = mcLink.href.match(mcRegex);
  1970. if(!mcURL || !mcURL[1]) return;
  1971. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1972. GM_xmlhttpRequest({
  1973. method: 'GET',
  1974. url: mcURL,
  1975. headers: {
  1976. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1977. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1978. 'Referer': ""
  1979. },
  1980. onload: function(mcLinkResult) {
  1981. var mcLinkRes = mcLinkResult.responseText;
  1982.  
  1983. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  1984. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  1985.  
  1986. var mcRedirectors;
  1987. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  1988. var m = mcLinkRes.match(mcLinkBlockRegex);
  1989. if (m)
  1990. mcHostsFound = m.length;
  1991. else
  1992. { //no files inside container
  1993. processMirrorcreatorFoundHosts(mcLink, []);
  1994. return;
  1995. }
  1996.  
  1997. var mcRedirectorURL, idx, timedOut = false;
  1998.  
  1999. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2000. GM_xmlhttpRequest({
  2001. method: 'GET',
  2002. url: mcRedirectorURL,
  2003. headers: {
  2004. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2005. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2006. 'Referer': ""
  2007. },
  2008. onload: function(mcHostResult) {
  2009. if (timedOut) return; //too late, the list is already displayed
  2010. var mcHostRes = mcHostResult.responseText;
  2011. var mcHost = mcHostRes.match(mcHostRegex);
  2012. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2013. if (mcHost && idx!=-1)
  2014. {
  2015. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2016. mcHostsRetrieved++;
  2017. mcHostsToProcess++;
  2018. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2019. {
  2020. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2021. mcHostsToProcess = 0;
  2022. }
  2023. }
  2024. } //end of onload: function
  2025. }); //end of GM_xmlhttpRequest call
  2026. };//end of var gmxhrFunc
  2027.  
  2028. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2029. { //load individual redirector pages
  2030. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2031. mcHostURLs.push(mcRedirectorURL);
  2032. mcRedirectorIDs.push(mcRedirectors[2]);
  2033. gmxhrFunc(mcRedirectorURL);
  2034. } //end of while block
  2035.  
  2036. setTimeout(function(){ //in case the last page fails to load and call the function
  2037. timedOut = true;
  2038. if (mcHostsToProcess)
  2039. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2040. }, 60000);
  2041.  
  2042. } //end of onload function
  2043. }); //end of GM_xmlhttpRequest call
  2044. } //end of function processMirrorcreatorLink
  2045.  
  2046.  
  2047. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2048. {
  2049. var aEl, liEl, docFrag;
  2050. var hostName, mcRedirectorID, trimFilename = false;
  2051. var i = mcHostURLs.length;
  2052. if (i == 0)
  2053. {
  2054. trimFilename = true;
  2055. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2056. }
  2057. else
  2058. {
  2059. if (Display_full_links_in_link_containers)
  2060. { //full view
  2061. var wrapperEl = document.createElement('span');
  2062. wrapperEl.style.display = 'block';
  2063. var ulistEl = document.createElement('ul');
  2064. ulistEl.className = 'container_list';
  2065. while (i--)
  2066. {
  2067. liEl = document.createElement('li');
  2068. aEl = document.createElement('a');
  2069. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2070. aEl.href = mcHostURLs[i];
  2071. aEl.className = 'container_link';
  2072. liEl.appendChild(aEl);
  2073. ulistEl.appendChild(liEl);
  2074. }
  2075. wrapperEl.appendChild(ulistEl);
  2076. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2077. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2078. }
  2079. else
  2080. { //compact view
  2081. trimFilename = true;
  2082. docFrag = document.createDocumentFragment();
  2083. docFrag.appendChild(document.createTextNode(' |'));
  2084. while (i--)
  2085. {
  2086. mcRedirectorID = mcRedirectorIDs[i];
  2087. hostName = mcHostURLs[i];
  2088. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2089. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2090. else
  2091. hostName = mcShortHostNames[mcRedirectorID];
  2092. aEl = document.createElement('a');
  2093. aEl.href = mcHostURLs[i];
  2094. aEl.className = 'container_link';
  2095. aEl.appendChild(document.createTextNode(hostName));
  2096. docFrag.appendChild(aEl);
  2097. docFrag.appendChild(document.createTextNode('|'));
  2098. }
  2099. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2100. } //end of else block
  2101. } //end of else block
  2102. mcLink.className = '';
  2103. if (trimFilename)
  2104. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2105. cMirrorcreatorComProcessed++;
  2106. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2107. {
  2108. if (Do_not_linkify_DL_links)
  2109. delinkifySnapshot(mcSnapshot);
  2110. startBulkCheck('container_link');
  2111. start('container_link');
  2112. }
  2113. } //end of function processMirrorcreatorFoundHosts
  2114.  
  2115. containers_processed = true;
  2116.  
  2117.  
  2118. function initRedirectors()
  2119. {
  2120. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2121. {
  2122. var redirector = new Object();
  2123. redirector.linkRegex = linkRegex;
  2124. redirector.xpath = xpathEx; //xpath expression
  2125. redirector.cProcessed = 0; //processed links count
  2126. redirector.cTotal = 0; //total links count
  2127. redirector.type = redirType; //redirectorTypes enum
  2128. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2129. redirectors.push(redirector);
  2130. }
  2131. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2132. {
  2133. addRedirector(
  2134. 'safelinking\\.net\/d\/\\w+',
  2135. "//a[contains(@href,'safelinking.net/d/')]",
  2136. redirectorTypes.HTTP_302,
  2137. null);
  2138. }
  2139. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2140. {
  2141. addRedirector(
  2142. 'linksafe\\.me\/d\/\\w+',
  2143. "//a[contains(@href,'linksafe.me/d/')]",
  2144. redirectorTypes.HTTP_302,
  2145. null);
  2146. }
  2147. if (GM_getValue("Check_linkto_dot_net_links", false))
  2148. {
  2149. addRedirector(
  2150. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2151. "//a[contains(@href,'linkto.net/?')]",
  2152. redirectorTypes.INNER_LINK,
  2153. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2154. }
  2155. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2156. {
  2157. addRedirector(
  2158. '(?:the)?loo\\.katt\\.it\/\\w+',
  2159. "//a[contains(@href,'loo.katt.it/')]",
  2160. redirectorTypes.THELOO_KATT_IT,
  2161. /Proceed to URL - <a href="(.+?)">/);
  2162. }
  2163. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2164. {
  2165. addRedirector(
  2166. 'madlink\\.sk\/\\w+',
  2167. "//a[contains(@href,'madlink.sk/')]",
  2168. redirectorTypes.INNER_LINK,
  2169. /name="url" value="(.+?)\s*"\/>/);
  2170. }
  2171. if (GM_getValue("Check_adf_dot_ly_links", false))
  2172. {
  2173. addRedirector(
  2174. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2175. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2176. redirectorTypes.ADF_LY,
  2177. null);
  2178. }
  2179. if (GM_getValue("Check_redi_dot_re_links", false))
  2180. {
  2181. addRedirector(
  2182. 'redi\\.re\/\\w+',
  2183. "//a[contains(@href,'redi.re/')]",
  2184. redirectorTypes.HTTP_302,
  2185. null);
  2186. }
  2187. if (GM_getValue("Check_bit_dot_ly_links", false))
  2188. {
  2189. addRedirector(
  2190. 'bit\\.ly\/\\w+',
  2191. "//a[contains(@href,'bit.ly/')]",
  2192. redirectorTypes.HTTP_302,
  2193. null);
  2194. }
  2195. }
  2196.  
  2197. }
  2198.  
  2199. var bulkHosts = new Array();
  2200. var bulkHostNames = new Array();
  2201. function initBulkCheck()
  2202. {
  2203. /////////////////////////////
  2204. // Inits filehost object
  2205. /////////////////////////////
  2206. // params :
  2207. // hostName -- [string] host name (multiple domains separated with coma)
  2208. // linkRegex -- [string] link regex
  2209. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2210. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2211. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2212. // corrReplWhat -- [regex] link correction regex (replace)
  2213. // corrReplWith -- [string]
  2214. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2215. //
  2216. // apiUrl -- [string] web linkchecker or API URL
  2217. // postData -- [string] POSTDATA of xmlhttprequest
  2218. // resLinkRegex -- [regex]
  2219. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2220. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2221. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2222. // func -- [function] bulkcheck handler, genBulkCheck if null
  2223. //
  2224. //////////////////////////////
  2225. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2226. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2227. {
  2228. var fileHost = new Object();
  2229.  
  2230. fileHost.linkRegex = linkRegex;
  2231. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2232. fileHost.xpath = xpath;
  2233. fileHost.cFound = 0; //found links counter
  2234. fileHost.links = new Array(); //found links
  2235. if (blockSize == null)
  2236. {
  2237. fileHost.blockSize = 50;
  2238. }
  2239. else
  2240. {
  2241. fileHost.blockSize = blockSize;
  2242. }
  2243. fileHost.corrMatch = corrMatch;
  2244. fileHost.corrReplWhat = corrReplWhat;
  2245. fileHost.corrReplWith = corrReplWith;
  2246. if (splitSeparator == null)
  2247. {
  2248. fileHost.splitSeparator = "\r\n";
  2249. }
  2250. else
  2251. {
  2252. fileHost.splitSeparator = splitSeparator;
  2253. }
  2254. fileHost.apiUrl = apiUrl;
  2255. fileHost.postData = postData;
  2256. fileHost.resLinkRegex = resLinkRegex;
  2257. fileHost.resLiveRegex = resLiveRegex;
  2258. fileHost.resDeadRegex = resDeadRegex;
  2259. fileHost.resUnavaRegex = resUnavaRegex;
  2260. if (func == null)
  2261. {
  2262. fileHost.func = genBulkCheck;
  2263. }
  2264. else
  2265. {
  2266. fileHost.func = func;
  2267. }
  2268. bulkHosts.push(fileHost);
  2269. var names = hostName.split(',');
  2270. var i = names.length;
  2271. while(i--)
  2272. {
  2273. bulkHostNames[names[i]] = fileHost;
  2274. }
  2275. }
  2276. var genType1 = [
  2277. "rodfile.com", "downloadani.me", //"migahost.com",
  2278. "rarefile.net",
  2279. "filesabc.com",
  2280. "180upload.com", "verzend.be",
  2281. // "movreel.com",
  2282. "4up.me",
  2283. "file4safe.com", "filemac.com", "4upfiles.com",
  2284. "idup.in", "novafile.com", "longfiles.com",
  2285. "bitupload.com",
  2286. "uploadbaz.com"
  2287. ];
  2288. var genType2 = [ "queenshare.com",
  2289. "hulkload.com",
  2290. "amonshare.com", //"edoc.com",
  2291. ];
  2292. //xfilesharing 1.0
  2293. function addGenericType1()
  2294. {
  2295. var i = genType1.length;
  2296. while(i--)
  2297. {
  2298. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2299. {
  2300. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2301. addHost(
  2302. genType1[i].match(/[\w-]+/)[0], //hostname
  2303. regexSafe + "\/\\w+", //linkregex
  2304. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2305. null, //blocksize
  2306. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2307. null, //corrreplwhat
  2308. null, //corrreplwith
  2309. null, //separator
  2310. "http://" + genType1[i] + "/checkfiles.html", //api url
  2311. "op=checkfiles&process=Check+URLs&list=", //postdata
  2312. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2313. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2314. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2315. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2316. null //function delegate
  2317. )
  2318. }
  2319. }
  2320. }
  2321. //xfilesharing 2.0
  2322. function addGenericType2()
  2323. {
  2324. var i = genType2.length;
  2325. while(i--)
  2326. {
  2327. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2328. {
  2329. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2330. addHost(
  2331. genType2[i].match(/[\w-]+/)[0], //hostname
  2332. regexSafe + "\/\\w+", //linkregex
  2333. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2334. null, //blocksize
  2335. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2336. null, //corrreplwhat
  2337. null, //corrreplwith
  2338. null, //separator
  2339. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2340. "op=checkfiles&process=Check+URLs&list=", //postdata
  2341. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2342. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2343. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2344. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2345. null //function delegate
  2346. )
  2347. }
  2348. }
  2349. }
  2350. // TEMPLATE
  2351. // if (GM_getValue("Check__dot_com_links", false))
  2352. // {
  2353. // addHost(
  2354. // "", //hostname
  2355. // "", //linkregex
  2356. // "//a[contains(@href,'.com/')]", //xpath
  2357. // null, //blocksize
  2358. // null, //corrmatch
  2359. // null, //corrreplwhat
  2360. // null, //corrreplwith
  2361. // null, //separator
  2362. // "", //api url
  2363. // "", //postdata
  2364. // /()/, //linkregex
  2365. // //liveregex
  2366. // //deadregex
  2367. // //unavaregex
  2368. // null //function delegate
  2369. // )
  2370. // }
  2371. addGenericType1();
  2372. addGenericType2();
  2373.  
  2374. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2375. {
  2376. addHost(
  2377. "myvdrive,fileserving", //hostname
  2378. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2379. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2380. null, //blocksize
  2381. null, //corrmatch
  2382. null, //corrreplwhat
  2383. null, //corrreplwith
  2384. null, //separator
  2385. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2386. "links=", //postdata
  2387. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2388. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2389. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2390. null, //unavaregex
  2391. null //function delegate
  2392. )
  2393. }
  2394. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2395. {
  2396. addHost(
  2397. "hackerbox", //hostname
  2398. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2399. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2400. null, //blocksize
  2401. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2402. null, //corrreplwhat
  2403. null, //corrreplwith
  2404. null, //separator
  2405. "http://host.hackerbox.org/checkfiles.html", //api url
  2406. "op=checkfiles&process=Check+URLs&list=", //postdata
  2407. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2408. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2409. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2410. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2411. null //function delegate
  2412. )
  2413. }
  2414. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2415. {
  2416. addHost(
  2417. "hellshare", //hostname
  2418. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2419. "//a[contains(@href,'hellshare.')]", //xpath
  2420. 48, //blocksize
  2421. null, //corrmatch
  2422. null, //corrreplwhat
  2423. null, //corrreplwith
  2424. null, //separator
  2425. null, //api url
  2426. null, //postdata
  2427. null, //linkregex
  2428. null, //liveregex
  2429. null, //deadregex
  2430. null, //unavaregex
  2431. hellshareBulkCheck //function delegate
  2432. )
  2433. }
  2434. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2435. {
  2436. addHost(
  2437. "ncrypt", //hostname
  2438. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2439. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2440. 100000, //blocksize
  2441. null, //corrmatch
  2442. null, //corrreplwhat
  2443. null, //corrreplwith
  2444. null, //separator
  2445. null,
  2446. null,
  2447. null,
  2448. null,
  2449. null,
  2450. null,
  2451. ncryptBulkCheck //function delegate
  2452. )
  2453. }
  2454. if (GM_getValue("Check_geupload_dot_com_links", false))
  2455. {
  2456. addHost(
  2457. "geupload,lenfile", //hostname
  2458. "(?:geupload\\.com|lenfile\\.com)\/\\w+", //linkregex
  2459. "//a[contains(@href,'geupload.com/') or contains(@href,'lenfile.com/')]", //xpath
  2460. null, //blocksize
  2461. null, //corrmatch
  2462. null, //corrreplwhat
  2463. null, //corrreplwith
  2464. "\n", //separator
  2465. 'http://geupload.com/?op=checkfiles',
  2466. 'op=checkfiles&process=Check+URLs&list=',
  2467. />http:\/\/(?:geupload|lenfile)\.com\/(\w+)/,
  2468. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:green/g,
  2469. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:red/g,
  2470. null,
  2471. null
  2472. )
  2473. }
  2474. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2475. {
  2476. addHost(
  2477. "uploadrocket", //hostname
  2478. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2479. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2480. null, //blocksize
  2481. null, //corrmatch
  2482. null, //corrreplwhat
  2483. null, //corrreplwith
  2484. "\n", //separator
  2485. 'http://uploadrocket.net/?op=checkfiles',
  2486. 'op=checkfiles&process=Check+URLs&list=',
  2487. /uploadrocket.net\/(\w+)/,
  2488. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2489. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2490. null,
  2491. null //function delegate
  2492. )
  2493. }
  2494. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2495. {
  2496. addHost(
  2497. "k2s,keep2s,keep2share",
  2498. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2499. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2500. 100000, //blocksize
  2501. null, //corrmatch
  2502. null, //corrreplwhat
  2503. null, //corrreplwith
  2504. null, //separator
  2505. null,
  2506. null,
  2507. null,
  2508. null,
  2509. null,
  2510. null,
  2511. k2sBulkCheck //function delegate
  2512. )
  2513. }
  2514. if (GM_getValue("Check_fboom_dot_me_links", false))
  2515. {
  2516. addHost(
  2517. "fboom,fileboom",
  2518. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2519. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2520. 100000, //blocksize
  2521. null, //corrmatch
  2522. null, //corrreplwhat
  2523. null, //corrreplwith
  2524. null, //separator
  2525. null,
  2526. null,
  2527. null,
  2528. null,
  2529. null,
  2530. null,
  2531. fboomBulkCheck //function delegate
  2532. )
  2533. }
  2534. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2535. {
  2536. addHost(
  2537. "1fichier,dl4free",
  2538. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2539. "//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/?')]",
  2540. 100000, //blocksize
  2541. null, //corrmatch
  2542. null, //corrreplwhat
  2543. null, //corrreplwith
  2544. null, //separator
  2545. null,
  2546. null,
  2547. null,
  2548. null,
  2549. null,
  2550. null,
  2551. dl4free_1fichier_BulkCheck //function delegate
  2552. )
  2553. }
  2554. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2555. {
  2556. addHost(
  2557. "depositfiles,dfiles",
  2558. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2559. "//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/')]",
  2560. 100000, //blocksize
  2561. null, //corrmatch
  2562. null, //corrreplwhat
  2563. null, //corrreplwith
  2564. null, //separator
  2565. null,
  2566. null,
  2567. null,
  2568. null,
  2569. null,
  2570. null,
  2571. depositfilesBulkCheck //function delegate
  2572. )
  2573. }
  2574. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2575. {
  2576. addHost(
  2577. "filesflash", //hostname
  2578. "filesflash\\.com\/\\w+", //linkregex
  2579. "//a[contains(@href,'filesflash.com')]", //xpath
  2580. null, //blocksize
  2581. null, //corrmatch
  2582. /http:\/\//, //corrreplwhat
  2583. '', //corrreplwith
  2584. null, //separator
  2585. 'http://filesflash.com/checklinks.php',
  2586. 'submit=Go&links=',
  2587. /filesflash\.com\/(\w+)/,
  2588. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2589. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2590. null,
  2591. null //function delegate
  2592. )
  2593. }
  2594. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2595. {
  2596. addHost(
  2597. "jumbofiles", //hostname
  2598. "jumbofiles\\.com\/\\w+", //linkregex
  2599. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2600. null, //blocksize
  2601. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2602. null, //corrreplwhat
  2603. null, //corrreplwith
  2604. null, //separator
  2605. "http://jumbofiles.com/checkfiles.html", //api url
  2606. "op=checkfiles&process=Check+URLs&list=", //postdata
  2607. /(jumbofiles\.com\/\w+)/, //linkregex
  2608. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2609. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2610. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2611. null //function delegate
  2612. )
  2613. }
  2614. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2615. {
  2616. addHost(
  2617. "edisk", //hostname
  2618. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2619. "//a[contains(@href,'edisk.')]", //xpath
  2620. null, //blocksize
  2621. null, //corrmatch
  2622. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2623. 'edisk.cz/stahni', //corrreplwith
  2624. null, //separator
  2625. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2626. 'submitBtn=Zkontrolovat&checkFiles=',
  2627. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2628. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2629. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2630. null,
  2631. null //function delegate
  2632. )
  2633. }
  2634. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2635. {
  2636. GM_xmlhttpRequest( //age check skip
  2637. {
  2638. method: 'POST',
  2639. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2640. headers: {
  2641. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2642. 'Content-type': 'application/x-www-form-urlencoded',
  2643. 'Referer': ""
  2644. }
  2645. });
  2646. addHost(
  2647. "bezvadata", //hostname
  2648. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2649. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2650. null, //blocksize
  2651. null, //corrmatch
  2652. null, //corrreplwhat
  2653. null, //corrreplwith
  2654. null, //separator
  2655. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2656. 'zkontrolovat=Zkontrolovat&odkazy=',
  2657. /(bezvadata\.cz\/stahnout\/\d+)/,
  2658. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2659. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2660. null,
  2661. null //function delegate
  2662. )
  2663. }
  2664. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2665. {
  2666. addHost(
  2667. "linkcrypt", //hostname
  2668. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2669. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2670. 100000, //blocksize
  2671. null, //corrmatch
  2672. null, //corrreplwhat
  2673. null, //corrreplwith
  2674. null, //separator
  2675. null,
  2676. null,
  2677. null,
  2678. null,
  2679. null,
  2680. null,
  2681. linkcryptBulkCheck //function delegate
  2682. )
  2683. }
  2684. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2685. {
  2686. addHost(
  2687. "linksave", //hostname
  2688. "linksave\\.in\/\\w+", //linkregex
  2689. "//a[contains(@href,'linksave.in')]", //xpath
  2690. 100000, //blocksize
  2691. null, //corrmatch
  2692. null, //corrreplwhat
  2693. null, //corrreplwith
  2694. null, //separator
  2695. null,
  2696. null,
  2697. null,
  2698. null,
  2699. null,
  2700. null,
  2701. linksaveBulkCheck //function delegate
  2702. )
  2703. } */
  2704. if (GM_getValue("Check_videobb_dot_com_links", false))
  2705. {
  2706. addHost(
  2707. "videobb", //hostname
  2708. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2709. "//a[contains(@href,'videobb.com')]", //xpath
  2710. null, //blocksize
  2711. null, //corrmatch
  2712. /watch_video\.php\?v=/, //corrreplwhat
  2713. 'video/', //corrreplwith
  2714. null, //separator
  2715. 'http://www.videobb.com/link_checker.php',
  2716. 'links=',
  2717. /videobb\.com\/video\/(\w+)/,
  2718. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2719. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2720. null,
  2721. null //function delegate
  2722. )
  2723. }
  2724. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2725. {
  2726. addHost(
  2727. "cramit,cramitin", //hostname
  2728. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2729. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2730. null, //blocksize
  2731. null, //corrmatch
  2732. null, //corrreplwhat
  2733. null, //corrreplwith
  2734. null, //separator
  2735. 'http://cramit.in/checkfiles.html',
  2736. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2737. /(cramit(?:\.in|in\.net)\/\w+)/,
  2738. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2739. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2740. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2741. null //function delegate
  2742. )
  2743. }
  2744. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2745. {
  2746. addHost(
  2747. "turbobit", //hostname
  2748. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2749. "//a[contains(@href,'turbobit.')]", //xpath
  2750. null, //blocksize
  2751. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2752. null, //corrreplwhat
  2753. null, //corrreplwith
  2754. "\n", //separator
  2755. 'http://turbobit.net/linkchecker/csv',
  2756. 'links_to_check=',
  2757. /(turbobit\.(?:net|pl)\/\w+)/,
  2758. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2759. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2760. null,
  2761. null //function delegate
  2762. )
  2763. } */
  2764. if (GM_getValue("Check_filerio_dot_com_links", false))
  2765. {
  2766. addHost(
  2767. "filekeen,filerio", //hostname
  2768. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2769. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2770. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2771. null, //blocksize
  2772. null, //corrmatch
  2773. null, //corrreplwhat
  2774. null, //corrreplwith
  2775. null, //separator
  2776. 'http://filerio.in/checkfiles.html',
  2777. 'op=checkfiles&process=Check+URLs&list=',
  2778. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2779. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2780. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2781. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2782. null //function delegate
  2783. )
  2784. }
  2785. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2786. {
  2787. addHost(
  2788. "share-online,egoshare", //hostname
  2789. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2790. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2791. null, //blocksize
  2792. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2793. null, //corrreplwhat
  2794. null, //corrreplwith
  2795. "\n", //separator
  2796. 'http://api.share-online.biz/linkcheck.php',
  2797. 'links=',
  2798. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2799. /\w+;OK/g,
  2800. /\w+;(?:NOTFOUND|DELETED)/g,
  2801. null,
  2802. null //function delegate
  2803. )
  2804. }
  2805. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2806. {
  2807. addHost(
  2808. "quickshare", //hostname
  2809. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2810. "//a[contains(@href,'quickshare.cz')]", //xpath
  2811. null, //blocksize
  2812. null, //corrmatch
  2813. null, //corrreplwhat
  2814. null, //corrreplwith
  2815. null, //separator
  2816. 'http://www.quickshare.cz/nastroje/link-checker',
  2817. 'linky=',
  2818. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2819. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2820. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2821. null,
  2822. null //function delegate
  2823. )
  2824. } */
  2825. if (GM_getValue("Check_oboom_dot_com_links", false))
  2826. {
  2827. addHost(
  2828. "oboom", //hostname
  2829. "oboom\\.com\/#?\\w{8}", //linkregex
  2830. "//a[contains(@href,'oboom.com/')]", //xpath
  2831. null, //blocksize
  2832. /oboom\.com\/#?(\w{8})/, //corrmatch
  2833. null, //corrreplwhat
  2834. null, //corrreplwith
  2835. null, //separator
  2836. null,
  2837. null,
  2838. null,
  2839. null, //liveregex
  2840. null, //deadregex
  2841. null,
  2842. oboomBulk //function delegate
  2843. )
  2844. }
  2845. if (GM_getValue("Check_mega_dot_nz_links", false))
  2846. {
  2847. addHost(
  2848. "mega",
  2849. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2850. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2851. 100000, //blocksize
  2852. null, //corrmatch
  2853. null, //corrreplwhat
  2854. null, //corrreplwith
  2855. null, //separator
  2856. null,
  2857. null,
  2858. null,
  2859. null,
  2860. null,
  2861. null,
  2862. megaBulkCheck //function delegate
  2863. )
  2864. }
  2865.  
  2866. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2867.  
  2868. if (GM_getValue("Check_extabit_dot_com_links", false))
  2869. {
  2870. addHost(
  2871. "extabit", //hostname
  2872. "extabit\\.com\/file\/\\w+", //linkregex
  2873. "//a[contains(@href,'extabit.com')]", //xpath
  2874. null, //blocksize
  2875. null, //corrmatch
  2876. null, //corrreplwhat
  2877. null, //corrreplwith
  2878. "\n", //separator
  2879. "http://extabit.com/linkchecker.jsp", //api url
  2880. "url=", //postdata
  2881. /extabit\.com\/(file\/\w+)/, //linkregex
  2882. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2883. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2884. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2885. extabitBulkCheck //function delegate
  2886. )
  2887. }
  2888. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2889. {
  2890. addHost(
  2891. "junocloud", //hostname
  2892. "junocloud\\.me\/\\w+", //linkregex
  2893. "//a[contains(@href,'junocloud.me')]", //xpath
  2894. null, //blocksize
  2895. null, //corrmatch
  2896. null, //corrreplwhat
  2897. null, //corrreplwith
  2898. "\n", //separator
  2899. "http://junocloud.me/checkfiles.html", //api url
  2900. "op=checkfiles&process=Check+URLs&list=", //postdata
  2901. /(junocloud\.me\/\w+)/, //linkregex
  2902. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2903. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2904. null, //unavaregex
  2905. null //function delegate
  2906. )
  2907. }
  2908. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2909. {
  2910. addHost(
  2911. "webshare", //hostname
  2912. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2913. "//a[contains(@href,'webshare.cz')]", //xpath
  2914. 100000, //blocksize
  2915. null, //corrmatch
  2916. null, //corrreplwhat
  2917. null, //corrreplwith
  2918. null, //separator
  2919. null, //api url
  2920. null, //postdata
  2921. null, //linkregex
  2922. null, //liveregex
  2923. null, //deadregex
  2924. null, //unavaregex
  2925. webshareBulkCheck //function delegate
  2926. )
  2927. }
  2928. /////////////////////////////
  2929. // Common function delegate to send links to get checked by host linkchecker
  2930. /////////////////////////////
  2931. // If you define a new delegate, you may use following properties
  2932. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2933. // this.apiUrl [string] API or web linkchecker URL
  2934. // this.postData [string] POSTDATA for POST request
  2935. // this.resLiveRegex [regex] matches live substrings in the request response
  2936. // this.resDeadRegex [regex] matches dead substrings in the request response
  2937. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2938. //
  2939. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2940. //
  2941. // See the code below for standard bulkcheck handling reference.
  2942. //////////////////////////////
  2943. function genBulkCheck()
  2944. {
  2945. var blockIdx = this.links.length;
  2946. while (blockIdx--)
  2947. {
  2948. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2949. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2950. }
  2951. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2952. {
  2953. GM_xmlhttpRequest(
  2954. {
  2955. method: 'POST',
  2956. url: api,
  2957. headers: {
  2958. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2959. 'Content-type': 'application/x-www-form-urlencoded',
  2960. 'Referer': api,
  2961. 'X-Requested-With': 'XMLHttpRequest'
  2962. },
  2963. data: postData + encodeURIComponent(links),
  2964. onload: function (result)
  2965. {
  2966. var res = result.responseText;
  2967. // GM_log(res);
  2968. var i;
  2969.  
  2970. var livelinks = res.match(liveRegex);
  2971. var deadlinks = res.match(deadRegex);
  2972. // GM_log(livelinks);
  2973. // GM_log(deadlinks);
  2974. if (livelinks != null)
  2975. {
  2976. i = livelinks.length - 1;
  2977. do
  2978. {
  2979. livelinks[i] = livelinks[i].match(linkRegex)[1];
  2980. }
  2981. while (i--);
  2982. DisplayTheCheckedLinks(livelinks, 'alive_link');
  2983. }
  2984.  
  2985. if (deadlinks != null)
  2986. {
  2987. i = deadlinks.length - 1;
  2988. do
  2989. {
  2990. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  2991. }
  2992. while (i--);
  2993. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  2994. }
  2995.  
  2996. if (unavaRegex != null)
  2997. {
  2998. var unavalinks = res.match(unavaRegex);
  2999. if (unavalinks)
  3000. {
  3001. i = unavalinks.length - 1;
  3002. do
  3003. {
  3004. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3005. }
  3006. while (i--);
  3007. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3008. }
  3009. }
  3010. }
  3011. });
  3012. }
  3013. }
  3014. //specialized bulkchecking handlers follow
  3015. function webshareBulkCheck()
  3016. {
  3017. var arr = this.links[0].split("\r\n");
  3018. var i = arr.length;
  3019. while(i--)
  3020. {
  3021. postRequest(arr[i]);
  3022. }
  3023. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3024. function postRequest(wsLink)
  3025. {
  3026. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3027. GM_xmlhttpRequest(
  3028. {
  3029. method: 'POST',
  3030. url: "http://webshare.cz/api/file_info/",
  3031. headers: {
  3032. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3033. 'Content-type': 'application/x-www-form-urlencoded',
  3034. 'Referer': "",
  3035. },
  3036. data: "wst=&ident=" + id,
  3037. onload: function (result)
  3038. {
  3039. var res = result.responseText;
  3040. if (res.match(/<name>.+?<\/name>/))
  3041. {
  3042. DisplayTheCheckedLinks([id], 'alive_link');
  3043. }
  3044. else
  3045. {
  3046. DisplayTheCheckedLinks([id], 'adead_link');
  3047. }
  3048. }
  3049. });
  3050. }
  3051. }
  3052. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3053. //extabit also doesn't like requests in fast succession, so some delays are added.
  3054. function extabitBulkCheck()
  3055. {
  3056. var timeoutDelay = 0;
  3057. var blockIdx = this.links.length;
  3058. while (blockIdx--)
  3059. {
  3060. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3061. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3062. }
  3063. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3064. {
  3065. GM_xmlhttpRequest(
  3066. {
  3067. method: 'POST',
  3068. url: api,
  3069. headers: {
  3070. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3071. 'Content-type': 'application/x-www-form-urlencoded',
  3072. 'Referer': api,
  3073. 'X-Requested-With': 'XMLHttpRequest'
  3074. },
  3075. data: postData + encodeURIComponent(links),
  3076. onload: function (result)
  3077. {
  3078. var res = result.responseText;
  3079. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3080. {
  3081. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3082. {
  3083. //GM_log(tryID + ': ' + link);
  3084. GM_xmlhttpRequest(
  3085. {
  3086. method: 'GET',
  3087. url: link,
  3088. 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': ""},
  3089. onload: function(result2)
  3090. {
  3091. var res2 = result2.responseText;
  3092. var res2Status = result.status;
  3093. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3094. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3095. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3096. {
  3097. if (tryID < 7)
  3098. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3099. else
  3100. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3101. }
  3102. }
  3103. });
  3104. }
  3105. //split the hrefs and check them one by one
  3106. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3107. links = links.split('\n');
  3108. var i = links.length;
  3109. while (i--)
  3110. {
  3111. if (links[i])
  3112. {
  3113. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3114. timeoutDelay += 500;
  3115. }
  3116. }
  3117. return;
  3118. }
  3119. var i;
  3120.  
  3121. var livelinks = res.match(liveRegex);
  3122. var deadlinks = res.match(deadRegex);
  3123. if (livelinks != null)
  3124. {
  3125. i = livelinks.length - 1;
  3126. do
  3127. {
  3128. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3129. }
  3130. while (i--);
  3131. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3132. }
  3133.  
  3134. if (deadlinks != null)
  3135. {
  3136. i = deadlinks.length - 1;
  3137. do
  3138. {
  3139. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3140. }
  3141. while (i--);
  3142. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3143. }
  3144.  
  3145. if (unavaRegex != null)
  3146. {
  3147. var unavalinks = res.match(unavaRegex);
  3148. if (unavalinks)
  3149. {
  3150. i = unavalinks.length - 1;
  3151. do
  3152. {
  3153. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3154. }
  3155. while (i--);
  3156. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3157. }
  3158. }
  3159. }
  3160. });
  3161. }
  3162. }
  3163. function k2sBulkCheck()
  3164. {
  3165. var arr = this.links[0].split("\r\n");
  3166. var i = arr.length;
  3167. c=0;
  3168. arrIDs=[];
  3169. while(i--)
  3170. {
  3171. id = arr[i].match(/\/file\/(\w+)/)[1];
  3172. if (id=='info')
  3173. {
  3174. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3175. continue;
  3176. }
  3177. k2salreadyexist=false;
  3178. for (j=0;j<arrIDs.length;j++)
  3179. {
  3180. if (arrIDs[j]==id)
  3181. {
  3182. k2salreadyexist=true;
  3183. break;
  3184. }
  3185. }
  3186. if (k2salreadyexist) continue;
  3187. arrIDs.push(id);
  3188. c++;
  3189. setTimeout(k2sRequest,c*500,arr[i]);
  3190. }
  3191. }
  3192. function k2sRequest(K2SLink)
  3193. {
  3194. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3195. GM_xmlhttpRequest(
  3196. {
  3197. method: 'GET',
  3198. url: K2SLink,
  3199. headers: {
  3200. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3201. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3202. 'Referer': ''
  3203. },
  3204. onload: function (result)
  3205. {
  3206. var res = result.responseText;
  3207. K2Dom='k2s.cc';
  3208. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3209. K2SLink2='http://'+K2Dom+'/file/'+id;
  3210.  
  3211. 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'))
  3212. {
  3213. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3214. return;
  3215. }
  3216. if (res.match('method="post">Displaying'))
  3217. {
  3218. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3219. return;
  3220. }
  3221. if (res.match('Premium only'))
  3222. {
  3223. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3224. return;
  3225. }
  3226. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3227. {
  3228. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3229. slID=slow_id.exec(res)[1];
  3230. GM_xmlhttpRequest(
  3231. {
  3232. method: 'POST',
  3233. url: K2SLink2,
  3234. headers: {
  3235. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3236. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3237. 'Content-Type': 'application/x-www-form-urlencoded',
  3238. 'Referer': K2SLink
  3239. },
  3240. data: 'slow_id='+slID+'&yt0=',
  3241. onload: function (result)
  3242. {
  3243. var newres = result.responseText;
  3244. newoversizedtest=new RegExp("Free user can't download large files.");
  3245. if (newoversizedtest.test(newres))
  3246. {
  3247. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3248. return;
  3249. }
  3250. else
  3251. {
  3252. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3253. return;
  3254. }
  3255. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3256. return;
  3257. }
  3258. });
  3259. /////////////////////end additional check for oversized links
  3260. return;
  3261. }
  3262. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3263. return;
  3264. },
  3265. onerror: function ()
  3266. {
  3267. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3268. return;
  3269. }
  3270. });
  3271. }
  3272. function fboomBulkCheck()
  3273. {
  3274. var arr = this.links[0].split("\r\n");
  3275. var i = arr.length;
  3276. c=0;
  3277. arrIDs=[];
  3278. while(i--)
  3279. {
  3280. id = arr[i].match(/\/file\/(\w+)/)[1];
  3281. if (id=='info')
  3282. {
  3283. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3284. continue;
  3285. }
  3286. fbalreadyexist=false;
  3287. for (j=0;j<arrIDs.length;j++)
  3288. {
  3289. if (arrIDs[j]==id)
  3290. {
  3291. fbalreadyexist=true;
  3292. break;
  3293. }
  3294. }
  3295. if (fbalreadyexist) continue;
  3296. arrIDs.push(id);
  3297. c++;
  3298. setTimeout(fboomRequest,c*500,arr[i]);
  3299. }
  3300. }
  3301. function fboomRequest(FBoomLink)
  3302. {
  3303. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3304. FBoomLink2='http://fboom.me/file/'+id;
  3305. GM_xmlhttpRequest(
  3306. {
  3307. method: 'GET',
  3308. url: FBoomLink,
  3309. headers: {
  3310. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3311. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3312. 'Referer': ''
  3313. },
  3314. onload: function (result)
  3315. {
  3316. var res = result.responseText;
  3317. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3318. {
  3319. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3320. return;
  3321. }
  3322. if (res.match('method="post">Displaying'))
  3323. {
  3324. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3325. return;
  3326. }
  3327. if (res.match('only for premium members'))
  3328. {
  3329. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3330. return;
  3331. }
  3332. if (res.match('id="download-free" href="#"'))
  3333. {
  3334. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3335. slID=slow_id.exec(res)[1];
  3336. GM_xmlhttpRequest(
  3337. {
  3338. method: 'POST',
  3339. url: FBoomLink2,
  3340. headers: {
  3341. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3342. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3343. 'Content-Type': 'application/x-www-form-urlencoded',
  3344. 'Referer': FBoomLink
  3345. },
  3346. data: 'slow_id='+slID,
  3347. onload: function (result)
  3348. {
  3349. var newres = result.responseText;
  3350. newoversizedtest=new RegExp("Downloading is not possible");
  3351. if (newoversizedtest.test(newres))
  3352. {
  3353. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3354. return;
  3355. }
  3356. else
  3357. {
  3358. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3359. return;
  3360. }
  3361. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3362. return;
  3363. }
  3364. });
  3365. /////////////////////end additional check for oversized links
  3366. return;
  3367. }
  3368. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3369. return;
  3370. },
  3371. onerror: function ()
  3372. {
  3373. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3374. return;
  3375. }
  3376. });
  3377. }
  3378. function dl4free_1fichier_BulkCheck()
  3379. {
  3380. var arr = this.links[0].split("\r\n");
  3381. var i = arr.length;
  3382. while(i--)
  3383. {
  3384. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3385. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3386. gethead_dl4free_1fichier(arr[i]);
  3387. }
  3388. }
  3389. function gethead_dl4free_1fichier(link)
  3390. {
  3391. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3392. GM_xmlhttpRequest(
  3393. {
  3394. method: 'HEAD',
  3395. url: link,
  3396. headers: {
  3397. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3398. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3399. 'Referer': ''
  3400. },
  3401. onload: function (result)
  3402. {
  3403. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3404. {
  3405. DisplayTheCheckedLinks([id], 'alive_link');
  3406. return;
  3407. }
  3408. else
  3409. {
  3410. getlink_dl4free_1fichier(link);
  3411. }
  3412. return;
  3413. },
  3414. onerror: function ()
  3415. {
  3416. DisplayTheCheckedLinks([id], 'unava_link');
  3417. }
  3418. });
  3419. }
  3420. function getlink_dl4free_1fichier(link)
  3421. {
  3422. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3423. GM_xmlhttpRequest(
  3424. {
  3425. method: 'GET',
  3426. url: link,
  3427. headers: {
  3428. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3429. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3430. 'Referer': ''
  3431. },
  3432. onload: function (result)
  3433. {
  3434. var res = result.responseText;
  3435. 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>');
  3436. if (deadRegex.test(res))
  3437. {
  3438. DisplayTheCheckedLinks([id], 'adead_link');
  3439. return;
  3440. }
  3441. premiumRegex=new RegExp('only for premium users');
  3442. if (premiumRegex.test(res))
  3443. {
  3444. DisplayTheCheckedLinks([id], 'prem_link');
  3445. return;
  3446. }
  3447. 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="');
  3448. if (liveRegex.test(res))
  3449. {
  3450. DisplayTheCheckedLinks([id], 'alive_link');
  3451. return;
  3452. }
  3453. DisplayTheCheckedLinks([id], 'unava_link');
  3454. },
  3455. onerror: function ()
  3456. {
  3457. DisplayTheCheckedLinks([id], 'unava_link');
  3458. }
  3459. });
  3460. }
  3461. function depositfilesBulkCheck()
  3462. {
  3463. var arr = this.links[0].split("\r\n");
  3464. var i = arr.length;
  3465. var seqno = Math.floor(Math.random()*1000000000);
  3466. while(i--)
  3467. {
  3468. DFpostRequest(arr[i]);
  3469. }
  3470. }
  3471. function DFpostRequest(DFLink)
  3472. {
  3473. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3474. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3475. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3476. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3477. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3478. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3479. GM_xmlhttpRequest(
  3480. {
  3481. method: "GET",
  3482. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3483. headers: {
  3484. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3485. 'Content-Type': 'application/x-www-form-urlencoded',
  3486. 'Referer': ""
  3487. },
  3488. onload: function (result)
  3489. {
  3490. var res = result.responseText;
  3491. if (res.match('(?:no_file|file_ban)'))
  3492. {
  3493. DisplayTheCheckedLinks([id], 'adead_link');
  3494. return;
  3495. }
  3496. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3497. {
  3498. DisplayTheCheckedLinks([id], 'alive_link');
  3499. return;
  3500. }
  3501. DisplayTheCheckedLinks([id], 'unava_link');
  3502. }
  3503. });
  3504. }
  3505.  
  3506. function megaBulkCheck()
  3507. {
  3508. var arr = this.links[0].split("\r\n");
  3509. var i = arr.length;
  3510. var seqno = Math.floor(Math.random()*1000000000);
  3511. while(i--)
  3512. {
  3513. postRequest(arr[i]);
  3514. }
  3515. function postRequest(megaLink)
  3516. {
  3517. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3518. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3519. GM_xmlhttpRequest(
  3520. {
  3521. method: "POST",
  3522. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3523. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3524. headers: {
  3525. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3526. 'Content-Type': 'application/xml',
  3527. 'Referer': "https://mega.co.nz/"
  3528. },
  3529. onload: function (result)
  3530. {
  3531. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3532. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3533. {
  3534.  
  3535. DisplayTheCheckedLinks([id], 'adead_link');
  3536. }
  3537. if (res.at)
  3538. {
  3539. DisplayTheCheckedLinks([id], 'alive_link');
  3540. }
  3541. if (res.e == "ETEMPUNAVAIL")
  3542. {
  3543. DisplayTheCheckedLinks([id], 'unava_link');
  3544. }
  3545. }
  3546. });
  3547. }
  3548.  
  3549. }
  3550.  
  3551. function oboomBulk() {
  3552. var a = [], b = [], c = [];
  3553. var array = this.links;
  3554.  
  3555. GM_xmlhttpRequest({
  3556. method: 'GET',
  3557. url: 'https://www.oboom.com/1/guestsession',
  3558. headers: {
  3559. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3560. 'Content-type': 'application/x-www-form-urlencoded',
  3561. 'Referer': 'https://www.oboom.com',
  3562. 'X-Requested-With': 'XMLHttpRequest'
  3563. },
  3564. onload: function(result) {
  3565. var blockIdx = array.length;
  3566. var token = JSON.parse(result.responseText)[1];
  3567. while (blockIdx--) {
  3568. startCheck(array[blockIdx].split('\r\n'), token);
  3569. }
  3570. }
  3571. });
  3572.  
  3573. function startCheck(links, token) {
  3574. GM_xmlhttpRequest({
  3575. method: 'POST',
  3576. url: "https://api.oboom.com/1/info",
  3577. headers: {
  3578. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3579. 'Content-type': 'application/x-www-form-urlencoded',
  3580. 'Referer': 'https://www.oboom.com/',
  3581. 'X-Requested-With': 'XMLHttpRequest'
  3582. },
  3583. data: "token=" + token + "&items=" + links.join(","),
  3584. onload: function(result) {
  3585. var res = JSON.parse(result.responseText)[1];
  3586. var i = res.length, s;
  3587.  
  3588. while (i--) {
  3589. s = res[i].state;
  3590. if (s == 'online') a.push(res[i].id);
  3591. 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);
  3592. else c.push(res[i].id);
  3593. }
  3594.  
  3595. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3596. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3597. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3598. }
  3599. });
  3600. }
  3601. }
  3602. /* function linksaveBulkCheck()
  3603. {
  3604. var arr = this.links[0].split("\r\n");
  3605. var i = arr.length;
  3606. while(i--)
  3607. {
  3608. postRequest(arr[i]);
  3609. }
  3610. function postRequest(lsLink)
  3611. {
  3612. GM_xmlhttpRequest(
  3613. {
  3614. method: "GET",
  3615. url: lsLink + '-t.jpg',
  3616. headers: {
  3617. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3618. 'Accept': 'text/xml',
  3619. 'Referer': ""
  3620. },
  3621. onload: function (result)
  3622. {
  3623. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3624. if (imgLen == 965) //online
  3625. {
  3626. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3627. }
  3628.  
  3629. if (imgLen == 972) //offline
  3630. {
  3631. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3632. }
  3633. if (imgLen == 978) //unava
  3634. {
  3635. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3636. }
  3637. }
  3638. });
  3639. }
  3640.  
  3641. } */
  3642. function linkcryptBulkCheck()
  3643. {
  3644. var arr = this.links[0].split("\r\n");
  3645. var i = arr.length;
  3646. while(i--)
  3647. {
  3648. postRequest(arr[i]);
  3649. }
  3650. function postRequest(lcLink)
  3651. {
  3652. GM_xmlhttpRequest(
  3653. {
  3654. method: "GET",
  3655. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3656. headers: {
  3657. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3658. 'Accept': 'text/xml',
  3659. 'Referer': ""
  3660. },
  3661. onload: function (result)
  3662. {
  3663. var res = result.responseText;
  3664. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3665. {
  3666. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3667. return;
  3668. }
  3669. if (res.match(/folderStatus>1/)) //Online status
  3670. {
  3671. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3672. }
  3673. else
  3674. {
  3675. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3676. }
  3677. }
  3678. });
  3679. }
  3680. }
  3681.  
  3682. function megashareBulkCheck()
  3683. {
  3684. var arr = this.links[0].split("\r\n");
  3685. var i = arr.length;
  3686. while(i--)
  3687. {
  3688. postRequest(arr[i]);
  3689. }
  3690. function postRequest(msLink)
  3691. {
  3692. GM_xmlhttpRequest(
  3693. {
  3694. method: "GET",
  3695. url: msLink,
  3696. headers: {
  3697. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3698. 'Content-Type': 'application/x-www-form-urlencoded',
  3699. 'Referer': ""
  3700. },
  3701. onload: function (result)
  3702. {
  3703. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3704. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3705. if ((prZVal == null) || (btn3Name == null))
  3706. {
  3707. return;
  3708. }
  3709. GM_xmlhttpRequest(
  3710. {
  3711. method: "POST",
  3712. url: msLink,
  3713. headers: {
  3714. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3715. 'Content-Type': 'application/x-www-form-urlencoded',
  3716. 'Referer': ""
  3717. },
  3718. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3719. onload: function (result)
  3720. {
  3721. var res = result.responseText;
  3722. if (res.match(/<div id="err">/))
  3723. {
  3724. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3725. }
  3726. else
  3727. {
  3728. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3729. }
  3730. }
  3731. });
  3732. }
  3733. });
  3734. }
  3735. }
  3736. function ncryptBulkCheck()
  3737. {
  3738. var arr = this.links[0].split("\r\n");
  3739. var i = arr.length;
  3740. while(i--)
  3741. {
  3742. postRequest(arr[i]);
  3743. }
  3744. function postRequest(ncryptLink)
  3745. {
  3746. GM_xmlhttpRequest(
  3747. {
  3748. method: "POST",
  3749. url: 'http://ncrypt.in/api_status.php',
  3750. headers: {
  3751. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3752. 'Content-Type': 'application/x-www-form-urlencoded',
  3753. 'Referer': ""
  3754. },
  3755. data: 'link=' + encodeURI(ncryptLink),
  3756. onload: function (result)
  3757. {
  3758. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3759. switch(foldStatus + ""){
  3760. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3761. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3762. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3763. }
  3764. }
  3765. });
  3766. }
  3767. }
  3768. function hellshareBulkCheck()
  3769. {
  3770. var links = this.links;
  3771. GM_xmlhttpRequest(
  3772. {
  3773. method: "GET",
  3774. url: 'http://www.hellshare.com',
  3775. headers: {
  3776. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3777. 'Accept': 'text/xml',
  3778. 'Referer': ""
  3779. },
  3780. onload: function (result)
  3781. {
  3782. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3783.  
  3784. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3785. if (domain == 'sk')
  3786. loc = 'check=Skontrolova%C5%A5&links=';
  3787. if (domain == 'com')
  3788. loc = 'check=Check+availability&links=';
  3789. if (domain == 'hu')
  3790. loc = 'check=Kontrol%C3%A1lj&links=';
  3791. if (domain == 'pl')
  3792. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3793.  
  3794. genBulkCheck.call({ links: links,
  3795. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3796. postData: loc,
  3797. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3798. 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,
  3799. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3800. resUnavaRegex: null
  3801. });
  3802. }
  3803. });
  3804. }
  3805. /**
  3806. * Displays check result
  3807. * @param {Array} Array of links or link fragments.
  3808. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3809. */
  3810. function DisplayTheCheckedLinks(links, resultStatus)
  3811. {
  3812. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3813. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3814. if (Do_not_linkify_DL_links)
  3815. { //TODO into separate jQuery function
  3816. $links.replaceWith(function(){
  3817. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3818. });
  3819. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3820. }
  3821. $links.removeClass().addClass(resultStatus);
  3822. $links.each(function() {
  3823. this.href = Ref_anonymize_service + $(this).attr("href");
  3824. });
  3825. switch(resultStatus)
  3826. {
  3827. case "alive_link": cLinksAlive += $links.length;
  3828. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3829. break;
  3830. case "adead_link": cLinksDead += $links.length;
  3831. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3832. break;
  3833. case "prem_link": cLinksprem += $links.length;
  3834. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3835. break;
  3836. case "unava_link": cLinksUnava += $links.length; break;
  3837. default:
  3838. }
  3839. cLinksProcessed += $links.length;
  3840. }
  3841. }
  3842. // starts bulkchecking
  3843. //
  3844. // params
  3845. // filterId [string] restricts link detection with passed id attribute
  3846. function startBulkCheck(filterId)
  3847. {
  3848. var cHosts = bulkHosts.length;
  3849. if (cHosts == 0) //no filehostings selected
  3850. return;
  3851. // STEP 1 linkify the links
  3852. var linkifyRegex = '';
  3853. var hostIdx = cHosts;
  3854. while(hostIdx--)
  3855. {
  3856. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3857. }
  3858. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3859. linkify(linkifyRegex);
  3860. //
  3861. //STEP 2 detect link objects
  3862. var xpathAll = '';
  3863. var hostIdx = cHosts;
  3864. while(hostIdx--)
  3865. {
  3866. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3867. }
  3868. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3869. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3870. if (filterId != null) //insert id restriction in the xpath
  3871. {
  3872. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3873. }
  3874. else
  3875. {
  3876. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3877. }
  3878. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3879. if (filterId == null)
  3880. {
  3881. cLinksTotal += links.snapshotLength;
  3882. }
  3883. //
  3884. //STEP 3 bind links with hostings
  3885. var linkIdx = links.snapshotLength;
  3886. var href = null;
  3887. if (linkIdx == 0) // no links found
  3888. return;
  3889. var name;
  3890. while (linkIdx--)
  3891. {
  3892. href = links.snapshotItem(linkIdx).href;
  3893. try // DO NOT REMOVE, filters crap that went through xpath detection
  3894. {
  3895. name = gimmeHostName(href);
  3896. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3897. bulkHostNames[name].links.push(href);
  3898. }
  3899. catch(e)
  3900. {
  3901.  
  3902. }
  3903. }
  3904. //
  3905. //STEP 4 process the links for each filehosting
  3906. var hostIdx = cHosts;
  3907. var host;
  3908. var m,n;
  3909. var arr;
  3910. while (hostIdx--)
  3911. {
  3912. host = bulkHosts[hostIdx];
  3913. arr = host.links;
  3914. if (arr.length == 0) //no links for this hosting, skip
  3915. {
  3916. continue;
  3917. }
  3918. //links match corrections
  3919. if (host.corrMatch != null)
  3920. {
  3921. var idx = arr.length;
  3922. while (idx--)
  3923. {
  3924. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3925. }
  3926. }
  3927. //links replace corrections
  3928. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3929. {
  3930. var idx = arr.length;
  3931. while (idx--)
  3932. {
  3933. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3934. }
  3935. }
  3936. m = arr.length;
  3937. n = host.blockSize;
  3938. if (m > n)
  3939. {
  3940. //insert block separators (RAND_STRING) into the array
  3941. for(var i = n; i < m; i += n + 1)
  3942. {
  3943. arr.splice(i, 0, RAND_STRING);
  3944. }
  3945. }
  3946.  
  3947. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3948. apiUrl: host.apiUrl,
  3949. postData: host.postData,
  3950. resLinkRegex: host.resLinkRegex,
  3951. resLiveRegex: host.resLiveRegex,
  3952. resDeadRegex: host.resDeadRegex,
  3953. resUnavaRegex: host.resUnavaRegex
  3954. });
  3955. //clean up
  3956. arr.length = 0;
  3957. }
  3958. //
  3959.  
  3960. function gimmeHostName(link)
  3961. {
  3962. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3963. }
  3964. }
  3965. function checkLinks(filterId)
  3966. {
  3967. startBulkCheck(filterId);
  3968. start(filterId);
  3969. }
  3970.  
  3971. /**
  3972. * Initialises progress box including event binding and CSS
  3973. */
  3974. function initProgressBox()
  3975. {
  3976. if ($("#warlc-progressbox").length > 0)
  3977. return;
  3978. //progressbox css change size and color of progress box
  3979. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  3980. "; opacity:" + (Progress_box_opacity / 100) +
  3981. "; bottom:" + Progress_box_pos_bottom +
  3982. "px; right:" + Progress_box_pos_right +
  3983. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  3984. \
  3985. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  3986. \
  3987. .warlc-progressitem {}\
  3988. \
  3989. .alive {color:#00FF7F; " + Live_links_color +
  3990. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  3991. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  3992. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  3993. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  3994. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  3995. );
  3996. //
  3997. $('body').append(' <div id="warlc-progressbox">\
  3998. <div class="warlc-progressbar"></div>\
  3999. <span class="warlc-progressitem alive"></span> - \
  4000. <span class="warlc-progressitem dead"></span> - \
  4001. <span class="warlc-progressitem unava"></span> - \
  4002. <span class="warlc-progressitem prem"></span> - \
  4003. <span class="warlc-progressitem processing"></span>\
  4004. </div>');
  4005. $('#warlc-progressbox').hide().click(function(){
  4006. clearInterval(intervalId);
  4007. $(this).hide();
  4008. return false;
  4009. });
  4010. $(".warlc-progressbar").progressbar({complete: function(){
  4011. $(this).fadeOut();
  4012. clearInterval(intervalId); //stop refreshing the stats
  4013. }
  4014. })
  4015. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4016. }
  4017. /**
  4018. * Updates progress data in progress box
  4019. */
  4020. function updateProgress()
  4021. {
  4022. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4023. if (cLinksTotal) // some links were detected on page
  4024. {
  4025. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4026. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4027. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4028. if ((cLinksTotal - cLinksProcessed) == 0)
  4029. {
  4030. $progressItems.first().text(cLinksAlive)
  4031. .next().text(cLinksDead)
  4032. .next().text(cLinksUnava)
  4033. .next().text(cLinksprem)
  4034. .next().remove();
  4035. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4036. $('#warlc-progressbox div:first-child').remove();
  4037. }
  4038. else
  4039. {
  4040. $progressItems.first().text(cLinksAlive)
  4041. .next().text(cLinksDead)
  4042. .next().text(cLinksUnava)
  4043. .next().text(cLinksprem)
  4044. .next().text(cLinksTotal - cLinksProcessed);
  4045. }
  4046. }
  4047. }
  4048.  
  4049. function check_all_links()
  4050. {
  4051. add_WARLC_style();
  4052.  
  4053. if (Show_progress_stats)
  4054. {
  4055. initProgressBox();
  4056. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4057. }
  4058.  
  4059. startBulkCheck(null);
  4060. start(null);
  4061.  
  4062. if (!containers_processed)
  4063. {
  4064. processContainers();
  4065. }
  4066. }
  4067.  
  4068. //Copies all found dead links to clipboard - right now for Scriptish only
  4069. function copy_dead_to_clipboard()
  4070. {
  4071. initClipBoardTools();
  4072.  
  4073. var deadlinksxpath = "//.[@class='adead_link']";
  4074.  
  4075. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4076. var foundlinkstext = '';
  4077.  
  4078. var foundlinkIdx = foundlinks.snapshotLength;
  4079.  
  4080. while(foundlinkIdx--)
  4081. {
  4082. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4083. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4084. }
  4085.  
  4086. unsafeWindow.copyToClipboard(foundlinkstext);
  4087. }
  4088.  
  4089. function toggle_autocheck()
  4090. {
  4091. var currentState = GM_getValue("Autocheck", false);
  4092. GM_setValue("Autocheck", !currentState);
  4093.  
  4094. if (currentState == true)
  4095. {
  4096. sendMessage('Autocheck disabled', 'red');
  4097. }
  4098. else
  4099. {
  4100. sendMessage('Autocheck enabled', 'SpringGreen');
  4101. }
  4102. }
  4103. function toggle_Enable_Anonymizer()
  4104. {
  4105. var currentState = GM_getValue("Enable_Anonymizer", false);
  4106. GM_setValue("Enable_Anonymizer", !currentState);
  4107.  
  4108. if (currentState == true)
  4109. {
  4110. GM_setValue("Ref_anonymize_service", "");
  4111. sendMessage('Anonymizer Disabled', 'red');
  4112. }
  4113. else
  4114. {
  4115. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4116. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4117. }
  4118. }
  4119.  
  4120. function KeyDownHandler(event)
  4121. {
  4122. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4123. if (event.ctrlKey && event.altKey)
  4124. {
  4125. switch(kcode)
  4126. {
  4127. case 65 : check_all_links(); break;
  4128. case 67 : configuration(); break;
  4129. case 68 : copy_dead_to_clipboard(); break;
  4130. case 87 : toggle_autocheck(); break;
  4131. case 90 : toggle_Enable_Anonymizer(); break;
  4132. }
  4133. }
  4134. }
  4135.  
  4136. //
  4137. //
  4138. // SCRIPT EXECUTION START POINT
  4139. //
  4140. //
  4141. // Safari specific GM_getResourceText override
  4142. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4143. {
  4144. GM_getResourceText = function(res) {
  4145. var $cssText = GM_getValue("jquery_css", "");
  4146. if ($cssText == "")
  4147. {
  4148. GM_xmlhttpRequest(
  4149. {
  4150. method: 'GET',
  4151. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4152. onload: function (result)
  4153. {
  4154. GM_setValue("jquery_css", result.responseText);
  4155. window.location.reload();
  4156. }
  4157. });
  4158. }
  4159. else
  4160. {
  4161. return $cssText;
  4162. }
  4163. }
  4164. }
  4165. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4166. GM_addStyle(jQueryUICSS);
  4167. //init the stuff
  4168. setVariables();
  4169. initBulkCheck();
  4170. //init info boxes
  4171. messageBox.style.position = 'fixed';
  4172. messageBox.style.top = '20px';
  4173. messageBox.style.left = '10px';
  4174. messageBox.style.opacity = '0.85';
  4175. messageBox.style.background = 'DimGray';
  4176. messageBox.style.fontSize = '36px';
  4177. document.body.appendChild(messageBox);
  4178.  
  4179. //register GM menu commands & keyboard shortcut event handler
  4180. if (Keyboard_functions)
  4181. {
  4182. $(document).keydown(KeyDownHandler);
  4183. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4184. 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);
  4185. }
  4186. else
  4187. {
  4188. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4189. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4190. }
  4191.  
  4192. //start linkchecking
  4193. if (Autocheck)
  4194. {
  4195. $(document).ready(check_all_links);
  4196. }
  4197.  
  4198. //
  4199. //
  4200. // SCRIPT EXECUTION END POINT
  4201. //
  4202. //
  4203.  
  4204. //shows configuration box
  4205. function configuration()
  4206. {
  4207.  
  4208. //prevent multiple creating of config window
  4209. if ($("#hideshow").length)
  4210. {
  4211. $("#hideshow").show();
  4212. return;
  4213. }
  4214.  
  4215. var configcss = '\
  4216. .popup_block .popup fieldset{\
  4217. padding: 1%;\
  4218. border-style: solid;\
  4219. border-width: 1px;\
  4220. border-color: gray;\
  4221. margin-bottom: 1px;\
  4222. }\
  4223. #h3hideshowtitle{\
  4224. font-size: 2em;\
  4225. }\
  4226. #h3hideshow{\
  4227. font-size: 1.5em;\
  4228. }\
  4229. #imghideshow {\
  4230. border: none;\
  4231. }\
  4232. #plusimage{\
  4233. display:inline;\
  4234. }\
  4235. #hideshow {\
  4236. position: fixed;\
  4237. width: 100%;\
  4238. height: 100%;\
  4239. top: 0;\
  4240. left: 0;\
  4241. font-size:12px;\
  4242. z-index:2147483645;\
  4243. text-align:left;\
  4244. }\
  4245. #fade {\
  4246. background: #000;\
  4247. position: fixed;\
  4248. width: 100%;\
  4249. height: 100%;\
  4250. opacity: .80;\
  4251. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4252. left: 0;\
  4253. z-index: 10;\
  4254. }\
  4255. .popup_block {\
  4256. font-family:verdana;\
  4257. color:black;\
  4258. background: #ddd;\
  4259. padding: 10px 20px;\
  4260. border: 2px solid DarkOrange;\
  4261. float: left;\
  4262. width: 700px;\
  4263. position: absolute;\
  4264. top: 7%;\
  4265. left: 50%;\
  4266. bottom: 7%;\
  4267. margin: 0 0 0 -350px;\
  4268. -moz-border-radius:10px;\
  4269. z-index: 100;\
  4270. \
  4271. }\
  4272. .popup_block .popup {\
  4273. float: left;\
  4274. width: 100%;\
  4275. background: #fff;\
  4276. margin: 10px 0;\
  4277. padding: 0px 0 0px;\
  4278. border-left: 1px solid #bbb;\
  4279. border-top: 1px solid #bbb;\
  4280. border-right: 1px solid #bbb;\
  4281. }\
  4282. #h3hideshow{\
  4283. margin: 1px 0 0px;\
  4284. padding: 1px 10px;\
  4285. border-bottom: 1px solid #bbb;\
  4286. font-size: 1.5em;\
  4287. font-weight: normal;\
  4288. cursor:pointer;\
  4289. background:#DDDDDD none repeat scroll 0 0;\
  4290. }\
  4291. #h3hideshow:hover{\
  4292. background:#C0BEBE none repeat scroll 0 0;\
  4293. }\
  4294. #h3hideshowtitle{\
  4295. margin: 2px 0 0px;\
  4296. padding: 7px 10px;\
  4297. border-bottom: 1px solid #bbb;\
  4298. font-size: 1.5em;\
  4299. font-weight: normal;\
  4300. }\
  4301. .popup_block .popup a {\
  4302. color:DarkSkyBlue;\
  4303. text-decoration:none;\
  4304. }\
  4305. .popup p {\
  4306. padding: 1px 10px;\
  4307. margin: 0px 0;\
  4308. -x-system-font:none;\
  4309. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4310. font-size:10pt;\
  4311. font-size-adjust:none;\
  4312. font-stretch:normal;\
  4313. font-style:normal;\
  4314. font-variant:normal;\
  4315. font-weight:normal;\
  4316. line-height:normal;\
  4317. }\
  4318. #sites {\
  4319. padding: 1px 10px;\
  4320. margin: 0px 0;display:inline-block;width:16em;\
  4321. }\
  4322. #dev_ver {\
  4323. color: #00FF00;\
  4324. background: Black;\
  4325. text-align: right;\
  4326. }\
  4327. #sites_suspended {\
  4328. padding: 1px 10px;\
  4329. margin: 0px 0;display:inline-block;width:16em;\
  4330. text-decoration: line-through;\
  4331. }\
  4332. .popup img.cntrl {\
  4333. position: absolute;\
  4334. right: -15px;\
  4335. top: -15px;\
  4336. }\
  4337. #bulk {\
  4338. font-size:8pt;\
  4339. color:orange;\
  4340. padding: 1px 10px;\
  4341. margin: 0px 0;\
  4342. display:inline-block;\
  4343. width:100px;\
  4344. }\
  4345. #note {\
  4346. font-size:7pt;\
  4347. color:gray;\
  4348. padding: 1px 10px;\
  4349. margin: 0px 0;display:inline-block;\
  4350. min-width:100px;\
  4351. }\
  4352. #rednote {\
  4353. font-size:7pt;\
  4354. color:red;\
  4355. padding: 1px 10px;\
  4356. margin: 0px 0;display:inline-block;\
  4357. }\
  4358. #configinfo {\
  4359. font-size:8pt;\
  4360. color:gray;\
  4361. padding: 1px 10px;\
  4362. margin: 0px 0;display:inline-block;width:60em;\
  4363. }\
  4364. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4365. color:black;\
  4366. border-style: solid;\
  4367. border-width: 1px;\
  4368. border-color: gray;\
  4369. }\
  4370. #h3hideshowcontent {\
  4371. min-height:220px;\
  4372. max-height:220px;\
  4373. overflow:auto;\
  4374. display: none;\
  4375. padding: 10px 10px;\
  4376. }\
  4377. #specinfo{\
  4378. font-size:14px;\
  4379. }\
  4380. .warlc-ui-tab {\
  4381. height:300px;\
  4382. overflow:auto;\
  4383. }\
  4384. #warlcsitelist2, #warlcsitelist1 {\
  4385. height:220px;\
  4386. border-top: 1px solid #ddd;\
  4387. padding-top: 5px;\
  4388. overflow:auto;\
  4389. }\
  4390. input:hover+label {\
  4391. background:#F1F77C;\
  4392. font-size:110%;\
  4393. }\
  4394. ';
  4395.  
  4396. GM_addStyle(configcss);
  4397.  
  4398. var customRulesRefHTML =
  4399. '\
  4400. <br>\
  4401. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4402. <b>@keyword</b> <i>parameter</i>\
  4403. <br><br>\
  4404. 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. \
  4405. <br><br>\
  4406. 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.\
  4407. 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.\
  4408. 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.\
  4409. 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,\
  4410. but all commands until the next valid @customrule are ignored.<br><br>\
  4411. Available forms and types:\
  4412. <ul>\
  4413. <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.\
  4414. <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.\
  4415. <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.\
  4416. <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.\
  4417. </ul>\
  4418. Other available commands:<br>\
  4419. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4420. <ul>\
  4421. <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.\
  4422. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4423. <ul>examples:<br>\
  4424. <li>good: <i>filehost.com/download/</i><br>\
  4425. <li>good: <i>download.filehost.net/?d=</i><br>\
  4426. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4427. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4428. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4429. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4430. <li>bad: <i>filehost.com</i> - no slash<br>\
  4431. </ul>\
  4432. \
  4433. <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.\
  4434. 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 \
  4435. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4436. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4437. 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.)\
  4438. Two spaces again match any whitespace.\
  4439. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4440. Two spaces again match any whitespace.\
  4441. <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. \
  4442. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4443. </ul>\
  4444. \
  4445. ';
  4446.  
  4447. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4448. var configurationinnerHTML =
  4449. '<div id="fade"></div>\
  4450. <div class="popup_block">\
  4451. <div class="popup">\
  4452. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAHgCrgLvV9DLgMdID02rQZmfAmaAJaxS2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SNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Customized Premium Link version Configuration</div>\
  4454. <div id="warlc-conf-tabs">\
  4455. <ul>\
  4456. <li><a href="#tabs-1">Filehostings</a></li>\
  4457. <li><a href="#tabs-2">Containers</a></li>\
  4458. <li><a href="#tabs-5">Custom rules</a></li>\
  4459. <li><a href="#tabs-3">Settings</a></li>\
  4460. <li><a href="#tabs-4">About</a></li>\
  4461. </ul>\
  4462. <div id="tabs-1" class="warlc-ui-tab">\
  4463. <div class="warlc-ui-buttonset">\
  4464. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4465. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4466. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4467. </div><br>\
  4468. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4469. <div id="warlcsitelist1"><span>Empty</span></div>\
  4470. </div>\
  4471. <div id="tabs-2" 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="hostSearchBox2" value=""></div><br>\
  4478. <div id="warlcsitelist2"><span>Empty</span></div>\
  4479. </div>\
  4480. <div id="tabs-5" class="warlc-ui-tab">\
  4481. <div class="warlcsettings">\
  4482. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4483. <br>\
  4484. <div>Edit custom rules: \
  4485. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4486. <div id="customRulesReference" style="display:none;">'
  4487. + customRulesRefHTML + '\
  4488. </div>\
  4489. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4490. </div>\
  4491. </div>\
  4492. </div>\
  4493. <div id="tabs-3" class="warlc-ui-tab">\
  4494. <div class="warlcsettings">\
  4495. <fieldset>\
  4496. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4497. <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>\
  4498. </fieldset>\
  4499. <fieldset>\
  4500. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4501. <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>\
  4502. <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>\
  4503. <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>\
  4504. <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>\
  4505. <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>\
  4506. <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>\
  4507. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4508. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4509. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4510. <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>\
  4511. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4512. <fieldset>\
  4513. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4514. <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>\
  4515. <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>\
  4516. <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>\
  4517. </fieldset>\
  4518. </fieldset>\
  4519. <fieldset>\
  4520. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4521. </fieldset>\
  4522. <fieldset>\
  4523. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4524. </fieldset>\
  4525. <fieldset>\
  4526. <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>\
  4527. </fieldset>\
  4528. <fieldset>\
  4529. <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>\
  4530. </fieldset>\
  4531. </div>\
  4532. </div>\
  4533. <div id="tabs-4" class="warlc-ui-tab">\
  4534. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4535. <p><b>Script Homepage:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">www.warlc.5gbfree.com</a></p>\
  4536. <br />\
  4537. <p><b>Currently supported:</b><br>\
  4538. Filehostings: ' + allHostNames.length + '<br />\
  4539. Containers: ' + allContainerNames.length + '<br />\
  4540. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4541. <br />\
  4542. <p><b>Based on:</b><br>\
  4543. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4544. <br />\
  4545. <p><b>Uses:</b></p>\
  4546. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4547. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4548. <br />\
  4549. <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>\
  4550. </div>\
  4551. </div>\
  4552. </div>\
  4553. </div>';
  4554. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4555. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4556. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4557. var elmHostList = document.getElementById("warlcsitelist1");
  4558. var elmContainerList = document.getElementById("warlcsitelist2");
  4559. buildSettings();
  4560. buildSitelist("", allHostNames, elmHostList);
  4561. buildSitelist("", allContainerNames, elmContainerList);
  4562. if (DEBUG_MODE)
  4563. {
  4564. //log all sites availability status
  4565. diagSites();
  4566. }
  4567. //handler for checkbox state change
  4568. function changeConfiguration(e)
  4569. {
  4570. var element = e.target;
  4571.  
  4572. if (element.type == 'checkbox')
  4573. {
  4574. if (element.checked == 1)
  4575. {
  4576. GM_setValue(element.id, true);
  4577. }
  4578. else
  4579. {
  4580. GM_setValue(element.id, false);
  4581. }
  4582.  
  4583. }
  4584. setVariables();
  4585. }
  4586.  
  4587. //Selects all filehosting checkboxes
  4588. function selectAll()
  4589. {
  4590. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4591. .each(function(index, element){GM_setValue(this.id, true)});
  4592. }
  4593.  
  4594. //Deselects all filehosting checkboxes
  4595. function selectNone()
  4596. {
  4597. $(":checkbox:visible:checked").prop("checked",false)
  4598. .each(function(index, element){GM_setValue(this.id, false)});
  4599. }
  4600.  
  4601. //Inverts filehosting checkboxes selection
  4602. function selectInvert()
  4603. {
  4604. var $checked = $(":checkbox:visible:checked");
  4605. var $unchecked = $(":checkbox:visible:not(:checked)");
  4606. $unchecked.prop("checked",true)
  4607. .each(function(index, element){GM_setValue(this.id, true)});
  4608. $checked.prop("checked",false)
  4609. .each(function(index, element){GM_setValue(this.id, false)});
  4610. }
  4611. //toggles anonymizer on off
  4612. function Enable_Anonymizer()
  4613. {
  4614. var $checked = $(":checkbox:visible:checked");
  4615. var $unchecked = $(":checkbox:visible:not(:checked)");
  4616. $unchecked.prop("checked",true)
  4617. .each(function(index, element){GM_setValue(this.id, true)});
  4618. $checked.prop("checked",false)
  4619. .each(function(index, element){GM_setValue(this.id, false)});
  4620. }
  4621.  
  4622. function changeRefAnonymizer(){
  4623. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4624. }
  4625.  
  4626. //Sets live links color
  4627. function changeColorLive()
  4628. {
  4629. var inColorLive = document.getElementById("inputColorLive");
  4630. inColorLive.style.background = inColorLive.value;
  4631. GM_setValue("Live_links_color", inColorLive.value);
  4632. }
  4633.  
  4634. //Sets dead links color
  4635. function changeColorDead()
  4636. {
  4637. var inColorDead = document.getElementById("inputColorDead");
  4638. inColorDead.style.background = inColorDead.value;
  4639. GM_setValue("Dead_links_color", inColorDead.value);
  4640. }
  4641.  
  4642. //Sets temp. unavailable links color
  4643. function changeColorTemp()
  4644. {
  4645. var inColorTemp = document.getElementById("inputColorTemp");
  4646. inColorTemp.style.background = inColorTemp.value;
  4647. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4648. }
  4649.  
  4650. //Sets temp. unavailable links color
  4651. function changeColorCont()
  4652. {
  4653. var inColorCont = document.getElementById("inputColorCont");
  4654. inColorCont.style.background = inColorCont.value;
  4655. GM_setValue("Container_links_color", inColorCont.value);
  4656. }
  4657. //Sets premium. links color
  4658. function changeColorprem()
  4659. {
  4660. var inColorprem = document.getElementById("inputColorprem");
  4661. inColorprem.style.background = inColorprem.value;
  4662. GM_setValue("Premium_links_color", inColorprem.value);
  4663. }
  4664.  
  4665. //Diagnose sites for availability
  4666. function diagSites()
  4667. {
  4668. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4669.  
  4670. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4671. {
  4672. if (boxes[i].type == "checkbox")
  4673. {
  4674. checkAvailability(boxes[i]);
  4675. }
  4676. }
  4677.  
  4678. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4679.  
  4680. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4681. {
  4682. if (boxes[i].type == "checkbox")
  4683. {
  4684. checkAvailability(boxes[i]);
  4685. }
  4686. }
  4687.  
  4688. function checkAvailability(cbElm)
  4689. {
  4690. var cb = cbElm;
  4691. GM_xmlhttpRequest(
  4692. {
  4693. method: 'HEAD',
  4694. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4695. headers: {
  4696. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4697. 'Accept': 'text/xml',
  4698. 'Referer': ""
  4699. },
  4700. onload: function (result)
  4701. {
  4702. if (result.status != 200)
  4703. {
  4704. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4705. }
  4706. },
  4707. onerror: function (result)
  4708. {
  4709. if (result.status != 200)
  4710. {
  4711. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4712. }
  4713. }
  4714. });
  4715. }
  4716. }
  4717. function buildSettings()
  4718. {
  4719. $(".warlcsettings :checkbox").each(function(){
  4720. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4721. .click(function(e){
  4722. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4723. setVariables();
  4724. });
  4725. })
  4726. }
  4727. //Dynamic build of host list
  4728. //param search [string] searches for hostnames matching search substring
  4729. //param siteNames [array] array of site names
  4730. //param targetNode [DOM Node] where the list should be built
  4731. // first child node is replaced
  4732. function buildSitelist(search, siteNames, targetNode)
  4733. {
  4734. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4735. var $targetNode = $(targetNode).empty();
  4736. var searchedSite = "";
  4737. $.each(siteNames, function(i, site){
  4738. if (searchedSite = site.match(searchRegex))
  4739. {
  4740. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4741. //ensuring backward compatibility with the rest of code, to be refactored later
  4742. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4743. //
  4744. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4745. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4746. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4747. );
  4748. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4749. .change(changeConfiguration);
  4750. $targetNode.append('<br />');
  4751. }
  4752. });
  4753. $targetNode.append("<hr>");
  4754. //obsolete hosts checkbox
  4755. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4756. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4757. .change(changeConfiguration);
  4758. $targetNode.append('<br />');
  4759. var foundName = "";
  4760. $.each(allObsoleteNames, function(i, site){
  4761. if (foundName = allObsoleteNames[i].match(searchRegex))
  4762. {
  4763. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4764. }
  4765. })
  4766. }
  4767. var hostSearchBox = document.getElementById("hostSearchBox");
  4768. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4769. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4770. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4771. $(".warlc-ui-select-all").click(selectAll).button();
  4772. $(".warlc-ui-select-none").click(selectNone).button();
  4773. $(".warlc-ui-select-invert").click(selectInvert).button();
  4774. $(".warlc-ui-buttonset").buttonset();
  4775. var inColorLive = document.getElementById("inputColorLive");
  4776. inColorLive.addEventListener('keyup', changeColorLive, false);
  4777.  
  4778. var inColorDead = document.getElementById("inputColorDead");
  4779. inColorDead.addEventListener('keyup', changeColorDead, false);
  4780.  
  4781. var inColorTemp = document.getElementById("inputColorTemp");
  4782. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4783.  
  4784. var inColorCont = document.getElementById("inputColorCont");
  4785. inColorCont.addEventListener('keyup', changeColorCont, false);
  4786. var inColorprem = document.getElementById("inputColorprem");
  4787. inColorprem.addEventListener('keyup', changeColorprem, false);
  4788. $("#refAnonymizer").change(changeRefAnonymizer);
  4789. //buttons and edit boxes init end
  4790.  
  4791. //icon sets radio buttons
  4792. var radioButtons = document.getElementsByName("warlciconset");
  4793. radioButtons[Icon_set].checked = "checked";
  4794.  
  4795. radioButtons[0].addEventListener("change", updateIconSet);
  4796. radioButtons[1].addEventListener("change", updateIconSet);
  4797. radioButtons[2].addEventListener("change", updateIconSet);
  4798. radioButtons[3].addEventListener("change", updateIconSet);
  4799. function updateIconSet()
  4800. {
  4801. GM_setValue("Icon_set", this.value * 1);
  4802. }
  4803. //
  4804. $('#showCustomRulesReference').click(function(e){
  4805. e.preventDefault();
  4806. $('#customRulesReference').toggle();
  4807. });
  4808. $('#Custom_rules_text')
  4809. .val(Custom_rules_text)
  4810. .change(saveCustomRules);
  4811. function saveCustomRules(e)
  4812. {
  4813. var cr = parseCustomRules(this.value);
  4814. if (cr.info.length)
  4815. 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, ' '));
  4816. GM_setValue('Custom_rules_text', this.value);
  4817. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4818. }
  4819. }
  4820.  
  4821. //begin standard link checking algorithm
  4822. function start(filterId)
  4823. {
  4824. var doNotLinkify = Do_not_linkify_DL_links;
  4825.  
  4826. // USER SELECTED FILE HOSTS INITIALIZATION START
  4827. var http_file_hosts = new Array(); //standard hostings
  4828. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4829. var http_file_hosts_obsolete = new Array(); //dead hostings
  4830. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4831.  
  4832. initFileHosts();
  4833. initFileHostsHeadersOnly();
  4834. initFileHostsCustom(); //CustomRules
  4835. // USER SELECTED FILE HOSTS INITIALIZATION END
  4836.  
  4837. // LINKIFICATION START
  4838. var totalxpath = '';
  4839. var totalxpathcoded = '';
  4840. var totalxpathobsolete = '';
  4841. var totalxpathheadersonly = '';
  4842. var totalourls = '';
  4843.  
  4844. var filehostLen = http_file_hosts.length;
  4845. var filehostCodedLen = http_file_hosts_coded.length;
  4846. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4847. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4848.  
  4849. var filehostIdx = filehostLen;
  4850. var filehostCodedIdx = filehostCodedLen;
  4851. var filehostObsoleteIdx = filehostObsoleteLen;
  4852. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4853.  
  4854. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4855. return;
  4856.  
  4857. while (filehostIdx--)
  4858. {
  4859. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4860. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4861. }
  4862.  
  4863. while (filehostCodedIdx--)
  4864. {
  4865. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4866. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4867. }
  4868.  
  4869. while (filehostObsoleteIdx--)
  4870. {
  4871. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4872. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4873. }
  4874.  
  4875. while (filehostHeadersOnlyIdx--)
  4876. {
  4877. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4878. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4879. }
  4880.  
  4881. totalourls = totalourls.replace(/\|$/g, "");
  4882. //TODO: further refactoring needed
  4883. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4884. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4885. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4886. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4887. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4888. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4889. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4890. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4891. if (filterId != null) //insert id restriction in the xpath
  4892. {
  4893. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4894. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4895. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4896. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4897. }
  4898. else
  4899. {
  4900. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4901. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4902. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4903. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4904. }
  4905. linkify(totalourls);
  4906. //LINKIFICATION END
  4907. //ENCRYPTED LINKS PROCESSING START
  4908. if (http_file_hosts_coded.length > 0)
  4909. {
  4910. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4911.  
  4912. // decrypt coded links (redirects, link protectors etc.)
  4913. if (linksCoded.snapshotLength > 0)
  4914. {
  4915. var link;
  4916. var reallinkreg;
  4917. var reallinkcorrection;
  4918.  
  4919. if (filterId == null)
  4920. {
  4921. cLinksTotal += linksCoded.snapshotLength;
  4922. }
  4923.  
  4924. var y = linksCoded.snapshotLength - 1;
  4925. do
  4926. {
  4927. // linksCoded.snapshotItem(y).id = 'processing_link';
  4928. link = linksCoded.snapshotItem(y);
  4929. filehostIdx = filehostCodedLen;
  4930. while (filehostIdx--)
  4931. {
  4932. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4933. {
  4934. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4935. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4936. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4937.  
  4938. decurl(link, reallinkreg, reallinkcorrection);
  4939. break;
  4940. }
  4941. }
  4942. }
  4943. while (y--);
  4944. }
  4945. }
  4946. //ENCRYPTED LINKS PROCESSING END
  4947.  
  4948. //STANDARD LINKCHECKING START
  4949. if (http_file_hosts.length > 0)
  4950. {
  4951. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4952.  
  4953. if (filterId == null)
  4954. {
  4955. cLinksTotal += lianks.snapshotLength;
  4956. }
  4957.  
  4958. if (lianks.snapshotLength > 0)
  4959. {
  4960. var link;
  4961.  
  4962. var URL = "";
  4963. var name = "";
  4964. var isAliveRegex = "";
  4965. var isDeadRegex = "";
  4966. var isUnavaRegex = "";
  4967. var ispremRegex = "";
  4968. var tryLoop = false;
  4969.  
  4970. var y = lianks.snapshotLength;
  4971.  
  4972. while (y--)
  4973. {
  4974. link = lianks.snapshotItem(y);
  4975.  
  4976. filehostIdx = filehostLen;
  4977. while (filehostIdx--)
  4978. {
  4979. if (link.href.match(http_file_hosts[filehostIdx][0]))
  4980. {
  4981. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  4982. isAliveRegex = http_file_hosts[filehostIdx][1];
  4983. isDeadRegex = http_file_hosts[filehostIdx][2];
  4984. isUnavaRegex = http_file_hosts[filehostIdx][3];
  4985. ispremRegex = http_file_hosts[filehostIdx][6];
  4986. tryLoop = http_file_hosts[filehostIdx][5];
  4987.  
  4988. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  4989.  
  4990. break;
  4991. }
  4992. }
  4993. }
  4994. }
  4995. }
  4996. //STANDARD LINKCHECKING END
  4997. //OBSOLETE FILE HOSTS PROCESSING START
  4998. if (filehostObsoleteLen > 0)
  4999. {
  5000. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5001.  
  5002. var obsoleteLink;
  5003.  
  5004. //check links
  5005. if (obsoletelinks.snapshotLength > 0)
  5006. {
  5007. var y = obsoletelinks.snapshotLength;
  5008.  
  5009. if (filterId == null)
  5010. {
  5011. cLinksTotal += y;
  5012. }
  5013.  
  5014. while (y--)
  5015. {
  5016. obsoleteLink = obsoletelinks.snapshotItem(y);
  5017.  
  5018. if (Display_tooltip_info)
  5019. {
  5020. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5021. }
  5022. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5023. }
  5024. }
  5025. }
  5026. //OBSOLETE FILE HOSTS PROCESSING END
  5027.  
  5028. //DIRECT LINKCHECKING START
  5029. if (http_file_hosts_headers_only.length > 0)
  5030. {
  5031. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5032.  
  5033. //check links
  5034. if (links.snapshotLength > 0)
  5035. {
  5036. var link;
  5037. var isAliveRegex;
  5038. var isDeadRegex;
  5039. var ispremRegex;
  5040.  
  5041. var y = links.snapshotLength;
  5042.  
  5043.  
  5044. if (filterId == null)
  5045. {
  5046. cLinksTotal += y;
  5047. }
  5048.  
  5049. while (y--)
  5050. {
  5051. // links.snapshotItem(y).id = 'processing_link';
  5052. link = links.snapshotItem(y);
  5053. filehostIdx = filehostHeadersOnlyLen;
  5054. while (filehostIdx--)
  5055. {
  5056. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5057. {
  5058. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5059. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5060. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5061. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5062.  
  5063. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5064.  
  5065. break;
  5066. }
  5067. }
  5068. }
  5069.  
  5070. }
  5071. }
  5072. //DIRECT LINKCHECKING END
  5073.  
  5074.  
  5075. //finds the real url on the page, replaces link.href with it and calls geturl
  5076. function decurl(link, reallinkreg, reallinkcorrection)
  5077. {
  5078.  
  5079. GM_xmlhttpRequest(
  5080. {
  5081. method: 'GET',
  5082. url: link.href,
  5083. headers: {
  5084. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5085. 'Accept': 'text/xml',
  5086. 'Referer': ""
  5087. },
  5088. onload: function (result)
  5089. {
  5090. // cLinksProcessed++;
  5091.  
  5092. var reallink = result.responseText.match(reallinkreg)[0];
  5093. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5094.  
  5095. link.href = reallink;
  5096.  
  5097. var i = http_file_hosts.length - 1;
  5098. do
  5099. {
  5100. if ((reallink.match(http_file_hosts[i][0])))
  5101. {
  5102. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5103. var isAliveRegex = http_file_hosts[i][1];
  5104. var isDeadRegex = http_file_hosts[i][2];
  5105. var isUnavaRegex = http_file_hosts[i][3];
  5106. var ispremRegex = http_file_hosts[i][4];
  5107.  
  5108. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5109.  
  5110. break;
  5111. }
  5112. }
  5113. while (i--);
  5114. }
  5115. });
  5116. }
  5117.  
  5118. function randUA()
  5119. {
  5120. //TODO
  5121. }
  5122. //Processes link
  5123. //
  5124. // [string] link link URL
  5125. // [string] isAliveRegex alive link regex
  5126. // [string] isDeadRegex dead link regex
  5127. // [string] isUnavaRegex unavailable link regex
  5128. // [string] ispremRegex premium link regex
  5129. // [boolean] tryLoop repeats request until succeeded
  5130. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5131. {
  5132. GM_xmlhttpRequest(
  5133. {
  5134. method: 'GET',
  5135. url: link.href,
  5136. headers: {
  5137. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5138. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5139. 'Referer': ""
  5140. },
  5141. onload: function (result)
  5142. {
  5143. var res = result.responseText;
  5144. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5145. {
  5146. displayTheCheckedLink(link, 'alive_link');
  5147. return;
  5148. }
  5149.  
  5150. if (res.match(isAliveRegex))
  5151. {
  5152. displayTheCheckedLink(link, 'alive_link');
  5153. return;
  5154. }
  5155.  
  5156. if (res.match(isDeadRegex))
  5157. {
  5158. displayTheCheckedLink(link, 'adead_link');
  5159. return;
  5160. }
  5161.  
  5162. if (isUnavaRegex && res.match(isUnavaRegex))
  5163. {
  5164. displayTheCheckedLink(link, 'unava_link');
  5165. return;
  5166. }
  5167. if (res.match(ispremRegex))
  5168. {
  5169. displayTheCheckedLink(link, 'prem_link');
  5170. return;
  5171. }
  5172.  
  5173. var resStatus = result.status;
  5174.  
  5175. if (resStatus == 404)
  5176. {
  5177. displayTheCheckedLink(link, 'adead_link');
  5178. }
  5179. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5180. {
  5181. if (tryLoop)
  5182. {
  5183. //wait 1-5 seconds and repeat the request
  5184. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5185. }
  5186. else
  5187. {
  5188. displayTheCheckedLink(link, 'unava_link');
  5189. }
  5190.  
  5191. return;
  5192. }
  5193. },
  5194. onerror: function ()
  5195. {
  5196. displayTheCheckedLink(link, 'unava_link');
  5197. }
  5198. });
  5199. }
  5200.  
  5201. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5202. {
  5203. GM_xmlhttpRequest(
  5204. {
  5205. method: 'HEAD',
  5206. url: link.href,
  5207. headers: {
  5208. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5209. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5210. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5211. 'Referer': ""
  5212. },
  5213. onload: function (result)
  5214. {
  5215. var resStatus = result.status;
  5216. var resHeaders = "";
  5217. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5218. {
  5219. displayTheCheckedLink(link, 'adead_link');
  5220. return;
  5221. }
  5222.  
  5223. resHeaders = result.responseHeaders;
  5224.  
  5225. if (resHeaders.match(isDeadRegex))
  5226. {
  5227. displayTheCheckedLink(link, 'adead_link');
  5228. return;
  5229. }
  5230.  
  5231. if (resHeaders.match(isAliveRegex))
  5232. {
  5233. displayTheCheckedLink(link, 'alive_link');
  5234. return;
  5235. }
  5236. if (resHeaders.match(ispremRegex))
  5237. {
  5238. displayTheCheckedLink(link, 'prem_link');
  5239. return;
  5240. }
  5241. },
  5242. onerror: function ()
  5243. {
  5244. displayTheCheckedLink(link, 'unava_link');
  5245. }
  5246. });
  5247. }
  5248.  
  5249. //Delinkfifies the <a> element object
  5250. function delinkifyLink(link)
  5251. {
  5252. var spanElm = document.createElement("span");
  5253. spanElm.className = link.className;
  5254. spanElm.innerHTML = link.innerHTML;
  5255.  
  5256. if (Display_tooltip_info)
  5257. {
  5258. spanElm.href = link.href;
  5259. spanElm.warlc_error = link.warlc_error;
  5260. switch (link.className){
  5261. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5262. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5263. case "unava_link": //reserved
  5264. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5265. default:
  5266. }
  5267. }
  5268. link.parentNode.replaceChild(spanElm, link);
  5269. }
  5270.  
  5271. //Assigns result status to the <a> element object and calls delinkifying eventually
  5272. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5273. function displayTheCheckedLink(link, resultStatus)
  5274. {
  5275. link.className = resultStatus;
  5276. link.href = Ref_anonymize_service + link.href;
  5277. if (Display_tooltip_info)
  5278. {
  5279. switch (resultStatus){
  5280. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5281. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5282. case "unava_link": //reserved
  5283. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5284. default:
  5285. }
  5286. }
  5287. if (doNotLinkify)
  5288. {
  5289. delinkifyLink(link);
  5290. }
  5291. cLinksProcessed++;
  5292.  
  5293. if (resultStatus == "alive_link")
  5294. {
  5295. cLinksAlive++;
  5296. return;
  5297. }
  5298.  
  5299. if (resultStatus == "adead_link")
  5300. {
  5301. cLinksDead++;
  5302. return;
  5303. }
  5304.  
  5305. if (resultStatus == "unava_link")
  5306. {
  5307. cLinksUnava++;
  5308. }
  5309. if (resultStatus == "prem_link")
  5310. {
  5311. cLinksprem++;
  5312. return;
  5313. }
  5314. }
  5315.  
  5316.  
  5317. function initFileHosts()
  5318. {
  5319.  
  5320. function addObsoleteHost(linkRegex, xpathEx)
  5321. {
  5322. var host = new Array(2);
  5323. host[0] = linkRegex;
  5324. host[1] = xpathEx;
  5325. http_file_hosts_obsolete.push(host);
  5326. }
  5327.  
  5328. //obsolete file hosts init start
  5329. if (Obsolete_file_hosts)
  5330. {
  5331. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5332. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5333. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5334. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5335. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5336. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5337. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5338. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5339. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5340. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5341. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5342. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5343. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5344. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5345. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5346. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5347. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5348. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5349. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5350. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5351. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5352. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5353. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5354. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5355. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5356. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5357. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5358. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5359. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5360. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5361. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5362. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5363. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5364. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5365. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5366. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5367. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5368. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5369. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5370. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5371. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5372. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5373. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5374. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5375. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5376. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5377. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5378. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5379. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5380. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5381. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5382. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5383. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5384. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5385. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5386. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5387. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5388. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5389. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5390. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5391. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5392. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5393. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5394. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5395. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5396. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5397. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5398. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5399. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5400. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5401. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5402. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5403. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5404. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5405. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5406. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5407. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5408. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5409. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5410. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5411. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5412. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5413. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5414. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5415. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5416. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5417. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5418. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5419. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5420. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5421. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5422. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5423. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5424. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5425. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5426. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5427. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5428. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5429. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5430. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5431. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5432. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5433. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5434. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5435. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5436. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5437. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5438. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5439. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5440. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5441. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5442. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5443. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5444. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5445. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5446. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5447. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5448. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5449. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5450. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5451. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5452. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5453. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5454. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5455. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5456. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5457. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5458. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5459. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5460. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5461. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5462. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5463. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5464. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5465. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5466. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5467. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5468. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5469. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5470. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5471. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5472. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5473. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5474. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5475. 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')]");
  5476. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5477. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5478. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5479. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5480. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5481. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5482. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5483. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5484. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5485. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5486. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5487. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5488. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5489. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5490. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5491. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5492. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5493. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5494. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5495. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5496. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5497. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5498. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5499. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5500. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5501. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5502. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5503. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5504. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5505. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5506. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5507. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5508. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5509. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5510. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5511. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5512. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5513. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5514. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5515. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5516. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5517. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5518. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5519. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5520. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5521. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5522. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5523. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5524. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5525. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5526. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5527. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5528. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5529. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5530. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5531. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5532. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5533. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5534. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5535. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5536. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5537. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5538. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5539. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5540. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5541. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5542. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5543. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5544. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5545. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5546. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5547. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5548. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5549. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5550. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5551. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5552. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5553. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5554. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5555. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5556. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5557. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5558. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5559. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5560. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5561. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5562. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5563. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5564. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5565. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5566. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5567. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5568. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5569. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5570. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5571. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5572. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5573. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5574. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5575. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5576. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5577. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5578. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5579. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5580. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5581. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5582. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5583. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5584. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5585. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5586. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5587. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5588. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5589. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5590. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5591. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5592. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5593. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5594. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5595. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5596. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5597. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5598. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5599. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5600. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5601. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5602. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5603. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5604. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5605. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5606. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5607. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5608. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5609. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5610. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5611. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5612. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5613. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5614. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5615. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5616. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5617. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5618. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5619. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5620. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5621. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5622. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5623. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5624. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5625. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5626. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5627. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5628. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5629. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5630. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5631. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5632. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5633. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5634. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5635. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5636. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5637. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5638. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5639. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5640. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5641. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5642. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5643. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5644. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5645. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5646. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5647. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5648. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5649. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5650. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5651. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5652. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5653. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5654. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5655. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5656. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5657. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5658. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5659. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5660. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5661. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5662. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5663. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5664. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5665. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5666. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5667. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5668. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5669. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5670. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5671. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5672. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5673. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5674. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5675. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5676. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5677. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5678. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5679. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5680. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5681. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5682. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5683. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5684. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5685. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5686. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5687. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5688. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5689. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5690. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5691. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5692. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5693. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5694. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5695. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5696. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5697. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5698. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5699. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5700. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5701. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5702. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5703. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5704. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5705. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5706. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5707. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5708. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5709. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5710. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5711. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5712. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5713. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5714. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5715. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5716. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5717. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5718. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5719. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5720. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5721. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5722. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5723. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5724. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5725. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5726. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5727. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5728. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5729. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5730. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5731. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5732. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5733. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5734. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5735. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5736. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5737. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5738. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5739. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5740. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5741. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5742. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5743. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5744. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5745. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5746. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5747. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5748. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5749. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5750. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5751. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5752. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5753. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5754. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5755. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5756. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5757. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5758. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5759. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5760. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5761. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5762. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5763. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5764. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5765. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5766. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5767. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5768. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5769. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5770. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5771. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5772. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5773. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5774. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5775. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5776. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5777. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5778. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5779. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5780. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5781. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5782. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5783. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5784. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5785. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5786. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5787. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5788. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5789. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5790. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5791. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5792. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5793. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5794. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5795. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5796. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5797. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5798. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5799. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5800. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5801. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5802. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5803. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5804. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5805. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5806. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5807. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5808. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5809. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5810. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5811. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5812. // obsolete start
  5813. }
  5814. //obsolete file hosts init end
  5815. //Add Host Example
  5816. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5817. {
  5818. addFileHost(
  5819. "datafile\.com\/\\w+",
  5820. 'var captchaPanel|<link href="/css/files_download.css"',
  5821. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5822. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5823. '<style type="text/css">',
  5824. "//a[contains(@href,'datafile.com')]",
  5825. true);
  5826. } */
  5827.  
  5828. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5829. {
  5830. var host = new Array(7);
  5831. host[0] = linkRegex;
  5832. host[1] = isAliveRegex;
  5833. host[2] = isDeadRegex;
  5834. host[3] = isUnavaRegex;
  5835. host[6] = ispremRegex;
  5836. host[4] = xpathEx;
  5837. tryLoop ? host[5] = true : host[5] = false;
  5838. http_file_hosts.push(host);
  5839. }
  5840. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5841. {
  5842. addFileHost(
  5843. "megafileupload\.com\/..\/file\/",
  5844. 'downloadbtn',
  5845. 'is not found',
  5846. 'optional--',
  5847. 'optional2--',
  5848. "//a[contains(@href,'megafileupload.com')]");
  5849. }
  5850. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5851. {
  5852. addFileHost(
  5853. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5854. 'download\\.gif"',
  5855. 'p_point">',
  5856. 'optional--',
  5857. 'optional2--',
  5858. "//a[contains(@href,'demo.ovh.eu')]");
  5859. }
  5860. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5861. {
  5862. addFileHost(
  5863. "xkeepfile\.com\/\\w+",
  5864. 'File has been found|Click here to download',
  5865. 'File cannot be found|class="error">',
  5866. 'optional--',
  5867. 'optional2--',
  5868. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5869. }
  5870. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5871. {
  5872. addFileHost(
  5873. "safelinking\\.net\/p\/\\w+",
  5874. 'color:green;"',
  5875. 'color:(?:red|orange);"',
  5876. 'color:(?:grey|brown);"',
  5877. 'optional2--',
  5878. "//a[contains(@href,'safelinking.net/p/')]",
  5879. true);
  5880. }
  5881. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5882. {
  5883. addFileHost(
  5884. "fastshare\\.cz\/\\d+\/\\w*",
  5885. 'dwntable">|speed-low',
  5886. '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',
  5887. 'optional--',
  5888. 'optional2--',
  5889. "//a[contains(@href,'fastshare.cz')]");
  5890. }
  5891. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5892. {
  5893. addFileHost(
  5894. "[fF]ast[sS]hare\\.org\/download",
  5895. 'Download ">',
  5896. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5897. 'optional--',
  5898. 'optional2--',
  5899. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5900. }
  5901. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5902. {
  5903. addFileHost(
  5904. "partage-facile\.com\/\\w+",
  5905. 'class="title"><strong>|colspan="2"',
  5906. 'Page introuvable|class="alert-message',
  5907. 'optional--',
  5908. 'optional2--',
  5909. "//a[contains(@href,'partage-facile.com')]");
  5910. }
  5911. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5912. {
  5913. addFileHost(
  5914. "rapidgator\\.net\/file\/\\w+",
  5915. '/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',
  5916. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5917. 'optional--',
  5918. 'can be downloaded by premium only|files up to 500 MB in free mode|files up to 1 GB in free mode',
  5919. "//a[contains(@href,'rapidgator.net/file')]",
  5920. true
  5921. );
  5922. }
  5923. if (GM_getValue("Check_relink_dot_us_links", false))
  5924. {
  5925. addFileHost(
  5926. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5927. 'online_detail\\.png" alt="Status',
  5928. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5929. 'unknown_detail\\.png" alt="Status',
  5930. 'optional2--',
  5931. "//a[contains(@href,'relink.us/')]"
  5932. );
  5933. }
  5934. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5935. {
  5936. addFileHost(
  5937. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5938. 'div id="dl"',
  5939. 'Sie haben den Link falsch',
  5940. 'optional--',
  5941. 'optional2--',
  5942. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5943. );
  5944. }
  5945. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5946. {
  5947. addFileHost(
  5948. "flyfiles\\.net\/\\w+",
  5949. 'download_button"|"Download file"',
  5950. 'File not found!|Файл не найден',
  5951. 'optional--',
  5952. 'optional2--',
  5953. "//a[contains(@href,'flyfiles.net/')]"
  5954. );
  5955. }
  5956. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5957. {
  5958. addFileHost(
  5959. "wikiupload\\.com\/\\w+",
  5960. 'download-button">',
  5961. 'Sorry, File not found',
  5962. 'optional--',
  5963. 'optional2--',
  5964. "//a[contains(@href,'wikiupload.com/')]"
  5965. );
  5966. }
  5967. if (GM_getValue("Check_hostuje_dot_net_links", false))
  5968. {
  5969. addFileHost(
  5970. "hostuje\\.net\/file\\.php\\?id=\\w+",
  5971. 'file\\.php">|Pobierz Plik',
  5972. 'Podany plik nie zosta',
  5973. 'optional--',
  5974. 'optional2--',
  5975. "//a[contains(@href,'hostuje.net/file')]"
  5976. );
  5977. }
  5978. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  5979. {
  5980. addFileHost(
  5981. "gettyfile\\.ru\/\\d+",
  5982. 'download\\.gif border',
  5983. '<center><font size="3">',
  5984. 'optional--',
  5985. 'optional2--',
  5986. "//a[contains(@href,'gettyfile.ru/')]"
  5987. );
  5988. }
  5989. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  5990. {
  5991. addFileHost(
  5992. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  5993. 'download\\-file">',
  5994. 'col-1">\\s*<h1>',
  5995. 'optional--',
  5996. 'optional2--',
  5997. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  5998. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  5999. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6000. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6001. );
  6002. }
  6003. if (GM_getValue("Check_data_dot_hu_links", false))
  6004. {
  6005. addFileHost(
  6006. "data\\.hu\/get\/\\d+\/",
  6007. 'download_box_button',
  6008. 'missing\\.php',
  6009. 'optional--',
  6010. 'optional2--',
  6011. "//a[contains(@href,'data.hu/get')]",
  6012. true
  6013. );
  6014. }
  6015. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6016. {
  6017. addFileHost(
  6018. "filesmelt\\.com\/dl\/\\w+",
  6019. '(Your download is ready|Download File)',
  6020. 'Sorry, but your',
  6021. 'optional--',
  6022. 'optional2--',
  6023. "//a[contains(@href,'filesmelt.com/dl')]"
  6024. );
  6025. }
  6026. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6027. {
  6028. addFileHost(
  6029. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6030. 'premiumBtn"',
  6031. 'errorMessage"',
  6032. 'optional--',
  6033. 'optional2--',
  6034. "//a[contains(@href,'indowebster.com/download')]"
  6035. );
  6036. }
  6037. if (GM_getValue("Check_superload_dot_cz_links", false))
  6038. {
  6039. addFileHost(
  6040. "superload\\.cz\/dl\/\\w+",
  6041. 'icon-download">',
  6042. 'soubor nebyl nalezen',
  6043. 'optional--',
  6044. 'optional2--',
  6045. "//a[contains(@href,'superload.cz/dl')]"
  6046. );
  6047. }
  6048. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6049. {
  6050. addFileHost(
  6051. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6052. 'op" value="download',
  6053. 'class="err">|width:500px;text-align:left;">',
  6054. 'optional--',
  6055. 'optional2--',
  6056. "//a[contains(@href,'hulkfile.')]"
  6057. );
  6058. }
  6059. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6060. {
  6061. addFileHost(
  6062. "easybytez\\.com\/\\w+",
  6063. 'op" value="download',
  6064. 'stop_error\\.gif',
  6065. 'optional--',
  6066. 'optional2--',
  6067. "//a[contains(@href,'easybytez.com/')]"
  6068. );
  6069. }
  6070. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6071. {
  6072. addFileHost(
  6073. "filestore\\.com\\.ua\/\\?d=\\w+",
  6074. 'tdrow1>',
  6075. 'class=warn',
  6076. 'optional--',
  6077. 'optional2--',
  6078. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6079. );
  6080. }
  6081. if (GM_getValue("Check_netkups_dot_com_links", false))
  6082. {
  6083. addFileHost(
  6084. "netkups\\.com\/\\?d=\\w+",
  6085. 'submit">Continue',
  6086. 'page">File not found|deleted due to inactivity',
  6087. 'optional--',
  6088. 'optional2--',
  6089. "//a[contains(@href,'netkups.com/?d=')]"
  6090. );
  6091. }
  6092. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6093. {
  6094. addFileHost(
  6095. "openfile\\.ru\/(?:video\/|)\\d+",
  6096. 'videobox_left">',
  6097. 'blog_title">|not found on this server',
  6098. 'optional--',
  6099. 'optional2--',
  6100. "//a[contains(@href,'openfile.ru/')]"
  6101. );
  6102. }
  6103. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6104. {
  6105. addFileHost(
  6106. "extmatrix\\.com\/files\/\\w+",
  6107. 'div class="success"',
  6108. 'div class="error"',
  6109. 'optional--',
  6110. 'optional2--',
  6111. "//a[contains(@href,'extmatrix.com/files')]"
  6112. );
  6113. }
  6114. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6115. {
  6116. addFileHost(
  6117. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6118. 'content_lnkDownload',
  6119. 'error\\.aspx\\?',
  6120. 'optional--',
  6121. 'optional2--',
  6122. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6123. );
  6124. }
  6125. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6126. {
  6127. addFileHost(
  6128. "yourfilestore\\.com\/download\/\\d+\/",
  6129. 'download_data">',
  6130. 'may have been deleted|<h1>Sorry!<\/h1>',
  6131. 'optional--',
  6132. 'optional2--',
  6133. "//a[contains(@href,'yourfilestore.com/download')]"
  6134. );
  6135. }
  6136. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6137. {
  6138. addFileHost(
  6139. "nekaka\\.com\/d\/[\\w-]+",
  6140. 'downloadForm">',
  6141. 'invalid file link',
  6142. 'optional--',
  6143. 'optional2--',
  6144. "//a[contains(@href,'nekaka.com/d')]"
  6145. );
  6146. }
  6147. if (GM_getValue("Check_filebig_dot_net_links", false))
  6148. {
  6149. addFileHost(
  6150. "filebig\\.net\/files\/\\w+",
  6151. 'downloadFile">',
  6152. '<p>File not found<\/p>',
  6153. 'optional--',
  6154. 'optional2--',
  6155. "//a[contains(@href,'filebig.net/files')]"
  6156. );
  6157. }
  6158. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6159. {
  6160. addFileHost(
  6161. "files\\.filefront\\.com\/\/;\\d+;;",
  6162. 'downloadLink">',
  6163. 'File not found, you',
  6164. 'optional--',
  6165. 'optional2--',
  6166. "//a[contains(@href,'files.filefront.com')]"
  6167. );
  6168.  
  6169. addFileHost(
  6170. "gamefront\\.com\/files\/\\d+",
  6171. 'downloadLink">',
  6172. 'File not found, you',
  6173. 'optional--',
  6174. 'optional2--',
  6175. "//a[contains(@href,'gamefront.com/files')]"
  6176. );
  6177. }
  6178. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6179. {
  6180. addFileHost(
  6181. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6182. 'dnlLnk"',
  6183. 'already been deleted',
  6184. 'optional--',
  6185. 'optional2--',
  6186. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6187. );
  6188. }
  6189. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6190. {
  6191. addFileHost(
  6192. "hellupload\\.com\/\\w+",
  6193. '<h3>Download File<br',
  6194. 'id="podstrona">|AVOID_IE_BUG',
  6195. 'optional--',
  6196. 'optional2--',
  6197. "//a[contains(@href,'hellupload.com/')]"
  6198. );
  6199. }
  6200. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6201. {
  6202. addFileHost(
  6203. "free\\-uploading\\.com\/\\w+",
  6204. 'op" value="download',
  6205. 'class="err">|width:500px;text-align:left;">',
  6206. 'optional--',
  6207. 'optional2--',
  6208. "//a[contains(@href,'free-uploading.com/')]"
  6209. );
  6210. }
  6211. if (GM_getValue("Check_fileape_dot_com_links", false))
  6212. {
  6213. addFileHost(
  6214. "fileape\\.com\/download\\-",
  6215. 'button_dl\\.png',
  6216. 'does not exist\\.',
  6217. 'optional--',
  6218. 'optional2--',
  6219. "//a[contains(@href,'fileape.com/')]"
  6220. );
  6221. }
  6222. if (GM_getValue("Check_uppit_dot_com_links", false))
  6223. {
  6224. addFileHost(
  6225. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6226. 'op" value="download',
  6227. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6228. 'optional--',
  6229. 'optional2--',
  6230. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6231. true
  6232. );
  6233. }
  6234. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6235. {
  6236. addFileHost(
  6237. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6238. 'op" value="download',
  6239. '>File Not Found<',
  6240. 'optional--',
  6241. 'optional2--',
  6242. "//a[contains(@href,'nosupload.com')]",
  6243. true
  6244. );
  6245. }
  6246. if (GM_getValue("Check_filesin_dot_com_links", false))
  6247. {
  6248. addFileHost(
  6249. "filesin\\.com\/\\w+\/download\\.html",
  6250. 'download_area">',
  6251. 'error_note">',
  6252. 'optional--',
  6253. 'optional2--',
  6254. "//a[contains(@href,'filesin.com/')]",
  6255. true
  6256. );
  6257. }
  6258. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6259. {
  6260. addFileHost(
  6261. "nowdownload\\.ch\/dl\/\\w+",
  6262. 'alert-success"',
  6263. 'This file does not exist!',
  6264. 'The file is being transfered',
  6265. 'optional2--',
  6266. "//a[contains(@href,'nowdownload.ch/dl')]"
  6267. );
  6268. }
  6269. if (GM_getValue("Check_axifile_dot_com_links", false))
  6270. {
  6271. addFileHost(
  6272. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6273. 'Dbutton_big"',
  6274. 'download\\-error\\.php',
  6275. 'optional--',
  6276. 'optional2--',
  6277. "//a[contains(@href,'axifile.com/')]"
  6278. );
  6279. }
  6280. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6281. {
  6282. addFileHost(
  6283. "hulkshare\.com\/\\w+",
  6284. 'download\.sam\.png|This is a private file|id="filename',
  6285. 'File does not exist|fingerprint protected copyright',
  6286. 'optional--',
  6287. 'optional2--',
  6288. "//a[contains(@href,'hulkshare.com')]"
  6289. );
  6290. }
  6291. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6292. {
  6293. addFileHost(
  6294. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6295. 'col-1">\\s*<s',
  6296. 'col-1">\\s*<h',
  6297. 'optional--',
  6298. 'optional2--',
  6299. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6300. );
  6301. }
  6302. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6303. {
  6304. addFileHost(
  6305. "turbobit\\.(?:net|pl)",
  6306. 'id="download-gate-info',
  6307. 'afterWait()|no files in this folder',
  6308. 'optional--',
  6309. 'optional2--',
  6310. "//a[contains(@href,'turbobit.net')]"
  6311. );
  6312. }
  6313. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6314. {
  6315. addFileHost(
  6316. "hitfile\\.net\/download\/folder\/\\d+",
  6317. 'content">\\s*<s',
  6318. 'content">\\s*<h',
  6319. 'optional--',
  6320. 'optional2--',
  6321. "//a[contains(@href,'hitfile.net/download/folder')]"
  6322. );
  6323. }
  6324. if (GM_getValue("Check_movshare_dot_net_links", false))
  6325. {
  6326. addFileHost(
  6327. "movshare\\.net\\/video\\/\\w+",
  6328. 'optional--"',
  6329. 'no longer exists',
  6330. 'optional--',
  6331. 'optional2--',
  6332. "//a[contains(@href,'movshare.net/video')]"
  6333. );
  6334. }
  6335. if (GM_getValue("Check_plunder_dot_com_links", false))
  6336. {
  6337. addFileHost(
  6338. "plunder\.com\/\\w+",
  6339. 'x\/download\\.gif',
  6340. '404 - File or directory not found.',
  6341. 'optional--',
  6342. 'optional2--',
  6343. "//a[contains(@href,'plunder.com')]"
  6344. );
  6345. }
  6346. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6347. {
  6348. addFileHost(
  6349. "mafiastorage\\.com\/\\w+",
  6350. 'op" value="download',
  6351. 'class="err">|style="width:500px;text-align:left;"',
  6352. 'optional--',
  6353. 'optional2--',
  6354. "//a[contains(@href,'mafiastorage.com/')]"
  6355. );
  6356. }
  6357. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6358. {
  6359. addFileHost(
  6360. "uploadspace\.pl\/plik\\w+",
  6361. 'Downloading .+? \\|',
  6362. 'Downloading a file',
  6363. 'optional--',
  6364. 'optional2--',
  6365. "//a[contains(@href,'uploadspace.pl/plik')]"
  6366. );
  6367. }
  6368. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6369. {
  6370. addFileHost(
  6371. "uploadingit\\.com\/file\/\\w+",
  6372. 'downloadTitle">',
  6373. 'deleteContent">',
  6374. 'optional--',
  6375. 'optional2--',
  6376. "//a[contains(@href,'uploadingit.com/file')]"
  6377. );
  6378. }
  6379. if (GM_getValue("Check_rghost_dot_net_links", false))
  6380. {
  6381. addFileHost(
  6382. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6383. 'download_link|btn large download',
  6384. 'file is restricted|File is deleted|503 Service Unavailable',
  6385. 'optional--',
  6386. 'optional2--',
  6387. "//a[contains(@href,'rghost.')]"
  6388. );
  6389. }
  6390. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6391. {
  6392. addFileHost(
  6393. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6394. '">Staženo:\\s*<\/span>',
  6395. 'Soubor, který hledáte nenalezen',
  6396. 'optional--',
  6397. 'optional2--',
  6398. "//a[contains(@href,'xdisk.cz/')]"
  6399. );
  6400. }
  6401. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6402. {
  6403. addFileHost(
  6404. "expressleech\.com\/\\w+",
  6405. 'src="/img/Download.gif"|var _gaq =',
  6406. 'var rr =|403 Forbidden',
  6407. 'optional--',
  6408. 'optional2--',
  6409. "//a[contains(@href,'expressleech.com')]");
  6410. }
  6411. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6412. {
  6413. addFileHost(
  6414. "2downloadz\.com\/\\w+",
  6415. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6416. 'color="#006DCC|File error',
  6417. 'optional--',
  6418. 'optional2--',
  6419. "//a[contains(@href,'2downloadz.com')]");
  6420. }
  6421. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6422. {
  6423. addFileHost(
  6424. "mightyupload\.com\/\\w+",
  6425. 'background:#ccc;text-align|CONTENT="Download File"',
  6426. 'style="background:#eee|var rr =|File Not Found',
  6427. 'error-code">1010',
  6428. 'optional2--',
  6429. "//a[contains(@href,'mightyupload.com')]");
  6430. }
  6431. if (GM_getValue("Check_anysend_dot_com_links", false))
  6432. {
  6433. addFileHost(
  6434. "anysend\.com\/\\w+",
  6435. 'var openCalled=false;|content="noindex"',
  6436. '_trackPageview',
  6437. 'optional--',
  6438. 'optional2--',
  6439. "//a[contains(@href,'anysend.com')]");
  6440. }
  6441. if (GM_getValue("Check_datafile_dot_com_links", false))
  6442. {
  6443. addFileHost(
  6444. "datafile\.com\/\\w+",
  6445. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6446. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6447. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6448. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">', //<style type="text/css">
  6449. "//a[contains(@href,'datafile.com')]",
  6450. true);
  6451. }
  6452. if (GM_getValue("Check_upstore_dot_net_links", false))
  6453. {
  6454. addFileHost(
  6455. "upstore\.net\/\\w+",
  6456. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6457. 'File not found|onload="redirect|class="error">',
  6458. 'optional--',
  6459. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6460. "//a[contains(@href,'upstore.net')]");
  6461. }
  6462. if (GM_getValue("Check_upsto_dot_re_links", false))
  6463. {
  6464. addFileHost(
  6465. "upsto\.re\/\\w+",
  6466. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6467. 'File not found|onload="redirect|class="error">',
  6468. 'optional--',
  6469. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6470. "//a[contains(@href,'upsto.re')]");
  6471. }
  6472. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6473. {
  6474. addFileHost(
  6475. "speedy\.sh\/\\w+",
  6476. 'bgcolor=#eeeeee|class="addthis',
  6477. 'File not found|downloadfilenamenotfound>',
  6478. 'optional--',
  6479. 'optional2--',
  6480. "//a[contains(@href,'speedy.sh')]");
  6481. }
  6482. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6483. {
  6484. addFileHost(
  6485. "sanshare\.com\/\\w+",
  6486. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6487. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6488. 'optional--',
  6489. 'optional2--',
  6490. "//a[contains(@href,'sanshare.com')]");
  6491. }
  6492. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6493. {
  6494. addFileHost(
  6495. "kingfiles\.net\/\\w+",
  6496. 'method_free',
  6497. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6498. 'optional--',
  6499. 'optional2--',
  6500. "//a[contains(@href,'kingfiles.net')]");
  6501. }
  6502. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6503. {
  6504. addFileHost(
  6505. "uploadhero\\.co\/dl\/\\w+",
  6506. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6507. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6508. 'optional--',
  6509. 'optional2--',
  6510. "//a[contains(@href,'uploadhero.co/dl')]"
  6511. );
  6512. } */
  6513. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6514. {
  6515. addFileHost(
  6516. "secureupload\\.eu\/\\w+",
  6517. 'Downloading',
  6518. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6519. 'optional--',
  6520. 'optional2--',
  6521. "//a[contains(@href,'secureupload.eu')]"
  6522. );
  6523. }
  6524. if (GM_getValue("Check_ge_dot_tt_links", false))
  6525. {
  6526. addFileHost(
  6527. "ge\.tt\/\\w+",
  6528. 'downloads pic',
  6529. 'is NOT the same as',
  6530. 'optional--',
  6531. 'optional2--',
  6532. "//a[contains(@href,'ge.tt')]");
  6533. }
  6534. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6535. {
  6536. addFileHost(
  6537. "filefactory\.com\/\\w+",
  6538. 'div id="file_holder"|download.css',
  6539. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6540. 'Server Maintenance|temporarily overloaded',
  6541. 'optional2--',
  6542. "//a[contains(@href,'filefactory.com')]");
  6543. }
  6544. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6545. {
  6546. addFileHost(
  6547. "filesflash\.net\/\\w+",
  6548. 'align:right">Filename:',
  6549. 'class="msg">',
  6550. 'optional--',
  6551. 'optional2--',
  6552. "//a[contains(@href,'filesflash.net')]");
  6553. }
  6554. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6555. {
  6556. addFileHost(
  6557. "rapidgator\\.net\/folder\/\\w+",
  6558. 'href="/folder/',
  6559. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6560. 'optional--',
  6561. 'optional2--',
  6562. "//a[contains(@href,'rapidgator.net/folder')]",
  6563. true
  6564. );
  6565. }
  6566. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6567. {
  6568. addFileHost(
  6569. "salefiles\.com\/\\w+",
  6570. 'name="method_free',
  6571. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6572. 'optional--',
  6573. 'optional2--',
  6574. "//a[contains(@href,'salefiles.com')]");
  6575. }
  6576. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6577. {
  6578. addFileHost(
  6579. "megairon\.net\/\\w+",
  6580. 'border: 5px #ffeb90 solid;',
  6581. 'CONTENT="Download File ">|var rr =',
  6582. 'error-code">523',
  6583. 'optional2--',
  6584. "//a[contains(@href,'megairon.net')]",
  6585. true);
  6586. } */
  6587. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6588. {
  6589. addFileHost(
  6590. "datoid\.cz\/\\w+",
  6591. 'btn-download|class="icon-download-large"',
  6592. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6593. 'optional--',
  6594. 'optional2--',
  6595. "//a[contains(@href,'datoid.cz')]");
  6596. }
  6597. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6598. {
  6599. addFileHost(
  6600. "stiahni\.si\/\\w+",
  6601. 'report_icon.png"|slow-download-button',
  6602. 'none.png|deleted|<h2>Error 500</h2>',
  6603. 'optional--',
  6604. 'optional2--',
  6605. "//a[contains(@href,'stiahni.si')]");
  6606. }
  6607. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6608. {
  6609. addFileHost(
  6610. "cloudstor\.es\/\\w+",
  6611. '"btn_download"',
  6612. '404: Page Not Found',
  6613. 'optional--',
  6614. 'optional2--',
  6615. "//a[contains(@href,'cloudstor.es')]");
  6616. }
  6617. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6618. {
  6619. addFileHost(
  6620. "streamfile\.com\/\\w+",
  6621. 'class="btn',
  6622. 'class="green-btn',
  6623. 'optional--',
  6624. 'optional2--',
  6625. "//a[contains(@href,'streamfile.com')]");
  6626. }
  6627. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6628. {
  6629. addFileHost(
  6630. "eyesfile\.ca\/\\w+",
  6631. 'value="Get Link',
  6632. 'var rr =',
  6633. 'optional--',
  6634. 'optional2--',
  6635. "//a[contains(@href,'eyesfile.ca')]");
  6636. }
  6637. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6638. {
  6639. addFileHost(
  6640. "filemoney\.com\/\\w+",
  6641. 'og:title',
  6642. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6643. 'error-code">1010',
  6644. 'optional2--',
  6645. "//a[contains(@href,'filemoney.com')]");
  6646. }
  6647. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6648. {
  6649. addFileHost(
  6650. "uploadboy\.com\/\\w+",
  6651. 'width="740">|method_free',
  6652. 'var rr =|background:#ffffff|not be found|file was removed',
  6653. 'optional--',
  6654. 'optional2--',
  6655. "//a[contains(@href,'uploadboy.com')]");
  6656. }
  6657. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6658. {
  6659. addFileHost(
  6660. "speedshare\.eu\/\\w+",
  6661. 'favicon.png|color:#3d87c0|cross.png"',
  6662. 'var rr =|File Not Found|style="background:#eee',
  6663. 'optional--',
  6664. 'optional2--',
  6665. "//a[contains(@href,'speedshare.eu')]");
  6666. }
  6667. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6668. {
  6669. addFileHost(
  6670. "unlimitzone\.com\/\\w+",
  6671. 'name="method_free',
  6672. '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',
  6673. 'optional--',
  6674. 'optional2--',
  6675. "//a[contains(@href,'unlimitzone.com')]");
  6676. }
  6677. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6678. {
  6679. addFileHost(
  6680. "rioupload\.com\/\\w+",
  6681. 'sell.jpg',
  6682. 'var rr =',
  6683. 'optional--',
  6684. 'optional2--',
  6685. "//a[contains(@href,'rioupload.com')]");
  6686. }
  6687. if (GM_getValue("Check_rg_dot_to_links", false))
  6688. {
  6689. addFileHost(
  6690. "rg\.to\/\\w+",
  6691. '/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',
  6692. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6693. 'optional--',
  6694. 'can be downloaded by premium only|files up to 500 MB in free mode',
  6695. "//a[contains(@href,'rg.to')]");
  6696. }
  6697. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6698. {
  6699. addFileHost(
  6700. "jumbofiles\.org\/\\w+",
  6701. 'H71C5.png|class="downloadtitle">',
  6702. 'var swfu|ViewSourceBIN.png',
  6703. 'optional--',
  6704. 'optional2--',
  6705. "//a[contains(@href,'jumbofiles.org')]");
  6706. }
  6707. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6708. {
  6709. addFileHost(
  6710. "fshare\\.vn\/file\/\\w+",
  6711. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6712. 'không tồn tại|class="color_red m_t_50"',
  6713. 'optional--',
  6714. 'optional2--',
  6715. "//a[contains(@href,'fshare.vn/file')]",
  6716. true
  6717. );
  6718. }
  6719. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6720. {
  6721. addFileHost(
  6722. "spaceforfiles\.com\/\\w+",
  6723. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6724. 'var rr =|AVOID_IE_BUG',
  6725. 'optional--',
  6726. 'optional2--',
  6727. "//a[contains(@href,'spaceforfiles.com')]");
  6728. }
  6729. if (GM_getValue("Check_google_dot_com_links", false))
  6730. {
  6731. addFileHost(
  6732. "google\\.com\/file\/\\w+",
  6733. 'content="!">|color:#2d2d2d',
  6734. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6735. 'optional--',
  6736. 'optional2--',
  6737. "//a[contains(@href,'google.com/file')]",
  6738. true
  6739. );
  6740. }
  6741. if (GM_getValue("Check_google_dot_com_links", false))
  6742. {
  6743. addFileHost(
  6744. "docs.google.com\/\\w+",
  6745. 'content="!">|color:#2d2d2d',
  6746. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6747. 'optional--',
  6748. 'optional2--',
  6749. "//a[contains(@href,'docs.google.com')]",
  6750. true
  6751. );
  6752. }
  6753. if (GM_getValue("Check_google_dot_com_links", false))
  6754. {
  6755. addFileHost(
  6756. "drive.google.com\/\\w+",
  6757. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6758. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6759. 'optional--',
  6760. 'optional2--',
  6761. "//a[contains(@href,'drive.google.com')]",
  6762. true
  6763. );
  6764. }
  6765. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6766. {
  6767. addFileHost(
  6768. "up.media1fire\.com\/\\w+",
  6769. 'class="addthis_|value="download',
  6770. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6771. 'optional--',
  6772. 'optional2--',
  6773. "//a[contains(@href,'up.media1fire.com')]");
  6774. }
  6775. if (GM_getValue("Check_depfile_dot_com_links", false))
  6776. {
  6777. addFileHost(
  6778. "depfile\.com\/\\w+",
  6779. 'logo_0.png|downloads.gif"|verifycode',
  6780. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6781. 'optional--',
  6782. 'available only for Premium users',
  6783. "//a[contains(@href,'depfile.com')]");
  6784. }
  6785. if (GM_getValue("Check_go4up_dot_com_links", false))
  6786. {
  6787. addFileHost(
  6788. "go4up\.com\/\\w+",
  6789. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6790. '<title>GO4UP|dmca',
  6791. 'optional--',
  6792. 'optional2--',
  6793. "//a[contains(@href,'go4up.com')]");
  6794. }
  6795. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6796. {
  6797. addFileHost(
  6798. "redbunker\.net\/\\w+",
  6799. 'name="method_free"',
  6800. 'color="red">Unknow / Bilinmiyor<',
  6801. 'optional--',
  6802. 'optional2--',
  6803. "//a[contains(@href,'redbunker.net')]");
  6804. }
  6805. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6806. {
  6807. addFileHost(
  6808. "divxpress\.com\/\\w+",
  6809. 'btn_download|logo.png"',
  6810. 'AVOID_IE_BUG|var rr =',
  6811. 'optional--',
  6812. 'optional2--',
  6813. "//a[contains(@href,'divxpress.com')]");
  6814. }
  6815. if (GM_getValue("Check_anafile_dot_com_links", false))
  6816. {
  6817. addFileHost(
  6818. "anafile\.com\/\\w+",
  6819. 'width="881" valign="top|color="#800080"|name="go"',
  6820. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6821. 'optional--',
  6822. 'optional2--',
  6823. "//a[contains(@href,'anafile.com')]");
  6824. }
  6825. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6826. {
  6827. addFileHost(
  6828. "uploadable\\.ch\/file\/\\w+",
  6829. 'captcha.js"|payment.js"|class="btn_download"',
  6830. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6831. 'optional--',
  6832. 'optional2--',
  6833. "//a[contains(@href,'uploadable.ch/file')]",
  6834. true
  6835. );
  6836. }
  6837. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6838. {
  6839. addFileHost(
  6840. "arabloads\.net\/\\w+",
  6841. 'name="method_free"|name="method_premium"',
  6842. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6843. 'optional--',
  6844. 'optional2--',
  6845. "//a[contains(@href,'arabloads.net')]");
  6846. }
  6847. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6848. {
  6849. addFileHost(
  6850. "sharerepo\.com\/\\w+",
  6851. 'name="method_free"',
  6852. 'var public_on=|The file you were looking for could not be found',
  6853. 'optional--',
  6854. 'optional2--',
  6855. "//a[contains(@href,'sharerepo.com')]");
  6856. }
  6857. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6858. {
  6859. addFileHost(
  6860. "sfshare\.se\/\\w+",
  6861. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6862. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6863. 'optional--',
  6864. 'optional2--',
  6865. "//a[contains(@href,'sfshare.se')]");
  6866. }
  6867. if (GM_getValue("Check_files_dot_fm_links", false))
  6868. {
  6869. addFileHost(
  6870. "files\.fm\/\\w+",
  6871. 'dl.png"|background-color: transparent',
  6872. 'margin: 40px 40px|background: none;',
  6873. 'optional--',
  6874. 'optional2--',
  6875. "//a[contains(@href,'files.fm')]");
  6876. }
  6877. if (GM_getValue("Check_koofile_dot_com_links", false))
  6878. {
  6879. addFileHost(
  6880. "koofile\.com\/\\w+",
  6881. 'value="download1">|name="method_free"',
  6882. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6883. 'optional--',
  6884. 'optional2--',
  6885. "//a[contains(@href,'koofile.com')]");
  6886. }
  6887. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6888. {
  6889. addFileHost(
  6890. "vidxden\\.com\/\\w+",
  6891. 'Continue to Video"',
  6892. 'No such file',
  6893. 'optional--',
  6894. 'optional2--',
  6895. "//a[contains(@href,'vidxden.com')]"
  6896. );
  6897. }
  6898. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6899. {
  6900. addFileHost(
  6901. "muchshare\\.net\/\\w+",
  6902. 'id="btn_download"',
  6903. 'File Not Found|width: 500px; text-align: left;',
  6904. 'optional--',
  6905. 'optional2--',
  6906. "//a[contains(@href,'muchshare.net')]"
  6907. );
  6908. }
  6909. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6910. {
  6911. addFileHost(
  6912. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6913. 'Details zur Datei|Details page',
  6914. 'Jetzt hochladen|upload now',
  6915. 'optional--',
  6916. 'optional2--',
  6917. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6918. );
  6919. }
  6920. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6921. {
  6922. addFileHost(
  6923. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6924. 'downloadbtn"',
  6925. 'DL_FileNotFound',
  6926. 'optional--',
  6927. 'optional2--',
  6928. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6929. );
  6930. }
  6931. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6932. {
  6933. addFileHost(
  6934. "fileflyer\.com\/view\/\\w+",
  6935. '(?:dwl|locked)btn"',
  6936. 'error.gif"|link">Removed|removedlink">',
  6937. 'optional--',
  6938. 'optional2--',
  6939. "//a[contains(@href,'fileflyer.com')]"
  6940. );
  6941. }
  6942. if (GM_getValue("Check_filestore_dot_to_links", false))
  6943. {
  6944. addFileHost(
  6945. "filestore\.to\/\\?d=\\w+",
  6946. '"downloading"',
  6947. 'Datei wurde nicht gefunden',
  6948. 'optional--',
  6949. 'optional2--',
  6950. "//a[contains(@href,'filestore.to')]"
  6951. );
  6952. }
  6953. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6954. {
  6955. addFileHost(
  6956. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6957. 'fz24">Download|class="pl15">',
  6958. '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',
  6959. 'optional--',
  6960. 'optional2--',
  6961. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  6962. );
  6963. }
  6964. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  6965. {
  6966. addFileHost(
  6967. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  6968. 'File size:',
  6969. 'file is not found',
  6970. 'optional--',
  6971. 'optional2--',
  6972. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  6973. );
  6974. } */
  6975. if (GM_getValue("Check_datei_dot_to_links", false))
  6976. {
  6977. addFileHost(
  6978. "datei\\.to\/\\??\\w+",
  6979. 'icon_downloaden\\.png|>Download starten<',
  6980. 'Datei wurde nicht gefunden|icon_deleted.png',
  6981. 'optional--',
  6982. 'optional2--',
  6983. "//a[contains(@href,'datei.to')]"
  6984. );
  6985. }
  6986. if (GM_getValue("Check_yunfile_dot_com_links", false))
  6987. {
  6988. addFileHost(
  6989. "(?:yunfile|filemarkets)\\.com\/\\w+",
  6990. '<body class="body" id="body">|value="Slow Download"',
  6991. '<body class="body" >',
  6992. 'optional--',
  6993. 'optional2--',
  6994. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  6995. );
  6996. }
  6997. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  6998. {
  6999. addFileHost(
  7000. "uploadhero\\.com\/dl\/\\w+",
  7001. 'content-dl">',
  7002. 'men_file_lost\\.jpg"',
  7003. 'optional--',
  7004. 'optional2--',
  7005. "//a[contains(@href,'uploadhero.com/dl')]"
  7006. );
  7007. } */
  7008. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7009. {
  7010. addFileHost(
  7011. "unibytes\\.com\/[\\w\.]+",
  7012. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7013. 'File not found|Файл не найден|',
  7014. 'optional--',
  7015. 'optional2--',
  7016. "//a[contains(@href,'unibytes.com')]"
  7017. );
  7018. }
  7019. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7020. {
  7021. addFileHost(
  7022. "www\\.hellshare\\.com\/\\d+",
  7023. 'tab\\-details"',
  7024. 'list-purp-2"|not found on this server',
  7025. 'optional--',
  7026. 'optional2--',
  7027. "//a[contains(@href,'www.hellshare.com')]"
  7028. );
  7029. }
  7030. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7031. {
  7032. addFileHost(
  7033. "quickshare\\.cz\/slozka-\\d+",
  7034. 'Počet souborů: <strong>[1-9]',
  7035. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7036. 'optional--',
  7037. 'optional2--',
  7038. "//a[contains(@href,'quickshare.cz/slozka')]"
  7039. );
  7040. } */
  7041. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7042. {
  7043. addFileHost(
  7044. "filefactory\\.com\/f\/\\w+",
  7045. 'folderFileList">',
  7046. 'table class="items"|Pointer" class="red">',
  7047. 'optional--',
  7048. 'optional2--',
  7049. "//a[contains(@href,'filefactory.com/f/')]"
  7050. );
  7051. }
  7052. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7053. {
  7054. addFileHost(
  7055. "netfolder\\.in\/\\w+",
  7056. 'list" value="http',
  7057. 'InPage_Error">|list" value=""',
  7058. 'optional--',
  7059. 'optional2--',
  7060. "//a[contains(@href,'netfolder.in')]"
  7061. );
  7062. } */
  7063. if (GM_getValue("Check_load_dot_to_links", false))
  7064. {
  7065. addFileHost(
  7066. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7067. '"download_table_left">Size',
  7068. 'Can\'t find file',
  7069. 'optional--',
  7070. 'optional2--',
  7071. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7072. );
  7073. }
  7074. if (GM_getValue("Check_divshare_dot_com_links", false))
  7075. {
  7076. addFileHost(
  7077. "divshare\\.com\/download\/",
  7078. 'download_new\.png',
  7079. 'have been removed',
  7080. 'optional--',
  7081. 'optional2--',
  7082. "//a[contains(@href,'divshare.com')]"
  7083. );
  7084. }
  7085. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7086. {
  7087. addFileHost(
  7088. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\d+",
  7089. 'nazev-souboru">',
  7090. '<div id="obsah">\\s*<h1>',
  7091. 'optional--',
  7092. 'optional2--',
  7093. "//a[contains(@href,'euroshare.eu/file')]"
  7094. );
  7095. }
  7096. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7097. {
  7098. addFileHost(
  7099. 'files\\.mail\\.ru/(?:\\w*)',
  7100. 'fileList',
  7101. 'errorMessage',
  7102. 'optional--',
  7103. 'optional2--',
  7104. "//a[contains(@href,'files.mail.ru')]"
  7105. );
  7106. }
  7107. if (GM_getValue("Check_megashares_dot_com_links", false))
  7108. {
  7109. addFileHost(
  7110. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7111. 'Filesize',
  7112. 'Invalid|deleted|Could not download file',
  7113. 'slots|scheduled maintenance',
  7114. 'optional2--',
  7115. "//a[contains(@href,'megashares.com/')]"
  7116. );
  7117. }
  7118. if (GM_getValue("Check_narod_dot_ru_links", false))
  7119. {
  7120. addFileHost(
  7121. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7122. 'b-submit',
  7123. 'b-download-virus-note|headCode">404<',
  7124. 'Внутренняя ошибка сервиса',
  7125. 'optional2--',
  7126. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7127. );
  7128. }
  7129. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7130. {
  7131. addFileHost(
  7132. "rayfile\\.com\/",
  7133. 'FILEtitleTXT',
  7134. 'blueRow',
  7135. 'optional--',
  7136. 'optional2--',
  7137. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7138. );
  7139. }
  7140. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7141. {
  7142. addFileHost(
  7143. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7144. 'button_green_body"',
  7145. 'error">',
  7146. 'optional--',
  7147. 'optional2--',
  7148. "//a[contains(@href,'filesmonster.com/download')]"
  7149. );
  7150. }
  7151. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7152. {
  7153. addFileHost(
  7154. 'usaupload\\.net\/d\/(?:\w*)',
  7155. '<strong>File size:</strong>',
  7156. 'is not available',
  7157. 'optional--',
  7158. 'optional2--',
  7159. "//a[contains(@href,'usaupload.net/d/')]"
  7160. );
  7161. }
  7162. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7163. {
  7164. addFileHost(
  7165. 'sendspace\\.com\/file\/\\w+',
  7166. 'file_description',
  7167. 'msg error"',
  7168. 'optional--',
  7169. 'optional2--',
  7170. "//a[contains(@href,'sendspace.com/file')]"
  7171. );
  7172. }
  7173. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7174. {
  7175. addFileHost(
  7176. 'sendspace\\.pl\/file\/\\w+',
  7177. 'download_file"',
  7178. 'Podany plik nie',
  7179. 'optional--',
  7180. 'optional2--',
  7181. "//a[contains(@href,'sendspace.pl/file')]"
  7182. );
  7183. }
  7184. if (GM_getValue("Check_uploading_dot_com_links", false))
  7185. {
  7186. addFileHost(
  7187. 'uploading\\.com\/(?:files\/)?\\w+',
  7188. 'free_method">',
  7189. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7190. 'optional--',
  7191. 'optional2--',
  7192. "//a[contains(@href,'uploading.com')]"
  7193. );
  7194. }
  7195. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7196. {
  7197. addFileHost(
  7198. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7199. 'fileId"',
  7200. 'error">',
  7201. 'optional--',
  7202. 'optional2--',
  7203. "//a[contains(@href,'gigasize.com/get')]"
  7204. );
  7205. }
  7206. if (GM_getValue("Check_good_dot_com_links", false))
  7207. {
  7208. addFileHost(
  7209. 'good\\.net\/(?:_|dl)',
  7210. 'Free Download',
  7211. 'Not Found',
  7212. 'Forbidden',
  7213. 'optional2--',
  7214. "//a[contains(@href,'good.net')]"
  7215. );
  7216. }
  7217. if (GM_getValue("Check_2shared_dot_com_links", false))
  7218. {
  7219. addFileHost(
  7220. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7221. 'File size',
  7222. 'File not found|is not valid|/images/important.gif',
  7223. 'optional--',
  7224. 'optional2--',
  7225. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7226. );
  7227. }
  7228. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7229. {
  7230. addFileHost(
  7231. 'turboupload\\.com\/\\w*',
  7232. 'You have requested',
  7233. 'File Not Found',
  7234. 'optional--',
  7235. 'optional2--',
  7236. "//a[contains(@href,'turboupload.com')]"
  7237. );
  7238. }
  7239. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7240. {
  7241. addFileHost(
  7242. 'gigapeta\\.com\/dl\/',
  7243. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7244. '404|page_error',
  7245. 'optional--',
  7246. 'optional2--',
  7247. "//a[contains(@href,'gigapeta.com/dl')]"
  7248. );
  7249. }
  7250. if (GM_getValue("Check_veehd_dot_com_links", false))
  7251. {
  7252. addFileHost(
  7253. 'veehd\.com\/video\/.*?',
  7254. 'No sound|Download video',
  7255. 'Featured Videos',
  7256. 'optional--',
  7257. 'optional2--',
  7258. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7259. );
  7260. }
  7261. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7262. {
  7263. addFileHost(
  7264. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7265. 'fast_download_form">|submit_sms_download',
  7266. '<p style="text-align:center">',
  7267. 'optional--',
  7268. 'optional2--',
  7269. "//a[contains(@href,'vip-file.com/download')]"
  7270. );
  7271. }
  7272. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7273. {
  7274. addFileHost(
  7275. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7276. 'download\\-pnl ',
  7277. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7278. 'optional--',
  7279. 'optional2--',
  7280. "//a[contains(@href,'letitbit.net/download')]"
  7281. );
  7282. }
  7283. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7284. {
  7285. addFileHost(
  7286. 'ifolder\.ru\/\\d+',
  7287. 'file-info',
  7288. 'ui-state-error',
  7289. 'optional--',
  7290. 'optional2--',
  7291. "//a[contains(@href,'ifolder.ru')]"
  7292. );
  7293. }
  7294. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7295. {
  7296. addFileHost(
  7297. 'fileswap\\.com\/dl\/\\w+',
  7298. 'bttnDownloadLink"',
  7299. 'rounded_block_error"',
  7300. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7301. 'optional2--',
  7302. "//a[contains(@href,'fileswap.com/dl')]"
  7303. );
  7304. }
  7305. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7306. {
  7307. addFileHost(
  7308. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7309. 'var __error = 0',
  7310. 'FILES__DOESNT_EXIST|removed or did not exist',
  7311. 'optional--',
  7312. 'optional2--',
  7313. "//a[contains(@href,'filecloud.io/')]"
  7314. );
  7315. addFileHost(
  7316. 'ifile\\.it\/\\w+',
  7317. 'var __error = 0',
  7318. 'FILES__DOESNT_EXIST',
  7319. 'optional--',
  7320. 'optional2--',
  7321. "//a[contains(@href,'ifile.it/')]"
  7322. );
  7323. }
  7324. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7325. {
  7326. addFileHost(
  7327. 'solidfiles\\.com\/d\/\\w+',
  7328. 'id="download"|content="Download',
  7329. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7330. 'optional--',
  7331. 'optional2--',
  7332. "//a[contains(@href,'solidfiles.com/d')]"
  7333. );
  7334. }
  7335. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7336. {
  7337. addFileHost(
  7338. "(?:.\\.|)shareflare\\.net",
  7339. 'download-pnl|<div class="premium-block">',
  7340. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7341. 'optional--',
  7342. 'optional2--',
  7343. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7344. );
  7345. }
  7346. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7347. {
  7348. addFileHost(
  7349. "u18116681.shareflare\\.net",
  7350. 'download-pnl|<div class="premium-block">',
  7351. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7352. 'optional--',
  7353. 'optional2--',
  7354. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7355. );
  7356. }
  7357. if (GM_getValue("Check_uloz_dot_to_links", false))
  7358. {
  7359. addFileHost(
  7360. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7361. 'fileDownload">|fileSize">',
  7362. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7363. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7364. 'optional2--',
  7365. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7366. true
  7367. );
  7368. }
  7369. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7370. {
  7371. addFileHost(
  7372. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7373. 'file\\-list-orderby|section-filedetail">',
  7374. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">',
  7375. 'optional--',
  7376. 'optional2--',
  7377. "//a[contains(@href,'hellspy.')]"
  7378. );
  7379. }
  7380. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7381. {
  7382. addFileHost(
  7383. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7384. '<body onload="">',
  7385. 'neexistuje|not exist',
  7386. 'optional--',
  7387. 'optional2--',
  7388. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7389. );
  7390. }
  7391. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7392. {
  7393. addFileHost(
  7394. "stahovanizasms\\.cz\/\\w+",
  7395. 'download\\.png>|font-size:11px><tr>',
  7396. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7397. 'optional--',
  7398. 'optional2--',
  7399. "//a[contains(@href,'stahovanizasms.cz')]"
  7400. );
  7401. }
  7402. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7403. {
  7404. addFileHost(
  7405. "share-links\\.biz\/\\w*",
  7406. 'online\\.gif',
  7407. '(?:offline|parts)\\.gif',
  7408. 'optional--',
  7409. 'optional2--',
  7410. "//a[contains(@href,'share-links.biz')]"
  7411. );
  7412. }
  7413. if (GM_getValue("Check_4shared_dot_com_links", false))
  7414. {
  7415. addFileHost(
  7416. "4shared\\.com\/.+\/",
  7417. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7418. 'class="warn\"|big red"|GetDataBack',
  7419. 'Service Unavailable',
  7420. 'optional2--',
  7421. "//a[contains(@href,'4shared.com')]"
  7422. );
  7423. }
  7424. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7425. {
  7426. addFileHost(
  7427. "(?:www\\d+\.|)zippyshare\.com\/",
  7428. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7429. 'not exist|Status 404',
  7430. 'optional--',
  7431. 'optional2--',
  7432. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7433. );
  7434. }
  7435. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7436. {
  7437. addFileHost(
  7438. "mediafire\.com\/",
  7439. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7440. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7441. 'set to private',
  7442. 'optional2--',
  7443. "//a[contains(@href,'mediafire.com')]"
  7444. );
  7445. }
  7446. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7447. {
  7448. addFileHost(
  7449. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7450. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB',
  7451. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7452. 'optional--',
  7453. 'GB</small>',
  7454. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7455. );
  7456. }
  7457. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7458. {
  7459. addFileHost(
  7460. "ulozisko\.sk\/",
  7461. 'Detaily',
  7462. 'neexistuje',
  7463. 'optional--',
  7464. 'optional2--',
  7465. "//a[contains(@href,'ulozisko.sk')]"
  7466. );
  7467. }
  7468. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7469. {
  7470. addFileHost(
  7471. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7472. 'download.php',
  7473. 'notfound|upload\\-suborov\\.php"',
  7474. 'optional--',
  7475. 'optional2--',
  7476. "//a[contains(@href,'upnito.sk')]"
  7477. );
  7478. }
  7479. if (GM_getValue("Check_box_dot_com_links", false))
  7480. {
  7481. addFileHost(
  7482. "box\.com\/\\w+",
  7483. 'download-file-btn|id="download_button|preview-download',
  7484. 'BIyMin.png| <div class="error_message|link has been removed',
  7485. 'optional--',
  7486. 'optional2--',
  7487. "//a[contains(@href,'app.box.com')]");
  7488. }
  7489. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7490. {
  7491. addFileHost(
  7492. "uptobox\\.com\/\\w+",
  7493. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link',
  7494. '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|لا يوجد أي ملف',
  7495. 'Maintenance',
  7496. 'optional2--',
  7497. "//a[contains(@href,'uptobox.com')]"
  7498. );
  7499. }
  7500. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7501. {
  7502. addFileHost(
  7503. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7504. 'FILE DOWNLOAD<',
  7505. 'File Does Not Exist',
  7506. 'optional--',
  7507. 'optional2--',
  7508. "//a[contains(@href,'sharecash.org/download.php')]"
  7509. );
  7510. }
  7511. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7512. {
  7513. addFileHost(
  7514. "depositfiles\\.com\/folders\/\\w+",
  7515. '<div class="progressContainer">',
  7516. '<div id="files" class="files">\\s*<\/div>',
  7517. 'optional--',
  7518. 'optional2--',
  7519. "//a[contains(@href,'depositfiles.com/folders')]"
  7520. );
  7521. }
  7522. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7523. {
  7524. addFileHost(
  7525. "rapidfileshare\\.net/\\w+",
  7526. '<div id="upload-header-bg">',
  7527. '<div style="width:500px;text-align:left;">',
  7528. 'optional--',
  7529. 'optional2--',
  7530. "//a[contains(@href,'rapidfileshare.net/')]"
  7531. );
  7532. }
  7533. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7534. {
  7535. addFileHost(
  7536. "stiahnito\\.sk/",
  7537. '<span class="filesize right">',
  7538. '<ol class="list-purp-2">',
  7539. 'optional--',
  7540. 'optional2--',
  7541. "//a[contains(@href,'stiahnito.sk/')]"
  7542. );
  7543. }
  7544. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7545. {
  7546. addFileHost(
  7547. "rusfolder\\.(?:com|net)",
  7548. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7549. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7550. 'optional--',
  7551. 'optional2--',
  7552. "//a[contains(@href,'rusfolder')]"
  7553. );
  7554. }
  7555. if (GM_getValue("Check_fileover_dot_net_links", false))
  7556. {
  7557. addFileHost(
  7558. "fileover\\.net/\\d+",
  7559. 'id="filesize"',
  7560. 'Not found or deleted|The following file is unavailable',
  7561. 'optional--',
  7562. 'optional2--',
  7563. "//a[contains(@href,'fileover.net/')]"
  7564. );
  7565. }
  7566. if (GM_getValue("Check_catshare_dot_net_links", false))
  7567. {
  7568. addFileHost(
  7569. "catshare\\.net/\\w+",
  7570. '"icon-share',
  7571. 'alert alert-error',
  7572. 'optional--',
  7573. 'optional2--',
  7574. "//a[contains(@href,'catshare.net/')]"
  7575. );
  7576. }
  7577. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7578. {
  7579. addFileHost(
  7580. "anonfiles\\.com/\\w+",
  7581. '"download_button"',
  7582. '<legend><b>404</b>',
  7583. 'optional--',
  7584. 'optional2--',
  7585. "//a[contains(@href,'anonfiles.com')]"
  7586. );
  7587. }
  7588. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7589. {
  7590. addFileHost(
  7591. "mixturecloud\\.com/media/\\w+",
  7592. '"btn icon i_globe gray share_150',
  7593. '"s_cross_close"></span> 404:',
  7594. 'optional--',
  7595. 'optional2--',
  7596. "//a[contains(@href,'mixturecloud.com/media/')]"
  7597. );
  7598. }
  7599. if (GM_getValue("Check_akafile_dot_com_links", false))
  7600. {
  7601. addFileHost(
  7602. "akafile\\.com\/\\w+",
  7603. 'download1',
  7604. 'File Not Found',
  7605. 'optional--',
  7606. 'optional2--',
  7607. "//a[contains(@href,'akafile.com/')]"
  7608. );
  7609. }
  7610. if (GM_getValue("Check_creafile_dot_net_links", false))
  7611. {
  7612. addFileHost(
  7613. "creafile\\.net\/\\w+",
  7614. 'downloadblock',
  7615. 'errtitle',
  7616. 'optional--',
  7617. 'optional2--',
  7618. "//a[contains(@href,'creafile.net/')]"
  7619. );
  7620. }
  7621. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7622. {
  7623. addFileHost(
  7624. "hugefiles\\.net\/\\w+",
  7625. 'download1|class="btn-create-download" value="Create Download Link">',
  7626. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7627. 'optional--',
  7628. 'optional2--',
  7629. "//a[contains(@href,'hugefiles.net/')]"
  7630. );
  7631. }
  7632. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7633. {
  7634. addFileHost(
  7635. "sendmyway\\.com\/\\w+",
  7636. 'id="btn_download"',
  7637. '500px;text-align:left;"|<center><h3>',
  7638. 'optional--',
  7639. 'optional2--',
  7640. "//a[contains(@href,'sendmyway.com/')]"
  7641. );
  7642. }
  7643. if (GM_getValue("Check_upload_dot_ee_links", false))
  7644. {
  7645. addFileHost(
  7646. "upload\\.ee\/\\w+",
  7647. 'onmouseout="document.dllink.src',
  7648. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7649. 'optional--',
  7650. 'optional2--',
  7651. "//a[contains(@href,'upload.ee/')]"
  7652. );
  7653. }
  7654. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7655. {
  7656. addFileHost(
  7657. "shareplace\\.org\/\\?\\w+",
  7658. 'Download-Link',
  7659. 'Your requested file is not found|Select file to send',
  7660. 'optional--',
  7661. 'optional2--',
  7662. "//a[contains(@href,'shareplace.org/?')]"
  7663. );
  7664. }
  7665. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7666. {
  7667. addFileHost(
  7668. "uploadc\\.com\/\\w+",
  7669. 'id="prebut"',
  7670. 'File Not Found|This file has been removed due',
  7671. 'optional--',
  7672. 'optional2--',
  7673. "//a[contains(@href,'uploadc.com/')]"
  7674. );
  7675. }
  7676. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7677. {
  7678. addFileHost(
  7679. "remixshare\\.com\/\\w+",
  7680. 'id="dl2"',
  7681. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7682. 'optional--',
  7683. 'optional2--',
  7684. "//a[contains(@href,'remixshare.com/')]"
  7685. );
  7686. }
  7687. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7688. {
  7689. addFileHost(
  7690. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7691. 'Last Download :',
  7692. 'img src="\\/404.jpg"',
  7693. 'optional--',
  7694. 'optional2--',
  7695. "//a[contains(@href,'exoshare.com/download.php')]"
  7696. );
  7697. }
  7698. if (GM_getValue("Check_borncash_dot_org_links", false))
  7699. {
  7700. addFileHost(
  7701. "borncash\\.org\/download\/\\?a=\\w+",
  7702. 'class="knop_1"',
  7703. '\/error\/er00',
  7704. 'optional--',
  7705. 'optional2--',
  7706. "//a[contains(@href,'borncash.org/download/')]"
  7707. );
  7708. }
  7709. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7710. {
  7711. addFileHost(
  7712. "vidplay\.net\/\\w+",
  7713. 'solvemedia puzzle widget',
  7714. 'File not found|AVOID_IE_BUG',
  7715. 'optional--',
  7716. 'optional2--',
  7717. "//a[contains(@href,'vidplay.net')]");
  7718. }
  7719. if (GM_getValue("Check_storagon_dot_com_links", false))
  7720. {
  7721. addFileHost(
  7722. "storagon\.com\/\\w+",
  7723. 'class="icon-cloud-download"></i>|content="Download Options',
  7724. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7725. 'optional--',
  7726. 'optional2--',
  7727. "//a[contains(@href,'storagon.com')]");
  7728. }
  7729. if (GM_getValue("Check_filedais_dot_com_links", false))
  7730. {
  7731. addFileHost(
  7732. "filedais\.com\/\\w+",
  7733. 'class="btn btn-info"|name="method_free"',
  7734. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7735. 'optional--',
  7736. 'optional2--',
  7737. "//a[contains(@href,'filedais.com')]");
  7738. }
  7739. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7740. {
  7741. addFileHost(
  7742. "up.4share\.vn\/\\w+",
  7743. '<font size="2" face="Verdana">',
  7744. 'font: 13px Tahoma; color: Brown',
  7745. 'optional--',
  7746. 'optional2--',
  7747. "//a[contains(@href,'up.4share.vn')]");
  7748. }
  7749. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7750. {
  7751. addFileHost(
  7752. "share.vnn\.vn\/\\w+",
  7753. '"index,follow"|<div class="main" id="download-box">',
  7754. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7755. 'optional--',
  7756. 'optional2--',
  7757. "//a[contains(@href,'share.vnn.vn')]");
  7758. }
  7759. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7760. {
  7761. addFileHost(
  7762. "upfile\.vn\/\\w+",
  7763. 'download-timer',
  7764. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7765. 'optional--',
  7766. 'optional2--',
  7767. "//a[contains(@href,'upfile.vn')]");
  7768. }
  7769. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7770. {
  7771. addFileHost(
  7772. "aisfile\.com\/\\w+",
  7773. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7774. '<div style="width:500px;text-align:left;">|File Not Found',
  7775. 'optional--',
  7776. 'optional2--',
  7777. "//a[contains(@href,'aisfile.com')]");
  7778. }
  7779. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7780. {
  7781. addFileHost(
  7782. "usersfiles\.com\/\\w+",
  7783. 'class="btn btn-success|id="btn_download" class="btn"',
  7784. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7785. 'optional--',
  7786. 'optional2--',
  7787. "//a[contains(@href,'usersfiles.com')]");
  7788. }
  7789. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7790. {
  7791. addFileHost(
  7792. "pan.baidu\.com\/\\w+",
  7793. 'target="_blank" title=|share-personal-info',
  7794. 'share_notfound.png|background:#f9f9f9',
  7795. 'optional--',
  7796. 'optional2--',
  7797. "//a[contains(@href,'pan.baidu.com')]");
  7798. }
  7799. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7800. {
  7801. addFileHost(
  7802. "yunpan\.cn\/\\w+",
  7803. 'class="icon icon-download',
  7804. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7805. 'optional--',
  7806. 'optional2--',
  7807. "//a[contains(@href,'yunpan.cn')]");
  7808. }
  7809. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7810. {
  7811. addFileHost(
  7812. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7813. 'getElementById("downbild")|style.display',
  7814. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7815. 'optional--',
  7816. 'optional2--',
  7817. "//a[contains(@href,'file-upload.net')]");
  7818. }
  7819. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7820. {
  7821. addFileHost(
  7822. "gulfup\.com\/",
  7823. '<!-- Downlod template -->|download.gif',
  7824. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7825. 'optional--',
  7826. 'optional2--',
  7827. "//a[contains(@href,'gulfup.com')]");
  7828. }
  7829. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7830. {
  7831. addFileHost(
  7832. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7833. 'dldtable">',
  7834. 'does not exist\\.',
  7835. 'optional--',
  7836. 'optional2--',
  7837. "//a[contains(@href,'datafilehost.com')]");
  7838. }
  7839. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7840. {
  7841. addFileHost(
  7842. "dropbox\.com\/s\/\\w+",
  7843. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7844. '>Nothing Here<|>Error (404)<',
  7845. 'title>Dropbox - 509|Error (403)|Error: 429',
  7846. 'optional2--',
  7847. "//a[contains(@href,'dropbox.com')]");
  7848. }
  7849. if (GM_getValue("Check_box_dot_net_links", false))
  7850. {
  7851. addFileHost(
  7852. "box\.net\/\\w+",
  7853. 'download-file-btn|id="download_button',
  7854. 'BIyMin.png| <div class="error_message',
  7855. 'optional--',
  7856. 'optional2--',
  7857. "//a[contains(@href,'box.net')]");
  7858. }
  7859. if (GM_getValue("Check_fileband_dot_com_links", false))
  7860. {
  7861. addFileHost(
  7862. "fileband\.com\/\\w+",
  7863. 'value="download1">|name="id" value=',
  7864. '<div style="width:500px;text-align:left;">|not be found',
  7865. 'optional--',
  7866. 'optional2--',
  7867. "//a[contains(@href,'fileband.com')]");
  7868. }
  7869. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7870. {
  7871. addFileHost(
  7872. "filedropper\.com\/\\w+",
  7873. 'background:#ddd;|width:985px; ',
  7874. 'background-color:#FFFFFF;|margin-left: -400px;',
  7875. 'optional--',
  7876. 'optional2--',
  7877. "//a[contains(@href,'filedropper.com')]");
  7878. }
  7879. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7880. {
  7881. addFileHost(
  7882. "tropicshare\\.com\/files\/\\d+",
  7883. 'MB</span>|GB</span>|KB</span>',
  7884. '>FNF<|size: </span>',
  7885. 'optional--',
  7886. 'optional2--',
  7887. "//a[contains(@href,'tropicshare.com')]");
  7888. }
  7889. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7890. {
  7891. addFileHost(
  7892. "goldbytez\.com\/\\w+",
  7893. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7894. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7895. 'optional--',
  7896. 'optional2--',
  7897. "//a[contains(@href,'goldbytez.com')]");
  7898. }
  7899. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7900. {
  7901. addFileHost(
  7902. "worldbytez\.com\/\\w+",
  7903. '<div class="download_type">',
  7904. '<div style="width:500px;text-align:left;">',
  7905. 'optional--',
  7906. 'optional2--',
  7907. "//a[contains(@href,'worldbytez.com')]");
  7908. }
  7909. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7910. {
  7911. addFileHost(
  7912. "freefilehosting\.net\/\\w+",
  7913. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7914. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7915. 'optional--',
  7916. 'optional2--',
  7917. "//a[contains(@href,'freefilehosting.net')]");
  7918. }
  7919. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7920. {
  7921. addFileHost(
  7922. "ziddu\.com\/\\w+",
  7923. 'downloads.ziddu.com|downloadfilelinkicon',
  7924. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7925. 'optional--',
  7926. 'optional2--',
  7927. "//a[contains(@href,'ziddu.com')]");
  7928. }
  7929. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7930. {
  7931. addFileHost(
  7932. "exclusiveloader\.com\/\\w+",
  7933. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7934. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7935. 'optional--',
  7936. 'optional2--',
  7937. "//a[contains(@href,'exclusiveloader.com')]");
  7938. }
  7939. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7940. {
  7941. addFileHost(
  7942. "sharerapid\.cz\/\\w+",
  7943. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7944. 'error_div">|404 - Not Found',
  7945. 'optional--',
  7946. 'optional2--',
  7947. "//a[contains(@href,'sharerapid.cz')]");
  7948. }
  7949. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7950. {
  7951. addFileHost(
  7952. "sdilej\.cz\/\\w+",
  7953. 'class="page-download"',
  7954. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  7955. 'optional--',
  7956. 'optional2--',
  7957. "//a[contains(@href,'sdilej.cz')]");
  7958. }
  7959. if (GM_getValue("Check_lafiles_dot_com_links", false))
  7960. {
  7961. addFileHost(
  7962. "lafiles\.com\/\\w+",
  7963. '<div id="pay_modes">',
  7964. '<b class="err"></b>',
  7965. 'optional--',
  7966. 'optional2--',
  7967. "//a[contains(@href,'lafiles.com')]");
  7968. }
  7969. if (GM_getValue("Check_acefile_dot_net_links", false))
  7970. {
  7971. addFileHost(
  7972. "acefile\.net\/\\w+",
  7973. 'align=right nowrap><b>',
  7974. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  7975. 'optional--',
  7976. 'optional2--',
  7977. "//a[contains(@href,'acefile.net')]");
  7978. }
  7979. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  7980. {
  7981. addFileHost(
  7982. "megarapid\.cz\/\\w+",
  7983. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7984. 'error_div">|404 - Not Found',
  7985. 'optional--',
  7986. 'optional2--',
  7987. "//a[contains(@href,'megarapid.cz')]");
  7988. }
  7989. if (GM_getValue("Check_yadi_dot_sk_links", false))
  7990. {
  7991. addFileHost(
  7992. "yadi\.sk\/\\w+",
  7993. 'twitter:site|View and download',
  7994. 'error code|Nothing found',
  7995. 'optional--',
  7996. 'optional2--',
  7997. "//a[contains(@href,'yadi.sk')]");
  7998. }
  7999. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8000. {
  8001. addFileHost(
  8002. "imdb\.com\/\\w+",
  8003. 'imdb.com',
  8004. '404 Error',
  8005. 'optional--',
  8006. 'optional2--',
  8007. "//a[contains(@href,'imdb.com')]");
  8008. } */
  8009. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8010. {
  8011. addFileHost(
  8012. "hitfile\.net\/\\w+",
  8013. 'class="download-file',
  8014. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8015. 'optional--',
  8016. 'optional2--',
  8017. "//a[contains(@href,'hitfile.net')]");
  8018. }
  8019. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8020. {
  8021. addFileHost(
  8022. "nitroflare\.com\/\\w+",
  8023. 'Report this file</a>|left;">1 GB<|KB</span>|left;">1.0',
  8024. 'file has been removed|id="error" style="display|Probably deleted|file has been removed due to infringement',
  8025. 'optional--',
  8026. 'left;">1.1|left;">1.2|left;">1.3|left;">1.4|left;">1.5|left;">1.6|left;">1.7|left;">1.8|left;">1.9|left;">2.|',
  8027. "//a[contains(@href,'nitroflare.com')]");
  8028. }
  8029. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8030. {
  8031. addFileHost(
  8032. "up.top4top\.net\/\\w+",
  8033. 'start Downlod template',
  8034. 'start err template',
  8035. 'optional--',
  8036. 'optional2--',
  8037. "//a[contains(@href,'up.top4top.net')]");
  8038. }
  8039. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8040. {
  8041. addFileHost(
  8042. "filejoker\.net\/\\w+",
  8043. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8044. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8045. 'optional--',
  8046. 'id="download" class="premium-only">',
  8047. "//a[contains(@href,'filejoker.net')]");
  8048. }
  8049. if (GM_getValue("Check_free_dot_fr_links", false))
  8050. {
  8051. addFileHost(
  8052. "(?:dl.\\.|)free\\.fr",
  8053. 'Valider et t&eacute;l&eacute',
  8054. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8055. 'optional--',
  8056. 'optional2--',
  8057. "//a[contains(@href,'dl.free.fr')]");
  8058. }
  8059. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8060. {
  8061. addFileHost(
  8062. "gboxes\.com\/\\w+",
  8063. 'You have requested|color="red">http://www.gboxes.com',
  8064. 'File Not Found|<div style="width:500px;text-align:left;">',
  8065. 'optional--',
  8066. 'optional2--',
  8067. "//a[contains(@href,'gboxes.com')]");
  8068. }
  8069. if (GM_getValue("Check_led_dot_wf_links", false))
  8070. {
  8071. addFileHost(
  8072. "led\.wf\/\\w+",
  8073. 'logo_0.png|downloads.gif"|verifycode',
  8074. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8075. 'optional--',
  8076. 'available only for Premium users',
  8077. "//a[contains(@href,'led.wf')]");
  8078. }
  8079. if (GM_getValue("Check_lan_dot_wf_links", false))
  8080. {
  8081. addFileHost(
  8082. "lan\.wf\/\\w+",
  8083. 'logo_0.png|downloads.gif"|verifycode',
  8084. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8085. 'optional--',
  8086. 'available only for Premium users',
  8087. "//a[contains(@href,'lan.wf')]");
  8088. }
  8089. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8090. {
  8091. addFileHost(
  8092. "adlink\.wf\/\\w+",
  8093. 'logo_0.png|downloads.gif"|verifycode',
  8094. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8095. 'optional--',
  8096. 'available only for Premium users',
  8097. "//a[contains(@href,'adlink.wf')]");
  8098. }
  8099. if (GM_getValue("Check_click_dot_tf_links", false))
  8100. {
  8101. addFileHost(
  8102. "click\.tf\/\\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,'click.tf')]");
  8108. }
  8109. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8110. {
  8111. addFileHost(
  8112. "ssh\.tf\/\\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,'ssh.tf')]");
  8118. }
  8119. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8120. {
  8121. addFileHost(
  8122. "ssh\.yt\/\\w+",
  8123. 'logo_0.png|downloads.gif"|verifycode',
  8124. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8125. 'optional--',
  8126. 'available only for Premium users',
  8127. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8128. }
  8129. if (GM_getValue("Check_yep_dot_pm_links", false))
  8130. {
  8131. addFileHost(
  8132. "yep\.pm\/\\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,'yep.pm')]");
  8138. }
  8139. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8140. {
  8141. addFileHost(
  8142. "kyc\.pm\/\\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,'kyc.pm')]");
  8148. }
  8149. if (GM_getValue("Check_brupload_dot_net_links", false))
  8150. {
  8151. addFileHost(
  8152. "brupload\.net\/\\w+",
  8153. 'Download Gratuito',
  8154. '<div style="width:500px;text-align:left;">',
  8155. 'optional--',
  8156. 'optional2--',
  8157. "//a[contains(@href,'brupload.net')]");
  8158. }
  8159. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8160. {
  8161. addFileHost(
  8162. "cloudzilla\.to\/\\w+",
  8163. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8164. 'File not found|/imgs/broken.png',
  8165. 'optional--',
  8166. 'optional2--',
  8167. "//a[contains(@href,'cloudzilla.to')]");
  8168. }
  8169. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8170. {
  8171. addFileHost(
  8172. "fileparadox\.in\/\\w+",
  8173. 'CONTENT="Download File|method_free_file',
  8174. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8175. 'optional--',
  8176. 'optional2--',
  8177. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8178. } */
  8179. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8180. {
  8181. addFileHost(
  8182. "clicknupload\.com\/\\w+",
  8183. 'name="method_free',
  8184. 'File Not Found',
  8185. 'optional--',
  8186. 'optional2--',
  8187. "//a[contains(@href,'clicknupload.com')]");
  8188. }
  8189. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8190. {
  8191. addFileHost(
  8192. "clicknupload\.me\/\\w+",
  8193. 'name="method_free',
  8194. 'File Not Found',
  8195. 'optional--',
  8196. 'optional2--',
  8197. "//a[contains(@href,'clicknupload.me')]");
  8198. }
  8199. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8200. {
  8201. addFileHost(
  8202. "ex-load\.com\/\\w+",
  8203. 'name="method_free|<p>Download File:</p>',
  8204. 'Folder Not Found|File Not Found|Error 404',
  8205. 'optional--',
  8206. 'class="downprem wow bounceInLeft',
  8207. "//a[contains(@href,'ex-load.com')]");
  8208. }
  8209. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8210. {
  8211. addFileHost(
  8212. "hexupload\.com\/\\w+",
  8213. 'button" value="Free|type="submit" value=""',
  8214. 'File Not Found|<div style="width:500px;text-align:left;">',
  8215. 'optional--',
  8216. 'optional2--',
  8217. "//a[contains(@href,'hexupload.com')]");
  8218. }
  8219. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8220. {
  8221. addFileHost(
  8222. "wizupload\.com\/\\w+",
  8223. 'btn_download|class="downloadbtn"',
  8224. '>File Not Found<',
  8225. 'optional--',
  8226. 'optional2--',
  8227. "//a[contains(@href,'wizupload.com')]");
  8228. }
  8229. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8230. {
  8231. addFileHost(
  8232. "filecloud\.cc\/\\w+",
  8233. 'align="center"><input type="submit" name=',
  8234. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8235. 'optional--',
  8236. 'optional2--',
  8237. "//a[contains(@href,'filecloud.cc')]");
  8238. }
  8239. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8240. {
  8241. addFileHost(
  8242. "inclouddrive\.com\/\\w+",
  8243. 'initfreedownload',
  8244. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8245. 'optional--',
  8246. 'optional2--',
  8247. "//a[contains(@href,'inclouddrive.com')]");
  8248. }
  8249. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8250. {
  8251. addFileHost(
  8252. "radicalshare\.com\/\\w+",
  8253. 'value="download1|name="method_free"',
  8254. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8255. 'optional--',
  8256. 'optional2--',
  8257. "//a[contains(@href,'radicalshare.com')]");
  8258. }
  8259. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8260. {
  8261. addFileHost(
  8262. "sharemods\.com\/\\w+",
  8263. 'name="method_free"',
  8264. 'File Not Found<',
  8265. 'optional--',
  8266. 'optional2--',
  8267. "//a[contains(@href,'sharemods.com')]");
  8268. }
  8269. if (GM_getValue("Check_hostr_dot_co_links", false))
  8270. {
  8271. addFileHost(
  8272. "hostr\.co\/\\w+",
  8273. 'method="get"',
  8274. 'File not found<|error-page',
  8275. 'optional--',
  8276. 'optional2--',
  8277. "//a[contains(@href,'hostr.co')]");
  8278. }
  8279. if (GM_getValue("Check_filepi_dot_com_links", false))
  8280. {
  8281. addFileHost(
  8282. "filepi\.com\/\\w+",
  8283. 'id="button_start">',
  8284. 'File not found',
  8285. 'optional--',
  8286. 'optional2--',
  8287. "//a[contains(@href,'filepi.com')]");
  8288. }
  8289. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8290. {
  8291. addFileHost(
  8292. "tikfile\.com\/\\w+",
  8293. 'btn_download',
  8294. 'File Not Found|file was removed|Reason for deletion',
  8295. 'optional--',
  8296. 'optional2--',
  8297. "//a[contains(@href,'tikfile.com')]");
  8298. }
  8299. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8300. {
  8301. addFileHost(
  8302. "cloudsix\.me\/\\w+",
  8303. 'name="method_free"',
  8304. 'File Not Found|width:500px;text-align:left;">',
  8305. 'optional--',
  8306. 'optional2--',
  8307. "//a[contains(@href,'cloudsix.me')]");
  8308. }
  8309. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8310. {
  8311. addFileHost(
  8312. "neodrive\.co\/\\w+",
  8313. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8314. 'File not found|/imgs/broken.png',
  8315. 'optional--',
  8316. 'optional2--',
  8317. "//a[contains(@href,'neodrive.co')]");
  8318. }
  8319. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8320. {
  8321. addFileHost(
  8322. "chayfile\.com\/\\w+",
  8323. 'name="method_free"',
  8324. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8325. 'optional--',
  8326. 'optional2--',
  8327. "//a[contains(@href,'chayfile.com')]");
  8328. }
  8329. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8330. {
  8331. addFileHost(
  8332. "xfileload\.com\/\\w+",
  8333. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8334. '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..|הקובץ שחיפשת לא נמצא.',
  8335. 'optional--',
  8336. 'optional2--',
  8337. "//a[contains(@href,'xfileload.com')]");
  8338. }
  8339. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8340. {
  8341. addFileHost(
  8342. "rockfile\.eu\/\\w+",
  8343. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8344. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8345. 'optional--',
  8346. 'optional2--',
  8347. "//a[contains(@href,'rockfile.eu')]");
  8348. }
  8349. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8350. {
  8351. addFileHost(
  8352. "24uploading\.com\/\\w+",
  8353. 'File:|Download Speed:',
  8354. '<b>File Not Found</b>|file was removed',
  8355. 'optional--',
  8356. 'optional2--',
  8357. "//a[contains(@href,'24uploading.com')]");
  8358. }
  8359. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8360. {
  8361. addFileHost(
  8362. "tusfiles\.net\/\\w+",
  8363. 'i/icon/dll.png"|>Start download<br',
  8364. 'no longer available<|i/ino.png"',
  8365. 'optional--',
  8366. 'optional2--',
  8367. "//a[contains(@href,'tusfiles.net')]");
  8368. }
  8369. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8370. {
  8371. addFileHost(
  8372. "jumbofile\.net\/\\w+",
  8373. 'button" class="" value="Free',
  8374. 'This File Was Deleted',
  8375. 'optional--',
  8376. 'optional2--',
  8377. "//a[contains(@href,'jumbofile.net')]");
  8378. } */
  8379. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8380. {
  8381. addFileHost(
  8382. "ozofiles\.com\/\\w+",
  8383. 'button" value="Free|name="method_free',
  8384. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8385. 'optional--',
  8386. 'optional2--',
  8387. "//a[contains(@href,'ozofiles.com')]");
  8388. }
  8389. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8390. {
  8391. addFileHost(
  8392. "loudupload\.net\/\\w+",
  8393. 'value="Get Links',
  8394. 'File Not Found',
  8395. 'optional--',
  8396. 'optional2--',
  8397. "//a[contains(@href,'loudupload.net')]");
  8398. }
  8399. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8400. {
  8401. addFileHost(
  8402. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8403. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8404. '>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">',
  8405. 'optional--',
  8406. 'optional2--',
  8407. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8408. }
  8409. if (GM_getValue("Check_krotix_dot_net_links", false))
  8410. {
  8411. addFileHost(
  8412. "krotix\.net\/\\w+",
  8413. 'btn btn-warning|btn-free',
  8414. 'pageErrors|This File has been removed',
  8415. 'content="Scheduled Maintenance',
  8416. 'optional2--',
  8417. "//a[contains(@href,'krotix.net')]");
  8418. } */
  8419. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8420. {
  8421. addFileHost(
  8422. "userscloud\.com\/\\w+",
  8423. 'btn_download',
  8424. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8425. 'optional--',
  8426. 'optional2--',
  8427. "//a[contains(@href,'userscloud.com')]");
  8428. }
  8429. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8430. {
  8431. addFileHost(
  8432. "kumpulbagi\.com\/\\w+",
  8433. 'class="button download',
  8434. 'internal server error',
  8435. 'optional--',
  8436. 'optional2--',
  8437. "//a[contains(@href,'kumpulbagi.com')]");
  8438. }
  8439. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8440. {
  8441. addFileHost(
  8442. "kb.simple-aja\.info\/\\w+",
  8443. 'class="button download',
  8444. 'internal server error|<p>404</p>',
  8445. 'optional--',
  8446. 'optional2--',
  8447. "//a[contains(@href,'kb.simple')]");
  8448. }
  8449. if (GM_getValue("Check_faststore_dot_org_links", false))
  8450. {
  8451. addFileHost(
  8452. "faststore\.org\/\\w+",
  8453. 'name="method_free',
  8454. 'File Not Found',
  8455. 'optional--',
  8456. 'optional2--',
  8457. "//a[contains(@href,'faststore.org')]");
  8458. }
  8459. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8460. {
  8461. addFileHost(
  8462. "prefiles\.com\/\\w+",
  8463. 'id="method_free',
  8464. 'File not Found',
  8465. 'optional--',
  8466. 'optional2--',
  8467. "//a[contains(@href,'prefiles.com')]");
  8468. }
  8469. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8470. {
  8471. addFileHost(
  8472. "doraupload\.com\/\\w+",
  8473. 'btn_download|name="method_free',
  8474. 'class="error-code|Could Not Be Found',
  8475. 'optional--',
  8476. 'optional2--',
  8477. "//a[contains(@href,'doraupload.com')]");
  8478. }
  8479. if (GM_getValue("Check_openload_dot_io_links", false))
  8480. {
  8481. addFileHost(
  8482. "openload\.io\/\\w+",
  8483. 'btn btn-primary|class="count">|secondsleftouter',
  8484. 'class="jumbotron">|We are sorry',
  8485. 'optional--',
  8486. 'optional2--',
  8487. "//a[contains(@href,'openload.io')]");
  8488. }
  8489. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8490. {
  8491. addFileHost(
  8492. "uploads\.xxx\/\\w+",
  8493. 'downoadForFree',
  8494. 'File not found',
  8495. 'optional--',
  8496. 'optional2--',
  8497. "//a[contains(@href,'uploads.xxx')]");
  8498. }
  8499. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8500. {
  8501. addFileHost(
  8502. "zxcfiles\.com\/\\w+",
  8503. 'class="downloadbtn',
  8504. 'File Not Found',
  8505. 'optional--',
  8506. 'optional2--',
  8507. "//a[contains(@href,'zxcfiles.com')]");
  8508. }
  8509. if (GM_getValue("Check_up07_dot_net_links", false))
  8510. {
  8511. addFileHost(
  8512. "up07\.net\/\\w+",
  8513. 'name="method_free',
  8514. 'File Not Found',
  8515. 'optional--',
  8516. 'optional2--',
  8517. "//a[contains(@href,'up07.net')]");
  8518. }
  8519. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8520. {
  8521. addFileHost(
  8522. "fileupload\.pw\/\\w+",
  8523. 'value="Free"',
  8524. 'File Not Found',
  8525. 'optional--',
  8526. 'optional2--',
  8527. "//a[contains(@href,'fileupload.pw')]");
  8528. }
  8529. if (GM_getValue("Check_4upld_dot_com_links", false))
  8530. {
  8531. addFileHost(
  8532. "4upld\.com\/\\w+",
  8533. 'alt="Download Now"|content="Download file">|btn-free-element',
  8534. '<title>Error|content="error|File not found',
  8535. 'optional--',
  8536. 'optional2--',
  8537. "//a[contains(@href,'4upld.com')]");
  8538. }
  8539. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8540. {
  8541. addFileHost(
  8542. "newfileland\.com\/\\w+",
  8543. 'name="method_free',
  8544. 'File Not Found',
  8545. 'optional--',
  8546. 'optional2--',
  8547. "//a[contains(@href,'newfileland.com')]");
  8548. } */
  8549. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8550. {
  8551. addFileHost(
  8552. "(?:.swoopshare)\\.com\/\\w+",
  8553. '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',
  8554. '<input type="file" name="f"',
  8555. 'optional--',
  8556. 'optional2--',
  8557. "//a[contains(@href,'swoopshare.com')]"
  8558. );
  8559. }
  8560. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8561. {
  8562. addFileHost(
  8563. "cloudshares\.net\/\\w+",
  8564. '"method_free|"Low Speed Download|submit" name="go',
  8565. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8566. 'optional--',
  8567. 'optional2--',
  8568. "//a[contains(@href,'cloudshares.net')]"
  8569. );
  8570. }
  8571. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8572. {
  8573. addFileHost(
  8574. "allmyvideos\.net\/\\w+",
  8575. 'Continue to Video',
  8576. 'File Not Found|class="err">Removed for',
  8577. 'optional--',
  8578. 'optional2--',
  8579. "//a[contains(@href,'allmyvideos.net')]"
  8580. );
  8581. }
  8582. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8583. {
  8584. addFileHost(
  8585. "vodlocker\.com\/\\w+",
  8586. 'Proceed to video',
  8587. 'Not Found',
  8588. 'optional--',
  8589. 'optional2--',
  8590. "//a[contains(@href,'vodlocker.com')]"
  8591. );
  8592. }
  8593. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8594. {
  8595. addFileHost(
  8596. "vidbull\.com\/\\w+",
  8597. 'Verifying Video Request',
  8598. 'File Not Found',
  8599. 'optional--',
  8600. 'optional2--',
  8601. "//a[contains(@href,'vidbull.com')]");
  8602. }
  8603. if (GM_getValue("Check_novamov_dot_com_links", false))
  8604. {
  8605. addFileHost(
  8606. "novamov\.com\/\\w+",
  8607. 'For version detection',
  8608. 'file no longer exists',
  8609. 'optional--',
  8610. 'optional2--',
  8611. "//a[contains(@href,'novamov.com')]"
  8612. );
  8613. }
  8614. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8615. {
  8616. addFileHost(
  8617. "filehoot\.com\/\\w+",
  8618. 'Continue to watch',
  8619. 'File Not Found',
  8620. 'optional--',
  8621. 'optional2--',
  8622. "//a[contains(@href,'filehoot.com')]"
  8623. );
  8624. }
  8625. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8626. {
  8627. addFileHost(
  8628. "stagevu\.com\/\\w+",
  8629. 'Video Info',
  8630. 'No video with the provided',
  8631. 'optional--',
  8632. 'optional2--',
  8633. "//a[contains(@href,'stagevu.com')]"
  8634. );
  8635. }
  8636. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8637. {
  8638. addFileHost(
  8639. "cloudtime\.to\/\\w+",
  8640. 'Download the video',
  8641. 'no longer exists',
  8642. 'optional--',
  8643. 'optional2--',
  8644. "//a[contains(@href,'cloudtime.to')]"
  8645. );
  8646. }
  8647. if (GM_getValue("Check_streamin_dot_to_links", false))
  8648. {
  8649. addFileHost(
  8650. "streamin\.to\/\\w+",
  8651. 'id="btn_download',
  8652. 'Not Found|Copyright Infringement|File Deleted',
  8653. 'optional--',
  8654. 'optional2--',
  8655. "//a[contains(@href,'streamin.to')]"
  8656. );
  8657. }
  8658. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8659. {
  8660. addFileHost(
  8661. "videoweed\.es\/\\w+",
  8662. 'version detection',
  8663. 'no longer exists',
  8664. 'optional--',
  8665. 'optional2--',
  8666. "//a[contains(@href,'videoweed.es')]"
  8667. );
  8668. }
  8669. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8670. {
  8671. addFileHost(
  8672. "nowvideo\.sx\/\\w+",
  8673. 'Download this video|value="submit">Continue',
  8674. 'no longer exists',
  8675. 'optional--',
  8676. 'optional2--',
  8677. "//a[contains(@href,'nowvideo.sx')]"
  8678. );
  8679. }
  8680. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8681. {
  8682. addFileHost(
  8683. "thevideo\.me\/\\w+",
  8684. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8685. 'File Not Found',
  8686. 'optional--',
  8687. 'optional2--',
  8688. "//a[contains(@href,'thevideo.me')]"
  8689. );
  8690. }
  8691. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8692. {
  8693. addFileHost(
  8694. "gorillavid\.in\/\\w+",
  8695. 'Wait 5 seconds',
  8696. 'File Not Found',
  8697. 'optional--',
  8698. 'optional2--',
  8699. "//a[contains(@href,'gorillavid.in')]"
  8700. );
  8701. }
  8702. if (GM_getValue("Check_thefile_dot_me_links", false))
  8703. {
  8704. addFileHost(
  8705. "thefile\.me\/\\w+",
  8706. 'Choose free or',
  8707. '',
  8708. 'optional--',
  8709. 'optional2--',
  8710. "//a[contains(@href,'thefile.me')]"
  8711. );
  8712. }
  8713. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8714. {
  8715. addFileHost(
  8716. "vidzi\.tv\/\\w+",
  8717. 'video-embed-modal row',
  8718. 'File Not Found|file was deleted',
  8719. 'optional--',
  8720. 'optional2--',
  8721. "//a[contains(@href,'vidzi.tv')]"
  8722. );
  8723. }
  8724. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8725. {
  8726. addFileHost(
  8727. "filenuke\.com\/\\w+",
  8728. 'Download File',
  8729. 'Earn with us',
  8730. 'optional--',
  8731. 'optional2--',
  8732. "//a[contains(@href,'filenuke.com')]"
  8733. );
  8734. }
  8735. if (GM_getValue("Check_vidto_dot_me_links", false))
  8736. {
  8737. addFileHost(
  8738. "vidto\.me\/\\w+",
  8739. 'Proceed to video',
  8740. 'Not Found',
  8741. 'optional--',
  8742. 'optional2--',
  8743. "//a[contains(@href,'vidto.me')]"
  8744. );
  8745. }
  8746. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8747. {
  8748. addFileHost(
  8749. "vidspot\.net\/\\w+",
  8750. 'Duration',
  8751. 'Removed for',
  8752. 'optional--',
  8753. 'optional2--',
  8754. "//a[contains(@href,'vidspot.net')]"
  8755. );
  8756. }
  8757. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8758. {
  8759. addFileHost(
  8760. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8761. 'Download File',
  8762. 'File Not Found',
  8763. 'optional--',
  8764. 'optional2--',
  8765. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8766. );
  8767. }
  8768. if (GM_getValue("Check_movpod_dot_in_links", false))
  8769. {
  8770. addFileHost(
  8771. "movpod\.in\/\\w+",
  8772. 'Continue',
  8773. 'File Not Found',
  8774. 'optional--',
  8775. 'optional2--',
  8776. "//a[contains(@href,'movpod.in')]"
  8777. );
  8778. }
  8779. /* if (GM_getValue("Check_down4files_dot_com_links", false))
  8780. {
  8781. addFileHost(
  8782. "down4files\.com\/\\w+",
  8783. 'down_table.png',
  8784. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8785. 'optional--',
  8786. 'optional2--',
  8787. "//a[contains(@href,'down4files.com')]"
  8788. );
  8789. } */
  8790. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8791. {
  8792. addFileHost(
  8793. "storefiles\.co\/\\w+",
  8794. 'btn_download',
  8795. 'No such file|>Error<|mqmaintitle">',
  8796. 'optional--',
  8797. 'optional2--',
  8798. "//a[contains(@href,'storefiles.co')]"
  8799. );
  8800. }
  8801. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8802. {
  8803. addFileHost(
  8804. "filehost\.pw\/\\w+",
  8805. 'name="method_free',
  8806. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8807. 'optional--',
  8808. 'optional2--',
  8809. "//a[contains(@href,'filehost.pw')]"
  8810. );
  8811. }
  8812. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8813. {
  8814. addFileHost(
  8815. "inafile\.com\/\\w+",
  8816. 'value="download1">|<h2>File: <font style="color:darkred">',
  8817. '<div style="width:500px;text-align:left;">|File Not Found',
  8818. 'optional--',
  8819. 'optional2--',
  8820. "//a[contains(@href,'inafile.com')]"
  8821. );
  8822. } */
  8823. if (GM_getValue("Check_uplea_dot_com_links", false))
  8824. {
  8825. addFileHost(
  8826. "uplea\.com\/\\w+",
  8827. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8828. 'expired link|ou est invalide',
  8829. 'optional--',
  8830. 'optional2--',
  8831. "//a[contains(@href,'uplea.com/dl')]",
  8832. true);
  8833. }
  8834. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8835. {
  8836. addFileHost(
  8837. "toutbox\.fr\/\\w+",
  8838. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8839. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8840. 'Serviço temporariamente indisponível',
  8841. 'optional2--',
  8842. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8843. );
  8844. }
  8845. if (GM_getValue("Check_openload_dot_co_links", false))
  8846. {
  8847. addFileHost(
  8848. "openload\.co\/\\w+",
  8849. 'id="downloadTimer">|button dlbutton',
  8850. 'jumbotron{color|got deleted|center !important',
  8851. 'optional--',
  8852. 'optional2--',
  8853. "//a[contains(@href,'openload.co')]"
  8854. );
  8855. }
  8856. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8857. {
  8858. addFileHost(
  8859. "lolabits\.es\/\\w+",
  8860. 'Descargar:',
  8861. '<title>Archivos de usuario',
  8862. 'Service Unavailable',
  8863. 'optional2--',
  8864. "//a[contains(@href,'lolabits.es')]"
  8865. );
  8866. }
  8867. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8868. {
  8869. addFileHost(
  8870. "alfafile\.net\/\\w+",
  8871. 'id="slow_download_btn',
  8872. 'class="error-box">',
  8873. 'optional--',
  8874. 'optional2--',
  8875. "//a[contains(@href,'alfafile.net')]"
  8876. );
  8877. }
  8878. if (GM_getValue("Check_multiup_dot_org_links", false))
  8879. {
  8880. addFileHost(
  8881. "multiup\.org\/\\w+",
  8882. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8883. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8884. 'optional--',
  8885. 'optional2--',
  8886. "//a[contains(@href,'multiup.org')]"
  8887. );
  8888. }
  8889. if (GM_getValue("Check_file_dot_al_links", false))
  8890. {
  8891. addFileHost(
  8892. "file\.al\/\\w+",
  8893. 'method_free',
  8894. 'style="width:500px;text-align:left;">',
  8895. 'optional--',
  8896. 'optional2--',
  8897. "//a[contains(@href,'file.al')]"
  8898. );
  8899. }
  8900. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8901. {
  8902. addFileHost(
  8903. "devilshare\.net\/\\w+",
  8904. '<div class="large-12" id="download">',
  8905. '(Link: 0 Invalid)|File Not Found',
  8906. 'optional--',
  8907. 'optional2--',
  8908. "//a[contains(@href,'devilshare.net')]"
  8909. );
  8910. }
  8911. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8912. {
  8913. addFileHost(
  8914. "dailyuploads\.net\/\\w+",
  8915. 'id="downloadBtnClickOrignal',
  8916. '<div style="width:500px;text-align:left;">',
  8917. 'optional--',
  8918. 'optional2--',
  8919. "//a[contains(@href,'dailyuploads.net')]"
  8920. );
  8921. }
  8922. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8923. {
  8924. addFileHost(
  8925. "datoteke\.com\/\\w+",
  8926. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8927. '&nbsp;File has been removed',
  8928. 'optional--',
  8929. '<title>Error - Datoteke',
  8930. "//a[contains(@href,'datoteke.com')]"
  8931. );
  8932. }
  8933. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  8934. {
  8935. addFileHost(
  8936. "tezfiles\.com\/\\w+",
  8937. '<img src="images/cloud_cloud-download-128.png">|<div style="float: left;">',
  8938. 'class="alert alert-block|file is no longer available',
  8939. 'optional--',
  8940. 'optional2--',
  8941. "//a[contains(@href,'tezfiles.com')]"
  8942. );
  8943. }
  8944. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8945. {
  8946. addFileHost(
  8947. "sharehost\.eu\/\\w+",
  8948. '/?v=download_free&',
  8949. 'Errors occured|Wystąpiły błędy',
  8950. 'optional--',
  8951. 'optional2--',
  8952. "//a[contains(@href,'sharehost.eu')]"
  8953. );
  8954. }
  8955. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8956. {
  8957. addFileHost(
  8958. "pornfile\.cz\/\\w+",
  8959. 'Stáhnout soubor',
  8960. 'Soubor byl smazán',
  8961. 'optional--',
  8962. 'optional2--',
  8963. "//a[contains(@href,'pornfile.cz')]"
  8964. );
  8965. }
  8966. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8967. {
  8968. addFileHost(
  8969. "pornoid\.cz\/\\w+",
  8970. 'class="btn btn-large btn-download',
  8971. 'Soubor byl smazán',
  8972. 'optional--',
  8973. 'optional2--',
  8974. "//a[contains(@href,'pornoid.cz')]"
  8975. );
  8976. }
  8977. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8978. {
  8979. addFileHost(
  8980. "file-share\.top\/\\w+",
  8981. 'btn-success btn-lg download',
  8982. 'Stránka neexistuje|404 Not Found',
  8983. 'optional--',
  8984. 'optional2--',
  8985. "//a[contains(@href,'file-share.top')]"
  8986. );
  8987. }
  8988. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8989. {
  8990. addFileHost(
  8991. "bitster\.cz\/\\w+",
  8992. 'section" content="VIDEO"',
  8993. 'section" content=""',
  8994. 'optional--',
  8995. 'optional2--',
  8996. "//a[contains(@href,'bitster.cz')]"
  8997. );
  8998. }
  8999.  
  9000. }
  9001. //start here
  9002.  
  9003. //hosts with direct download, so they must be requested for headers only
  9004. function initFileHostsHeadersOnly()
  9005. {
  9006. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9007. {
  9008. var host = new Array(5);
  9009. host[0] = linkRegex;
  9010. host[1] = isAliveRegex;
  9011. host[2] = isDeadRegex;
  9012. host[3] = xpathEx;
  9013. host[4] = ispremRegex;
  9014. http_file_hosts_headers_only.push(host);
  9015. }
  9016. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9017. {
  9018. addFileHostHeadersOnly(
  9019. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9020. 'Connection: Keep-Alive',
  9021. 'Content-Length: 3857',
  9022. "//a[contains(@href,'uloziste.com')]"
  9023. )
  9024. }
  9025. if (GM_getValue("Check_adrive_dot_com_links", false))
  9026. {
  9027. addFileHostHeadersOnly(
  9028. "adrive\\.com\/public\/\\w+",
  9029. 'Connection: keep-alive',
  9030. 'orig_ref=deleted',
  9031. "//a[contains(@href,'adrive.com')]"
  9032. )
  9033. }
  9034. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9035. {
  9036. addFileHostHeadersOnly(
  9037. "myupload\\.dk\/showfile\/\\w+",
  9038. 'Expires:',
  9039. 'squeeze1\\s+Vary',
  9040. "//a[contains(@href,'myupload.dk/showfile')]"
  9041. )
  9042. }
  9043. }
  9044. //CustomRules
  9045. //functions add...Host copied here
  9046. function addObsoleteHost(linkRegex, xpathEx)
  9047. {
  9048. var host = new Array(2);
  9049. host[0] = linkRegex;
  9050. host[1] = xpathEx;
  9051. http_file_hosts_obsolete.push(host);
  9052. }
  9053. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9054. {
  9055. var host = new Array(7);
  9056. host[0] = linkRegex;
  9057. host[1] = isAliveRegex;
  9058. host[2] = isDeadRegex;
  9059. host[3] = isUnavaRegex;
  9060. host[4] = xpathEx;
  9061. tryLoop ? host[5] = true : host[5] = false;
  9062. host[6] = ispremRegex;
  9063. http_file_hosts.push(host);
  9064. }
  9065. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9066. {
  9067. var host = new Array(5);
  9068. host[0] = linkRegex;
  9069. host[1] = isAliveRegex;
  9070. host[2] = isDeadRegex;
  9071. host[3] = xpathEx;
  9072. host[4] = ispremRegex;
  9073. http_file_hosts_headers_only.push(host);
  9074. }
  9075. //takes a fully built rules array and adds the rules to WARLC
  9076. function applyCustomRules(customRules)
  9077. {
  9078. if (!customRules) return;
  9079. var rules, r, i;
  9080. rules = customRules.rules;
  9081. for (i = 0 ; i < rules.length ; i++)
  9082. {
  9083. r = rules[i];
  9084. if (r.enabled)
  9085. {
  9086. switch (r.type)
  9087. {
  9088. case 'single':
  9089. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9090. break;
  9091. case 'headers':
  9092. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9093. break;
  9094. case 'obsolete':
  9095. addObsoleteHost(r.urlregex, r.xpath)
  9096. break;
  9097. }
  9098. }
  9099. }
  9100. }
  9101.  
  9102.  
  9103. function initFileHostsCustom()
  9104. {
  9105. if (Custom_rules && Custom_rules_text)
  9106. {
  9107. var msg = '';
  9108. if (newVersion)
  9109. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9110. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9111. msg = '60 or more days have passed since this notification.\n\n';
  9112. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9113. {
  9114. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9115. msg +=
  9116. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9117. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9118. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9119. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9120. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9121. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9122. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9123. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9124. setTimeout(function(){alert(msg)},0);
  9125. }
  9126. var customRules = parseCustomRules(Custom_rules_text);
  9127. if (customRules.warning || customRules.error)
  9128. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9129. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9130. JSON.stringify(customRules.info, null, ' '));
  9131. applyCustomRules(customRules);
  9132. }
  9133. }
  9134. //end of CustomRules processing
  9135.  
  9136.  
  9137.  
  9138. } //end of function start
  9139.  
  9140.  
  9141.  
  9142. function initClipBoardTools()
  9143. {
  9144. unsafeWindow.copyToClipboard = function(text)
  9145. {
  9146. try
  9147. {
  9148. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9149.  
  9150. var str = Components.classes["@mozilla.org/supports-string;1"].
  9151. createInstance(Components.interfaces.nsISupportsString);
  9152. if (!str) return false;
  9153.  
  9154. str.data = text;
  9155.  
  9156. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9157. createInstance(Components.interfaces.nsITransferable);
  9158. if (!trans) return false;
  9159.  
  9160. trans.addDataFlavor("text/unicode");
  9161. trans.setTransferData("text/unicode", str, text.length * 2);
  9162.  
  9163. var clipid = Components.interfaces.nsIClipboard;
  9164. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9165. if (!clip) return false;
  9166.  
  9167. clip.setData(trans, null, clipid.kGlobalClipboard);
  9168. } catch (e) {
  9169. GM_log("Error copyToClipboard : " + e);
  9170. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9171. }
  9172. }
  9173. }
  9174.  
  9175.  
  9176.  
  9177. //CustomRules
  9178.  
  9179. function escapeRegex(str)
  9180. {
  9181. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9182. }
  9183.  
  9184.  
  9185. //called internally from parseCustomRules.
  9186. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9187. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9188. function makeCustomRule(rule)
  9189. {
  9190. function makeMatchRegex(arrmatch)
  9191. {
  9192. return escapeRegex(arrmatch.join('\n'))
  9193. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9194. .replace(/\n/g,'|'); //join together
  9195. }
  9196. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9197. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9198. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9199. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9200. if (rule.baseurl)
  9201. {
  9202. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9203. for (i = 0 ; i < len ; i++)
  9204. {
  9205. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9206. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9207. {
  9208. 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'])
  9209. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9210. }
  9211. else //baseurl in the form: example.com/xxx
  9212. {
  9213. xpath.push(m[0]);
  9214. urlregex.push(escapeRegex(m[0]) + '.');
  9215. }
  9216. }
  9217. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9218. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9219. }
  9220. return rule;
  9221. } //function makeCustomRule
  9222.  
  9223.  
  9224. /*
  9225. Takes a string containing custom link checking rules.
  9226. Returns an object with fields:
  9227. info - contains notes, warnings and errors found during parsing
  9228. rules - the array of custom rules
  9229. note, warning, error - number of each of them found during parsing
  9230. Format of the input string:
  9231. One command per line. Command format: @keyword parameter
  9232. Keywords:
  9233. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9234. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9235. These keywords can be multiple (any of them will work):
  9236. @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...)
  9237. @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+
  9238. @alivelink, @deadlink - example links
  9239. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9240. Lines starting with // and empty lines are ignored.
  9241. Invalid parameters generate errors and those lines are skipped.
  9242. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9243. Example:
  9244. @customrule filehost
  9245. @baseurl filehost.com/download/
  9246. @baseurl filehost2. com net /d?=
  9247. @alivematch id="download">
  9248. @deadmatch File not found
  9249. @deadmatch File deleted
  9250. */
  9251. function parseCustomRules(rulesStr)
  9252. {
  9253. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9254. function addInfo(type, msg, ln){
  9255. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9256. customRules[type]++;
  9257. }
  9258. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9259. if (!lines) return null;
  9260. lines.push('@#customrule _'); //to save the last rule
  9261. var m, linecount = lines.length;
  9262. var keyword, param, constr, rule, err;
  9263. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9264. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9265. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9266. var constraints = {
  9267. 'baseurl': {
  9268. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9269. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9270. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9271. 'alivematch': {
  9272. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9273. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9274. 'deadmatch': {
  9275. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9276. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9277. 'unavamatch': {
  9278. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9279. 'alivelink': {
  9280. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9281. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9282. 'deadlink': {
  9283. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9284. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9285. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9286. };
  9287. for (linenum = 0 ; linenum < linecount ; linenum++)
  9288. {
  9289. //capturing groups: 1 23 4 5 6
  9290. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9291. if (m)
  9292. {
  9293. if (m[1] || !m[2])
  9294. continue; // ignore empty lines and lines starting with //
  9295. keyword = (m[4] || m[2]).toLowerCase();
  9296. param = m[6];
  9297. if (keyword == 'customrule')
  9298. {
  9299. //save the current rule if all required fields are provided
  9300. if (rule)
  9301. {
  9302. err = false;
  9303. $.each(constraints, function(kw, constraint){
  9304. var l, constr = constraint[rule.type];
  9305. if (constr)
  9306. {
  9307. l = rule[kw] ? rule[kw].length : 0;
  9308. if (l < constr.min || l > constr.max)
  9309. {
  9310. 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);
  9311. err = true;
  9312. }
  9313. }
  9314. });
  9315. if (!err)
  9316. customRules.rules.push(makeCustomRule(rule));
  9317. }
  9318. //start a new rule
  9319. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9320. {
  9321. rule = {
  9322. 'enabled': !m[3],
  9323. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9324. 'name': param
  9325. };
  9326. }
  9327. else
  9328. {
  9329. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9330. rule = null;
  9331. }
  9332. }
  9333. else //good line format, but keyword other than customrule
  9334. {
  9335. if (!rule)
  9336. {
  9337. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9338. continue;
  9339. }
  9340. if (constraints[keyword])
  9341. {
  9342. constr = constraints[keyword][rule.type];
  9343. if (constr)
  9344. {
  9345. if (constr.paramRE && !constr.paramRE.test(param))
  9346. {
  9347. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9348. continue;
  9349. }
  9350. }
  9351. else
  9352. {
  9353. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9354. continue;
  9355. }
  9356. }
  9357. //line OK, save
  9358. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9359. }
  9360. } //if (m)
  9361. else
  9362. addInfo('warning', 'Unknown line format. Line skipped.');
  9363. } //for loop
  9364. return customRules;
  9365. } //function parseCustomRules

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址