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

detects live, dead and premium links.

当前为 2015-12-26 提交的版本,查看 最新版本

  1. //fixed ssh.yt not detecting some dead links fixed ncrypt.in dead links showing yellow
  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.1
  8. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8le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opKJwriTnNawSO58hcHcTk3oX4lHbYQqp5L00QXJW50GK5q4E8A0A88fgoOnBihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/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. "dailyuploads.net",
  34. "devilshare.net",
  35. "alfafile.net",
  36. "openload.co",
  37. "multiup.org",
  38. "uplea.com",
  39. "filenuke.com",
  40. "file.al",
  41. // "inafile.com",
  42. "lolabits.es",
  43. "vidto.me",
  44. "storefiles.co",
  45. "filehost.pw",
  46. "vidspot.net",
  47. "turbobit.ru",
  48. "sharesix.com|sharesix.net",
  49. "movpod.in",
  50. "thefile.me",
  51. "datoteke.com",
  52. "vidzi.tv",
  53. "videoweed.es",
  54. "vodlocker.com",
  55. "nowvideo.sx",
  56. "cloudtime.to",
  57. "thevideo.me",
  58. "vidbull.com",
  59. "allmyvideos.net",
  60. "novamov.com",
  61. "filehoot.com",
  62. "stagevu.com",
  63. "gorillavid.in",
  64. "streamin.to",
  65. "4upld.com",
  66. "cloudshares.net",
  67. "swoopshare.com",
  68. "2shared.com",
  69. "fileupload.pw",
  70. "zxcfiles.com",
  71. "up07.net",
  72. "4shared.com",
  73. "adrive.com",
  74. "aisfile.com",
  75. "hexupload.com",
  76. "bezvadata.cz",
  77. "xkeepfile.com|Gamesena.com",
  78. "usersfiles.com",
  79. "pan.baidu.com",
  80. "radicalshare.com",
  81. "datei.to",
  82. "daten-hoster.de|filehosting.org|xtraupload.de",
  83. "demo.ovh.eu",
  84. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  85. "divshare.com",
  86. "easy-share.com|crocko.com",
  87. "easybytez.com",
  88. "edisk.cz",
  89. "euroshare.eu",
  90. "file-upload.net",
  91. "yadi.sk",
  92. "wizupload.com",
  93. "fastshare.cz",
  94. "filefactory.com",
  95. "share.vnn.vn",
  96. "yunpan.cn",
  97. "gulfup.com",
  98. "tropicshare.com",
  99. "cloudzilla.to",
  100. "inclouddrive.com",
  101. "fileflyer.com",
  102. "filerio.com|filekeen.com",
  103. "up.4share.vn",
  104. "upfile.vn",
  105. "datafilehost.com",
  106. "fileband.com",
  107. "worldbytez.com",
  108. "files.mail.ru",
  109. "filesflash.com",
  110. "box.com",
  111. "uptobox.com",
  112. "box.net",
  113. "goldbytez.com",
  114. "sdilej.cz",
  115. "ex-load.com",
  116. "filesmonster.com",
  117. "filestore.to",
  118. "hulkload.com",
  119. "filedropper.com",
  120. "free-uploading.com",
  121. "gamefront.com|filefront.com",
  122. "gettyfile.ru",
  123. "gigapeta.com",
  124. "gigasize.com",
  125. "hellshare.com",
  126. "hellspy.com",
  127. "hitfile.net",
  128. "hostuje.net",
  129. "freefilehosting.net",
  130. "free.fr",
  131. "hulkshare.com",
  132. "hyperfileshare.com",
  133. "filecloud.io|ifile.it",
  134. "ifolder.ru",
  135. "jumbofiles.com",
  136. "uploadrocket.net",
  137. "lafiles.com",
  138. "leteckaposta.cz|sharegadget.com",
  139. "letitbit.net",
  140. "load.to",
  141. "mediafire.com",
  142. "megafileupload.com",
  143. "megashares.com",
  144. "movshare.net",
  145. "muchshare.net",
  146. "myupload.dk",
  147. "narod.ru|narod.yandex.ru",
  148. "fboom.me|fileboom.me",
  149. "openfile.ru",
  150. "partage-facile.com",
  151. "plunder.com",
  152. "sharerapid.cz",
  153. "exclusiveloader.com",
  154. "acefile.net",
  155. "queenshare.com",
  156. "rapidgator.net",
  157. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  158. "oboom.com",
  159. "filepi.com",
  160. "neodrive.co",
  161. "rarefile.net",
  162. "rayfile.com",
  163. "rghost.net",
  164. "sendmyway.com",
  165. "clicknupload.com",
  166. "clicknupload.me",
  167. "sharemods.com",
  168. "hostr.co",
  169. "sendspace.com",
  170. "sharecash.org",
  171. "share-links.biz",
  172. "share-online.biz|egoshare.com",
  173. "megarapid.cz",
  174. "shareflare.net",
  175. "solidfiles.com",
  176. "led.wf",
  177. "lan.wf",
  178. "adlink.wf",
  179. "click.tf",
  180. "kyc.pm",
  181. "ssh.tf",
  182. "ssh.yt",
  183. "yep.pm",
  184. "stahovanizasms.cz",
  185. "turbobit.net",
  186. "filecloud.cc",
  187. "tikfile.com",
  188. "cloudsix.me",
  189. "turboupload.com",
  190. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  191. "ulozisko.sk",
  192. "uloziste.com",
  193. "unibytes.com",
  194. "upload-il.net|przeslij.net",
  195. "uploaded.to|ul.to",
  196. "uploading.com",
  197. "chayfile.com",
  198. "rockfile.eu",
  199. "24uploading.com",
  200. "uploadspace.pl",
  201. "upnito.sk",
  202. "usaupload.net",
  203. "veehd.com",
  204. "videobb.com",
  205. "vip-file.com",
  206. "webshare.cz",
  207. "xdisk.cz",
  208. "yunfile.com|filemarkets.com",
  209. "ziddu.com",
  210. "zippyshare.com",
  211. "rodfile.com",
  212. "wikiupload.com",
  213. "uploadstube.de",
  214. "faststore.org",
  215. "flyfiles.net",
  216. "nowdownload.ch",
  217. "prefiles.com",
  218. "axifile.com",
  219. "hackerbox.org",
  220. "amonshare.com",
  221. "data.hu",
  222. "brupload.net",
  223. "userscloud.com",
  224. "netkups.com",
  225. "xfileload.com",
  226. "kumpulbagi.com",
  227. "uppit.com|up.ht",
  228. "downloadani.me",
  229. "filesabc.com",
  230. "180upload.com",
  231. "verzend.be",
  232. "4up.me",
  233. "extmatrix.com",
  234. "sendfiles.nl",
  235. "yourfilestore.com",
  236. "filebig.net",
  237. "nekaka.com",
  238. "file4safe.com",
  239. "tusfiles.net",
  240. "filemac.com",
  241. "idup.in",
  242. "fileswap.com",
  243. "ozofiles.com",
  244. "loudupload.net",
  245. "nosupload.com",
  246. "gboxes.com",
  247. "myvdrive.com|fileserving.com",
  248. "filesin.com",
  249. "novafile.com",
  250. "longfiles.com",
  251. // "uploadhero.com",
  252. "uploadbaz.com",
  253. "bitupload.com",
  254. "indowebster.com",
  255. "superload.cz",
  256. "mafiastorage.com",
  257. "4upfiles.com",
  258. "filesmelt.com",
  259. "hellupload.com",
  260. "uploadingit.com",
  261. "stiahni.si",
  262. "sendspace.pl",
  263. "fastshare.org",
  264. "filejoker.net",
  265. "filestore.com.ua",
  266. "secureupload.eu",
  267. "rapidfileshare.net",
  268. "stiahnito.sk",
  269. "rusfolder.com",
  270. "fileover.net",
  271. "catshare.net",
  272. "anonfiles.com",
  273. "mixturecloud.com",
  274. "filedais.com",
  275. // "imdb.com",
  276. "nitroflare.com",
  277. "akafile.com",
  278. "creafile.net",
  279. "hugefiles.net",
  280. "vidxden.com",
  281. "up.top4top.net",
  282. "upload.ee",
  283. "shareplace.org",
  284. "uploadc.com",
  285. "remixshare.com",
  286. "exoshare.com",
  287. "borncash.org",
  288. "junocloud.me",
  289. "expressleech.com",
  290. "2downloadz.com",
  291. "mightyupload.com",
  292. "anysend.com",
  293. "datafile.com",
  294. "upstore.net",
  295. "upsto.re",
  296. "speedy.sh",
  297. "sanshare.com",
  298. "kingfiles.net",
  299. // "uploadhero.co",
  300. "ge.tt",
  301. "filesflash.net",
  302. "salefiles.com",
  303. // "megairon.net",
  304. "datoid.cz",
  305. "cloudstor.es",
  306. "streamfile.com",
  307. "eyesfile.ca",
  308. "filemoney.com",
  309. "uploadboy.com",
  310. "speedshare.eu",
  311. "google.com",
  312. "unlimitzone.com",
  313. "rioupload.com",
  314. "rg.to",
  315. "jumbofiles.org",
  316. "fshare.vn",
  317. "spaceforfiles.com",
  318. "up.media1fire.com",
  319. "depfile.com",
  320. "go4up.com",
  321. "dropbox.com",
  322. "redbunker.net",
  323. "divxpress.com",
  324. "mega.nz|mega.co.nz",
  325. "anafile.com",
  326. "uploadable.ch",
  327. "arabloads.net",
  328. "sharerepo.com",
  329. "sfshare.se",
  330. "files.fm",
  331. "koofile.com",
  332. "vidplay.net",
  333. "storagon.com",
  334. "doraupload.com",
  335. "openload.io",
  336. "geupload.com|lenfile.com",
  337. "uploads.xxx",
  338. "toutbox.fr",
  339. ];
  340.  
  341. try
  342. {
  343. //iframes excluded
  344. if (window.top != window.self)
  345. {
  346. return;
  347. }
  348. //allHostNames sites excluded
  349. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  350. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  351. ")"))
  352. {
  353. return;
  354. }
  355. }
  356. catch (e)
  357. {
  358. return;
  359. }
  360.  
  361. //separate alternative domains with "|" char (first name is considered being main)
  362. var allContainerNames = [
  363. "adf.ly",
  364. "linkcrypt.ws",
  365. "linksafe.me",
  366. // "linksave.in",
  367. "linkto.net",
  368. "madlink.sk",
  369. "multiload.cz",
  370. "mirrorcreator.com",
  371. "ncrypt.in",
  372. "redi.re",
  373. "relink.us",
  374. "safelinking.net",
  375. "theloo.katt.it",
  376. "bit.ly",
  377.  
  378. ];
  379.  
  380. //separate alternative domains with "|" char (first name is considered being main)
  381. var allObsoleteNames = [
  382. "uloz.cz",
  383. "secured.in",
  384. "linksave.in",
  385. "filepost.com|fp.io",
  386. "rapidsonic.com",
  387. "fileparadox.com",
  388. "fileparadox.in",
  389. "uploadhero.co",
  390. "uploadhero.com",
  391. "newfileland.com",
  392. "quickshare.cz",
  393. "netload.in",
  394. "netload.me",
  395. "movreel.com",
  396. "migahost.com",
  397. "krotix.net",
  398. "jumbofile.net",
  399. "edoc.com",
  400. "down4files.com",
  401. "cramit.in|cramitin.net",
  402. "freakshare.com",
  403. "burnupload.com|burnupload.ihiphop.com",
  404. "freakshare.net",
  405. "daj.to",
  406. "bl.st",
  407. "2drive.net",
  408. "ryushare.com",
  409. "crisshare.com",
  410. "tufiles.ru",
  411. "uncapped-downloads.com",
  412. "sockshare.com",
  413. "ddlstorage.com",
  414. "dataport.cz",
  415. "dizzcloud.com",
  416. "sharebeast.com",
  417. "stahovadlo.cz",
  418. "shared.com",
  419. "storage.to",
  420. "putlocker.com",
  421. "lumfile.com",
  422. "lumfile.se",
  423. "lumfile.eu",
  424. "firedrive.com",
  425. "fileshare.in.ua",
  426. "filecore.co.nz",
  427. "iskladka.cz",
  428. "file-rack.com",
  429. "fast-load.net",
  430. "subory.sk",
  431. "bigandfree.com",
  432. "fileop.com",
  433. "mujsoubor.cz",
  434. "sendfile.to",
  435. "superfastfile.com",
  436. "quickyshare.com",
  437. "duckload.com",
  438. "uploadstore.net",
  439. "meinupload.com",
  440. "dualshare.com",
  441. "2xupload.to|2xupload.de",
  442. "oxedion.com",
  443. "uploadline.com",
  444. "dll.bz",
  445. "movieshare.in",
  446. "milledrive.com",
  447. "quickupload.net",
  448. "safelink.in",
  449. "metadivx.com",
  450. "divxlink.com",
  451. "uploadrack.com",
  452. "teradepot.com",
  453. "dataup.to",
  454. "upit.to",
  455. "driveway.com",
  456. "eatlime.com",
  457. "a2zuploads.com",
  458. "friendlyfiles.net",
  459. "flyfile.us",
  460. "speedyshare.com",
  461. "uploadspace.eu",
  462. "keepfile.com",
  463. "piggyshare.com",
  464. "uplly.com",
  465. "filecrown.com",
  466. "6giga.com",
  467. "uploadjockey.com",
  468. "bluehost.to",
  469. "filegu.ru",
  470. "filebase.to",
  471. "up-file.com",
  472. "xvideos.com",
  473. "ufox.com",
  474. "filebling.com",
  475. "loaded.it",
  476. "uploadcell.com",
  477. "uploadshare.cz",
  478. "mangoshare.com",
  479. "filestab.com",
  480. "crazyupload.com",
  481. "gaiafile.com",
  482. "sharejunky.com",
  483. "fileho.com",
  484. "bigandfree.com",
  485. "bigfile.in",
  486. "bigshare.eu",
  487. "dahosting.org",
  488. "digisofts.net",
  489. "file4save.com",
  490. "filechip.com",
  491. "filescloud.com",
  492. "saveqube.com",
  493. "turboshare.de",
  494. "z-upload.com",
  495. "youshare.com",
  496. "jiffyupload.com",
  497. "gigeshare.com",
  498. "datenklo.net",
  499. "upload.dj",
  500. "loadfiles.in",
  501. "upit.to",
  502. "dsfileshare.com",
  503. "sharesimple.net",
  504. "4files.net",
  505. "wooupload.com",
  506. "odsiebie.com",
  507. "filenavi.com",
  508. "3oof.com",
  509. "meshwaar.com",
  510. "maxupload.com",
  511. "share.cx",
  512. "atserver.eu",
  513. "hotfiles.ws",
  514. "esnips.com",
  515. "tuxfile.com",
  516. "file2upload.net",
  517. "filebling.com",
  518. "turboshare.com",
  519. "rarhost.com",
  520. "isharehd.com",
  521. "i741.com",
  522. "dataup.de",
  523. "fofly.com",
  524. "shareonall.com",
  525. "sexuploader.com",
  526. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  527. "uploadhyper.com",
  528. "filespawn.com",
  529. "caizzii.com",
  530. "volnyweb.cz",
  531. "usershare.net",
  532. "filescash.net",
  533. "metahyper.com",
  534. "combozip.com",
  535. "x7.to",
  536. "uploadbox.com",
  537. "enterupload.com|flyupload.com",
  538. "filepoint.de",
  539. "mystream.to",
  540. "x-fs.com",
  541. "shareator.com",
  542. "srapid.eu",
  543. "sosame.cz",
  544. "filesdump.com",
  545. "2-klicks.de",
  546. "uploking.com",
  547. "silofiles.com",
  548. "upfile.in",
  549. "filehook.com",
  550. "uploadking.com",
  551. "uploadhere.com",
  552. "kewlshare.com",
  553. "rapidable.com",
  554. "uploadwaste.com",
  555. "filemup.com",
  556. "filesonic.com|sharingmatrix.com",
  557. "fileserve.com",
  558. "wupload.com",
  559. "skipfile.com",
  560. "smartuploader.com",
  561. "dualshare.com",
  562. "storeandserve.com",
  563. "mountfile.com",
  564. "transitfiles.com",
  565. "uploadstation.com",
  566. "filejungle.com",
  567. "shareshared.com",
  568. "quickyshare.com",
  569. "save.am",
  570. "petandrive.com",
  571. "file2box.com",
  572. "flyshare.cz",
  573. "yabadaba.ru",
  574. "cloudcache.cc",
  575. "yourfilehost.com",
  576. "jakfile.com",
  577. "kickload.com",
  578. "pyramidfiles.com",
  579. "refile.net",
  580. "zshare.net",
  581. "ddlani.me|ddlanime.com",
  582. "ftp2share.com",
  583. "fooget.com",
  584. "rapidhide.com",
  585. "gotupload.com",
  586. "mooload.com",
  587. "zupload.com",
  588. "mytempdir.com",
  589. "onionshare.com",
  590. "stahnu.to",
  591. "oron.com",
  592. "badongo.com",
  593. "filereactor.com",
  594. "filegaze.com",
  595. "4bytez.com",
  596. "1hostclick.com",
  597. "anonstream.com",
  598. "batshare.com",
  599. "bitroad.net",
  600. "brontofile.com",
  601. "cloudnxt.net",
  602. "cloudnator.com|shragle.com",
  603. "filesfrog.net",
  604. "coolshare.cz",
  605. "dotavi.com",
  606. "ezyfile.net",
  607. "file-bit.net",
  608. "filecosy.com",
  609. "fileduct.com|fileduct.net",
  610. "filefat.com",
  611. "filelaser.com",
  612. "filemashine.com",
  613. "fileserver.cc",
  614. "filetechnology.com",
  615. "fireuploads.net",
  616. "gigfiles.net",
  617. "holderfile.com",
  618. "ihostia.com",
  619. "k2files.com",
  620. "mojofile.com",
  621. "ovfile.com",
  622. "qshare.com",
  623. "shafiles.me",
  624. "sharefilehost.com",
  625. "shareupload.com",
  626. "stahuj.to",
  627. "ugotfile.com",
  628. "uploadboost.com",
  629. "fileom.com",
  630. "vidhog.com",
  631. "xfileshare.eu",
  632. "bzlink.us",
  633. "bulletupload.com",
  634. "bloggerarticles.com",
  635. "mojedata.sk",
  636. "sharpfile.com",
  637. "upgrand.com",
  638. "nasdilej.cz",
  639. "mediatack.cz",
  640. "share-it.to",
  641. "primeupload.com",
  642. "filebeer.info",
  643. "baberepublic",
  644. "xtu.me",
  645. "sharebase.de",
  646. "luckyshare.net",
  647. "filerobo.com",
  648. "filevelocity.com",
  649. "filezpro.com",
  650. "file4sharing.com",
  651. "cing.be",
  652. "ufile.eu",
  653. "pigsonic.com",
  654. "fileupped.com",
  655. "sharerun.com",
  656. "filesaur.com",
  657. "rapidslnare.com",
  658. "bestsharing.com",
  659. "savefiles.net",
  660. "file2share.biz",
  661. "filecache.de",
  662. "monsteruploads.eu",
  663. "b9bb.com",
  664. "aiotool.net",
  665. "jamber.info",
  666. "megaftp.com",
  667. "desiupload.net",
  668. "file27.com",
  669. "yastorage.com",
  670. "filehost.ws",
  671. "copyload.com",
  672. "venusfile.com",
  673. "aieshare.com",
  674. "terafile.co",
  675. "terafile.com",
  676. "fileza.net",
  677. "filerose.com",
  678. "squillion.com",
  679. "fileprohost.com",
  680. "bitbonus.com",
  681. "warserver.cz",
  682. "uload.to",
  683. "sharedbit.net",
  684. "megaload.it",
  685. "filewinds.com",
  686. "uploadcore.com",
  687. "syfiles.com",
  688. "eyesfile.com",
  689. "hotfile.com",
  690. "superupl.com",
  691. "oteupload.com",
  692. "henchfile.com",
  693. "filegag.com",
  694. "HenchFile.com",
  695. "filedefend.com",
  696. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  697. "megabitshare.com",
  698. "cloudzer.com",
  699. "asfile.com",
  700. "cloudzer.net",
  701. "clz.to",
  702. "extabit.com",
  703. "247upload.com",
  704. "2download.de",
  705. "4fastfile.com",
  706. "asixfiles.com",
  707. "berofile.com",
  708. "bigupload.com",
  709. "cepzo.com",
  710. "clouds.to",
  711. "cobrashare.sk",
  712. "coraldrive.net",
  713. "cyberlocker.ch",
  714. "czshare.com",
  715. "darkport.org",
  716. "dark-uploads.com",
  717. "davvas.com",
  718. "enigmashare.com",
  719. "erofly.cz",
  720. "fastsonic.net",
  721. "filebox.com",
  722. "filecity.net",
  723. "filedap.com",
  724. "filedino.com",
  725. "filedownloads.org",
  726. "filefolks.com",
  727. "fileking.co",
  728. "filemates.com",
  729. "files.to",
  730. "files2k.eu",
  731. "filesector.cc",
  732. "bitshare.com",
  733. "filesega.com",
  734. "filesend.net",
  735. "filestay.com",
  736. "filestrum.com",
  737. "fileuplo.de",
  738. "fileupup.com",
  739. "forunesia.com",
  740. "freeuploads.fr",
  741. "uploa.dk",
  742. "getthebit.com",
  743. "getzilla.net",
  744. "goldfile.eu",
  745. "good.com",
  746. "grupload.com",
  747. "hellfile.com",
  748. "hipfile.com",
  749. "hitfile.com",
  750. "hulkfile.eu|duckfile.net",
  751. "i-filez.com",
  752. "ifile.ws",
  753. "kupload.org",
  754. "packupload.com",
  755. "lemuploads.com",
  756. "limelinx.com",
  757. "maxshare.pl",
  758. "megarelease.org",
  759. "megashare.com",
  760. "minus.com",
  761. "mlfat4arab.com",
  762. "multishare.cz",
  763. "nirafile.com",
  764. "ok2upload.com",
  765. "peejeshare.com",
  766. "premiuns.org",
  767. "przeklej.net",
  768. "qkup.net",
  769. "rapidupload.sk",
  770. "rockdizfile.com",
  771. "rocketfile.net",
  772. "share-now.net",
  773. "share76.com",
  774. "sharebees.com",
  775. "sharefiles.co",
  776. "slingfile.com",
  777. "sms4file.com",
  778. "space4file.com",
  779. "tigershare.net",
  780. "toucansharing.com",
  781. "ubuntuone.com",
  782. "unextfiles.com",
  783. "upaj.pl",
  784. "upfile.biz",
  785. "uploadbin.net",
  786. "uploadic.com",
  787. "uploadinc.com",
  788. "uploading4u.eu",
  789. "uploadjet.net",
  790. "uploadorb.com",
  791. "upthe.net",
  792. "uptorch.com",
  793. "vidbox.yt",
  794. "videozer.com",
  795. "vreer.com",
  796. "wallobit.com",
  797. "zooupload.com",
  798. "privatefiles.com",
  799. "xerver.co",
  800. "BillionUploads.com",
  801. "rapidshare.com",
  802. "rapidshare.ru",
  803. "4savefile.com",
  804. "bayfiles.com",
  805. "bayfiles.net",
  806. "dodane.pl",
  807. "dotsemper.com",
  808. "egofiles.com",
  809. "epicshare.net",
  810. "fiberupload.net",
  811. "filemonkey.in",
  812. "filemonster.net",
  813. "filepom.com",
  814. "filesbb.com",
  815. "fileshareup.com",
  816. "filevice.com",
  817. "gigaup.fr",
  818. "isavelink.com",
  819. "loombo.com",
  820. "megafiles.se",
  821. "migupload.com",
  822. "mydisc.net",
  823. "nitrobits.com",
  824. "potload.com",
  825. "redload.net",
  826. "shareprofi.com",
  827. "sharesuper.info",
  828. "sinhro.net",
  829. "speedfile.cz",
  830. "speedshare.org",
  831. "storage.novoro.net",
  832. "swankshare.com",
  833. "swatupload.com",
  834. "upafile.com",
  835. "uploadmachine.com",
  836. "uploadsat.com",
  837. "upshared.com",
  838. "usefile.com",
  839. "yourfiles.to",
  840. "zomgupload.com",
  841. "ultramegabit.com",
  842. "uploadto.us",
  843. "inafile.com",
  844. "megairon.net",
  845.  
  846. ];
  847. ///////////////////////////////////////////////////////////////////////////////////////
  848. var firstRun = GM_getValue("First_run", true);
  849.  
  850. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  851. //////////////////////////////////////////////////////////////////////////////////////
  852. try
  853. {
  854. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  855. var last_known_version = GM_getValue("last_known_version", "");
  856. if (!last_known_version)
  857. {
  858. last_known_version = thisVersion;
  859. GM_setValue("last_known_version", last_known_version);
  860. }
  861. //var newVersion = !(thisVersion == last_known_version);
  862. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  863. GM_setValue("last_known_version", thisVersion);
  864. }
  865. catch (err)
  866. {
  867. var newVersion = false;
  868. }
  869.  
  870. var now = (new Date()).getTime();
  871. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  872. if (!last_custom_rules_nag)
  873. {
  874. last_custom_rules_nag = now;
  875. GM_setValue('last_custom_rules_nag', ''+now);
  876. }
  877.  
  878.  
  879. allHostNames.sort();
  880. allContainerNames.sort();
  881. allObsoleteNames.sort();
  882.  
  883. var RAND_STRING = "8QyvpOSsRG3QWq";
  884. var DEBUG_MODE = false;
  885.  
  886. var TOOLTIP_MAXWIDTH = 600; //in pixels
  887. var TOOLTIP_THUMBWIDTH = 200;
  888. var containers_processed = false;
  889.  
  890. //settings for keyboard functions start
  891. var CHECK_ALL_LINKS_KEY = "A";
  892. var CONFIGURATION_KEY = "C";
  893. var copy_to_dead_key = "D";
  894. var toggle_autocheck_key = "W";
  895. var toggle_Enable_Anonymizer_key = "Z";
  896. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  897. var first_key_keycodename = 'CTRL';
  898. var second_key_keycode = '18';
  899. var second_key_keycodename = 'ALT';
  900. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  901. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  902. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  903. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  904. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  905. //settings for keyboard functions end
  906.  
  907. //global settings start
  908. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  909. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  910. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  911. var Show_progress_stats, Display_tooltip_info, Icon_set;
  912. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  913. var Progress_box_refresh_rate;
  914. var Obsolete_file_hosts;
  915. var Custom_rules, Custom_rules_text;
  916.  
  917. var messageBox = document.createElement('b'); // top-left message box
  918.  
  919. var cLinksTotal = 0;
  920. var cLinksDead = 0;
  921. var cLinksAlive = 0;
  922. var cLinksUnava = 0;
  923. var cLinksprem = 0;
  924. var cLinksProcessed = 0;
  925.  
  926. var intervalId; //for updateProgress()
  927.  
  928. //icon resources
  929. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEU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XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  936. 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=';
  937. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xu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KPi8wu/q4H8nSgBzcyQl9jN1ifvp8z8+acQw50brxk2Rd1u+fvzfy1MDaN7DOO7ohnSgqe2Pf0/rYJh1/N7/0uB4tdYuRknJMzgzZYyV2L89pub4c3Xbwwb4q+de3/9pwVQ/jfcAGYWhrJ5x207ZdSFGB59Ockwb+L3vydX/7oRPYFPW05DnuHbb1aGD79+MRyZev/H9TlvTIB6riK7EhQGbNr2rJe714eq/fjLwPD8x22GO5/eM/CzijN8BdoD0nz3/FuG/an3Sv7/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  940. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFKni8XHqIIgEzkR+dMhGtVsYvjJgt6L+1Rq4FN/hcA2md01a0PjhPM8n44bDLjXeBf36A+nZzeG+Cr+wEGSeL0LsDZDq5VBcDT8dhkxpuZpbN6hXIAL76Vbd1gqgC+IX/6zhqWE1h/AYSwSjYrmXJlAAAAAElFTkSuQmCC';
  941. var NEW_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2l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NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  942. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  943.  
  944. //global settings end
  945. if (window.opera && !window.console)
  946. {
  947. window.console = {};
  948.  
  949. function fn()
  950. {
  951. opera.postError(arguments);
  952. };
  953. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  954. {
  955. window.console[name] = fn;
  956. });
  957. }
  958.  
  959. //displays colored text in message box
  960. function sendMessage(text, color)
  961. {
  962. var msgDiv = document.createElement('div');
  963. msgDiv.style.color = color;
  964. msgDiv.innerHTML = text;
  965. messageBox.appendChild(msgDiv);
  966. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  967. }
  968.  
  969. function linkify(totalourls)
  970. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  971. var ikkeTilladteTags;
  972. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  973. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  974. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  975. allLinksRegex = new RegExp(allLinksRegex, "g");
  976. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  977.  
  978. if (Do_not_linkify_DL_links)
  979. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  980. else
  981. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  982.  
  983. var regex = new RegExp(regexy);
  984. var textNode, muligtLink;
  985.  
  986. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  987. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  988.  
  989. var i = textNodes.snapshotLength;
  990. while (i--)
  991. {
  992. textNode = textNodes.snapshotItem(i);
  993.  
  994. muligtLink = textNode.nodeValue; //all links on page
  995.  
  996. var myArray = null;
  997. var span = null;
  998. var lastLastIndex = 0;
  999. allLinksRegex.lastIndex = 0;
  1000. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1001. {
  1002. if (textNode.parentNode.className == "adead_link") continue;
  1003. var censoredLink = muligtLink;
  1004. var span = document.createElement('span');
  1005. span.className = "adead_link";
  1006. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1007. $(span).html(censoredLink);
  1008. span.addEventListener("mouseover", displayTooltipError, false);
  1009. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1010. textNode.parentNode.replaceChild(span, textNode);
  1011. continue;
  1012. alert(censoredLink);
  1013. }
  1014. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1015. {
  1016. if (!regex.test(myArray[0])) //this link is not recognized
  1017. {
  1018.  
  1019. continue;
  1020. }
  1021. if (!span)
  1022. span = document.createElement('span');
  1023.  
  1024. var link = myArray[0];
  1025. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1026.  
  1027. var $a = $("<a>" + link + "</a>")
  1028. if (!link.match(/https?:\/\//))
  1029. {
  1030. link = 'http://' + link;
  1031. }
  1032.  
  1033. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1034. .addClass("processing_link")
  1035. .appendTo(span);
  1036. lastLastIndex = allLinksRegex.lastIndex;
  1037. }
  1038. if (span)
  1039. {
  1040. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1041. textNode.parentNode.replaceChild(span, textNode);
  1042. }
  1043. }
  1044. }
  1045.  
  1046. function add_WARLC_style()
  1047. {
  1048. if (!(document.getElementsByTagName('WARLC')[0]))
  1049. {
  1050. var meta_not_to_add_more_style = document.createElement("WARLC");
  1051. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1052. meta_not_to_add_more_style.setAttribute('name', 'description');
  1053. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1054. alive_link_png = "";
  1055. adead_link_png = "";
  1056. unava_link_png = "";
  1057. prem_link_png = "";
  1058. switch(Icon_set)
  1059. {
  1060. //no icons
  1061. case 0: break;
  1062. // cat paws
  1063. case 1: alive_link_png = PAW_ICON_GREEN;
  1064. adead_link_png = PAW_ICON_RED;
  1065. unava_link_png = PAW_ICON_YELLOW;
  1066. prem_link_png = PAW_ICON_PINK;
  1067. break;
  1068. // classic RSLC look
  1069. case 2: alive_link_png = RSLC_ICON_GREEN;
  1070. adead_link_png = RSLC_ICON_RED;
  1071. unava_link_png = RSLC_ICON_YELLOW;
  1072. prem_link_png = RSLC_ICON_PINK;
  1073. break;
  1074. // New Icons
  1075. case 3: alive_link_png = NEW_ICON_GREEN;
  1076. adead_link_png = NEW_ICON_RED;
  1077. unava_link_png = NEW_ICON_YELLOW;
  1078. prem_link_png = NEW_ICON_PINK;
  1079. break;
  1080. // cat paws
  1081. default:alive_link_png = PAW_ICON_GREEN;
  1082. adead_link_png = PAW_ICON_RED;
  1083. unava_link_png = PAW_ICON_YELLOW;
  1084. prem_link_png = PAW_ICON_PINK;
  1085. break;
  1086. }
  1087. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1088. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1089.  
  1090. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1091.  
  1092. if (Color_DL_links)
  1093. {
  1094. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1095. live_color_css = 'color:' + Live_links_color + ' !important;';
  1096. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1097. container_color_css = 'color:' + Container_links_color + ' !important;';
  1098. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1099. }
  1100. else
  1101. {
  1102. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1103. }
  1104.  
  1105. if (Show_black_background_in_DL_links)
  1106. {
  1107. black_background_css = 'background-color: black !important;';
  1108. }
  1109. else
  1110. {
  1111. black_background_css = '';
  1112. }
  1113.  
  1114. if (Show_line_through_in_dead_links)
  1115. {
  1116. line_through_css = 'text-decoration: line-through !important;';
  1117. }
  1118. else
  1119. {
  1120. line_through_css = '';
  1121. }
  1122.  
  1123. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1124. 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 + "}");
  1125. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1126. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1127. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1128. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1129. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1130. }
  1131. }
  1132.  
  1133. var warlcTooltip = null;
  1134. var mouseoverLink = null; //link href with mouse cursor over it
  1135.  
  1136. var lastX = 0;
  1137. var lastY = 0;
  1138.  
  1139. $(document).ready(initTooltip);
  1140. //inits tooltip
  1141. function initTooltip()
  1142. { warlcTooltip = document.createElement("div");
  1143. 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;");
  1144. warlcTooltip.style.visibility = "hidden";
  1145. document.body.appendChild(warlcTooltip);
  1146. }
  1147.  
  1148. //"mousemove" event handler for all links
  1149. function moveTooltip(event)
  1150. {
  1151. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1152. { //no need to reflow if the cursor moved just a little
  1153. return;
  1154. }
  1155. else
  1156. {
  1157. lastX = event.clientX;
  1158. lastY = event.clientY;
  1159. }
  1160.  
  1161. posX = event.clientX + window.pageXOffset + 10;
  1162. posY = event.clientY + window.pageYOffset;
  1163. var ttHeight = warlcTooltip.offsetHeight;
  1164. var ttFreeSpace = window.innerHeight - event.clientY;
  1165. if (ttHeight > ttFreeSpace)
  1166. { //prevents tooltip from getting out of the window
  1167. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1168. }
  1169. else
  1170. {
  1171. posY += 7;
  1172. }
  1173. warlcTooltip.style.top = posY + "px";
  1174. warlcTooltip.style.left = posX + "px";
  1175. }
  1176.  
  1177. //"mouseout" event handler for all links
  1178. function hideTooltip(){
  1179. warlcTooltip.style.visibility = "hidden";
  1180. mouseoverLink = null;
  1181. }
  1182.  
  1183.  
  1184. //"mouseover" event handler for dead links
  1185. //displays tooltip error message on dead links
  1186. function displayTooltipError()
  1187. {
  1188. mouseoverLink = this.href;
  1189. this.addEventListener("mouseout", hideTooltip);
  1190. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1191. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1192. warlcTooltip.style.minWidth = 0;
  1193. warlcTooltip.style.visibility = "visible";
  1194. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1195. {
  1196. warlcTooltip.innerHTML = this.warlc_error;
  1197. }
  1198. else
  1199. {
  1200. loadErrorInfo(this);
  1201. }
  1202. function loadErrorInfo(link)
  1203. {
  1204. var href = link.href;
  1205. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1206. GM_xmlhttpRequest({
  1207. method: 'GET',
  1208. url: href.replace(Ref_anonymize_service, ""),
  1209. headers: {
  1210. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1211. 'Accept': 'text/xml',
  1212. 'Referer': ""
  1213. },
  1214. onload: function(result) {
  1215. var res = result.responseText;
  1216. //TODO: errorRegexs -
  1217. var errorRegexs = [ //generic error messages follow
  1218. /(empty directory)/i,
  1219. /(soubor nebyl nalezen)/i,
  1220. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1221. //server specific error messages follow
  1222. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1223. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1224. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1225. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1226. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1227. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1228. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1229. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1230. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1231. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1232. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1233. /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1234. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1235. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1236. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1237. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1238. /(File has been removed due to Copyright Claim)/, //filerio
  1239. ];
  1240. var errorIdx = errorRegexs.length;
  1241. var error = "Cause of error: <b>unknown</b>";
  1242. var errorCandidate = "";
  1243. while(errorIdx--)
  1244. {
  1245. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1246. if (errorCandidate != null)
  1247. {
  1248. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1249. break;
  1250. }
  1251. }
  1252. //link attributes
  1253. link.warlc_error = error;
  1254. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1255. {
  1256. warlcTooltip.innerHTML = error;
  1257. }
  1258. }
  1259. });
  1260. }
  1261. }
  1262.  
  1263. //"mouseover" event handler for alive links
  1264. //displays tooltip info (file size, file name,...) on alive links
  1265. function displayTooltipInfo()
  1266. {
  1267. mouseoverLink = this.href;
  1268. //exclude direct download filehostings
  1269. 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)/))
  1270. {
  1271. return;
  1272. }
  1273. this.addEventListener("mouseout", hideTooltip);
  1274. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1275. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1276. warlcTooltip.style.minWidth = 0;
  1277. warlcTooltip.style.visibility = "visible";
  1278. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1279. {
  1280. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1281. }
  1282. else
  1283. {
  1284. loadInfo(this);
  1285. }
  1286. function loadInfo(link)
  1287. {
  1288. var href = link.href;
  1289. GM_xmlhttpRequest({
  1290. method: 'GET',
  1291. url: href.replace(Ref_anonymize_service, ""),
  1292. headers: {
  1293. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1294. 'Accept': 'text/xml',
  1295. 'Referer': ""
  1296. },
  1297. onload: function(result) {
  1298. var res = result.responseText;
  1299. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1300. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1301. /fl" title="(.+?)">/, //edisk
  1302. /<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
  1303. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1304. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1305. /title="download (.+?)">/, //sendspace
  1306. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1307. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1308. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1309. /d0FileName = "(.+?)";/, //letitbit
  1310. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1311. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1312. /fname" value="(.+?)">/, //syfiles, grupload,
  1313. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1314. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1315. /Complete name : (.+?)<br \/>/, //bezvadata
  1316. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1317. ];
  1318. var nameIdx = nameRegexs.length;
  1319. // [sizeRegexs]
  1320. // / \ \?
  1321. // prefix (size) postfix
  1322. // / \
  1323. // val quant
  1324. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1325. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1326. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1327. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1328. var postSizeRegex = '(?:\\))?';
  1329. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1330. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1331. ];
  1332. var sizeIdx = sizeRegexs.length;
  1333. //
  1334. //
  1335. var tooltip = "File Name: <b>";
  1336. var fileName = "unknown";
  1337. var nameCandidate = "";
  1338. while(nameIdx--)
  1339. {
  1340. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1341. if (nameCandidate != null)
  1342. {
  1343. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1344. break;
  1345. }
  1346. }
  1347. tooltip += fileName + "</b><br>File Size: <b>";
  1348. var fileSize = "unknown";
  1349. var sizeCandidate = "";
  1350. while(sizeIdx--)
  1351. {
  1352. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1353. if (sizeCandidate != null)
  1354. {
  1355. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1356. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1357. {
  1358. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1359. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1360. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1361. }
  1362. break;
  1363. }
  1364. }
  1365. tooltip += fileSize + "</b>";
  1366. // PROTOTYPE
  1367. // video thumbnails
  1368. if (href.match('hellshare'))
  1369. {
  1370. var thumbs;
  1371. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1372. if (thumbs)
  1373. {
  1374. tooltip += '<br>';
  1375. var j = Math.min(thumbs.length, 9);
  1376. for (var i = 0; i < j; i++)
  1377. {
  1378. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1379. }
  1380. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1381. }
  1382. }
  1383. if (href.match('czshare'))
  1384. {
  1385. var thumbs;
  1386. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1387. if (thumbs)
  1388. {
  1389. var thumbsServer = thumbs[1];
  1390. var thumbsId = thumbs[2];
  1391. tooltip += '<br>';
  1392. for (var i = 1; i < 9; i++)
  1393. {
  1394. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1395. }
  1396. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1397. }
  1398. }
  1399. if (href.match('bezvadata'))
  1400. {
  1401. var thumbs;
  1402. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1403. if (thumbs)
  1404. {
  1405. tooltip += '<br>';
  1406. var j = Math.min(thumbs.length, 9);
  1407. for (var i = 0; i < j; i++)
  1408. {
  1409. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1410. }
  1411. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1412. }
  1413. }
  1414. link.warlc_tooltipcache = tooltip;
  1415. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1416. {
  1417. warlcTooltip.innerHTML = tooltip;
  1418. }
  1419. }
  1420. });
  1421. }
  1422. }
  1423.  
  1424. function setVariables()
  1425. {
  1426. if (firstRun)
  1427. {
  1428. GM_log('First run, applying default settings...');
  1429. GM_setValue("Icon_set",1);
  1430. GM_setValue("Display_tooltip_info",true);
  1431. GM_setValue("Show_black_background_in_DL_links",false);
  1432. GM_setValue("Show_line_through_in_dead_links",false);
  1433. GM_setValue("Display_full_links_in_link_containers",false);
  1434. GM_setValue("Allow_spaces_in_DL_links",false);
  1435. GM_setValue("Autocheck",true);
  1436. GM_setValue("Enable_Anonymizer",false);
  1437. GM_setValue("Do_not_linkify_DL_links",false);
  1438. GM_setValue("Show_progress_stats",true);
  1439. GM_setValue("Keyboard_functions",true);
  1440. GM_setValue("Obsolete_file_hosts",false);
  1441. GM_setValue("Color_DL_links",true);
  1442. GM_setValue("Live_links_color","Green");
  1443. GM_setValue("Dead_links_color","#FF3300");
  1444. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1445. GM_setValue("Container_links_color","DarkKhaki");
  1446. GM_setValue("Premium_links_color","DeepPink");
  1447. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1448. GM_setValue("Custom_rules",false);
  1449. GM_setValue("Custom_rules_text","");
  1450. GM_setValue("First_run", false);
  1451. }
  1452. //hidden settings
  1453. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1454. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1455. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1456. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1457. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1458. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1459. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1460. //hidden settings end
  1461.  
  1462. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1463. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1464. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1465. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1466. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1467. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1468. Autocheck = GM_getValue("Autocheck", true);
  1469. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1470. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1471. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1472. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1473. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1474. Color_DL_links = GM_getValue("Color_DL_links", true);
  1475. Live_links_color = GM_getValue("Live_links_color", "Green");
  1476. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1477. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1478. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1479. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1480. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1481. Custom_rules = GM_getValue("Custom_rules", false);
  1482. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1483. }
  1484.  
  1485.  
  1486. // Delinkifies the links
  1487. // params:
  1488. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1489. // e.g. 'uloz.to/xs68skxl8')
  1490. function delinkifySnapshot(snapshot)
  1491. {
  1492. var n = snapshot.snapshotLength;
  1493.  
  1494. while (n--)
  1495. {
  1496. thisLink = snapshot.snapshotItem(n);
  1497.  
  1498. var spanElm = document.createElement("span");
  1499. spanElm.className = thisLink.className;
  1500. spanElm.innerHTML = thisLink.innerHTML;
  1501.  
  1502. if (Display_tooltip_info)
  1503. {
  1504. spanElm.href = thisLink.href;
  1505. switch (thisLink.className){
  1506. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1507. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1508. case "unava_link": //reserved
  1509. default:
  1510. }
  1511. }
  1512. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1513. }
  1514. }
  1515.  
  1516. function processContainers()
  1517. {
  1518. var redirectorTypes = { "HTTP_302": 0,
  1519. "INNER_LINK": 1,
  1520. "THELOO_KATT_IT": 2,
  1521. "CING_BE": 3,
  1522. "ADF_LY": 4};
  1523. var cMultiloadTotal = 0;
  1524. var cMultiloadProcessed = 0;
  1525.  
  1526. var cMirrorcreatorComTotal = 0;
  1527. var cMirrorcreatorComProcessed = 0;
  1528.  
  1529. var hostRestrictionRegex = "";
  1530. var multiloadComRestriction = "";
  1531. var multiloadComRestrictionRegex;
  1532.  
  1533. //
  1534. //HANDLING REDIRECTORS START
  1535. //
  1536.  
  1537. var redirectors = new Array();
  1538. initRedirectors();
  1539.  
  1540. var redirectorsCount = redirectors.length;
  1541.  
  1542. if (redirectorsCount > 0)
  1543. {
  1544. var allRedirectorsRegex = "";
  1545.  
  1546. //linkify redirector links
  1547. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1548. {
  1549. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1550. }
  1551. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1552. linkify(allRedirectorsRegex);
  1553. //
  1554. //process redirector links
  1555. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1556. {
  1557. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1558. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1559.  
  1560. cLinksTotal += redirectors[redirIdx].cTotal;
  1561. var linkIdx = redirectors[redirIdx].cTotal;
  1562.  
  1563. while(linkIdx--)
  1564. {
  1565. switch(redirectors[redirIdx].type)
  1566. {
  1567. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1568. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1569. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1570. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1571. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1572. default:
  1573. }
  1574. }
  1575. }
  1576. //
  1577. }
  1578.  
  1579. //HTTP_302
  1580. function processRedirectorLink(link, redirectorId)
  1581. {
  1582. link.className = 'container_link';
  1583.  
  1584. GM_xmlhttpRequest({
  1585. method: 'HEAD',
  1586. url: link.href,
  1587. headers: {
  1588. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1589. 'Accept': 'text/xml',
  1590. 'Referer': ""
  1591. },
  1592. onload: function(result) {
  1593. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1594. {
  1595. processRedirectorLink(link, redirectorId);
  1596. }
  1597. else
  1598. {
  1599. redirectors[redirectorId].cProcessed++;
  1600. link.href = result.finalUrl;
  1601. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1602. checkLinks('container_link');
  1603. }
  1604. },
  1605. onerror: function(result) { //probably caused by unresponsive filehosting
  1606. redirectors[redirectorId].cProcessed++;
  1607. link.className = 'unava_link';
  1608. cLinksProcessed++;
  1609. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1610. checkLinks('container_link');
  1611. }
  1612. });
  1613. }
  1614. //INNER_LINK
  1615. function processRedirectorLinkEx(link, redirectorId)
  1616. {
  1617. link.className = 'container_link';
  1618. GM_xmlhttpRequest({
  1619. method: 'GET',
  1620. url: link.href,
  1621. headers: {
  1622. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1623. 'Accept': 'text/xml',
  1624. 'Referer': ""
  1625. },
  1626. onload: function(result) {
  1627. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1628. redirectors[redirectorId].cProcessed++;
  1629. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1630. checkLinks('container_link');
  1631. }
  1632. });
  1633. }
  1634. //theloo.katt.it (wrapped safelinking.net)
  1635. function processThelooKattItLink(link, redirectorId)
  1636. {
  1637. link.className = 'container_link';
  1638. GM_xmlhttpRequest({
  1639. method: 'GET',
  1640. url: link.href,
  1641. headers: {
  1642. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1643. 'Accept': 'text/xml',
  1644. 'Referer': ""
  1645. },
  1646. onload: function(result) {
  1647. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1648. redirectors[redirectorId].cProcessed++;
  1649. //the inner links are safelinking.net links, so lets proceed with it
  1650. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1651. {
  1652. processRedirectorLink(link, 0);
  1653. }
  1654. }
  1655. });
  1656. }
  1657. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1658. function processAdfLyLink(link, redirectorId)
  1659. {
  1660. link.className = 'container_link';
  1661. GM_xmlhttpRequest({
  1662. method: 'GET',
  1663. url: link.href,
  1664. headers: {
  1665. 'User-agent': 'Mozilla/4.0',
  1666. 'Accept': 'text/xml',
  1667. 'Referer': ""
  1668. },
  1669. onload: function(result) {
  1670. if (result.finalUrl.match('/locked/'))
  1671. {
  1672. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1673. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1674. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1675. }
  1676. else
  1677. {
  1678. // GM_log('Processing... ' + link.href);
  1679. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1680. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1681. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1682. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1683. //confirm advert
  1684. GM_xmlhttpRequest(
  1685. {
  1686. method: 'POST',
  1687. url: 'http://adf.ly/l.php',
  1688. headers: {
  1689. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1690. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1691. 'Referer': link.href
  1692. },
  1693. data: users + '&lt=' + logToken,
  1694. onload: function(result) {
  1695. //retrieve final url from .../go/... link
  1696. GM_xmlhttpRequest({
  1697. method: 'GET',
  1698. url: directLink,
  1699. headers: {
  1700. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1701. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1702. 'Referer': link.href
  1703. },
  1704. onload: function(result) {
  1705. link.href = result.finalUrl;
  1706. redirectors[redirectorId].cProcessed++;
  1707. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1708. checkLinks('container_link');
  1709. }
  1710. });
  1711. }
  1712. });
  1713. }
  1714. }
  1715. });
  1716. function proceedOK()
  1717. {
  1718. }
  1719. }
  1720. //MULTILOAD.CZ START
  1721. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1722. {
  1723. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1724. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1725.  
  1726. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1727.  
  1728. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1729. hostRestrictionRegex += 'hellshare|';
  1730. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1731. hostRestrictionRegex += 'share-rapid\\.com|';
  1732. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1733. hostRestrictionRegex += 'quickshare\\.cz|';
  1734. if (GM_getValue("Check_czshare_dot_com_links", false))
  1735. hostRestrictionRegex += 'czshare\\.com|';
  1736. if (GM_getValue("Check_uloz_dot_to_links", false))
  1737. hostRestrictionRegex += 'uloz\\.to|';
  1738. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1739. hostRestrictionRegex += 'hellspy|';
  1740. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1741. hostRestrictionRegex += 'multishare\\.cz|';
  1742.  
  1743. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1744.  
  1745. linkify(mlRegex);
  1746.  
  1747. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1748. var mlCount = mlSnapshot.snapshotLength;
  1749.  
  1750. if (mlCount > 0)
  1751. {
  1752. cMultiloadTotal += mlCount;
  1753.  
  1754. mlIdx = mlCount - 1;
  1755. do
  1756. {
  1757. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1758. }
  1759. while(mlIdx--)
  1760. }
  1761. }
  1762. //MULTILOAD.CZ END
  1763.  
  1764.  
  1765.  
  1766. function processMultiloadLink(mlLink)
  1767. {
  1768. GM_xmlhttpRequest({
  1769. method: 'GET',
  1770. url: mlLink.href,
  1771. headers: {
  1772. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1773. 'Accept': 'text/xml',
  1774. 'Referer': ""
  1775. },
  1776. onload: function(result) {
  1777. var res = result.responseText;
  1778.  
  1779. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1780. 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;
  1781. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1782. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1783.  
  1784. var blocks; // blocks of links
  1785. var blockIdx;
  1786.  
  1787. mlLink.className = '';
  1788.  
  1789. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1790. {
  1791. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1792. return;
  1793. }
  1794.  
  1795. blocks = res.match(innerBlockRegex);
  1796.  
  1797. if (blocks == null) //no links found, cancel further processing
  1798. {
  1799. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1800. cMultiloadProcessed++;
  1801. if (cMultiloadTotal <= cMultiloadProcessed)
  1802. {
  1803. startBulkCheck('container_link');
  1804. start('container_link');
  1805. }
  1806. return;
  1807. }
  1808.  
  1809. blockIdx = blocks.length;
  1810.  
  1811. if (Display_full_links_in_link_containers)
  1812. {
  1813. var ulElm = document.createElement('ul');
  1814. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1815.  
  1816. while(blockIdx--)
  1817. {
  1818. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1819. {
  1820. continue;
  1821. }
  1822.  
  1823. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1824.  
  1825. var linkIdx = innerLinks.length;
  1826. while (linkIdx--)
  1827. {
  1828. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1829.  
  1830. var liElm = document.createElement('li');
  1831.  
  1832. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1833. {
  1834. liElm.appendChild(document.createTextNode(innerLink));
  1835. }
  1836. else
  1837. {
  1838. var aElm = document.createElement('a');
  1839. aElm.innerHTML = innerLink;
  1840. aElm.href = innerLink;
  1841. aElm.className = 'container_link';
  1842.  
  1843. liElm.appendChild(aElm);
  1844. }
  1845.  
  1846. ulElm.appendChild(liElm);
  1847. cLinksTotal++;
  1848. }
  1849. }
  1850.  
  1851. mlLink.parentNode.appendChild(ulElm);
  1852. }
  1853. else //compact view
  1854. {
  1855. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1856.  
  1857. while(blockIdx--)
  1858. {
  1859. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1860. {
  1861. continue;
  1862. }
  1863.  
  1864. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1865.  
  1866. var linkIdx = innerLinks.length;
  1867. while (linkIdx--)
  1868. {
  1869. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1870.  
  1871. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1872. {
  1873. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1874. }
  1875. else
  1876. {
  1877. var aElm = document.createElement('a');
  1878.  
  1879. var hostName = innerLink.match(/quickshare|hellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1880.  
  1881. //abbreviate host name
  1882. switch(hostName + ""){
  1883.  
  1884. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1885. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1886. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1887. case 'multishare': aElm.innerHTML = 'MS'; break;
  1888. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1889. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1890. case 'czshare': aElm.innerHTML = 'CS'; break;
  1891. default: aElm.innerHTML = 'xx';
  1892.  
  1893. }
  1894.  
  1895. aElm.href = innerLink;
  1896. aElm.className = 'container_link';
  1897.  
  1898. mlLink.parentNode.appendChild(aElm);
  1899. cLinksTotal++;
  1900. }
  1901. }
  1902.  
  1903. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1904.  
  1905. }
  1906. }
  1907.  
  1908. cMultiloadProcessed++;
  1909. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1910. {
  1911. if (Do_not_linkify_DL_links)
  1912. {
  1913. delinkifySnapshot(mlSnapshot);
  1914. }
  1915. startBulkCheck('container_link');
  1916. start('container_link');
  1917. }
  1918. }
  1919. });
  1920. }
  1921.  
  1922.  
  1923. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1924. {
  1925. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1926. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1927. var mcShortHostNames =
  1928. '?? 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';
  1929. // 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
  1930. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1931. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1932. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1933. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1934.  
  1935. linkify(mcRegex);
  1936.  
  1937. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1938. var mcCount = mcSnapshot.snapshotLength;
  1939.  
  1940. cMirrorcreatorComTotal = mcCount;
  1941.  
  1942. if (mcCount > 0)
  1943. {
  1944. mcShortHostNames = mcShortHostNames.split(' ');
  1945. mcIdx = mcCount;
  1946. while(mcIdx--)
  1947. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1948. }
  1949.  
  1950. }
  1951. //MIRRORCREATOR.CZ END
  1952.  
  1953.  
  1954. //mirrorcreator.com checking works like this:
  1955. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1956. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1957. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1958. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1959. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1960. function processMirrorcreatorLink(mcLink)
  1961. {
  1962. var mcURL = mcLink.href.match(mcRegex);
  1963. if(!mcURL || !mcURL[1]) return;
  1964. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1965. GM_xmlhttpRequest({
  1966. method: 'GET',
  1967. url: mcURL,
  1968. headers: {
  1969. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1970. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1971. 'Referer': ""
  1972. },
  1973. onload: function(mcLinkResult) {
  1974. var mcLinkRes = mcLinkResult.responseText;
  1975.  
  1976. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  1977. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  1978.  
  1979. var mcRedirectors;
  1980. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  1981. var m = mcLinkRes.match(mcLinkBlockRegex);
  1982. if (m)
  1983. mcHostsFound = m.length;
  1984. else
  1985. { //no files inside container
  1986. processMirrorcreatorFoundHosts(mcLink, []);
  1987. return;
  1988. }
  1989.  
  1990. var mcRedirectorURL, idx, timedOut = false;
  1991.  
  1992. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  1993. GM_xmlhttpRequest({
  1994. method: 'GET',
  1995. url: mcRedirectorURL,
  1996. headers: {
  1997. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1998. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1999. 'Referer': ""
  2000. },
  2001. onload: function(mcHostResult) {
  2002. if (timedOut) return; //too late, the list is already displayed
  2003. var mcHostRes = mcHostResult.responseText;
  2004. var mcHost = mcHostRes.match(mcHostRegex);
  2005. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2006. if (mcHost && idx!=-1)
  2007. {
  2008. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2009. mcHostsRetrieved++;
  2010. mcHostsToProcess++;
  2011. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2012. {
  2013. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2014. mcHostsToProcess = 0;
  2015. }
  2016. }
  2017. } //end of onload: function
  2018. }); //end of GM_xmlhttpRequest call
  2019. };//end of var gmxhrFunc
  2020.  
  2021. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2022. { //load individual redirector pages
  2023. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2024. mcHostURLs.push(mcRedirectorURL);
  2025. mcRedirectorIDs.push(mcRedirectors[2]);
  2026. gmxhrFunc(mcRedirectorURL);
  2027. } //end of while block
  2028.  
  2029. setTimeout(function(){ //in case the last page fails to load and call the function
  2030. timedOut = true;
  2031. if (mcHostsToProcess)
  2032. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2033. }, 60000);
  2034.  
  2035. } //end of onload function
  2036. }); //end of GM_xmlhttpRequest call
  2037. } //end of function processMirrorcreatorLink
  2038.  
  2039.  
  2040. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2041. {
  2042. var aEl, liEl, docFrag;
  2043. var hostName, mcRedirectorID, trimFilename = false;
  2044. var i = mcHostURLs.length;
  2045. if (i == 0)
  2046. {
  2047. trimFilename = true;
  2048. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2049. }
  2050. else
  2051. {
  2052. if (Display_full_links_in_link_containers)
  2053. { //full view
  2054. var wrapperEl = document.createElement('span');
  2055. wrapperEl.style.display = 'block';
  2056. var ulistEl = document.createElement('ul');
  2057. ulistEl.className = 'container_list';
  2058. while (i--)
  2059. {
  2060. liEl = document.createElement('li');
  2061. aEl = document.createElement('a');
  2062. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2063. aEl.href = mcHostURLs[i];
  2064. aEl.className = 'container_link';
  2065. liEl.appendChild(aEl);
  2066. ulistEl.appendChild(liEl);
  2067. }
  2068. wrapperEl.appendChild(ulistEl);
  2069. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2070. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2071. }
  2072. else
  2073. { //compact view
  2074. trimFilename = true;
  2075. docFrag = document.createDocumentFragment();
  2076. docFrag.appendChild(document.createTextNode(' |'));
  2077. while (i--)
  2078. {
  2079. mcRedirectorID = mcRedirectorIDs[i];
  2080. hostName = mcHostURLs[i];
  2081. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2082. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2083. else
  2084. hostName = mcShortHostNames[mcRedirectorID];
  2085. aEl = document.createElement('a');
  2086. aEl.href = mcHostURLs[i];
  2087. aEl.className = 'container_link';
  2088. aEl.appendChild(document.createTextNode(hostName));
  2089. docFrag.appendChild(aEl);
  2090. docFrag.appendChild(document.createTextNode('|'));
  2091. }
  2092. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2093. } //end of else block
  2094. } //end of else block
  2095. mcLink.className = '';
  2096. if (trimFilename)
  2097. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2098. cMirrorcreatorComProcessed++;
  2099. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2100. {
  2101. if (Do_not_linkify_DL_links)
  2102. delinkifySnapshot(mcSnapshot);
  2103. startBulkCheck('container_link');
  2104. start('container_link');
  2105. }
  2106. } //end of function processMirrorcreatorFoundHosts
  2107.  
  2108. containers_processed = true;
  2109.  
  2110.  
  2111. function initRedirectors()
  2112. {
  2113. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2114. {
  2115. var redirector = new Object();
  2116. redirector.linkRegex = linkRegex;
  2117. redirector.xpath = xpathEx; //xpath expression
  2118. redirector.cProcessed = 0; //processed links count
  2119. redirector.cTotal = 0; //total links count
  2120. redirector.type = redirType; //redirectorTypes enum
  2121. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2122. redirectors.push(redirector);
  2123. }
  2124. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2125. {
  2126. addRedirector(
  2127. 'safelinking\\.net\/d\/\\w+',
  2128. "//a[contains(@href,'safelinking.net/d/')]",
  2129. redirectorTypes.HTTP_302,
  2130. null);
  2131. }
  2132. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2133. {
  2134. addRedirector(
  2135. 'linksafe\\.me\/d\/\\w+',
  2136. "//a[contains(@href,'linksafe.me/d/')]",
  2137. redirectorTypes.HTTP_302,
  2138. null);
  2139. }
  2140. if (GM_getValue("Check_linkto_dot_net_links", false))
  2141. {
  2142. addRedirector(
  2143. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2144. "//a[contains(@href,'linkto.net/?')]",
  2145. redirectorTypes.INNER_LINK,
  2146. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2147. }
  2148. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2149. {
  2150. addRedirector(
  2151. '(?:the)?loo\\.katt\\.it\/\\w+',
  2152. "//a[contains(@href,'loo.katt.it/')]",
  2153. redirectorTypes.THELOO_KATT_IT,
  2154. /Proceed to URL - <a href="(.+?)">/);
  2155. }
  2156. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2157. {
  2158. addRedirector(
  2159. 'madlink\\.sk\/\\w+',
  2160. "//a[contains(@href,'madlink.sk/')]",
  2161. redirectorTypes.INNER_LINK,
  2162. /name="url" value="(.+?)\s*"\/>/);
  2163. }
  2164. if (GM_getValue("Check_adf_dot_ly_links", false))
  2165. {
  2166. addRedirector(
  2167. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2168. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2169. redirectorTypes.ADF_LY,
  2170. null);
  2171. }
  2172. if (GM_getValue("Check_redi_dot_re_links", false))
  2173. {
  2174. addRedirector(
  2175. 'redi\\.re\/\\w+',
  2176. "//a[contains(@href,'redi.re/')]",
  2177. redirectorTypes.HTTP_302,
  2178. null);
  2179. }
  2180. if (GM_getValue("Check_bit_dot_ly_links", false))
  2181. {
  2182. addRedirector(
  2183. 'bit\\.ly\/\\w+',
  2184. "//a[contains(@href,'bit.ly/')]",
  2185. redirectorTypes.HTTP_302,
  2186. null);
  2187. }
  2188. }
  2189.  
  2190. }
  2191.  
  2192. var bulkHosts = new Array();
  2193. var bulkHostNames = new Array();
  2194. function initBulkCheck()
  2195. {
  2196. /////////////////////////////
  2197. // Inits filehost object
  2198. /////////////////////////////
  2199. // params :
  2200. // hostName -- [string] host name (multiple domains separated with coma)
  2201. // linkRegex -- [string] link regex
  2202. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2203. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2204. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2205. // corrReplWhat -- [regex] link correction regex (replace)
  2206. // corrReplWith -- [string]
  2207. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2208. //
  2209. // apiUrl -- [string] web linkchecker or API URL
  2210. // postData -- [string] POSTDATA of xmlhttprequest
  2211. // resLinkRegex -- [regex]
  2212. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2213. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2214. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2215. // func -- [function] bulkcheck handler, genBulkCheck if null
  2216. //
  2217. //////////////////////////////
  2218. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2219. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2220. {
  2221. var fileHost = new Object();
  2222.  
  2223. fileHost.linkRegex = linkRegex;
  2224. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2225. fileHost.xpath = xpath;
  2226. fileHost.cFound = 0; //found links counter
  2227. fileHost.links = new Array(); //found links
  2228. if (blockSize == null)
  2229. {
  2230. fileHost.blockSize = 50;
  2231. }
  2232. else
  2233. {
  2234. fileHost.blockSize = blockSize;
  2235. }
  2236. fileHost.corrMatch = corrMatch;
  2237. fileHost.corrReplWhat = corrReplWhat;
  2238. fileHost.corrReplWith = corrReplWith;
  2239. if (splitSeparator == null)
  2240. {
  2241. fileHost.splitSeparator = "\r\n";
  2242. }
  2243. else
  2244. {
  2245. fileHost.splitSeparator = splitSeparator;
  2246. }
  2247. fileHost.apiUrl = apiUrl;
  2248. fileHost.postData = postData;
  2249. fileHost.resLinkRegex = resLinkRegex;
  2250. fileHost.resLiveRegex = resLiveRegex;
  2251. fileHost.resDeadRegex = resDeadRegex;
  2252. fileHost.resUnavaRegex = resUnavaRegex;
  2253. if (func == null)
  2254. {
  2255. fileHost.func = genBulkCheck;
  2256. }
  2257. else
  2258. {
  2259. fileHost.func = func;
  2260. }
  2261. bulkHosts.push(fileHost);
  2262. var names = hostName.split(',');
  2263. var i = names.length;
  2264. while(i--)
  2265. {
  2266. bulkHostNames[names[i]] = fileHost;
  2267. }
  2268. }
  2269. var genType1 = [
  2270. "rodfile.com", "downloadani.me", //"migahost.com",
  2271. "rarefile.net",
  2272. "filesabc.com",
  2273. "180upload.com", "verzend.be",
  2274. // "movreel.com",
  2275. "4up.me",
  2276. "file4safe.com", "filemac.com", "4upfiles.com",
  2277. "idup.in", "novafile.com", "longfiles.com",
  2278. "bitupload.com",
  2279. "uploadbaz.com"
  2280. ];
  2281. var genType2 = [ "queenshare.com",
  2282. "hulkload.com",
  2283. "amonshare.com", //"edoc.com",
  2284. ];
  2285. //xfilesharing 1.0
  2286. function addGenericType1()
  2287. {
  2288. var i = genType1.length;
  2289. while(i--)
  2290. {
  2291. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2292. {
  2293. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2294. addHost(
  2295. genType1[i].match(/[\w-]+/)[0], //hostname
  2296. regexSafe + "\/\\w+", //linkregex
  2297. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2298. null, //blocksize
  2299. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2300. null, //corrreplwhat
  2301. null, //corrreplwith
  2302. null, //separator
  2303. "http://" + genType1[i] + "/checkfiles.html", //api url
  2304. "op=checkfiles&process=Check+URLs&list=", //postdata
  2305. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2306. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2307. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2308. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2309. null //function delegate
  2310. )
  2311. }
  2312. }
  2313. }
  2314. //xfilesharing 2.0
  2315. function addGenericType2()
  2316. {
  2317. var i = genType2.length;
  2318. while(i--)
  2319. {
  2320. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2321. {
  2322. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2323. addHost(
  2324. genType2[i].match(/[\w-]+/)[0], //hostname
  2325. regexSafe + "\/\\w+", //linkregex
  2326. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2327. null, //blocksize
  2328. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2329. null, //corrreplwhat
  2330. null, //corrreplwith
  2331. null, //separator
  2332. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2333. "op=checkfiles&process=Check+URLs&list=", //postdata
  2334. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2335. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2336. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2337. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2338. null //function delegate
  2339. )
  2340. }
  2341. }
  2342. }
  2343. // TEMPLATE
  2344. // if (GM_getValue("Check__dot_com_links", false))
  2345. // {
  2346. // addHost(
  2347. // "", //hostname
  2348. // "", //linkregex
  2349. // "//a[contains(@href,'.com/')]", //xpath
  2350. // null, //blocksize
  2351. // null, //corrmatch
  2352. // null, //corrreplwhat
  2353. // null, //corrreplwith
  2354. // null, //separator
  2355. // "", //api url
  2356. // "", //postdata
  2357. // /()/, //linkregex
  2358. // //liveregex
  2359. // //deadregex
  2360. // //unavaregex
  2361. // null //function delegate
  2362. // )
  2363. // }
  2364. addGenericType1();
  2365. addGenericType2();
  2366.  
  2367. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2368. {
  2369. addHost(
  2370. "myvdrive,fileserving", //hostname
  2371. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2372. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2373. null, //blocksize
  2374. null, //corrmatch
  2375. null, //corrreplwhat
  2376. null, //corrreplwith
  2377. null, //separator
  2378. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2379. "links=", //postdata
  2380. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2381. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2382. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2383. null, //unavaregex
  2384. null //function delegate
  2385. )
  2386. }
  2387. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2388. {
  2389. addHost(
  2390. "hackerbox", //hostname
  2391. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2392. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2393. null, //blocksize
  2394. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2395. null, //corrreplwhat
  2396. null, //corrreplwith
  2397. null, //separator
  2398. "http://host.hackerbox.org/checkfiles.html", //api url
  2399. "op=checkfiles&process=Check+URLs&list=", //postdata
  2400. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2401. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2402. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2403. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2404. null //function delegate
  2405. )
  2406. }
  2407. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2408. {
  2409. addHost(
  2410. "hellshare", //hostname
  2411. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2412. "//a[contains(@href,'hellshare.')]", //xpath
  2413. 48, //blocksize
  2414. null, //corrmatch
  2415. null, //corrreplwhat
  2416. null, //corrreplwith
  2417. null, //separator
  2418. null, //api url
  2419. null, //postdata
  2420. null, //linkregex
  2421. null, //liveregex
  2422. null, //deadregex
  2423. null, //unavaregex
  2424. hellshareBulkCheck //function delegate
  2425. )
  2426. }
  2427. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2428. {
  2429. addHost(
  2430. "ncrypt", //hostname
  2431. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2432. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2433. 100000, //blocksize
  2434. null, //corrmatch
  2435. null, //corrreplwhat
  2436. null, //corrreplwith
  2437. null, //separator
  2438. null,
  2439. null,
  2440. null,
  2441. null,
  2442. null,
  2443. null,
  2444. ncryptBulkCheck //function delegate
  2445. )
  2446. }
  2447. if (GM_getValue("Check_geupload_dot_com_links", false))
  2448. {
  2449. addHost(
  2450. "geupload,lenfile", //hostname
  2451. "(?:geupload\\.com|lenfile\\.com)\/\\w+", //linkregex
  2452. "//a[contains(@href,'geupload.com/') or contains(@href,'lenfile.com/')]", //xpath
  2453. null, //blocksize
  2454. null, //corrmatch
  2455. null, //corrreplwhat
  2456. null, //corrreplwith
  2457. "\n", //separator
  2458. 'http://geupload.com/?op=checkfiles',
  2459. 'op=checkfiles&process=Check+URLs&list=',
  2460. />http:\/\/(?:geupload|lenfile)\.com\/(\w+)/,
  2461. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:green/g,
  2462. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:red/g,
  2463. null,
  2464. null
  2465. )
  2466. }
  2467. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2468. {
  2469. addHost(
  2470. "uploadrocket", //hostname
  2471. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2472. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2473. null, //blocksize
  2474. null, //corrmatch
  2475. null, //corrreplwhat
  2476. null, //corrreplwith
  2477. "\n", //separator
  2478. 'http://uploadrocket.net/?op=checkfiles',
  2479. 'op=checkfiles&process=Check+URLs&list=',
  2480. /uploadrocket.net\/(\w+)/,
  2481. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2482. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2483. null,
  2484. null //function delegate
  2485. )
  2486. }
  2487. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2488. {
  2489. addHost(
  2490. "k2s,keep2s,keep2share",
  2491. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2492. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2493. 100000, //blocksize
  2494. null, //corrmatch
  2495. null, //corrreplwhat
  2496. null, //corrreplwith
  2497. null, //separator
  2498. null,
  2499. null,
  2500. null,
  2501. null,
  2502. null,
  2503. null,
  2504. k2sBulkCheck //function delegate
  2505. )
  2506. }
  2507. if (GM_getValue("Check_fboom_dot_me_links", false))
  2508. {
  2509. addHost(
  2510. "fboom,fileboom",
  2511. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2512. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2513. 100000, //blocksize
  2514. null, //corrmatch
  2515. null, //corrreplwhat
  2516. null, //corrreplwith
  2517. null, //separator
  2518. null,
  2519. null,
  2520. null,
  2521. null,
  2522. null,
  2523. null,
  2524. fboomBulkCheck //function delegate
  2525. )
  2526. }
  2527. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2528. {
  2529. addHost(
  2530. "1fichier,dl4free",
  2531. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2532. "//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/?')]",
  2533. 100000, //blocksize
  2534. null, //corrmatch
  2535. null, //corrreplwhat
  2536. null, //corrreplwith
  2537. null, //separator
  2538. null,
  2539. null,
  2540. null,
  2541. null,
  2542. null,
  2543. null,
  2544. dl4free_1fichier_BulkCheck //function delegate
  2545. )
  2546. }
  2547. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2548. {
  2549. addHost(
  2550. "depositfiles,dfiles",
  2551. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2552. "//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/')]",
  2553. 100000, //blocksize
  2554. null, //corrmatch
  2555. null, //corrreplwhat
  2556. null, //corrreplwith
  2557. null, //separator
  2558. null,
  2559. null,
  2560. null,
  2561. null,
  2562. null,
  2563. null,
  2564. depositfilesBulkCheck //function delegate
  2565. )
  2566. }
  2567. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2568. {
  2569. addHost(
  2570. "filesflash", //hostname
  2571. "filesflash\\.com\/\\w+", //linkregex
  2572. "//a[contains(@href,'filesflash.com')]", //xpath
  2573. null, //blocksize
  2574. null, //corrmatch
  2575. /http:\/\//, //corrreplwhat
  2576. '', //corrreplwith
  2577. null, //separator
  2578. 'http://filesflash.com/checklinks.php',
  2579. 'submit=Go&links=',
  2580. /filesflash\.com\/(\w+)/,
  2581. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2582. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2583. null,
  2584. null //function delegate
  2585. )
  2586. }
  2587. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2588. {
  2589. addHost(
  2590. "jumbofiles", //hostname
  2591. "jumbofiles\\.com\/\\w+", //linkregex
  2592. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2593. null, //blocksize
  2594. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2595. null, //corrreplwhat
  2596. null, //corrreplwith
  2597. null, //separator
  2598. "http://jumbofiles.com/checkfiles.html", //api url
  2599. "op=checkfiles&process=Check+URLs&list=", //postdata
  2600. /(jumbofiles\.com\/\w+)/, //linkregex
  2601. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2602. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2603. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2604. null //function delegate
  2605. )
  2606. }
  2607. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2608. {
  2609. addHost(
  2610. "edisk", //hostname
  2611. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2612. "//a[contains(@href,'edisk.')]", //xpath
  2613. null, //blocksize
  2614. null, //corrmatch
  2615. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2616. 'edisk.cz/stahni', //corrreplwith
  2617. null, //separator
  2618. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2619. 'submitBtn=Zkontrolovat&checkFiles=',
  2620. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2621. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2622. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2623. null,
  2624. null //function delegate
  2625. )
  2626. }
  2627. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2628. {
  2629. GM_xmlhttpRequest( //age check skip
  2630. {
  2631. method: 'POST',
  2632. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2633. headers: {
  2634. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2635. 'Content-type': 'application/x-www-form-urlencoded',
  2636. 'Referer': ""
  2637. }
  2638. });
  2639. addHost(
  2640. "bezvadata", //hostname
  2641. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2642. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2643. null, //blocksize
  2644. null, //corrmatch
  2645. null, //corrreplwhat
  2646. null, //corrreplwith
  2647. null, //separator
  2648. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2649. 'zkontrolovat=Zkontrolovat&odkazy=',
  2650. /(bezvadata\.cz\/stahnout\/\d+)/,
  2651. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2652. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2653. null,
  2654. null //function delegate
  2655. )
  2656. }
  2657. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2658. {
  2659. addHost(
  2660. "linkcrypt", //hostname
  2661. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2662. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2663. 100000, //blocksize
  2664. null, //corrmatch
  2665. null, //corrreplwhat
  2666. null, //corrreplwith
  2667. null, //separator
  2668. null,
  2669. null,
  2670. null,
  2671. null,
  2672. null,
  2673. null,
  2674. linkcryptBulkCheck //function delegate
  2675. )
  2676. }
  2677. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2678. {
  2679. addHost(
  2680. "linksave", //hostname
  2681. "linksave\\.in\/\\w+", //linkregex
  2682. "//a[contains(@href,'linksave.in')]", //xpath
  2683. 100000, //blocksize
  2684. null, //corrmatch
  2685. null, //corrreplwhat
  2686. null, //corrreplwith
  2687. null, //separator
  2688. null,
  2689. null,
  2690. null,
  2691. null,
  2692. null,
  2693. null,
  2694. linksaveBulkCheck //function delegate
  2695. )
  2696. } */
  2697. if (GM_getValue("Check_videobb_dot_com_links", false))
  2698. {
  2699. addHost(
  2700. "videobb", //hostname
  2701. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2702. "//a[contains(@href,'videobb.com')]", //xpath
  2703. null, //blocksize
  2704. null, //corrmatch
  2705. /watch_video\.php\?v=/, //corrreplwhat
  2706. 'video/', //corrreplwith
  2707. null, //separator
  2708. 'http://www.videobb.com/link_checker.php',
  2709. 'links=',
  2710. /videobb\.com\/video\/(\w+)/,
  2711. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2712. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2713. null,
  2714. null //function delegate
  2715. )
  2716. }
  2717. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2718. {
  2719. addHost(
  2720. "cramit,cramitin", //hostname
  2721. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2722. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2723. null, //blocksize
  2724. null, //corrmatch
  2725. null, //corrreplwhat
  2726. null, //corrreplwith
  2727. null, //separator
  2728. 'http://cramit.in/checkfiles.html',
  2729. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2730. /(cramit(?:\.in|in\.net)\/\w+)/,
  2731. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2732. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2733. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2734. null //function delegate
  2735. )
  2736. }
  2737. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2738. {
  2739. addHost(
  2740. "turbobit", //hostname
  2741. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2742. "//a[contains(@href,'turbobit.')]", //xpath
  2743. null, //blocksize
  2744. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2745. null, //corrreplwhat
  2746. null, //corrreplwith
  2747. "\n", //separator
  2748. 'http://turbobit.net/linkchecker/csv',
  2749. 'links_to_check=',
  2750. /(turbobit\.(?:net|pl)\/\w+)/,
  2751. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2752. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2753. null,
  2754. null //function delegate
  2755. )
  2756. } */
  2757. if (GM_getValue("Check_filerio_dot_com_links", false))
  2758. {
  2759. addHost(
  2760. "filekeen,filerio", //hostname
  2761. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2762. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2763. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2764. null, //blocksize
  2765. null, //corrmatch
  2766. null, //corrreplwhat
  2767. null, //corrreplwith
  2768. null, //separator
  2769. 'http://filerio.in/checkfiles.html',
  2770. 'op=checkfiles&process=Check+URLs&list=',
  2771. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2772. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2773. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2774. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2775. null //function delegate
  2776. )
  2777. }
  2778. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2779. {
  2780. addHost(
  2781. "share-online,egoshare", //hostname
  2782. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2783. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2784. null, //blocksize
  2785. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2786. null, //corrreplwhat
  2787. null, //corrreplwith
  2788. "\n", //separator
  2789. 'http://api.share-online.biz/linkcheck.php',
  2790. 'links=',
  2791. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2792. /\w+;OK/g,
  2793. /\w+;(?:NOTFOUND|DELETED)/g,
  2794. null,
  2795. null //function delegate
  2796. )
  2797. }
  2798. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2799. {
  2800. addHost(
  2801. "quickshare", //hostname
  2802. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2803. "//a[contains(@href,'quickshare.cz')]", //xpath
  2804. null, //blocksize
  2805. null, //corrmatch
  2806. null, //corrreplwhat
  2807. null, //corrreplwith
  2808. null, //separator
  2809. 'http://www.quickshare.cz/nastroje/link-checker',
  2810. 'linky=',
  2811. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2812. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2813. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2814. null,
  2815. null //function delegate
  2816. )
  2817. } */
  2818. if (GM_getValue("Check_oboom_dot_com_links", false))
  2819. {
  2820. addHost(
  2821. "oboom", //hostname
  2822. "oboom\\.com\/#?\\w{8}", //linkregex
  2823. "//a[contains(@href,'oboom.com/')]", //xpath
  2824. null, //blocksize
  2825. /oboom\.com\/#?(\w{8})/, //corrmatch
  2826. null, //corrreplwhat
  2827. null, //corrreplwith
  2828. null, //separator
  2829. null,
  2830. null,
  2831. null,
  2832. null, //liveregex
  2833. null, //deadregex
  2834. null,
  2835. oboomBulk //function delegate
  2836. )
  2837. }
  2838. if (GM_getValue("Check_mega_dot_nz_links", false))
  2839. {
  2840. addHost(
  2841. "mega",
  2842. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2843. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2844. 100000, //blocksize
  2845. null, //corrmatch
  2846. null, //corrreplwhat
  2847. null, //corrreplwith
  2848. null, //separator
  2849. null,
  2850. null,
  2851. null,
  2852. null,
  2853. null,
  2854. null,
  2855. megaBulkCheck //function delegate
  2856. )
  2857. }
  2858.  
  2859. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2860.  
  2861. if (GM_getValue("Check_extabit_dot_com_links", false))
  2862. {
  2863. addHost(
  2864. "extabit", //hostname
  2865. "extabit\\.com\/file\/\\w+", //linkregex
  2866. "//a[contains(@href,'extabit.com')]", //xpath
  2867. null, //blocksize
  2868. null, //corrmatch
  2869. null, //corrreplwhat
  2870. null, //corrreplwith
  2871. "\n", //separator
  2872. "http://extabit.com/linkchecker.jsp", //api url
  2873. "url=", //postdata
  2874. /extabit\.com\/(file\/\w+)/, //linkregex
  2875. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2876. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2877. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2878. extabitBulkCheck //function delegate
  2879. )
  2880. }
  2881. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2882. {
  2883. addHost(
  2884. "junocloud", //hostname
  2885. "junocloud\\.me\/\\w+", //linkregex
  2886. "//a[contains(@href,'junocloud.me')]", //xpath
  2887. null, //blocksize
  2888. null, //corrmatch
  2889. null, //corrreplwhat
  2890. null, //corrreplwith
  2891. "\n", //separator
  2892. "http://junocloud.me/checkfiles.html", //api url
  2893. "op=checkfiles&process=Check+URLs&list=", //postdata
  2894. /(junocloud\.me\/\w+)/, //linkregex
  2895. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2896. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2897. null, //unavaregex
  2898. null //function delegate
  2899. )
  2900. }
  2901. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2902. {
  2903. addHost(
  2904. "webshare", //hostname
  2905. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2906. "//a[contains(@href,'webshare.cz')]", //xpath
  2907. 100000, //blocksize
  2908. null, //corrmatch
  2909. null, //corrreplwhat
  2910. null, //corrreplwith
  2911. null, //separator
  2912. null, //api url
  2913. null, //postdata
  2914. null, //linkregex
  2915. null, //liveregex
  2916. null, //deadregex
  2917. null, //unavaregex
  2918. webshareBulkCheck //function delegate
  2919. )
  2920. }
  2921. /////////////////////////////
  2922. // Common function delegate to send links to get checked by host linkchecker
  2923. /////////////////////////////
  2924. // If you define a new delegate, you may use following properties
  2925. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2926. // this.apiUrl [string] API or web linkchecker URL
  2927. // this.postData [string] POSTDATA for POST request
  2928. // this.resLiveRegex [regex] matches live substrings in the request response
  2929. // this.resDeadRegex [regex] matches dead substrings in the request response
  2930. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2931. //
  2932. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2933. //
  2934. // See the code below for standard bulkcheck handling reference.
  2935. //////////////////////////////
  2936. function genBulkCheck()
  2937. {
  2938. var blockIdx = this.links.length;
  2939. while (blockIdx--)
  2940. {
  2941. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2942. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2943. }
  2944. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2945. {
  2946. GM_xmlhttpRequest(
  2947. {
  2948. method: 'POST',
  2949. url: api,
  2950. headers: {
  2951. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2952. 'Content-type': 'application/x-www-form-urlencoded',
  2953. 'Referer': api,
  2954. 'X-Requested-With': 'XMLHttpRequest'
  2955. },
  2956. data: postData + encodeURIComponent(links),
  2957. onload: function (result)
  2958. {
  2959. var res = result.responseText;
  2960. // GM_log(res);
  2961. var i;
  2962.  
  2963. var livelinks = res.match(liveRegex);
  2964. var deadlinks = res.match(deadRegex);
  2965. // GM_log(livelinks);
  2966. // GM_log(deadlinks);
  2967. if (livelinks != null)
  2968. {
  2969. i = livelinks.length - 1;
  2970. do
  2971. {
  2972. livelinks[i] = livelinks[i].match(linkRegex)[1];
  2973. }
  2974. while (i--);
  2975. DisplayTheCheckedLinks(livelinks, 'alive_link');
  2976. }
  2977.  
  2978. if (deadlinks != null)
  2979. {
  2980. i = deadlinks.length - 1;
  2981. do
  2982. {
  2983. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  2984. }
  2985. while (i--);
  2986. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  2987. }
  2988.  
  2989. if (unavaRegex != null)
  2990. {
  2991. var unavalinks = res.match(unavaRegex);
  2992. if (unavalinks)
  2993. {
  2994. i = unavalinks.length - 1;
  2995. do
  2996. {
  2997. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  2998. }
  2999. while (i--);
  3000. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3001. }
  3002. }
  3003. }
  3004. });
  3005. }
  3006. }
  3007. //specialized bulkchecking handlers follow
  3008. function webshareBulkCheck()
  3009. {
  3010. var arr = this.links[0].split("\r\n");
  3011. var i = arr.length;
  3012. while(i--)
  3013. {
  3014. postRequest(arr[i]);
  3015. }
  3016. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3017. function postRequest(wsLink)
  3018. {
  3019. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3020. GM_xmlhttpRequest(
  3021. {
  3022. method: 'POST',
  3023. url: "http://webshare.cz/api/file_info/",
  3024. headers: {
  3025. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3026. 'Content-type': 'application/x-www-form-urlencoded',
  3027. 'Referer': "",
  3028. },
  3029. data: "wst=&ident=" + id,
  3030. onload: function (result)
  3031. {
  3032. var res = result.responseText;
  3033. if (res.match(/<name>.+?<\/name>/))
  3034. {
  3035. DisplayTheCheckedLinks([id], 'alive_link');
  3036. }
  3037. else
  3038. {
  3039. DisplayTheCheckedLinks([id], 'adead_link');
  3040. }
  3041. }
  3042. });
  3043. }
  3044. }
  3045. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3046. //extabit also doesn't like requests in fast succession, so some delays are added.
  3047. function extabitBulkCheck()
  3048. {
  3049. var timeoutDelay = 0;
  3050. var blockIdx = this.links.length;
  3051. while (blockIdx--)
  3052. {
  3053. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3054. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3055. }
  3056. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3057. {
  3058. GM_xmlhttpRequest(
  3059. {
  3060. method: 'POST',
  3061. url: api,
  3062. headers: {
  3063. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3064. 'Content-type': 'application/x-www-form-urlencoded',
  3065. 'Referer': api,
  3066. 'X-Requested-With': 'XMLHttpRequest'
  3067. },
  3068. data: postData + encodeURIComponent(links),
  3069. onload: function (result)
  3070. {
  3071. var res = result.responseText;
  3072. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3073. {
  3074. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3075. {
  3076. //GM_log(tryID + ': ' + link);
  3077. GM_xmlhttpRequest(
  3078. {
  3079. method: 'GET',
  3080. url: link,
  3081. 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': ""},
  3082. onload: function(result2)
  3083. {
  3084. var res2 = result2.responseText;
  3085. var res2Status = result.status;
  3086. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3087. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3088. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3089. {
  3090. if (tryID < 7)
  3091. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3092. else
  3093. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3094. }
  3095. }
  3096. });
  3097. }
  3098. //split the hrefs and check them one by one
  3099. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3100. links = links.split('\n');
  3101. var i = links.length;
  3102. while (i--)
  3103. {
  3104. if (links[i])
  3105. {
  3106. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3107. timeoutDelay += 500;
  3108. }
  3109. }
  3110. return;
  3111. }
  3112. var i;
  3113.  
  3114. var livelinks = res.match(liveRegex);
  3115. var deadlinks = res.match(deadRegex);
  3116. if (livelinks != null)
  3117. {
  3118. i = livelinks.length - 1;
  3119. do
  3120. {
  3121. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3122. }
  3123. while (i--);
  3124. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3125. }
  3126.  
  3127. if (deadlinks != null)
  3128. {
  3129. i = deadlinks.length - 1;
  3130. do
  3131. {
  3132. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3133. }
  3134. while (i--);
  3135. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3136. }
  3137.  
  3138. if (unavaRegex != null)
  3139. {
  3140. var unavalinks = res.match(unavaRegex);
  3141. if (unavalinks)
  3142. {
  3143. i = unavalinks.length - 1;
  3144. do
  3145. {
  3146. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3147. }
  3148. while (i--);
  3149. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3150. }
  3151. }
  3152. }
  3153. });
  3154. }
  3155. }
  3156. function k2sBulkCheck()
  3157. {
  3158. var arr = this.links[0].split("\r\n");
  3159. var i = arr.length;
  3160. c=0;
  3161. arrIDs=[];
  3162. while(i--)
  3163. {
  3164. id = arr[i].match(/\/file\/(\w+)/)[1];
  3165. k2salreadyexist=false;
  3166. for (j=0;j<arrIDs.length;j++)
  3167. {
  3168. if (arrIDs[j]==id)
  3169. {
  3170. k2salreadyexist=true;
  3171. break;
  3172. }
  3173. }
  3174. if (k2salreadyexist) continue;
  3175. arrIDs.push(id);
  3176. c++;
  3177. setTimeout(k2sRequest,c*500,arr[i]);
  3178. }
  3179. }
  3180. function k2sRequest(K2SLink)
  3181. {
  3182. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3183. K2SLink2='http://k2s.cc/file/'+id;
  3184. GM_xmlhttpRequest(
  3185. {
  3186. method: 'GET',
  3187. url: K2SLink,
  3188. headers: {
  3189. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3190. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3191. 'Referer': ''
  3192. },
  3193. onload: function (result)
  3194. {
  3195. var res = result.responseText;
  3196. if (res.match('no longer available|div class="well2"|error 404|The system is unable to find the requested action|http://keep2share.cc/file/check.html|To avoid damaged files'))
  3197. {
  3198. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3199. return;
  3200. }
  3201. if (res.match('method="post">Displaying'))
  3202. {
  3203. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3204. return;
  3205. }
  3206. if (res.match('Premium only'))
  3207. {
  3208. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3209. return;
  3210. }
  3211. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3212. {
  3213. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3214. slID=slow_id.exec(res)[1];
  3215. GM_xmlhttpRequest(
  3216. {
  3217. method: 'POST',
  3218. url: K2SLink2,
  3219. headers: {
  3220. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3221. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3222. 'Content-Type': 'application/x-www-form-urlencoded',
  3223. 'Referer': K2SLink
  3224. },
  3225. data: 'slow_id='+slID+'&yt0=',
  3226. onload: function (result)
  3227. {
  3228. var newres = result.responseText;
  3229. newoversizedtest=new RegExp("Free user can't download large files|Downloading is not possible");
  3230. if (newoversizedtest.test(newres))
  3231. {
  3232. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3233. return;
  3234. }
  3235. else
  3236. {
  3237. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3238. return;
  3239. }
  3240. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3241. return;
  3242. }
  3243. });
  3244. /////////////////////end additional check for oversized links
  3245. return;
  3246. }
  3247. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3248. return;
  3249. },
  3250. onerror: function ()
  3251. {
  3252. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3253. return;
  3254. }
  3255. });
  3256. }
  3257. function fboomBulkCheck()
  3258. {
  3259. var arr = this.links[0].split("\r\n");
  3260. var i = arr.length;
  3261. c=0;
  3262. arrIDs=[];
  3263. while(i--)
  3264. {
  3265. id = arr[i].match(/\/file\/(\w+)/)[1];
  3266. fbalreadyexist=false;
  3267. for (j=0;j<arrIDs.length;j++)
  3268. {
  3269. if (arrIDs[j]==id)
  3270. {
  3271. fbalreadyexist=true;
  3272. break;
  3273. }
  3274. }
  3275. if (fbalreadyexist) continue;
  3276. arrIDs.push(id);
  3277. c++;
  3278. setTimeout(fboomRequest,c*500,arr[i]);
  3279. }
  3280. }
  3281. function fboomRequest(FBoomLink)
  3282. {
  3283. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3284. FBoomLink2='http://fboom.me/file/'+id;
  3285. GM_xmlhttpRequest(
  3286. {
  3287. method: 'GET',
  3288. url: FBoomLink,
  3289. headers: {
  3290. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3291. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3292. 'Referer': ''
  3293. },
  3294. onload: function (result)
  3295. {
  3296. var res = result.responseText;
  3297. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3298. {
  3299. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3300. return;
  3301. }
  3302. if (res.match('method="post">Displaying'))
  3303. {
  3304. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3305. return;
  3306. }
  3307. if (res.match('only for premium members'))
  3308. {
  3309. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3310. return;
  3311. }
  3312. if (res.match('id="download-free" href="#"'))
  3313. {
  3314. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3315. slID=slow_id.exec(res)[1];
  3316. GM_xmlhttpRequest(
  3317. {
  3318. method: 'POST',
  3319. url: FBoomLink2,
  3320. headers: {
  3321. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3322. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3323. 'Content-Type': 'application/x-www-form-urlencoded',
  3324. 'Referer': FBoomLink
  3325. },
  3326. data: 'slow_id='+slID,
  3327. onload: function (result)
  3328. {
  3329. var newres = result.responseText;
  3330. newoversizedtest=new RegExp("Free user can't download large files.|Downloading is not possible");
  3331. if (newoversizedtest.test(newres))
  3332. {
  3333. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3334. return;
  3335. }
  3336. else
  3337. {
  3338. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3339. return;
  3340. }
  3341. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3342. return;
  3343. }
  3344. });
  3345. /////////////////////end additional check for oversized links
  3346. return;
  3347. }
  3348. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3349. return;
  3350. },
  3351. onerror: function ()
  3352. {
  3353. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3354. return;
  3355. }
  3356. });
  3357. }
  3358. function dl4free_1fichier_BulkCheck()
  3359. {
  3360. var arr = this.links[0].split("\r\n");
  3361. var i = arr.length;
  3362. while(i--)
  3363. {
  3364. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3365. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3366. gethead_dl4free_1fichier(arr[i]);
  3367. }
  3368. }
  3369. function gethead_dl4free_1fichier(link)
  3370. {
  3371. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3372. GM_xmlhttpRequest(
  3373. {
  3374. method: 'HEAD',
  3375. url: link,
  3376. headers: {
  3377. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3378. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3379. 'Referer': ''
  3380. },
  3381. onload: function (result)
  3382. {
  3383. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3384. {
  3385. DisplayTheCheckedLinks([id], 'alive_link');
  3386. return;
  3387. }
  3388. else
  3389. {
  3390. getlink_dl4free_1fichier(link);
  3391. }
  3392. return;
  3393. },
  3394. onerror: function ()
  3395. {
  3396. DisplayTheCheckedLinks([id], 'unava_link');
  3397. }
  3398. });
  3399. }
  3400. function getlink_dl4free_1fichier(link)
  3401. {
  3402. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3403. GM_xmlhttpRequest(
  3404. {
  3405. method: 'GET',
  3406. url: link,
  3407. headers: {
  3408. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3409. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3410. 'Referer': ''
  3411. },
  3412. onload: function (result)
  3413. {
  3414. var res = result.responseText;
  3415. 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>');
  3416. if (deadRegex.test(res))
  3417. {
  3418. DisplayTheCheckedLinks([id], 'adead_link');
  3419. return;
  3420. }
  3421. premiumRegex=new RegExp('only for premium users');
  3422. if (premiumRegex.test(res))
  3423. {
  3424. DisplayTheCheckedLinks([id], 'prem_link');
  3425. return;
  3426. }
  3427. 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="');
  3428. if (liveRegex.test(res))
  3429. {
  3430. DisplayTheCheckedLinks([id], 'alive_link');
  3431. return;
  3432. }
  3433. DisplayTheCheckedLinks([id], 'unava_link');
  3434. },
  3435. onerror: function ()
  3436. {
  3437. DisplayTheCheckedLinks([id], 'unava_link');
  3438. }
  3439. });
  3440. }
  3441. function depositfilesBulkCheck()
  3442. {
  3443. var arr = this.links[0].split("\r\n");
  3444. var i = arr.length;
  3445. var seqno = Math.floor(Math.random()*1000000000);
  3446. while(i--)
  3447. {
  3448. DFpostRequest(arr[i]);
  3449. }
  3450. }
  3451. function DFpostRequest(DFLink)
  3452. {
  3453. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3454. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3455. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3456. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3457. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3458. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3459. GM_xmlhttpRequest(
  3460. {
  3461. method: "GET",
  3462. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3463. headers: {
  3464. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3465. 'Content-Type': 'application/x-www-form-urlencoded',
  3466. 'Referer': ""
  3467. },
  3468. onload: function (result)
  3469. {
  3470. var res = result.responseText;
  3471. if (res.match('(?:no_file|file_ban)'))
  3472. {
  3473. DisplayTheCheckedLinks([id], 'adead_link');
  3474. return;
  3475. }
  3476. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3477. {
  3478. DisplayTheCheckedLinks([id], 'alive_link');
  3479. return;
  3480. }
  3481. DisplayTheCheckedLinks([id], 'unava_link');
  3482. }
  3483. });
  3484. }
  3485.  
  3486. function megaBulkCheck()
  3487. {
  3488. var arr = this.links[0].split("\r\n");
  3489. var i = arr.length;
  3490. var seqno = Math.floor(Math.random()*1000000000);
  3491. while(i--)
  3492. {
  3493. postRequest(arr[i]);
  3494. }
  3495. function postRequest(megaLink)
  3496. {
  3497. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3498. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3499. GM_xmlhttpRequest(
  3500. {
  3501. method: "POST",
  3502. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3503. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3504. headers: {
  3505. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3506. 'Content-Type': 'application/xml',
  3507. 'Referer': "https://mega.co.nz/"
  3508. },
  3509. onload: function (result)
  3510. {
  3511. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3512. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3513. {
  3514.  
  3515. DisplayTheCheckedLinks([id], 'adead_link');
  3516. }
  3517. if (res.at)
  3518. {
  3519. DisplayTheCheckedLinks([id], 'alive_link');
  3520. }
  3521. if (res.e == "ETEMPUNAVAIL")
  3522. {
  3523. DisplayTheCheckedLinks([id], 'unava_link');
  3524. }
  3525. }
  3526. });
  3527. }
  3528.  
  3529. }
  3530.  
  3531. function oboomBulk() {
  3532. var a = [], b = [], c = [];
  3533. var array = this.links;
  3534.  
  3535. GM_xmlhttpRequest({
  3536. method: 'GET',
  3537. url: 'https://www.oboom.com/1/guestsession',
  3538. headers: {
  3539. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3540. 'Content-type': 'application/x-www-form-urlencoded',
  3541. 'Referer': 'https://www.oboom.com',
  3542. 'X-Requested-With': 'XMLHttpRequest'
  3543. },
  3544. onload: function(result) {
  3545. var blockIdx = array.length;
  3546. var token = JSON.parse(result.responseText)[1];
  3547. while (blockIdx--) {
  3548. startCheck(array[blockIdx].split('\r\n'), token);
  3549. }
  3550. }
  3551. });
  3552.  
  3553. function startCheck(links, token) {
  3554. GM_xmlhttpRequest({
  3555. method: 'POST',
  3556. url: "https://api.oboom.com/1/info",
  3557. headers: {
  3558. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3559. 'Content-type': 'application/x-www-form-urlencoded',
  3560. 'Referer': 'https://www.oboom.com/',
  3561. 'X-Requested-With': 'XMLHttpRequest'
  3562. },
  3563. data: "token=" + token + "&items=" + links.join(","),
  3564. onload: function(result) {
  3565. var res = JSON.parse(result.responseText)[1];
  3566. var i = res.length, s;
  3567.  
  3568. while (i--) {
  3569. s = res[i].state;
  3570. if (s == 'online') a.push(res[i].id);
  3571. 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);
  3572. else c.push(res[i].id);
  3573. }
  3574.  
  3575. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3576. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3577. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3578. }
  3579. });
  3580. }
  3581. }
  3582. /* function linksaveBulkCheck()
  3583. {
  3584. var arr = this.links[0].split("\r\n");
  3585. var i = arr.length;
  3586. while(i--)
  3587. {
  3588. postRequest(arr[i]);
  3589. }
  3590. function postRequest(lsLink)
  3591. {
  3592. GM_xmlhttpRequest(
  3593. {
  3594. method: "GET",
  3595. url: lsLink + '-t.jpg',
  3596. headers: {
  3597. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3598. 'Accept': 'text/xml',
  3599. 'Referer': ""
  3600. },
  3601. onload: function (result)
  3602. {
  3603. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3604. if (imgLen == 965) //online
  3605. {
  3606. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3607. }
  3608.  
  3609. if (imgLen == 972) //offline
  3610. {
  3611. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3612. }
  3613. if (imgLen == 978) //unava
  3614. {
  3615. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3616. }
  3617. }
  3618. });
  3619. }
  3620.  
  3621. } */
  3622. function linkcryptBulkCheck()
  3623. {
  3624. var arr = this.links[0].split("\r\n");
  3625. var i = arr.length;
  3626. while(i--)
  3627. {
  3628. postRequest(arr[i]);
  3629. }
  3630. function postRequest(lcLink)
  3631. {
  3632. GM_xmlhttpRequest(
  3633. {
  3634. method: "GET",
  3635. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3636. headers: {
  3637. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3638. 'Accept': 'text/xml',
  3639. 'Referer': ""
  3640. },
  3641. onload: function (result)
  3642. {
  3643. var res = result.responseText;
  3644. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3645. {
  3646. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3647. return;
  3648. }
  3649. if (res.match(/folderStatus>1/)) //Online status
  3650. {
  3651. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3652. }
  3653. else
  3654. {
  3655. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3656. }
  3657. }
  3658. });
  3659. }
  3660. }
  3661.  
  3662. function megashareBulkCheck()
  3663. {
  3664. var arr = this.links[0].split("\r\n");
  3665. var i = arr.length;
  3666. while(i--)
  3667. {
  3668. postRequest(arr[i]);
  3669. }
  3670. function postRequest(msLink)
  3671. {
  3672. GM_xmlhttpRequest(
  3673. {
  3674. method: "GET",
  3675. url: msLink,
  3676. headers: {
  3677. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3678. 'Content-Type': 'application/x-www-form-urlencoded',
  3679. 'Referer': ""
  3680. },
  3681. onload: function (result)
  3682. {
  3683. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3684. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3685. if ((prZVal == null) || (btn3Name == null))
  3686. {
  3687. return;
  3688. }
  3689. GM_xmlhttpRequest(
  3690. {
  3691. method: "POST",
  3692. url: msLink,
  3693. headers: {
  3694. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3695. 'Content-Type': 'application/x-www-form-urlencoded',
  3696. 'Referer': ""
  3697. },
  3698. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3699. onload: function (result)
  3700. {
  3701. var res = result.responseText;
  3702. if (res.match(/<div id="err">/))
  3703. {
  3704. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3705. }
  3706. else
  3707. {
  3708. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3709. }
  3710. }
  3711. });
  3712. }
  3713. });
  3714. }
  3715. }
  3716. function ncryptBulkCheck()
  3717. {
  3718. var arr = this.links[0].split("\r\n");
  3719. var i = arr.length;
  3720. while(i--)
  3721. {
  3722. postRequest(arr[i]);
  3723. }
  3724. function postRequest(ncryptLink)
  3725. {
  3726. GM_xmlhttpRequest(
  3727. {
  3728. method: "POST",
  3729. url: 'http://ncrypt.in/api_status.php',
  3730. headers: {
  3731. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3732. 'Content-Type': 'application/x-www-form-urlencoded',
  3733. 'Referer': ""
  3734. },
  3735. data: 'link=' + encodeURI(ncryptLink),
  3736. onload: function (result)
  3737. {
  3738. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3739. switch(foldStatus + ""){
  3740. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3741. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3742. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3743. }
  3744. }
  3745. });
  3746. }
  3747. }
  3748. function hellshareBulkCheck()
  3749. {
  3750. var links = this.links;
  3751. GM_xmlhttpRequest(
  3752. {
  3753. method: "GET",
  3754. url: 'http://www.hellshare.com',
  3755. headers: {
  3756. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3757. 'Accept': 'text/xml',
  3758. 'Referer': ""
  3759. },
  3760. onload: function (result)
  3761. {
  3762. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3763.  
  3764. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3765. if (domain == 'sk')
  3766. loc = 'check=Skontrolova%C5%A5&links=';
  3767. if (domain == 'com')
  3768. loc = 'check=Check+availability&links=';
  3769. if (domain == 'hu')
  3770. loc = 'check=Kontrol%C3%A1lj&links=';
  3771. if (domain == 'pl')
  3772. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3773.  
  3774. genBulkCheck.call({ links: links,
  3775. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3776. postData: loc,
  3777. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3778. 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,
  3779. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3780. resUnavaRegex: null
  3781. });
  3782. }
  3783. });
  3784. }
  3785. /**
  3786. * Displays check result
  3787. * @param {Array} Array of links or link fragments.
  3788. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3789. */
  3790. function DisplayTheCheckedLinks(links, resultStatus)
  3791. {
  3792. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3793. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3794. if (Do_not_linkify_DL_links)
  3795. { //TODO into separate jQuery function
  3796. $links.replaceWith(function(){
  3797. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3798. });
  3799. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3800. }
  3801. $links.removeClass().addClass(resultStatus);
  3802. $links.each(function() {
  3803. this.href = Ref_anonymize_service + $(this).attr("href");
  3804. });
  3805. switch(resultStatus)
  3806. {
  3807. case "alive_link": cLinksAlive += $links.length;
  3808. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3809. break;
  3810. case "adead_link": cLinksDead += $links.length;
  3811. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3812. break;
  3813. case "prem_link": cLinksprem += $links.length;
  3814. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3815. break;
  3816. case "unava_link": cLinksUnava += $links.length; break;
  3817. default:
  3818. }
  3819. cLinksProcessed += $links.length;
  3820. }
  3821. }
  3822. // starts bulkchecking
  3823. //
  3824. // params
  3825. // filterId [string] restricts link detection with passed id attribute
  3826. function startBulkCheck(filterId)
  3827. {
  3828. var cHosts = bulkHosts.length;
  3829. if (cHosts == 0) //no filehostings selected
  3830. return;
  3831. // STEP 1 linkify the links
  3832. var linkifyRegex = '';
  3833. var hostIdx = cHosts;
  3834. while(hostIdx--)
  3835. {
  3836. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3837. }
  3838. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3839. linkify(linkifyRegex);
  3840. //
  3841. //STEP 2 detect link objects
  3842. var xpathAll = '';
  3843. var hostIdx = cHosts;
  3844. while(hostIdx--)
  3845. {
  3846. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3847. }
  3848. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3849. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3850. if (filterId != null) //insert id restriction in the xpath
  3851. {
  3852. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3853. }
  3854. else
  3855. {
  3856. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3857. }
  3858. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3859. if (filterId == null)
  3860. {
  3861. cLinksTotal += links.snapshotLength;
  3862. }
  3863. //
  3864. //STEP 3 bind links with hostings
  3865. var linkIdx = links.snapshotLength;
  3866. var href = null;
  3867. if (linkIdx == 0) // no links found
  3868. return;
  3869. var name;
  3870. while (linkIdx--)
  3871. {
  3872. href = links.snapshotItem(linkIdx).href;
  3873. try // DO NOT REMOVE, filters crap that went through xpath detection
  3874. {
  3875. name = gimmeHostName(href);
  3876. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3877. bulkHostNames[name].links.push(href);
  3878. }
  3879. catch(e)
  3880. {
  3881.  
  3882. }
  3883. }
  3884. //
  3885. //STEP 4 process the links for each filehosting
  3886. var hostIdx = cHosts;
  3887. var host;
  3888. var m,n;
  3889. var arr;
  3890. while (hostIdx--)
  3891. {
  3892. host = bulkHosts[hostIdx];
  3893. arr = host.links;
  3894. if (arr.length == 0) //no links for this hosting, skip
  3895. {
  3896. continue;
  3897. }
  3898. //links match corrections
  3899. if (host.corrMatch != null)
  3900. {
  3901. var idx = arr.length;
  3902. while (idx--)
  3903. {
  3904. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3905. }
  3906. }
  3907. //links replace corrections
  3908. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3909. {
  3910. var idx = arr.length;
  3911. while (idx--)
  3912. {
  3913. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3914. }
  3915. }
  3916. m = arr.length;
  3917. n = host.blockSize;
  3918. if (m > n)
  3919. {
  3920. //insert block separators (RAND_STRING) into the array
  3921. for(var i = n; i < m; i += n + 1)
  3922. {
  3923. arr.splice(i, 0, RAND_STRING);
  3924. }
  3925. }
  3926.  
  3927. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3928. apiUrl: host.apiUrl,
  3929. postData: host.postData,
  3930. resLinkRegex: host.resLinkRegex,
  3931. resLiveRegex: host.resLiveRegex,
  3932. resDeadRegex: host.resDeadRegex,
  3933. resUnavaRegex: host.resUnavaRegex
  3934. });
  3935. //clean up
  3936. arr.length = 0;
  3937. }
  3938. //
  3939.  
  3940. function gimmeHostName(link)
  3941. {
  3942. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3943. }
  3944. }
  3945. function checkLinks(filterId)
  3946. {
  3947. startBulkCheck(filterId);
  3948. start(filterId);
  3949. }
  3950.  
  3951. /**
  3952. * Initialises progress box including event binding and CSS
  3953. */
  3954. function initProgressBox()
  3955. {
  3956. if ($("#warlc-progressbox").length > 0)
  3957. return;
  3958. //progressbox css change size and color of progress box
  3959. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  3960. "; opacity:" + (Progress_box_opacity / 100) +
  3961. "; bottom:" + Progress_box_pos_bottom +
  3962. "px; right:" + Progress_box_pos_right +
  3963. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  3964. \
  3965. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  3966. \
  3967. .warlc-progressitem {}\
  3968. \
  3969. .alive {color:#00FF7F; " + Live_links_color +
  3970. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  3971. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  3972. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  3973. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  3974. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  3975. );
  3976. //
  3977. $('body').append(' <div id="warlc-progressbox">\
  3978. <div class="warlc-progressbar"></div>\
  3979. <span class="warlc-progressitem alive"></span> - \
  3980. <span class="warlc-progressitem dead"></span> - \
  3981. <span class="warlc-progressitem unava"></span> - \
  3982. <span class="warlc-progressitem prem"></span> - \
  3983. <span class="warlc-progressitem processing"></span>\
  3984. </div>');
  3985. $('#warlc-progressbox').hide().click(function(){
  3986. clearInterval(intervalId);
  3987. $(this).hide();
  3988. return false;
  3989. });
  3990. $(".warlc-progressbar").progressbar({complete: function(){
  3991. $(this).fadeOut();
  3992. clearInterval(intervalId); //stop refreshing the stats
  3993. }
  3994. })
  3995. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  3996. }
  3997. /**
  3998. * Updates progress data in progress box
  3999. */
  4000. function updateProgress()
  4001. {
  4002. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4003. if (cLinksTotal) // some links were detected on page
  4004. {
  4005. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4006. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4007. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4008. if ((cLinksTotal - cLinksProcessed) == 0)
  4009. {
  4010. $progressItems.first().text(cLinksAlive)
  4011. .next().text(cLinksDead)
  4012. .next().text(cLinksUnava)
  4013. .next().text(cLinksprem)
  4014. .next().remove();
  4015. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4016. $('#warlc-progressbox div:first-child').remove();
  4017. }
  4018. else
  4019. {
  4020. $progressItems.first().text(cLinksAlive)
  4021. .next().text(cLinksDead)
  4022. .next().text(cLinksUnava)
  4023. .next().text(cLinksprem)
  4024. .next().text(cLinksTotal - cLinksProcessed);
  4025. }
  4026. }
  4027. }
  4028.  
  4029. function check_all_links()
  4030. {
  4031. add_WARLC_style();
  4032.  
  4033. if (Show_progress_stats)
  4034. {
  4035. initProgressBox();
  4036. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4037. }
  4038.  
  4039. startBulkCheck(null);
  4040. start(null);
  4041.  
  4042. if (!containers_processed)
  4043. {
  4044. processContainers();
  4045. }
  4046. }
  4047.  
  4048. //Copies all found dead links to clipboard - right now for Scriptish only
  4049. function copy_dead_to_clipboard()
  4050. {
  4051. initClipBoardTools();
  4052.  
  4053. var deadlinksxpath = "//.[@class='adead_link']";
  4054.  
  4055. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4056. var foundlinkstext = '';
  4057.  
  4058. var foundlinkIdx = foundlinks.snapshotLength;
  4059.  
  4060. while(foundlinkIdx--)
  4061. {
  4062. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4063. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4064. }
  4065.  
  4066. unsafeWindow.copyToClipboard(foundlinkstext);
  4067. }
  4068.  
  4069. function toggle_autocheck()
  4070. {
  4071. var currentState = GM_getValue("Autocheck", false);
  4072. GM_setValue("Autocheck", !currentState);
  4073.  
  4074. if (currentState == true)
  4075. {
  4076. sendMessage('Autocheck disabled', 'red');
  4077. }
  4078. else
  4079. {
  4080. sendMessage('Autocheck enabled', 'SpringGreen');
  4081. }
  4082. }
  4083. function toggle_Enable_Anonymizer()
  4084. {
  4085. var currentState = GM_getValue("Enable_Anonymizer", false);
  4086. GM_setValue("Enable_Anonymizer", !currentState);
  4087.  
  4088. if (currentState == true)
  4089. {
  4090. GM_setValue("Ref_anonymize_service", "");
  4091. sendMessage('Anonymizer Disabled', 'red');
  4092. }
  4093. else
  4094. {
  4095. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4096. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4097. }
  4098. }
  4099.  
  4100. function KeyDownHandler(event)
  4101. {
  4102. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4103. if (event.ctrlKey && event.altKey)
  4104. {
  4105. switch(kcode)
  4106. {
  4107. case 65 : check_all_links(); break;
  4108. case 67 : configuration(); break;
  4109. case 68 : copy_dead_to_clipboard(); break;
  4110. case 87 : toggle_autocheck(); break;
  4111. case 90 : toggle_Enable_Anonymizer(); break;
  4112. }
  4113. }
  4114. }
  4115.  
  4116. //
  4117. //
  4118. // SCRIPT EXECUTION START POINT
  4119. //
  4120. //
  4121. // Safari specific GM_getResourceText override
  4122. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4123. {
  4124. GM_getResourceText = function(res) {
  4125. var $cssText = GM_getValue("jquery_css", "");
  4126. if ($cssText == "")
  4127. {
  4128. GM_xmlhttpRequest(
  4129. {
  4130. method: 'GET',
  4131. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4132. onload: function (result)
  4133. {
  4134. GM_setValue("jquery_css", result.responseText);
  4135. window.location.reload();
  4136. }
  4137. });
  4138. }
  4139. else
  4140. {
  4141. return $cssText;
  4142. }
  4143. }
  4144. }
  4145. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4146. GM_addStyle(jQueryUICSS);
  4147. //init the stuff
  4148. setVariables();
  4149. initBulkCheck();
  4150. //init info boxes
  4151. messageBox.style.position = 'fixed';
  4152. messageBox.style.top = '20px';
  4153. messageBox.style.left = '10px';
  4154. messageBox.style.opacity = '0.85';
  4155. messageBox.style.background = 'DimGray';
  4156. messageBox.style.fontSize = '36px';
  4157. document.body.appendChild(messageBox);
  4158.  
  4159. //register GM menu commands & keyboard shortcut event handler
  4160. if (Keyboard_functions)
  4161. {
  4162. $(document).keydown(KeyDownHandler);
  4163. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4164. 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);
  4165. }
  4166. else
  4167. {
  4168. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4169. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4170. }
  4171.  
  4172. //start linkchecking
  4173. if (Autocheck)
  4174. {
  4175. $(document).ready(check_all_links);
  4176. }
  4177.  
  4178. //
  4179. //
  4180. // SCRIPT EXECUTION END POINT
  4181. //
  4182. //
  4183.  
  4184. //shows configuration box
  4185. function configuration()
  4186. {
  4187.  
  4188. //prevent multiple creating of config window
  4189. if ($("#hideshow").length)
  4190. {
  4191. $("#hideshow").show();
  4192. return;
  4193. }
  4194.  
  4195. var configcss = '\
  4196. .popup_block .popup fieldset{\
  4197. padding: 1%;\
  4198. border-style: solid;\
  4199. border-width: 1px;\
  4200. border-color: gray;\
  4201. margin-bottom: 1px;\
  4202. }\
  4203. #h3hideshowtitle{\
  4204. font-size: 2em;\
  4205. }\
  4206. #h3hideshow{\
  4207. font-size: 1.5em;\
  4208. }\
  4209. #imghideshow {\
  4210. border: none;\
  4211. }\
  4212. #plusimage{\
  4213. display:inline;\
  4214. }\
  4215. #hideshow {\
  4216. position: fixed;\
  4217. width: 100%;\
  4218. height: 100%;\
  4219. top: 0;\
  4220. left: 0;\
  4221. font-size:12px;\
  4222. z-index:2147483645;\
  4223. text-align:left;\
  4224. }\
  4225. #fade {\
  4226. background: #000;\
  4227. position: fixed;\
  4228. width: 100%;\
  4229. height: 100%;\
  4230. opacity: .80;\
  4231. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4232. left: 0;\
  4233. z-index: 10;\
  4234. }\
  4235. .popup_block {\
  4236. font-family:verdana;\
  4237. color:black;\
  4238. background: #ddd;\
  4239. padding: 10px 20px;\
  4240. border: 2px solid DarkOrange;\
  4241. float: left;\
  4242. width: 700px;\
  4243. position: absolute;\
  4244. top: 7%;\
  4245. left: 50%;\
  4246. bottom: 7%;\
  4247. margin: 0 0 0 -350px;\
  4248. -moz-border-radius:10px;\
  4249. z-index: 100;\
  4250. \
  4251. }\
  4252. .popup_block .popup {\
  4253. float: left;\
  4254. width: 100%;\
  4255. background: #fff;\
  4256. margin: 10px 0;\
  4257. padding: 0px 0 0px;\
  4258. border-left: 1px solid #bbb;\
  4259. border-top: 1px solid #bbb;\
  4260. border-right: 1px solid #bbb;\
  4261. }\
  4262. #h3hideshow{\
  4263. margin: 1px 0 0px;\
  4264. padding: 1px 10px;\
  4265. border-bottom: 1px solid #bbb;\
  4266. font-size: 1.5em;\
  4267. font-weight: normal;\
  4268. cursor:pointer;\
  4269. background:#DDDDDD none repeat scroll 0 0;\
  4270. }\
  4271. #h3hideshow:hover{\
  4272. background:#C0BEBE none repeat scroll 0 0;\
  4273. }\
  4274. #h3hideshowtitle{\
  4275. margin: 2px 0 0px;\
  4276. padding: 7px 10px;\
  4277. border-bottom: 1px solid #bbb;\
  4278. font-size: 1.5em;\
  4279. font-weight: normal;\
  4280. }\
  4281. .popup_block .popup a {\
  4282. color:DarkSkyBlue;\
  4283. text-decoration:none;\
  4284. }\
  4285. .popup p {\
  4286. padding: 1px 10px;\
  4287. margin: 0px 0;\
  4288. -x-system-font:none;\
  4289. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4290. font-size:10pt;\
  4291. font-size-adjust:none;\
  4292. font-stretch:normal;\
  4293. font-style:normal;\
  4294. font-variant:normal;\
  4295. font-weight:normal;\
  4296. line-height:normal;\
  4297. }\
  4298. #sites {\
  4299. padding: 1px 10px;\
  4300. margin: 0px 0;display:inline-block;width:16em;\
  4301. }\
  4302. #dev_ver {\
  4303. color: #00FF00;\
  4304. background: Black;\
  4305. text-align: right;\
  4306. }\
  4307. #sites_suspended {\
  4308. padding: 1px 10px;\
  4309. margin: 0px 0;display:inline-block;width:16em;\
  4310. text-decoration: line-through;\
  4311. }\
  4312. .popup img.cntrl {\
  4313. position: absolute;\
  4314. right: -15px;\
  4315. top: -15px;\
  4316. }\
  4317. #bulk {\
  4318. font-size:8pt;\
  4319. color:orange;\
  4320. padding: 1px 10px;\
  4321. margin: 0px 0;\
  4322. display:inline-block;\
  4323. width:100px;\
  4324. }\
  4325. #note {\
  4326. font-size:7pt;\
  4327. color:gray;\
  4328. padding: 1px 10px;\
  4329. margin: 0px 0;display:inline-block;\
  4330. min-width:100px;\
  4331. }\
  4332. #rednote {\
  4333. font-size:7pt;\
  4334. color:red;\
  4335. padding: 1px 10px;\
  4336. margin: 0px 0;display:inline-block;\
  4337. }\
  4338. #configinfo {\
  4339. font-size:8pt;\
  4340. color:gray;\
  4341. padding: 1px 10px;\
  4342. margin: 0px 0;display:inline-block;width:60em;\
  4343. }\
  4344. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4345. color:black;\
  4346. border-style: solid;\
  4347. border-width: 1px;\
  4348. border-color: gray;\
  4349. }\
  4350. #h3hideshowcontent {\
  4351. min-height:220px;\
  4352. max-height:220px;\
  4353. overflow:auto;\
  4354. display: none;\
  4355. padding: 10px 10px;\
  4356. }\
  4357. #specinfo{\
  4358. font-size:14px;\
  4359. }\
  4360. .warlc-ui-tab {\
  4361. height:300px;\
  4362. overflow:auto;\
  4363. }\
  4364. #warlcsitelist2, #warlcsitelist1 {\
  4365. height:220px;\
  4366. border-top: 1px solid #ddd;\
  4367. padding-top: 5px;\
  4368. overflow:auto;\
  4369. }\
  4370. input:hover+label {\
  4371. background:#F1F77C;\
  4372. font-size:110%;\
  4373. }\
  4374. ';
  4375.  
  4376. GM_addStyle(configcss);
  4377.  
  4378. var customRulesRefHTML =
  4379. '\
  4380. <br>\
  4381. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4382. <b>@keyword</b> <i>parameter</i>\
  4383. <br><br>\
  4384. 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. \
  4385. <br><br>\
  4386. 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.\
  4387. 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.\
  4388. 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.\
  4389. 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,\
  4390. but all commands until the next valid @customrule are ignored.<br><br>\
  4391. Available forms and types:\
  4392. <ul>\
  4393. <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.\
  4394. <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.\
  4395. <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.\
  4396. <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.\
  4397. </ul>\
  4398. Other available commands:<br>\
  4399. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4400. <ul>\
  4401. <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.\
  4402. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4403. <ul>examples:<br>\
  4404. <li>good: <i>filehost.com/download/</i><br>\
  4405. <li>good: <i>download.filehost.net/?d=</i><br>\
  4406. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4407. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4408. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4409. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4410. <li>bad: <i>filehost.com</i> - no slash<br>\
  4411. </ul>\
  4412. \
  4413. <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.\
  4414. 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 \
  4415. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4416. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4417. 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.)\
  4418. Two spaces again match any whitespace.\
  4419. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4420. Two spaces again match any whitespace.\
  4421. <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. \
  4422. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4423. </ul>\
  4424. \
  4425. ';
  4426.  
  4427. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4428. var configurationinnerHTML =
  4429. '<div id="fade"></div>\
  4430. <div class="popup_block">\
  4431. <div class="popup">\
  4432. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAHgCrgLvV9DLgMdID02rQZmfAmaAJaxS2edDr9s67rL7EB/9XCUuALoEl+pZJEvTAo8A9s6iVKxojKYWheAWxuIMr2GGKp1KHh4eF3vF4vW59me6ZD2Ajsle6LXify7SI68iNROIgtIKtpBvQEB5DI7iC6Zw3Rmi1EM0vlBsFg8OX8/PxvWQdFKm5E2KhiQ9R9iOjL17E6QFRUhAGQpFNjklYrhhT6YbndTtT8LtGjG+T0lStXNhcVFTGpnkE8jpAT4hdgNvm+Ivr+AyIHtM+Fu3Ss0RUZO8pqqos/NiDLblgcQO48/CzRpk/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4twOCzJWlpa2Lr3lTsXAiUmIRcAN1z6Awuy7zs7O8WxjRtFvDDH2JhJG4ClCo1AtUGq59tEz9q1UlGTrK2t7QL2/ATYKJsDUTUwQzZgVAKrSrI89K+dxcXFzbiJUR/K3cmTJ2nWwYNUcfQoeS+cJcdwQGZeIjuHAmV30KWGBjq/YgUtWLiQqquryWazUXt7u3/16tX7IIYbF50D+vjWwUXGJLQYlxZZDdx+v//zsrKyZtnX0ONwcAnWUygUQhtMSELeGK2HCgoKqKSkhNDZ5fj+/fvPNTU1teDvBQW/IuMWEx29g6rkYSv5zlfu8Xgae3p6fGKaD1z4N0i/xtqPALR/WgssAuawK1XNto7eaZSVVhVPl6ruM9Baiuvr6+fBzRUul2sWxPKQWA5Yqg0NDekIwfXe3t4h3EfZ10PAVWXRIMBj16VlRvFLj7smTiB1qArPxPnKcrdqpE5VG0lVEC6EYdUIgsp9ITXGc0mzaU26CGeQampTp7I4W8GlXK/R2MUxoTaOZMAk0jNv4VNe9RXpRGK7IrIrD2QS6mrzpCKfSDRK8q8AAwCF/L1ktjcKFAAAAABJRU5ErkJggg%3D%3D"/></a>\
  4433. <div id="h3hideshowtitle"><img style="height:1.2em;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFg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T69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Customized Premium Link version Configuration</div>\
  4434. <div id="warlc-conf-tabs">\
  4435. <ul>\
  4436. <li><a href="#tabs-1">Filehostings</a></li>\
  4437. <li><a href="#tabs-2">Containers</a></li>\
  4438. <li><a href="#tabs-5">Custom rules</a></li>\
  4439. <li><a href="#tabs-3">Settings</a></li>\
  4440. <li><a href="#tabs-4">About</a></li>\
  4441. </ul>\
  4442. <div id="tabs-1" class="warlc-ui-tab">\
  4443. <div class="warlc-ui-buttonset">\
  4444. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4445. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4446. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4447. </div><br>\
  4448. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4449. <div id="warlcsitelist1"><span>Empty</span></div>\
  4450. </div>\
  4451. <div id="tabs-2" class="warlc-ui-tab">\
  4452. <div class="warlc-ui-buttonset">\
  4453. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4454. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4455. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4456. </div><br>\
  4457. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4458. <div id="warlcsitelist2"><span>Empty</span></div>\
  4459. </div>\
  4460. <div id="tabs-5" class="warlc-ui-tab">\
  4461. <div class="warlcsettings">\
  4462. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4463. <br>\
  4464. <div>Edit custom rules: \
  4465. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4466. <div id="customRulesReference" style="display:none;">'
  4467. + customRulesRefHTML + '\
  4468. </div>\
  4469. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4470. </div>\
  4471. </div>\
  4472. </div>\
  4473. <div id="tabs-3" class="warlc-ui-tab">\
  4474. <div class="warlcsettings">\
  4475. <fieldset>\
  4476. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4477. <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>\
  4478. </fieldset>\
  4479. <fieldset>\
  4480. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4481. <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>\
  4482. <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>\
  4483. <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>\
  4484. <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>\
  4485. <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>\
  4486. <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>\
  4487. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4488. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4489. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4490. <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>\
  4491. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4492. <fieldset>\
  4493. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4494. <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>\
  4495. <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>\
  4496. <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>\
  4497. </fieldset>\
  4498. </fieldset>\
  4499. <fieldset>\
  4500. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4501. </fieldset>\
  4502. <fieldset>\
  4503. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4504. </fieldset>\
  4505. <fieldset>\
  4506. <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>\
  4507. </fieldset>\
  4508. <fieldset>\
  4509. <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>\
  4510. </fieldset>\
  4511. </div>\
  4512. </div>\
  4513. <div id="tabs-4" class="warlc-ui-tab">\
  4514. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4515. <p><b>Script Homepage:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">www.warlc.5gbfree.com</a></p>\
  4516. <br />\
  4517. <p><b>Currently supported:</b><br>\
  4518. Filehostings: ' + allHostNames.length + '<br />\
  4519. Containers: ' + allContainerNames.length + '<br />\
  4520. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4521. <br />\
  4522. <p><b>Based on:</b><br>\
  4523. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4524. <br />\
  4525. <p><b>Uses:</b></p>\
  4526. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4527. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4528. <br />\
  4529. <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>\
  4530. </div>\
  4531. </div>\
  4532. </div>\
  4533. </div>';
  4534. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4535. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4536. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4537. var elmHostList = document.getElementById("warlcsitelist1");
  4538. var elmContainerList = document.getElementById("warlcsitelist2");
  4539. buildSettings();
  4540. buildSitelist("", allHostNames, elmHostList);
  4541. buildSitelist("", allContainerNames, elmContainerList);
  4542. if (DEBUG_MODE)
  4543. {
  4544. //log all sites availability status
  4545. diagSites();
  4546. }
  4547. //handler for checkbox state change
  4548. function changeConfiguration(e)
  4549. {
  4550. var element = e.target;
  4551.  
  4552. if (element.type == 'checkbox')
  4553. {
  4554. if (element.checked == 1)
  4555. {
  4556. GM_setValue(element.id, true);
  4557. }
  4558. else
  4559. {
  4560. GM_setValue(element.id, false);
  4561. }
  4562.  
  4563. }
  4564. setVariables();
  4565. }
  4566.  
  4567. //Selects all filehosting checkboxes
  4568. function selectAll()
  4569. {
  4570. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4571. .each(function(index, element){GM_setValue(this.id, true)});
  4572. }
  4573.  
  4574. //Deselects all filehosting checkboxes
  4575. function selectNone()
  4576. {
  4577. $(":checkbox:visible:checked").prop("checked",false)
  4578. .each(function(index, element){GM_setValue(this.id, false)});
  4579. }
  4580.  
  4581. //Inverts filehosting checkboxes selection
  4582. function selectInvert()
  4583. {
  4584. var $checked = $(":checkbox:visible:checked");
  4585. var $unchecked = $(":checkbox:visible:not(:checked)");
  4586. $unchecked.prop("checked",true)
  4587. .each(function(index, element){GM_setValue(this.id, true)});
  4588. $checked.prop("checked",false)
  4589. .each(function(index, element){GM_setValue(this.id, false)});
  4590. }
  4591. //toggles anonymizer on off
  4592. function Enable_Anonymizer()
  4593. {
  4594. var $checked = $(":checkbox:visible:checked");
  4595. var $unchecked = $(":checkbox:visible:not(:checked)");
  4596. $unchecked.prop("checked",true)
  4597. .each(function(index, element){GM_setValue(this.id, true)});
  4598. $checked.prop("checked",false)
  4599. .each(function(index, element){GM_setValue(this.id, false)});
  4600. }
  4601.  
  4602. function changeRefAnonymizer(){
  4603. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4604. }
  4605.  
  4606. //Sets live links color
  4607. function changeColorLive()
  4608. {
  4609. var inColorLive = document.getElementById("inputColorLive");
  4610. inColorLive.style.background = inColorLive.value;
  4611. GM_setValue("Live_links_color", inColorLive.value);
  4612. }
  4613.  
  4614. //Sets dead links color
  4615. function changeColorDead()
  4616. {
  4617. var inColorDead = document.getElementById("inputColorDead");
  4618. inColorDead.style.background = inColorDead.value;
  4619. GM_setValue("Dead_links_color", inColorDead.value);
  4620. }
  4621.  
  4622. //Sets temp. unavailable links color
  4623. function changeColorTemp()
  4624. {
  4625. var inColorTemp = document.getElementById("inputColorTemp");
  4626. inColorTemp.style.background = inColorTemp.value;
  4627. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4628. }
  4629.  
  4630. //Sets temp. unavailable links color
  4631. function changeColorCont()
  4632. {
  4633. var inColorCont = document.getElementById("inputColorCont");
  4634. inColorCont.style.background = inColorCont.value;
  4635. GM_setValue("Container_links_color", inColorCont.value);
  4636. }
  4637. //Sets premium. links color
  4638. function changeColorprem()
  4639. {
  4640. var inColorprem = document.getElementById("inputColorprem");
  4641. inColorprem.style.background = inColorprem.value;
  4642. GM_setValue("Premium_links_color", inColorprem.value);
  4643. }
  4644.  
  4645. //Diagnose sites for availability
  4646. function diagSites()
  4647. {
  4648. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4649.  
  4650. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4651. {
  4652. if (boxes[i].type == "checkbox")
  4653. {
  4654. checkAvailability(boxes[i]);
  4655. }
  4656. }
  4657.  
  4658. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4659.  
  4660. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4661. {
  4662. if (boxes[i].type == "checkbox")
  4663. {
  4664. checkAvailability(boxes[i]);
  4665. }
  4666. }
  4667.  
  4668. function checkAvailability(cbElm)
  4669. {
  4670. var cb = cbElm;
  4671. GM_xmlhttpRequest(
  4672. {
  4673. method: 'HEAD',
  4674. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4675. headers: {
  4676. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4677. 'Accept': 'text/xml',
  4678. 'Referer': ""
  4679. },
  4680. onload: function (result)
  4681. {
  4682. if (result.status != 200)
  4683. {
  4684. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4685. }
  4686. },
  4687. onerror: function (result)
  4688. {
  4689. if (result.status != 200)
  4690. {
  4691. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4692. }
  4693. }
  4694. });
  4695. }
  4696. }
  4697. function buildSettings()
  4698. {
  4699. $(".warlcsettings :checkbox").each(function(){
  4700. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4701. .click(function(e){
  4702. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4703. setVariables();
  4704. });
  4705. })
  4706. }
  4707. //Dynamic build of host list
  4708. //param search [string] searches for hostnames matching search substring
  4709. //param siteNames [array] array of site names
  4710. //param targetNode [DOM Node] where the list should be built
  4711. // first child node is replaced
  4712. function buildSitelist(search, siteNames, targetNode)
  4713. {
  4714. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4715. var $targetNode = $(targetNode).empty();
  4716. var searchedSite = "";
  4717. $.each(siteNames, function(i, site){
  4718. if (searchedSite = site.match(searchRegex))
  4719. {
  4720. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4721. //ensuring backward compatibility with the rest of code, to be refactored later
  4722. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4723. //
  4724. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4725. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4726. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4727. );
  4728. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4729. .change(changeConfiguration);
  4730. $targetNode.append('<br />');
  4731. }
  4732. });
  4733. $targetNode.append("<hr>");
  4734. //obsolete hosts checkbox
  4735. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4736. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4737. .change(changeConfiguration);
  4738. $targetNode.append('<br />');
  4739. var foundName = "";
  4740. $.each(allObsoleteNames, function(i, site){
  4741. if (foundName = allObsoleteNames[i].match(searchRegex))
  4742. {
  4743. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4744. }
  4745. })
  4746. }
  4747. var hostSearchBox = document.getElementById("hostSearchBox");
  4748. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4749. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4750. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4751. $(".warlc-ui-select-all").click(selectAll).button();
  4752. $(".warlc-ui-select-none").click(selectNone).button();
  4753. $(".warlc-ui-select-invert").click(selectInvert).button();
  4754. $(".warlc-ui-buttonset").buttonset();
  4755. var inColorLive = document.getElementById("inputColorLive");
  4756. inColorLive.addEventListener('keyup', changeColorLive, false);
  4757.  
  4758. var inColorDead = document.getElementById("inputColorDead");
  4759. inColorDead.addEventListener('keyup', changeColorDead, false);
  4760.  
  4761. var inColorTemp = document.getElementById("inputColorTemp");
  4762. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4763.  
  4764. var inColorCont = document.getElementById("inputColorCont");
  4765. inColorCont.addEventListener('keyup', changeColorCont, false);
  4766. var inColorprem = document.getElementById("inputColorprem");
  4767. inColorprem.addEventListener('keyup', changeColorprem, false);
  4768. $("#refAnonymizer").change(changeRefAnonymizer);
  4769. //buttons and edit boxes init end
  4770.  
  4771. //icon sets radio buttons
  4772. var radioButtons = document.getElementsByName("warlciconset");
  4773. radioButtons[Icon_set].checked = "checked";
  4774.  
  4775. radioButtons[0].addEventListener("change", updateIconSet);
  4776. radioButtons[1].addEventListener("change", updateIconSet);
  4777. radioButtons[2].addEventListener("change", updateIconSet);
  4778. radioButtons[3].addEventListener("change", updateIconSet);
  4779. function updateIconSet()
  4780. {
  4781. GM_setValue("Icon_set", this.value * 1);
  4782. }
  4783. //
  4784. $('#showCustomRulesReference').click(function(e){
  4785. e.preventDefault();
  4786. $('#customRulesReference').toggle();
  4787. });
  4788. $('#Custom_rules_text')
  4789. .val(Custom_rules_text)
  4790. .change(saveCustomRules);
  4791. function saveCustomRules(e)
  4792. {
  4793. var cr = parseCustomRules(this.value);
  4794. if (cr.info.length)
  4795. 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, ' '));
  4796. GM_setValue('Custom_rules_text', this.value);
  4797. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4798. }
  4799. }
  4800.  
  4801. //begin standard link checking algorithm
  4802. function start(filterId)
  4803. {
  4804. var doNotLinkify = Do_not_linkify_DL_links;
  4805.  
  4806. // USER SELECTED FILE HOSTS INITIALIZATION START
  4807. var http_file_hosts = new Array(); //standard hostings
  4808. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4809. var http_file_hosts_obsolete = new Array(); //dead hostings
  4810. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4811.  
  4812. initFileHosts();
  4813. initFileHostsHeadersOnly();
  4814. initFileHostsCustom(); //CustomRules
  4815. // USER SELECTED FILE HOSTS INITIALIZATION END
  4816.  
  4817. // LINKIFICATION START
  4818. var totalxpath = '';
  4819. var totalxpathcoded = '';
  4820. var totalxpathobsolete = '';
  4821. var totalxpathheadersonly = '';
  4822. var totalourls = '';
  4823.  
  4824. var filehostLen = http_file_hosts.length;
  4825. var filehostCodedLen = http_file_hosts_coded.length;
  4826. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4827. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4828.  
  4829. var filehostIdx = filehostLen;
  4830. var filehostCodedIdx = filehostCodedLen;
  4831. var filehostObsoleteIdx = filehostObsoleteLen;
  4832. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4833.  
  4834. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4835. return;
  4836.  
  4837. while (filehostIdx--)
  4838. {
  4839. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4840. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4841. }
  4842.  
  4843. while (filehostCodedIdx--)
  4844. {
  4845. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4846. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4847. }
  4848.  
  4849. while (filehostObsoleteIdx--)
  4850. {
  4851. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4852. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4853. }
  4854.  
  4855. while (filehostHeadersOnlyIdx--)
  4856. {
  4857. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4858. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4859. }
  4860.  
  4861. totalourls = totalourls.replace(/\|$/g, "");
  4862. //TODO: further refactoring needed
  4863. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4864. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4865. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4866. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4867. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4868. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4869. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4870. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4871. if (filterId != null) //insert id restriction in the xpath
  4872. {
  4873. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4874. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4875. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4876. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4877. }
  4878. else
  4879. {
  4880. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4881. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4882. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4883. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4884. }
  4885. linkify(totalourls);
  4886. //LINKIFICATION END
  4887. //ENCRYPTED LINKS PROCESSING START
  4888. if (http_file_hosts_coded.length > 0)
  4889. {
  4890. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4891.  
  4892. // decrypt coded links (redirects, link protectors etc.)
  4893. if (linksCoded.snapshotLength > 0)
  4894. {
  4895. var link;
  4896. var reallinkreg;
  4897. var reallinkcorrection;
  4898.  
  4899. if (filterId == null)
  4900. {
  4901. cLinksTotal += linksCoded.snapshotLength;
  4902. }
  4903.  
  4904. var y = linksCoded.snapshotLength - 1;
  4905. do
  4906. {
  4907. // linksCoded.snapshotItem(y).id = 'processing_link';
  4908. link = linksCoded.snapshotItem(y);
  4909. filehostIdx = filehostCodedLen;
  4910. while (filehostIdx--)
  4911. {
  4912. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4913. {
  4914. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4915. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4916. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4917.  
  4918. decurl(link, reallinkreg, reallinkcorrection);
  4919. break;
  4920. }
  4921. }
  4922. }
  4923. while (y--);
  4924. }
  4925. }
  4926. //ENCRYPTED LINKS PROCESSING END
  4927.  
  4928. //STANDARD LINKCHECKING START
  4929. if (http_file_hosts.length > 0)
  4930. {
  4931. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4932.  
  4933. if (filterId == null)
  4934. {
  4935. cLinksTotal += lianks.snapshotLength;
  4936. }
  4937.  
  4938. if (lianks.snapshotLength > 0)
  4939. {
  4940. var link;
  4941.  
  4942. var URL = "";
  4943. var name = "";
  4944. var isAliveRegex = "";
  4945. var isDeadRegex = "";
  4946. var isUnavaRegex = "";
  4947. var ispremRegex = "";
  4948. var tryLoop = false;
  4949.  
  4950. var y = lianks.snapshotLength;
  4951.  
  4952. while (y--)
  4953. {
  4954. link = lianks.snapshotItem(y);
  4955.  
  4956. filehostIdx = filehostLen;
  4957. while (filehostIdx--)
  4958. {
  4959. if (link.href.match(http_file_hosts[filehostIdx][0]))
  4960. {
  4961. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  4962. isAliveRegex = http_file_hosts[filehostIdx][1];
  4963. isDeadRegex = http_file_hosts[filehostIdx][2];
  4964. isUnavaRegex = http_file_hosts[filehostIdx][3];
  4965. ispremRegex = http_file_hosts[filehostIdx][6];
  4966. tryLoop = http_file_hosts[filehostIdx][5];
  4967.  
  4968. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  4969.  
  4970. break;
  4971. }
  4972. }
  4973. }
  4974. }
  4975. }
  4976. //STANDARD LINKCHECKING END
  4977. //OBSOLETE FILE HOSTS PROCESSING START
  4978. if (filehostObsoleteLen > 0)
  4979. {
  4980. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4981.  
  4982. var obsoleteLink;
  4983.  
  4984. //check links
  4985. if (obsoletelinks.snapshotLength > 0)
  4986. {
  4987. var y = obsoletelinks.snapshotLength;
  4988.  
  4989. if (filterId == null)
  4990. {
  4991. cLinksTotal += y;
  4992. }
  4993.  
  4994. while (y--)
  4995. {
  4996. obsoleteLink = obsoletelinks.snapshotItem(y);
  4997.  
  4998. if (Display_tooltip_info)
  4999. {
  5000. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5001. }
  5002. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5003. }
  5004. }
  5005. }
  5006. //OBSOLETE FILE HOSTS PROCESSING END
  5007.  
  5008. //DIRECT LINKCHECKING START
  5009. if (http_file_hosts_headers_only.length > 0)
  5010. {
  5011. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5012.  
  5013. //check links
  5014. if (links.snapshotLength > 0)
  5015. {
  5016. var link;
  5017. var isAliveRegex;
  5018. var isDeadRegex;
  5019. var ispremRegex;
  5020.  
  5021. var y = links.snapshotLength;
  5022.  
  5023.  
  5024. if (filterId == null)
  5025. {
  5026. cLinksTotal += y;
  5027. }
  5028.  
  5029. while (y--)
  5030. {
  5031. // links.snapshotItem(y).id = 'processing_link';
  5032. link = links.snapshotItem(y);
  5033. filehostIdx = filehostHeadersOnlyLen;
  5034. while (filehostIdx--)
  5035. {
  5036. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5037. {
  5038. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5039. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5040. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5041. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5042.  
  5043. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5044.  
  5045. break;
  5046. }
  5047. }
  5048. }
  5049.  
  5050. }
  5051. }
  5052. //DIRECT LINKCHECKING END
  5053.  
  5054.  
  5055. //finds the real url on the page, replaces link.href with it and calls geturl
  5056. function decurl(link, reallinkreg, reallinkcorrection)
  5057. {
  5058.  
  5059. GM_xmlhttpRequest(
  5060. {
  5061. method: 'GET',
  5062. url: link.href,
  5063. headers: {
  5064. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5065. 'Accept': 'text/xml',
  5066. 'Referer': ""
  5067. },
  5068. onload: function (result)
  5069. {
  5070. // cLinksProcessed++;
  5071.  
  5072. var reallink = result.responseText.match(reallinkreg)[0];
  5073. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5074.  
  5075. link.href = reallink;
  5076.  
  5077. var i = http_file_hosts.length - 1;
  5078. do
  5079. {
  5080. if ((reallink.match(http_file_hosts[i][0])))
  5081. {
  5082. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5083. var isAliveRegex = http_file_hosts[i][1];
  5084. var isDeadRegex = http_file_hosts[i][2];
  5085. var isUnavaRegex = http_file_hosts[i][3];
  5086. var ispremRegex = http_file_hosts[i][4];
  5087.  
  5088. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5089.  
  5090. break;
  5091. }
  5092. }
  5093. while (i--);
  5094. }
  5095. });
  5096. }
  5097.  
  5098. function randUA()
  5099. {
  5100. //TODO
  5101. }
  5102. //Processes link
  5103. //
  5104. // [string] link link URL
  5105. // [string] isAliveRegex alive link regex
  5106. // [string] isDeadRegex dead link regex
  5107. // [string] isUnavaRegex unavailable link regex
  5108. // [string] ispremRegex premium link regex
  5109. // [boolean] tryLoop repeats request until succeeded
  5110. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5111. {
  5112. GM_xmlhttpRequest(
  5113. {
  5114. method: 'GET',
  5115. url: link.href,
  5116. headers: {
  5117. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5118. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5119. 'Referer': ""
  5120. },
  5121. onload: function (result)
  5122. {
  5123. var res = result.responseText;
  5124. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5125. {
  5126. displayTheCheckedLink(link, 'alive_link');
  5127. return;
  5128. }
  5129.  
  5130. if (res.match(isAliveRegex))
  5131. {
  5132. displayTheCheckedLink(link, 'alive_link');
  5133. return;
  5134. }
  5135.  
  5136. if (res.match(isDeadRegex))
  5137. {
  5138. displayTheCheckedLink(link, 'adead_link');
  5139. return;
  5140. }
  5141.  
  5142. if (isUnavaRegex && res.match(isUnavaRegex))
  5143. {
  5144. displayTheCheckedLink(link, 'unava_link');
  5145. return;
  5146. }
  5147. if (res.match(ispremRegex))
  5148. {
  5149. displayTheCheckedLink(link, 'prem_link');
  5150. return;
  5151. }
  5152.  
  5153. var resStatus = result.status;
  5154.  
  5155. if (resStatus == 404)
  5156. {
  5157. displayTheCheckedLink(link, 'adead_link');
  5158. }
  5159. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5160. {
  5161. if (tryLoop)
  5162. {
  5163. //wait 1-5 seconds and repeat the request
  5164. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5165. }
  5166. else
  5167. {
  5168. displayTheCheckedLink(link, 'unava_link');
  5169. }
  5170.  
  5171. return;
  5172. }
  5173. },
  5174. onerror: function ()
  5175. {
  5176. displayTheCheckedLink(link, 'unava_link');
  5177. }
  5178. });
  5179. }
  5180.  
  5181. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5182. {
  5183. GM_xmlhttpRequest(
  5184. {
  5185. method: 'HEAD',
  5186. url: link.href,
  5187. headers: {
  5188. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5189. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5190. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5191. 'Referer': ""
  5192. },
  5193. onload: function (result)
  5194. {
  5195. var resStatus = result.status;
  5196. var resHeaders = "";
  5197. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5198. {
  5199. displayTheCheckedLink(link, 'adead_link');
  5200. return;
  5201. }
  5202.  
  5203. resHeaders = result.responseHeaders;
  5204.  
  5205. if (resHeaders.match(isDeadRegex))
  5206. {
  5207. displayTheCheckedLink(link, 'adead_link');
  5208. return;
  5209. }
  5210.  
  5211. if (resHeaders.match(isAliveRegex))
  5212. {
  5213. displayTheCheckedLink(link, 'alive_link');
  5214. return;
  5215. }
  5216. if (resHeaders.match(ispremRegex))
  5217. {
  5218. displayTheCheckedLink(link, 'prem_link');
  5219. return;
  5220. }
  5221. },
  5222. onerror: function ()
  5223. {
  5224. displayTheCheckedLink(link, 'unava_link');
  5225. }
  5226. });
  5227. }
  5228.  
  5229. //Delinkfifies the <a> element object
  5230. function delinkifyLink(link)
  5231. {
  5232. var spanElm = document.createElement("span");
  5233. spanElm.className = link.className;
  5234. spanElm.innerHTML = link.innerHTML;
  5235.  
  5236. if (Display_tooltip_info)
  5237. {
  5238. spanElm.href = link.href;
  5239. spanElm.warlc_error = link.warlc_error;
  5240. switch (link.className){
  5241. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5242. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5243. case "unava_link": //reserved
  5244. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5245. default:
  5246. }
  5247. }
  5248. link.parentNode.replaceChild(spanElm, link);
  5249. }
  5250.  
  5251. //Assigns result status to the <a> element object and calls delinkifying eventually
  5252. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5253. function displayTheCheckedLink(link, resultStatus)
  5254. {
  5255. link.className = resultStatus;
  5256. link.href = Ref_anonymize_service + link.href;
  5257. if (Display_tooltip_info)
  5258. {
  5259. switch (resultStatus){
  5260. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5261. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5262. case "unava_link": //reserved
  5263. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5264. default:
  5265. }
  5266. }
  5267. if (doNotLinkify)
  5268. {
  5269. delinkifyLink(link);
  5270. }
  5271. cLinksProcessed++;
  5272.  
  5273. if (resultStatus == "alive_link")
  5274. {
  5275. cLinksAlive++;
  5276. return;
  5277. }
  5278.  
  5279. if (resultStatus == "adead_link")
  5280. {
  5281. cLinksDead++;
  5282. return;
  5283. }
  5284.  
  5285. if (resultStatus == "unava_link")
  5286. {
  5287. cLinksUnava++;
  5288. }
  5289. if (resultStatus == "prem_link")
  5290. {
  5291. cLinksprem++;
  5292. return;
  5293. }
  5294. }
  5295.  
  5296.  
  5297. function initFileHosts()
  5298. {
  5299.  
  5300. function addObsoleteHost(linkRegex, xpathEx)
  5301. {
  5302. var host = new Array(2);
  5303. host[0] = linkRegex;
  5304. host[1] = xpathEx;
  5305. http_file_hosts_obsolete.push(host);
  5306. }
  5307.  
  5308. //obsolete file hosts init start
  5309. if (Obsolete_file_hosts)
  5310. {
  5311. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5312. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5313. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5314. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5315. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5316. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5317. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5318. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5319. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5320. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5321. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5322. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5323. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5324. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5325. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5326. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5327. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5328. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5329. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5330. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5331. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5332. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5333. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5334. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5335. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5336. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5337. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5338. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5339. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5340. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5341. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5342. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5343. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5344. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5345. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5346. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5347. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5348. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5349. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5350. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5351. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5352. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5353. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5354. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5355. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5356. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5357. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5358. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5359. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5360. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5361. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5362. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5363. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5364. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5365. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5366. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5367. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5368. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5369. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5370. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5371. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5372. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5373. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5374. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5375. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5376. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5377. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5378. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5379. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5380. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5381. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5382. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5383. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5384. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5385. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5386. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5387. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5388. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5389. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5390. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5391. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5392. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5393. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5394. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5395. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5396. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5397. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5398. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5399. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5400. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5401. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5402. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5403. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5404. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5405. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5406. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5407. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5408. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5409. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5410. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5411. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5412. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5413. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5414. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5415. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5416. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5417. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5418. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5419. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5420. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5421. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5422. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5423. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5424. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5425. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5426. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5427. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5428. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5429. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5430. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5431. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5432. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5433. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5434. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5435. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5436. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5437. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5438. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5439. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5440. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5441. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5442. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5443. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5444. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5445. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5446. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5447. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5448. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5449. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5450. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5451. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5452. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5453. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5454. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5455. 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')]");
  5456. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5457. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5458. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5459. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5460. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5461. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5462. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5463. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5464. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5465. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5466. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5467. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5468. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5469. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5470. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5471. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5472. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5473. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5474. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5475. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5476. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5477. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5478. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5479. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5480. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5481. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5482. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5483. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5484. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5485. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5486. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5487. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5488. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5489. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5490. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5491. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5492. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5493. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5494. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5495. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5496. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5497. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5498. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5499. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5500. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5501. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5502. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5503. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5504. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5505. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5506. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5507. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5508. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5509. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5510. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5511. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5512. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5513. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5514. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5515. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5516. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5517. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5518. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5519. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5520. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5521. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5522. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5523. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5524. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5525. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5526. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5527. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5528. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5529. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5530. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5531. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5532. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5533. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5534. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5535. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5536. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5537. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5538. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5539. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5540. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5541. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5542. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5543. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5544. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5545. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5546. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5547. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5548. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5549. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5550. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5551. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5552. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5553. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5554. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5555. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5556. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5557. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5558. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5559. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5560. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5561. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5562. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5563. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5564. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5565. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5566. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5567. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5568. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5569. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5570. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5571. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5572. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5573. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5574. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5575. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5576. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5577. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5578. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5579. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5580. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5581. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5582. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5583. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5584. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5585. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5586. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5587. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5588. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5589. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5590. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5591. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5592. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5593. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5594. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5595. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5596. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5597. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5598. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5599. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5600. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5601. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5602. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5603. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5604. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5605. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5606. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5607. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5608. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5609. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5610. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5611. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5612. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5613. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5614. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5615. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5616. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5617. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5618. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5619. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5620. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5621. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5622. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5623. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5624. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5625. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5626. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5627. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5628. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5629. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5630. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5631. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5632. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5633. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5634. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5635. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5636. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5637. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5638. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5639. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5640. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5641. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5642. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5643. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5644. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5645. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5646. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5647. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5648. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5649. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5650. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5651. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5652. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5653. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5654. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5655. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5656. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5657. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5658. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5659. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5660. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5661. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5662. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5663. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5664. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5665. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5666. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5667. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5668. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5669. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5670. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5671. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5672. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5673. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5674. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5675. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5676. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5677. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5678. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5679. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5680. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5681. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5682. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5683. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5684. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5685. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5686. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5687. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5688. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5689. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5690. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5691. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5692. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5693. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5694. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5695. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5696. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5697. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5698. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5699. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5700. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5701. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5702. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5703. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5704. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5705. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5706. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5707. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5708. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5709. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5710. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5711. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5712. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5713. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5714. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5715. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5716. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5717. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5718. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5719. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5720. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5721. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5722. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5723. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5724. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5725. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5726. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5727. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5728. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5729. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5730. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5731. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5732. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5733. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5734. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5735. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5736. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5737. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5738. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5739. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5740. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5741. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5742. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5743. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5744. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5745. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5746. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5747. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5748. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5749. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5750. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5751. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5752. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5753. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5754. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5755. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5756. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5757. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5758. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5759. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5760. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5761. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5762. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5763. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5764. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5765. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5766. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5767. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5768. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5769. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5770. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5771. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5772. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5773. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5774. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5775. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5776. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5777. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5778. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5779. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5780. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5781. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5782. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5783. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5784. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5785. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5786. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5787. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5788. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5789. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5790. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5791. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5792. // obsolete start
  5793. }
  5794. //obsolete file hosts init end
  5795. //Add Host Example
  5796. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5797. {
  5798. addFileHost(
  5799. "datafile\.com\/\\w+",
  5800. 'var captchaPanel|<link href="/css/files_download.css"',
  5801. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5802. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5803. '<style type="text/css">',
  5804. "//a[contains(@href,'datafile.com')]",
  5805. true);
  5806. } */
  5807.  
  5808. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5809. {
  5810. var host = new Array(7);
  5811. host[0] = linkRegex;
  5812. host[1] = isAliveRegex;
  5813. host[2] = isDeadRegex;
  5814. host[3] = isUnavaRegex;
  5815. host[6] = ispremRegex;
  5816. host[4] = xpathEx;
  5817. tryLoop ? host[5] = true : host[5] = false;
  5818. http_file_hosts.push(host);
  5819. }
  5820. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5821. {
  5822. addFileHost(
  5823. "megafileupload\.com\/..\/file\/",
  5824. 'downloadbtn',
  5825. 'is not found',
  5826. 'optional--',
  5827. 'optional2--',
  5828. "//a[contains(@href,'megafileupload.com')]");
  5829. }
  5830. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5831. {
  5832. addFileHost(
  5833. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5834. 'download\\.gif"',
  5835. 'p_point">',
  5836. 'optional--',
  5837. 'optional2--',
  5838. "//a[contains(@href,'demo.ovh.eu')]");
  5839. }
  5840. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5841. {
  5842. addFileHost(
  5843. "xkeepfile\.com\/\\w+",
  5844. 'File has been found|Click here to download',
  5845. 'File cannot be found|class="error">',
  5846. 'optional--',
  5847. 'optional2--',
  5848. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5849. }
  5850. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5851. {
  5852. addFileHost(
  5853. "safelinking\\.net\/p\/\\w+",
  5854. 'color:green;"',
  5855. 'color:(?:red|orange);"',
  5856. 'color:(?:grey|brown);"',
  5857. 'optional2--',
  5858. "//a[contains(@href,'safelinking.net/p/')]",
  5859. true);
  5860. }
  5861. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5862. {
  5863. addFileHost(
  5864. "fastshare\\.cz\/\\d+\/\\w*",
  5865. 'dwntable">',
  5866. 'nebyla nalezena|nebola nájdená|nie została odnaleziona|color:red;font-weight:bold;border\\-style:dashed|<i class="fa fa-copyright"></i>',
  5867. 'optional--',
  5868. 'optional2--',
  5869. "//a[contains(@href,'fastshare.cz')]");
  5870. }
  5871. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5872. {
  5873. addFileHost(
  5874. "[fF]ast[sS]hare\\.org\/download",
  5875. 'Download ">',
  5876. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5877. 'optional--',
  5878. 'optional2--',
  5879. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5880. }
  5881. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5882. {
  5883. addFileHost(
  5884. "partage-facile\.com\/\\w+",
  5885. 'class="title"><strong>|colspan="2"',
  5886. 'Page introuvable|class="alert-message',
  5887. 'optional--',
  5888. 'optional2--',
  5889. "//a[contains(@href,'partage-facile.com')]");
  5890. }
  5891. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5892. {
  5893. addFileHost(
  5894. "rapidgator\\.net\/file\/\\w+",
  5895. '/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',
  5896. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5897. 'optional--',
  5898. 'can be downloaded by premium only|files up to 500 MB in free mode|files up to 1 GB in free mode',
  5899. "//a[contains(@href,'rapidgator.net/file')]",
  5900. true
  5901. );
  5902. }
  5903. if (GM_getValue("Check_relink_dot_us_links", false))
  5904. {
  5905. addFileHost(
  5906. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5907. 'online_detail\\.png" alt="Status',
  5908. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5909. 'unknown_detail\\.png" alt="Status',
  5910. 'optional2--',
  5911. "//a[contains(@href,'relink.us/')]"
  5912. );
  5913. }
  5914. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5915. {
  5916. addFileHost(
  5917. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5918. 'div id="dl"',
  5919. 'Sie haben den Link falsch',
  5920. 'optional--',
  5921. 'optional2--',
  5922. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5923. );
  5924. }
  5925. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5926. {
  5927. addFileHost(
  5928. "flyfiles\\.net\/\\w+",
  5929. 'download_button"|"Download file"',
  5930. 'File not found!|Файл не найден',
  5931. 'optional--',
  5932. 'optional2--',
  5933. "//a[contains(@href,'flyfiles.net/')]"
  5934. );
  5935. }
  5936. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5937. {
  5938. addFileHost(
  5939. "wikiupload\\.com\/\\w+",
  5940. 'download-button">',
  5941. 'Sorry, File not found',
  5942. 'optional--',
  5943. 'optional2--',
  5944. "//a[contains(@href,'wikiupload.com/')]"
  5945. );
  5946. }
  5947. if (GM_getValue("Check_hostuje_dot_net_links", false))
  5948. {
  5949. addFileHost(
  5950. "hostuje\\.net\/file\\.php\\?id=\\w+",
  5951. 'file\\.php">|Pobierz Plik',
  5952. 'Podany plik nie zosta',
  5953. 'optional--',
  5954. 'optional2--',
  5955. "//a[contains(@href,'hostuje.net/file')]"
  5956. );
  5957. }
  5958. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  5959. {
  5960. addFileHost(
  5961. "gettyfile\\.ru\/\\d+",
  5962. 'download\\.gif border',
  5963. '<center><font size="3">',
  5964. 'optional--',
  5965. 'optional2--',
  5966. "//a[contains(@href,'gettyfile.ru/')]"
  5967. );
  5968. }
  5969. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  5970. {
  5971. addFileHost(
  5972. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  5973. 'download\\-file">',
  5974. 'col-1">\\s*<h1>',
  5975. 'optional--',
  5976. 'optional2--',
  5977. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  5978. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  5979. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  5980. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  5981. );
  5982. }
  5983. if (GM_getValue("Check_data_dot_hu_links", false))
  5984. {
  5985. addFileHost(
  5986. "data\\.hu\/get\/\\d+\/",
  5987. 'download_box_button',
  5988. 'missing\\.php',
  5989. 'optional--',
  5990. 'optional2--',
  5991. "//a[contains(@href,'data.hu/get')]",
  5992. true
  5993. );
  5994. }
  5995. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  5996. {
  5997. addFileHost(
  5998. "filesmelt\\.com\/dl\/\\w+",
  5999. '(Your download is ready|Download File)',
  6000. 'Sorry, but your',
  6001. 'optional--',
  6002. 'optional2--',
  6003. "//a[contains(@href,'filesmelt.com/dl')]"
  6004. );
  6005. }
  6006. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6007. {
  6008. addFileHost(
  6009. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6010. 'premiumBtn"',
  6011. 'errorMessage"',
  6012. 'optional--',
  6013. 'optional2--',
  6014. "//a[contains(@href,'indowebster.com/download')]"
  6015. );
  6016. }
  6017. if (GM_getValue("Check_superload_dot_cz_links", false))
  6018. {
  6019. addFileHost(
  6020. "superload\\.cz\/dl\/\\w+",
  6021. 'icon-download">',
  6022. 'soubor nebyl nalezen',
  6023. 'optional--',
  6024. 'optional2--',
  6025. "//a[contains(@href,'superload.cz/dl')]"
  6026. );
  6027. }
  6028. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6029. {
  6030. addFileHost(
  6031. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6032. 'op" value="download',
  6033. 'class="err">|width:500px;text-align:left;">',
  6034. 'optional--',
  6035. 'optional2--',
  6036. "//a[contains(@href,'hulkfile.')]"
  6037. );
  6038. }
  6039. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6040. {
  6041. addFileHost(
  6042. "easybytez\\.com\/\\w+",
  6043. 'op" value="download',
  6044. 'stop_error\\.gif',
  6045. 'optional--',
  6046. 'optional2--',
  6047. "//a[contains(@href,'easybytez.com/')]"
  6048. );
  6049. }
  6050. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6051. {
  6052. addFileHost(
  6053. "filestore\\.com\\.ua\/\\?d=\\w+",
  6054. 'tdrow1>',
  6055. 'class=warn',
  6056. 'optional--',
  6057. 'optional2--',
  6058. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6059. );
  6060. }
  6061. if (GM_getValue("Check_netkups_dot_com_links", false))
  6062. {
  6063. addFileHost(
  6064. "netkups\\.com\/\\?d=\\w+",
  6065. 'submit">Continue',
  6066. 'page">File not found|deleted due to inactivity',
  6067. 'optional--',
  6068. 'optional2--',
  6069. "//a[contains(@href,'netkups.com/?d=')]"
  6070. );
  6071. }
  6072. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6073. {
  6074. addFileHost(
  6075. "openfile\\.ru\/(?:video\/|)\\d+",
  6076. 'videobox_left">',
  6077. 'blog_title">|not found on this server',
  6078. 'optional--',
  6079. 'optional2--',
  6080. "//a[contains(@href,'openfile.ru/')]"
  6081. );
  6082. }
  6083. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6084. {
  6085. addFileHost(
  6086. "extmatrix\\.com\/files\/\\w+",
  6087. 'div class="success"',
  6088. 'div class="error"',
  6089. 'optional--',
  6090. 'optional2--',
  6091. "//a[contains(@href,'extmatrix.com/files')]"
  6092. );
  6093. }
  6094. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6095. {
  6096. addFileHost(
  6097. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6098. 'content_lnkDownload',
  6099. 'error\\.aspx\\?',
  6100. 'optional--',
  6101. 'optional2--',
  6102. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6103. );
  6104. }
  6105. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6106. {
  6107. addFileHost(
  6108. "yourfilestore\\.com\/download\/\\d+\/",
  6109. 'download_data">',
  6110. 'may have been deleted|<h1>Sorry!<\/h1>',
  6111. 'optional--',
  6112. 'optional2--',
  6113. "//a[contains(@href,'yourfilestore.com/download')]"
  6114. );
  6115. }
  6116. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6117. {
  6118. addFileHost(
  6119. "nekaka\\.com\/d\/[\\w-]+",
  6120. 'downloadForm">',
  6121. 'invalid file link',
  6122. 'optional--',
  6123. 'optional2--',
  6124. "//a[contains(@href,'nekaka.com/d')]"
  6125. );
  6126. }
  6127. if (GM_getValue("Check_filebig_dot_net_links", false))
  6128. {
  6129. addFileHost(
  6130. "filebig\\.net\/files\/\\w+",
  6131. 'downloadFile">',
  6132. '<p>File not found<\/p>',
  6133. 'optional--',
  6134. 'optional2--',
  6135. "//a[contains(@href,'filebig.net/files')]"
  6136. );
  6137. }
  6138. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6139. {
  6140. addFileHost(
  6141. "files\\.filefront\\.com\/\/;\\d+;;",
  6142. 'downloadLink">',
  6143. 'File not found, you',
  6144. 'optional--',
  6145. 'optional2--',
  6146. "//a[contains(@href,'files.filefront.com')]"
  6147. );
  6148.  
  6149. addFileHost(
  6150. "gamefront\\.com\/files\/\\d+",
  6151. 'downloadLink">',
  6152. 'File not found, you',
  6153. 'optional--',
  6154. 'optional2--',
  6155. "//a[contains(@href,'gamefront.com/files')]"
  6156. );
  6157. }
  6158. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6159. {
  6160. addFileHost(
  6161. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6162. 'dnlLnk"',
  6163. 'already been deleted',
  6164. 'optional--',
  6165. 'optional2--',
  6166. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6167. );
  6168. }
  6169. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6170. {
  6171. addFileHost(
  6172. "hellupload\\.com\/\\w+",
  6173. '<h3>Download File<br',
  6174. 'id="podstrona">|AVOID_IE_BUG',
  6175. 'optional--',
  6176. 'optional2--',
  6177. "//a[contains(@href,'hellupload.com/')]"
  6178. );
  6179. }
  6180. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6181. {
  6182. addFileHost(
  6183. "free\\-uploading\\.com\/\\w+",
  6184. 'op" value="download',
  6185. 'class="err">|width:500px;text-align:left;">',
  6186. 'optional--',
  6187. 'optional2--',
  6188. "//a[contains(@href,'free-uploading.com/')]"
  6189. );
  6190. }
  6191. if (GM_getValue("Check_fileape_dot_com_links", false))
  6192. {
  6193. addFileHost(
  6194. "fileape\\.com\/download\\-",
  6195. 'button_dl\\.png',
  6196. 'does not exist\\.',
  6197. 'optional--',
  6198. 'optional2--',
  6199. "//a[contains(@href,'fileape.com/')]"
  6200. );
  6201. }
  6202. if (GM_getValue("Check_uppit_dot_com_links", false))
  6203. {
  6204. addFileHost(
  6205. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6206. 'op" value="download',
  6207. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6208. 'optional--',
  6209. 'optional2--',
  6210. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6211. true
  6212. );
  6213. }
  6214. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6215. {
  6216. addFileHost(
  6217. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6218. 'op" value="download',
  6219. '>File Not Found<',
  6220. 'optional--',
  6221. 'optional2--',
  6222. "//a[contains(@href,'nosupload.com')]",
  6223. true
  6224. );
  6225. }
  6226. if (GM_getValue("Check_filesin_dot_com_links", false))
  6227. {
  6228. addFileHost(
  6229. "filesin\\.com\/\\w+\/download\\.html",
  6230. 'download_area">',
  6231. 'error_note">',
  6232. 'optional--',
  6233. 'optional2--',
  6234. "//a[contains(@href,'filesin.com/')]",
  6235. true
  6236. );
  6237. }
  6238. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6239. {
  6240. addFileHost(
  6241. "nowdownload\\.ch\/dl\/\\w+",
  6242. 'alert-success"',
  6243. 'This file does not exist!',
  6244. 'The file is being transfered',
  6245. 'optional2--',
  6246. "//a[contains(@href,'nowdownload.ch/dl')]"
  6247. );
  6248. }
  6249. if (GM_getValue("Check_axifile_dot_com_links", false))
  6250. {
  6251. addFileHost(
  6252. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6253. 'Dbutton_big"',
  6254. 'download\\-error\\.php',
  6255. 'optional--',
  6256. 'optional2--',
  6257. "//a[contains(@href,'axifile.com/')]"
  6258. );
  6259. }
  6260. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6261. {
  6262. addFileHost(
  6263. "hulkshare\.com\/\\w+",
  6264. 'download\.sam\.png|This is a private file|id="filename',
  6265. 'File does not exist|fingerprint protected copyright',
  6266. 'optional--',
  6267. 'optional2--',
  6268. "//a[contains(@href,'hulkshare.com')]"
  6269. );
  6270. }
  6271. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6272. {
  6273. addFileHost(
  6274. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6275. 'col-1">\\s*<s',
  6276. 'col-1">\\s*<h',
  6277. 'optional--',
  6278. 'optional2--',
  6279. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6280. );
  6281. }
  6282. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6283. {
  6284. addFileHost(
  6285. "turbobit\\.(?:net|pl)",
  6286. 'id="download-gate-info',
  6287. 'afterWait()',
  6288. 'optional--',
  6289. 'optional2--',
  6290. "//a[contains(@href,'turbobit.net')]"
  6291. );
  6292. }
  6293. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6294. {
  6295. addFileHost(
  6296. "hitfile\\.net\/download\/folder\/\\d+",
  6297. 'content">\\s*<s',
  6298. 'content">\\s*<h',
  6299. 'optional--',
  6300. 'optional2--',
  6301. "//a[contains(@href,'hitfile.net/download/folder')]"
  6302. );
  6303. }
  6304. if (GM_getValue("Check_movshare_dot_net_links", false))
  6305. {
  6306. addFileHost(
  6307. "movshare\\.net\\/video\\/\\w+",
  6308. 'optional--"',
  6309. 'no longer exists',
  6310. 'optional--',
  6311. 'optional2--',
  6312. "//a[contains(@href,'movshare.net/video')]"
  6313. );
  6314. }
  6315. if (GM_getValue("Check_plunder_dot_com_links", false))
  6316. {
  6317. addFileHost(
  6318. "plunder\.com\/\\w+",
  6319. 'x\/download\\.gif',
  6320. '404 - File or directory not found.',
  6321. 'optional--',
  6322. 'optional2--',
  6323. "//a[contains(@href,'plunder.com')]"
  6324. );
  6325. }
  6326. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6327. {
  6328. addFileHost(
  6329. "mafiastorage\\.com\/\\w+",
  6330. 'op" value="download',
  6331. 'class="err">|style="width:500px;text-align:left;"',
  6332. 'optional--',
  6333. 'optional2--',
  6334. "//a[contains(@href,'mafiastorage.com/')]"
  6335. );
  6336. }
  6337. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6338. {
  6339. addFileHost(
  6340. "uploadspace\.pl\/plik\\w+",
  6341. 'Downloading .+? \\|',
  6342. 'Downloading a file',
  6343. 'optional--',
  6344. 'optional2--',
  6345. "//a[contains(@href,'uploadspace.pl/plik')]"
  6346. );
  6347. }
  6348. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6349. {
  6350. addFileHost(
  6351. "uploadingit\\.com\/file\/\\w+",
  6352. 'downloadTitle">',
  6353. 'deleteContent">',
  6354. 'optional--',
  6355. 'optional2--',
  6356. "//a[contains(@href,'uploadingit.com/file')]"
  6357. );
  6358. }
  6359. if (GM_getValue("Check_rghost_dot_net_links", false))
  6360. {
  6361. addFileHost(
  6362. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6363. 'download_link|btn large download',
  6364. 'file is restricted|File is deleted|503 Service Unavailable',
  6365. 'optional--',
  6366. 'optional2--',
  6367. "//a[contains(@href,'rghost.')]"
  6368. );
  6369. }
  6370. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6371. {
  6372. addFileHost(
  6373. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6374. '">Staženo:\\s*<\/span>',
  6375. 'Soubor, který hledáte nenalezen',
  6376. 'optional--',
  6377. 'optional2--',
  6378. "//a[contains(@href,'xdisk.cz/')]"
  6379. );
  6380. }
  6381. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6382. {
  6383. addFileHost(
  6384. "expressleech\.com\/\\w+",
  6385. 'src="/img/Download.gif"|var _gaq =',
  6386. 'var rr =|403 Forbidden',
  6387. 'optional--',
  6388. 'optional2--',
  6389. "//a[contains(@href,'expressleech.com')]");
  6390. }
  6391. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6392. {
  6393. addFileHost(
  6394. "2downloadz\.com\/\\w+",
  6395. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6396. 'color="#006DCC|File error',
  6397. 'optional--',
  6398. 'optional2--',
  6399. "//a[contains(@href,'2downloadz.com')]");
  6400. }
  6401. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6402. {
  6403. addFileHost(
  6404. "mightyupload\.com\/\\w+",
  6405. 'background:#ccc;text-align|CONTENT="Download File"',
  6406. 'style="background:#eee|var rr =|File Not Found',
  6407. 'error-code">1010',
  6408. 'optional2--',
  6409. "//a[contains(@href,'mightyupload.com')]");
  6410. }
  6411. if (GM_getValue("Check_anysend_dot_com_links", false))
  6412. {
  6413. addFileHost(
  6414. "anysend\.com\/\\w+",
  6415. 'var openCalled=false;|content="noindex"',
  6416. '_trackPageview',
  6417. 'optional--',
  6418. 'optional2--',
  6419. "//a[contains(@href,'anysend.com')]");
  6420. }
  6421. if (GM_getValue("Check_datafile_dot_com_links", false))
  6422. {
  6423. addFileHost(
  6424. "datafile\.com\/\\w+",
  6425. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6426. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6427. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6428. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">', //<style type="text/css">
  6429. "//a[contains(@href,'datafile.com')]",
  6430. true);
  6431. }
  6432. if (GM_getValue("Check_upstore_dot_net_links", false))
  6433. {
  6434. addFileHost(
  6435. "upstore\.net\/\\w+",
  6436. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6437. 'File not found|onload="redirect|class="error">',
  6438. 'optional--',
  6439. 'optional2--',
  6440. "//a[contains(@href,'upstore.net')]");
  6441. }
  6442. if (GM_getValue("Check_upsto_dot_re_links", false))
  6443. {
  6444. addFileHost(
  6445. "upsto\.re\/\\w+",
  6446. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6447. 'File not found|onload="redirect|class="error">',
  6448. 'optional--',
  6449. 'optional2--',
  6450. "//a[contains(@href,'upsto.re')]");
  6451. }
  6452. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6453. {
  6454. addFileHost(
  6455. "speedy\.sh\/\\w+",
  6456. 'bgcolor=#eeeeee|class="addthis',
  6457. 'File not found|downloadfilenamenotfound>',
  6458. 'optional--',
  6459. 'optional2--',
  6460. "//a[contains(@href,'speedy.sh')]");
  6461. }
  6462. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6463. {
  6464. addFileHost(
  6465. "sanshare\.com\/\\w+",
  6466. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6467. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6468. 'optional--',
  6469. 'optional2--',
  6470. "//a[contains(@href,'sanshare.com')]");
  6471. }
  6472. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6473. {
  6474. addFileHost(
  6475. "kingfiles\.net\/\\w+",
  6476. 'method_free',
  6477. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6478. 'optional--',
  6479. 'optional2--',
  6480. "//a[contains(@href,'kingfiles.net')]");
  6481. }
  6482. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6483. {
  6484. addFileHost(
  6485. "uploadhero\\.co\/dl\/\\w+",
  6486. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6487. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6488. 'optional--',
  6489. 'optional2--',
  6490. "//a[contains(@href,'uploadhero.co/dl')]"
  6491. );
  6492. } */
  6493. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6494. {
  6495. addFileHost(
  6496. "secureupload\\.eu\/\\w+",
  6497. 'Downloading',
  6498. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6499. 'optional--',
  6500. 'optional2--',
  6501. "//a[contains(@href,'secureupload.eu')]"
  6502. );
  6503. }
  6504. if (GM_getValue("Check_ge_dot_tt_links", false))
  6505. {
  6506. addFileHost(
  6507. "ge\.tt\/\\w+",
  6508. 'downloads pic',
  6509. 'is NOT the same as',
  6510. 'optional--',
  6511. 'optional2--',
  6512. "//a[contains(@href,'ge.tt')]");
  6513. }
  6514. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6515. {
  6516. addFileHost(
  6517. "filefactory\.com\/\\w+",
  6518. 'div id="file_holder"|download.css',
  6519. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6520. 'Server Maintenance|temporarily overloaded',
  6521. 'optional2--',
  6522. "//a[contains(@href,'filefactory.com')]");
  6523. }
  6524. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6525. {
  6526. addFileHost(
  6527. "filesflash\.net\/\\w+",
  6528. 'align:right">Filename:',
  6529. 'class="msg">',
  6530. 'optional--',
  6531. 'optional2--',
  6532. "//a[contains(@href,'filesflash.net')]");
  6533. }
  6534. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6535. {
  6536. addFileHost(
  6537. "rapidgator\\.net\/folder\/\\w+",
  6538. 'href="/folder/',
  6539. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6540. 'optional--',
  6541. 'optional2--',
  6542. "//a[contains(@href,'rapidgator.net/folder')]",
  6543. true
  6544. );
  6545. }
  6546. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6547. {
  6548. addFileHost(
  6549. "salefiles\.com\/\\w+",
  6550. '<Title>Download|CONTENT="Download',
  6551. 'font:15px Arial|background:#eee;',
  6552. 'optional--',
  6553. 'optional2--',
  6554. "//a[contains(@href,'salefiles.com')]");
  6555. }
  6556. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6557. {
  6558. addFileHost(
  6559. "megairon\.net\/\\w+",
  6560. 'border: 5px #ffeb90 solid;',
  6561. 'CONTENT="Download File ">|var rr =',
  6562. 'error-code">523',
  6563. 'optional2--',
  6564. "//a[contains(@href,'megairon.net')]",
  6565. true);
  6566. } */
  6567. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6568. {
  6569. addFileHost(
  6570. "datoid\.cz\/\\w+",
  6571. 'btn-download|class="icon-download-large"',
  6572. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6573. 'optional--',
  6574. 'optional2--',
  6575. "//a[contains(@href,'datoid.cz')]");
  6576. }
  6577. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6578. {
  6579. addFileHost(
  6580. "stiahni\.si\/\\w+",
  6581. 'report_icon.png"|slow-download-button',
  6582. 'none.png|deleted|<h2>Error 500</h2>',
  6583. 'optional--',
  6584. 'optional2--',
  6585. "//a[contains(@href,'stiahni.si')]");
  6586. }
  6587. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6588. {
  6589. addFileHost(
  6590. "cloudstor\.es\/\\w+",
  6591. '"btn_download"',
  6592. '404: Page Not Found',
  6593. 'optional--',
  6594. 'optional2--',
  6595. "//a[contains(@href,'cloudstor.es')]");
  6596. }
  6597. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6598. {
  6599. addFileHost(
  6600. "streamfile\.com\/\\w+",
  6601. 'class="btn',
  6602. 'class="green-btn',
  6603. 'optional--',
  6604. 'optional2--',
  6605. "//a[contains(@href,'streamfile.com')]");
  6606. }
  6607. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6608. {
  6609. addFileHost(
  6610. "eyesfile\.ca\/\\w+",
  6611. 'value="Get Link',
  6612. 'var rr =',
  6613. 'optional--',
  6614. 'optional2--',
  6615. "//a[contains(@href,'eyesfile.ca')]");
  6616. }
  6617. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6618. {
  6619. addFileHost(
  6620. "filemoney\.com\/\\w+",
  6621. 'og:title',
  6622. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6623. 'error-code">1010',
  6624. 'optional2--',
  6625. "//a[contains(@href,'filemoney.com')]");
  6626. }
  6627. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6628. {
  6629. addFileHost(
  6630. "uploadboy\.com\/\\w+",
  6631. 'width="740">|method_free',
  6632. 'var rr =|background:#ffffff|not be found|file was removed',
  6633. 'optional--',
  6634. 'optional2--',
  6635. "//a[contains(@href,'uploadboy.com')]");
  6636. }
  6637. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6638. {
  6639. addFileHost(
  6640. "speedshare\.eu\/\\w+",
  6641. 'favicon.png|color:#3d87c0|cross.png"',
  6642. 'var rr =|File Not Found|style="background:#eee',
  6643. 'optional--',
  6644. 'optional2--',
  6645. "//a[contains(@href,'speedshare.eu')]");
  6646. }
  6647. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6648. {
  6649. addFileHost(
  6650. "unlimitzone\.com\/\\w+",
  6651. 'name="method_free',
  6652. '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',
  6653. 'optional--',
  6654. 'optional2--',
  6655. "//a[contains(@href,'unlimitzone.com')]");
  6656. }
  6657. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6658. {
  6659. addFileHost(
  6660. "rioupload\.com\/\\w+",
  6661. 'sell.jpg',
  6662. 'var rr =',
  6663. 'optional--',
  6664. 'optional2--',
  6665. "//a[contains(@href,'rioupload.com')]");
  6666. }
  6667. if (GM_getValue("Check_rg_dot_to_links", false))
  6668. {
  6669. addFileHost(
  6670. "rg\.to\/\\w+",
  6671. '/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',
  6672. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6673. 'optional--',
  6674. 'can be downloaded by premium only|files up to 500 MB in free mode',
  6675. "//a[contains(@href,'rg.to')]");
  6676. }
  6677. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6678. {
  6679. addFileHost(
  6680. "jumbofiles\.org\/\\w+",
  6681. 'H71C5.png|class="downloadtitle">',
  6682. 'var swfu|ViewSourceBIN.png',
  6683. 'optional--',
  6684. 'optional2--',
  6685. "//a[contains(@href,'jumbofiles.org')]");
  6686. }
  6687. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6688. {
  6689. addFileHost(
  6690. "fshare\\.vn\/file\/\\w+",
  6691. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6692. 'không tồn tại|class="color_red m_t_50"',
  6693. 'optional--',
  6694. 'optional2--',
  6695. "//a[contains(@href,'fshare.vn/file')]",
  6696. true
  6697. );
  6698. }
  6699. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6700. {
  6701. addFileHost(
  6702. "spaceforfiles\.com\/\\w+",
  6703. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6704. 'var rr =|AVOID_IE_BUG',
  6705. 'optional--',
  6706. 'optional2--',
  6707. "//a[contains(@href,'spaceforfiles.com')]");
  6708. }
  6709. if (GM_getValue("Check_google_dot_com_links", false))
  6710. {
  6711. addFileHost(
  6712. "google\\.com\/file\/\\w+",
  6713. 'content="!">|color:#2d2d2d',
  6714. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6715. 'optional--',
  6716. 'optional2--',
  6717. "//a[contains(@href,'google.com/file')]",
  6718. true
  6719. );
  6720. }
  6721. if (GM_getValue("Check_google_dot_com_links", false))
  6722. {
  6723. addFileHost(
  6724. "docs.google.com\/\\w+",
  6725. 'content="!">|color:#2d2d2d',
  6726. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6727. 'optional--',
  6728. 'optional2--',
  6729. "//a[contains(@href,'docs.google.com')]",
  6730. true
  6731. );
  6732. }
  6733. if (GM_getValue("Check_google_dot_com_links", false))
  6734. {
  6735. addFileHost(
  6736. "drive.google.com\/\\w+",
  6737. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6738. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6739. 'optional--',
  6740. 'optional2--',
  6741. "//a[contains(@href,'drive.google.com')]",
  6742. true
  6743. );
  6744. }
  6745. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6746. {
  6747. addFileHost(
  6748. "up.media1fire\.com\/\\w+",
  6749. 'class="addthis_|value="download',
  6750. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6751. 'optional--',
  6752. 'optional2--',
  6753. "//a[contains(@href,'up.media1fire.com')]");
  6754. }
  6755. if (GM_getValue("Check_depfile_dot_com_links", false))
  6756. {
  6757. addFileHost(
  6758. "depfile\.com\/\\w+",
  6759. 'logo_0.png|downloads.gif"|verifycode',
  6760. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6761. 'optional--',
  6762. 'available only for Premium users',
  6763. "//a[contains(@href,'depfile.com')]");
  6764. }
  6765. if (GM_getValue("Check_go4up_dot_com_links", false))
  6766. {
  6767. addFileHost(
  6768. "go4up\.com\/\\w+",
  6769. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6770. '<title>GO4UP|dmca',
  6771. 'optional--',
  6772. 'optional2--',
  6773. "//a[contains(@href,'go4up.com')]");
  6774. }
  6775. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6776. {
  6777. addFileHost(
  6778. "redbunker\.net\/\\w+",
  6779. 'name="method_free"',
  6780. 'color="red">Unknow / Bilinmiyor<',
  6781. 'optional--',
  6782. 'optional2--',
  6783. "//a[contains(@href,'redbunker.net')]");
  6784. }
  6785. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6786. {
  6787. addFileHost(
  6788. "divxpress\.com\/\\w+",
  6789. 'btn_download|logo.png"',
  6790. 'AVOID_IE_BUG|var rr =',
  6791. 'optional--',
  6792. 'optional2--',
  6793. "//a[contains(@href,'divxpress.com')]");
  6794. }
  6795. if (GM_getValue("Check_anafile_dot_com_links", false))
  6796. {
  6797. addFileHost(
  6798. "anafile\.com\/\\w+",
  6799. 'width="881" valign="top|color="#800080"|name="go"',
  6800. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6801. 'optional--',
  6802. 'optional2--',
  6803. "//a[contains(@href,'anafile.com')]");
  6804. }
  6805. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6806. {
  6807. addFileHost(
  6808. "uploadable\\.ch\/file\/\\w+",
  6809. 'captcha.js"|payment.js"|class="btn_download"',
  6810. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6811. 'optional--',
  6812. 'optional2--',
  6813. "//a[contains(@href,'uploadable.ch/file')]",
  6814. true
  6815. );
  6816. }
  6817. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6818. {
  6819. addFileHost(
  6820. "arabloads\.net\/\\w+",
  6821. 'name="method_free"|name="method_premium"',
  6822. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6823. 'optional--',
  6824. 'optional2--',
  6825. "//a[contains(@href,'arabloads.net')]");
  6826. }
  6827. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6828. {
  6829. addFileHost(
  6830. "sharerepo\.com\/\\w+",
  6831. 'name="method_free"',
  6832. 'var public_on=|The file you were looking for could not be found',
  6833. 'optional--',
  6834. 'optional2--',
  6835. "//a[contains(@href,'sharerepo.com')]");
  6836. }
  6837. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6838. {
  6839. addFileHost(
  6840. "sfshare\.se\/\\w+",
  6841. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6842. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6843. 'optional--',
  6844. 'optional2--',
  6845. "//a[contains(@href,'sfshare.se')]");
  6846. }
  6847. if (GM_getValue("Check_files_dot_fm_links", false))
  6848. {
  6849. addFileHost(
  6850. "files\.fm\/\\w+",
  6851. 'dl.png"|background-color: transparent',
  6852. 'margin: 40px 40px|background: none;',
  6853. 'optional--',
  6854. 'optional2--',
  6855. "//a[contains(@href,'files.fm')]");
  6856. }
  6857. if (GM_getValue("Check_koofile_dot_com_links", false))
  6858. {
  6859. addFileHost(
  6860. "koofile\.com\/\\w+",
  6861. 'value="download1">|name="method_free"',
  6862. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6863. 'optional--',
  6864. 'optional2--',
  6865. "//a[contains(@href,'koofile.com')]");
  6866. }
  6867. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6868. {
  6869. addFileHost(
  6870. "vidxden\\.com\/\\w+",
  6871. 'Continue to Video"',
  6872. 'No such file',
  6873. 'optional--',
  6874. 'optional2--',
  6875. "//a[contains(@href,'vidxden.com')]"
  6876. );
  6877. }
  6878. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6879. {
  6880. addFileHost(
  6881. "muchshare\\.net\/\\w+",
  6882. 'id="btn_download"',
  6883. 'File Not Found|width: 500px; text-align: left;',
  6884. 'optional--',
  6885. 'optional2--',
  6886. "//a[contains(@href,'muchshare.net')]"
  6887. );
  6888. }
  6889. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6890. {
  6891. addFileHost(
  6892. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6893. 'Details zur Datei|Details page',
  6894. 'Jetzt hochladen|upload now',
  6895. 'optional--',
  6896. 'optional2--',
  6897. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6898. );
  6899. }
  6900. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6901. {
  6902. addFileHost(
  6903. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6904. 'downloadbtn"',
  6905. 'DL_FileNotFound',
  6906. 'optional--',
  6907. 'optional2--',
  6908. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6909. );
  6910. }
  6911. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6912. {
  6913. addFileHost(
  6914. "fileflyer\.com\/view\/\\w+",
  6915. '(?:dwl|locked)btn"',
  6916. 'error.gif"|link">Removed|removedlink">',
  6917. 'optional--',
  6918. 'optional2--',
  6919. "//a[contains(@href,'fileflyer.com')]"
  6920. );
  6921. }
  6922. if (GM_getValue("Check_filestore_dot_to_links", false))
  6923. {
  6924. addFileHost(
  6925. "filestore\.to\/\\?d=\\w+",
  6926. '"downloading"',
  6927. 'Datei wurde nicht gefunden',
  6928. 'optional--',
  6929. 'optional2--',
  6930. "//a[contains(@href,'filestore.to')]"
  6931. );
  6932. }
  6933. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6934. {
  6935. addFileHost(
  6936. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6937. 'fz24">Download|class="pl15">',
  6938. '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',
  6939. 'optional--',
  6940. 'optional2--',
  6941. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  6942. );
  6943. }
  6944. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  6945. {
  6946. addFileHost(
  6947. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  6948. 'File size:',
  6949. 'file is not found',
  6950. 'optional--',
  6951. 'optional2--',
  6952. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  6953. );
  6954. } */
  6955. if (GM_getValue("Check_datei_dot_to_links", false))
  6956. {
  6957. addFileHost(
  6958. "datei\\.to\/\\??\\w+",
  6959. 'icon_downloaden\\.png|>Download starten<',
  6960. 'Datei wurde nicht gefunden|icon_deleted.png',
  6961. 'optional--',
  6962. 'optional2--',
  6963. "//a[contains(@href,'datei.to')]"
  6964. );
  6965. }
  6966. if (GM_getValue("Check_yunfile_dot_com_links", false))
  6967. {
  6968. addFileHost(
  6969. "(?:yunfile|filemarkets)\\.com\/\\w+",
  6970. '<body class="body" id="body">|value="Slow Download"',
  6971. '<body class="body" >',
  6972. 'optional--',
  6973. 'optional2--',
  6974. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  6975. );
  6976. }
  6977. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  6978. {
  6979. addFileHost(
  6980. "uploadhero\\.com\/dl\/\\w+",
  6981. 'content-dl">',
  6982. 'men_file_lost\\.jpg"',
  6983. 'optional--',
  6984. 'optional2--',
  6985. "//a[contains(@href,'uploadhero.com/dl')]"
  6986. );
  6987. } */
  6988. if (GM_getValue("Check_unibytes_dot_com_links", false))
  6989. {
  6990. addFileHost(
  6991. "unibytes\\.com\/[\\w\.]+",
  6992. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  6993. 'File not found|Файл не найден|',
  6994. 'optional--',
  6995. 'optional2--',
  6996. "//a[contains(@href,'unibytes.com')]"
  6997. );
  6998. }
  6999. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7000. {
  7001. addFileHost(
  7002. "www\\.hellshare\\.com\/\\d+",
  7003. 'tab\\-details"',
  7004. 'list-purp-2"|not found on this server',
  7005. 'optional--',
  7006. 'optional2--',
  7007. "//a[contains(@href,'www.hellshare.com')]"
  7008. );
  7009. }
  7010. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7011. {
  7012. addFileHost(
  7013. "quickshare\\.cz\/slozka-\\d+",
  7014. 'Počet souborů: <strong>[1-9]',
  7015. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7016. 'optional--',
  7017. 'optional2--',
  7018. "//a[contains(@href,'quickshare.cz/slozka')]"
  7019. );
  7020. } */
  7021. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7022. {
  7023. addFileHost(
  7024. "filefactory\\.com\/f\/\\w+",
  7025. 'folderFileList">',
  7026. 'table class="items"|Pointer" class="red">',
  7027. 'optional--',
  7028. 'optional2--',
  7029. "//a[contains(@href,'filefactory.com/f/')]"
  7030. );
  7031. }
  7032. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7033. {
  7034. addFileHost(
  7035. "netfolder\\.in\/\\w+",
  7036. 'list" value="http',
  7037. 'InPage_Error">|list" value=""',
  7038. 'optional--',
  7039. 'optional2--',
  7040. "//a[contains(@href,'netfolder.in')]"
  7041. );
  7042. } */
  7043. if (GM_getValue("Check_load_dot_to_links", false))
  7044. {
  7045. addFileHost(
  7046. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7047. '"download_table_left">Size',
  7048. 'Can\'t find file',
  7049. 'optional--',
  7050. 'optional2--',
  7051. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7052. );
  7053. }
  7054. if (GM_getValue("Check_divshare_dot_com_links", false))
  7055. {
  7056. addFileHost(
  7057. "divshare\\.com\/download\/",
  7058. 'download_new\.png',
  7059. 'have been removed',
  7060. 'optional--',
  7061. 'optional2--',
  7062. "//a[contains(@href,'divshare.com')]"
  7063. );
  7064. }
  7065. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7066. {
  7067. addFileHost(
  7068. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\d+",
  7069. 'nazev-souboru">',
  7070. '<div id="obsah">\\s*<h1>',
  7071. 'optional--',
  7072. 'optional2--',
  7073. "//a[contains(@href,'euroshare.eu/file')]"
  7074. );
  7075. }
  7076. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7077. {
  7078. addFileHost(
  7079. 'files\\.mail\\.ru/(?:\\w*)',
  7080. 'fileList',
  7081. 'errorMessage',
  7082. 'optional--',
  7083. 'optional2--',
  7084. "//a[contains(@href,'files.mail.ru')]"
  7085. );
  7086. }
  7087. if (GM_getValue("Check_megashares_dot_com_links", false))
  7088. {
  7089. addFileHost(
  7090. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7091. 'Filesize',
  7092. 'Invalid|deleted|Could not download file',
  7093. 'slots|scheduled maintenance',
  7094. 'optional2--',
  7095. "//a[contains(@href,'megashares.com/')]"
  7096. );
  7097. }
  7098. if (GM_getValue("Check_narod_dot_ru_links", false))
  7099. {
  7100. addFileHost(
  7101. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7102. 'b-submit',
  7103. 'b-download-virus-note|headCode">404<',
  7104. 'Внутренняя ошибка сервиса',
  7105. 'optional2--',
  7106. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7107. );
  7108. }
  7109. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7110. {
  7111. addFileHost(
  7112. "rayfile\\.com\/",
  7113. 'FILEtitleTXT',
  7114. 'blueRow',
  7115. 'optional--',
  7116. 'optional2--',
  7117. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7118. );
  7119. }
  7120. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7121. {
  7122. addFileHost(
  7123. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7124. 'button_green_body"',
  7125. 'error">',
  7126. 'optional--',
  7127. 'optional2--',
  7128. "//a[contains(@href,'filesmonster.com/download')]"
  7129. );
  7130. }
  7131. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7132. {
  7133. addFileHost(
  7134. 'usaupload\\.net\/d\/(?:\w*)',
  7135. '<strong>File size:</strong>',
  7136. 'is not available',
  7137. 'optional--',
  7138. 'optional2--',
  7139. "//a[contains(@href,'usaupload.net/d/')]"
  7140. );
  7141. }
  7142. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7143. {
  7144. addFileHost(
  7145. 'sendspace\\.com\/file\/\\w+',
  7146. 'file_description',
  7147. 'msg error"',
  7148. 'optional--',
  7149. 'optional2--',
  7150. "//a[contains(@href,'sendspace.com/file')]"
  7151. );
  7152. }
  7153. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7154. {
  7155. addFileHost(
  7156. 'sendspace\\.pl\/file\/\\w+',
  7157. 'download_file"',
  7158. 'Podany plik nie',
  7159. 'optional--',
  7160. 'optional2--',
  7161. "//a[contains(@href,'sendspace.pl/file')]"
  7162. );
  7163. }
  7164. if (GM_getValue("Check_uploading_dot_com_links", false))
  7165. {
  7166. addFileHost(
  7167. 'uploading\\.com\/(?:files\/)?\\w+',
  7168. 'free_method">',
  7169. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7170. 'optional--',
  7171. 'optional2--',
  7172. "//a[contains(@href,'uploading.com')]"
  7173. );
  7174. }
  7175. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7176. {
  7177. addFileHost(
  7178. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7179. 'fileId"',
  7180. 'error">',
  7181. 'optional--',
  7182. 'optional2--',
  7183. "//a[contains(@href,'gigasize.com/get')]"
  7184. );
  7185. }
  7186. if (GM_getValue("Check_good_dot_com_links", false))
  7187. {
  7188. addFileHost(
  7189. 'good\\.net\/(?:_|dl)',
  7190. 'Free Download',
  7191. 'Not Found',
  7192. 'Forbidden',
  7193. 'optional2--',
  7194. "//a[contains(@href,'good.net')]"
  7195. );
  7196. }
  7197. if (GM_getValue("Check_2shared_dot_com_links", false))
  7198. {
  7199. addFileHost(
  7200. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7201. 'File size',
  7202. 'File not found|is not valid|/images/important.gif',
  7203. 'optional--',
  7204. 'optional2--',
  7205. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7206. );
  7207. }
  7208. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7209. {
  7210. addFileHost(
  7211. 'turboupload\\.com\/\\w*',
  7212. 'You have requested',
  7213. 'File Not Found',
  7214. 'optional--',
  7215. 'optional2--',
  7216. "//a[contains(@href,'turboupload.com')]"
  7217. );
  7218. }
  7219. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7220. {
  7221. addFileHost(
  7222. 'gigapeta\\.com\/dl\/',
  7223. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7224. '404|page_error',
  7225. 'optional--',
  7226. 'optional2--',
  7227. "//a[contains(@href,'gigapeta.com/dl')]"
  7228. );
  7229. }
  7230. if (GM_getValue("Check_veehd_dot_com_links", false))
  7231. {
  7232. addFileHost(
  7233. 'veehd\.com\/video\/.*?',
  7234. 'No sound|Download video',
  7235. 'Featured Videos',
  7236. 'optional--',
  7237. 'optional2--',
  7238. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7239. );
  7240. }
  7241. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7242. {
  7243. addFileHost(
  7244. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7245. 'fast_download_form">|submit_sms_download',
  7246. '<p style="text-align:center">',
  7247. 'optional--',
  7248. 'optional2--',
  7249. "//a[contains(@href,'vip-file.com/download')]"
  7250. );
  7251. }
  7252. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7253. {
  7254. addFileHost(
  7255. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7256. 'download\\-pnl ',
  7257. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7258. 'optional--',
  7259. 'optional2--',
  7260. "//a[contains(@href,'letitbit.net/download')]"
  7261. );
  7262. }
  7263. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7264. {
  7265. addFileHost(
  7266. 'ifolder\.ru\/\\d+',
  7267. 'file-info',
  7268. 'ui-state-error',
  7269. 'optional--',
  7270. 'optional2--',
  7271. "//a[contains(@href,'ifolder.ru')]"
  7272. );
  7273. }
  7274. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7275. {
  7276. addFileHost(
  7277. 'fileswap\\.com\/dl\/\\w+',
  7278. 'bttnDownloadLink"',
  7279. 'rounded_block_error"',
  7280. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7281. 'optional2--',
  7282. "//a[contains(@href,'fileswap.com/dl')]"
  7283. );
  7284. }
  7285. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7286. {
  7287. addFileHost(
  7288. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7289. 'var __error = 0',
  7290. 'FILES__DOESNT_EXIST|removed or did not exist',
  7291. 'optional--',
  7292. 'optional2--',
  7293. "//a[contains(@href,'filecloud.io/')]"
  7294. );
  7295. addFileHost(
  7296. 'ifile\\.it\/\\w+',
  7297. 'var __error = 0',
  7298. 'FILES__DOESNT_EXIST',
  7299. 'optional--',
  7300. 'optional2--',
  7301. "//a[contains(@href,'ifile.it/')]"
  7302. );
  7303. }
  7304. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7305. {
  7306. addFileHost(
  7307. 'solidfiles\\.com\/d\/\\w+',
  7308. 'id="download"|content="Download',
  7309. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7310. 'optional--',
  7311. 'optional2--',
  7312. "//a[contains(@href,'solidfiles.com/d')]"
  7313. );
  7314. }
  7315. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7316. {
  7317. addFileHost(
  7318. "(?:.\\.|)shareflare\\.net",
  7319. 'download-pnl|<div class="premium-block">',
  7320. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7321. 'optional--',
  7322. 'optional2--',
  7323. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7324. );
  7325. }
  7326. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7327. {
  7328. addFileHost(
  7329. "u18116681.shareflare\\.net",
  7330. 'download-pnl|<div class="premium-block">',
  7331. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7332. 'optional--',
  7333. 'optional2--',
  7334. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7335. );
  7336. }
  7337. if (GM_getValue("Check_uloz_dot_to_links", false))
  7338. {
  7339. addFileHost(
  7340. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7341. 'fileDownload">|fileSize">',
  7342. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7343. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7344. 'optional2--',
  7345. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7346. true
  7347. );
  7348. }
  7349. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7350. {
  7351. addFileHost(
  7352. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7353. 'file\\-list-orderby|section-filedetail">',
  7354. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">',
  7355. 'optional--',
  7356. 'optional2--',
  7357. "//a[contains(@href,'hellspy.')]"
  7358. );
  7359. }
  7360. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7361. {
  7362. addFileHost(
  7363. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7364. '<body onload="">',
  7365. 'neexistuje|not exist',
  7366. 'optional--',
  7367. 'optional2--',
  7368. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7369. );
  7370. }
  7371. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7372. {
  7373. addFileHost(
  7374. "stahovanizasms\\.cz\/\\w+",
  7375. 'download\\.png>|font-size:11px><tr>',
  7376. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7377. 'optional--',
  7378. 'optional2--',
  7379. "//a[contains(@href,'stahovanizasms.cz')]"
  7380. );
  7381. }
  7382. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7383. {
  7384. addFileHost(
  7385. "share-links\\.biz\/\\w*",
  7386. 'online\\.gif',
  7387. '(?:offline|parts)\\.gif',
  7388. 'optional--',
  7389. 'optional2--',
  7390. "//a[contains(@href,'share-links.biz')]"
  7391. );
  7392. }
  7393. if (GM_getValue("Check_4shared_dot_com_links", false))
  7394. {
  7395. addFileHost(
  7396. "4shared\\.com\/.+\/",
  7397. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7398. 'class="warn\"|big red"|GetDataBack',
  7399. 'Service Unavailable',
  7400. 'optional2--',
  7401. "//a[contains(@href,'4shared.com')]"
  7402. );
  7403. }
  7404. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7405. {
  7406. addFileHost(
  7407. "(?:www\\d+\.|)zippyshare\.com\/",
  7408. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7409. 'not exist|Status 404',
  7410. 'optional--',
  7411. 'optional2--',
  7412. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7413. );
  7414. }
  7415. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7416. {
  7417. addFileHost(
  7418. "mediafire\.com\/",
  7419. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7420. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7421. 'set to private',
  7422. 'optional2--',
  7423. "//a[contains(@href,'mediafire.com')]"
  7424. );
  7425. }
  7426. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7427. {
  7428. addFileHost(
  7429. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7430. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB',
  7431. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7432. 'optional--',
  7433. 'GB</small>',
  7434. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7435. );
  7436. }
  7437. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7438. {
  7439. addFileHost(
  7440. "ulozisko\.sk\/",
  7441. 'Detaily',
  7442. 'neexistuje',
  7443. 'optional--',
  7444. 'optional2--',
  7445. "//a[contains(@href,'ulozisko.sk')]"
  7446. );
  7447. }
  7448. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7449. {
  7450. addFileHost(
  7451. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7452. 'download.php',
  7453. 'notfound|upload\\-suborov\\.php"',
  7454. 'optional--',
  7455. 'optional2--',
  7456. "//a[contains(@href,'upnito.sk')]"
  7457. );
  7458. }
  7459. if (GM_getValue("Check_box_dot_com_links", false))
  7460. {
  7461. addFileHost(
  7462. "box\.com\/\\w+",
  7463. 'download-file-btn|id="download_button|preview-download',
  7464. 'BIyMin.png| <div class="error_message|link has been removed',
  7465. 'optional--',
  7466. 'optional2--',
  7467. "//a[contains(@href,'app.box.com')]");
  7468. }
  7469. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7470. {
  7471. addFileHost(
  7472. "uptobox\\.com\/\\w+",
  7473. 'Create Download Link">|Lien de téléchargement',
  7474. 'The file expired|The file was deleted|Fichier introuvable|not available in your country',
  7475. 'Maintenance',
  7476. 'optional2--',
  7477. "//a[contains(@href,'uptobox.com')]"
  7478. );
  7479. }
  7480. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7481. {
  7482. addFileHost(
  7483. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7484. 'FILE DOWNLOAD<',
  7485. 'File Does Not Exist',
  7486. 'optional--',
  7487. 'optional2--',
  7488. "//a[contains(@href,'sharecash.org/download.php')]"
  7489. );
  7490. }
  7491. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7492. {
  7493. addFileHost(
  7494. "depositfiles\\.com\/folders\/\\w+",
  7495. '<div class="progressContainer">',
  7496. '<div id="files" class="files">\\s*<\/div>',
  7497. 'optional--',
  7498. 'optional2--',
  7499. "//a[contains(@href,'depositfiles.com/folders')]"
  7500. );
  7501. }
  7502. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7503. {
  7504. addFileHost(
  7505. "rapidfileshare\\.net/\\w+",
  7506. '<div id="upload-header-bg">',
  7507. '<div style="width:500px;text-align:left;">',
  7508. 'optional--',
  7509. 'optional2--',
  7510. "//a[contains(@href,'rapidfileshare.net/')]"
  7511. );
  7512. }
  7513. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7514. {
  7515. addFileHost(
  7516. "stiahnito\\.sk/",
  7517. '<span class="filesize right">',
  7518. '<ol class="list-purp-2">',
  7519. 'optional--',
  7520. 'optional2--',
  7521. "//a[contains(@href,'stiahnito.sk/')]"
  7522. );
  7523. }
  7524. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7525. {
  7526. addFileHost(
  7527. "rusfolder\\.(?:com|net)",
  7528. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7529. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7530. 'optional--',
  7531. 'optional2--',
  7532. "//a[contains(@href,'rusfolder')]"
  7533. );
  7534. }
  7535. if (GM_getValue("Check_fileover_dot_net_links", false))
  7536. {
  7537. addFileHost(
  7538. "fileover\\.net/\\d+",
  7539. 'id="filesize"',
  7540. 'Not found or deleted|The following file is unavailable',
  7541. 'optional--',
  7542. 'optional2--',
  7543. "//a[contains(@href,'fileover.net/')]"
  7544. );
  7545. }
  7546. if (GM_getValue("Check_catshare_dot_net_links", false))
  7547. {
  7548. addFileHost(
  7549. "catshare\\.net/\\w+",
  7550. '"icon-share',
  7551. 'alert alert-error',
  7552. 'optional--',
  7553. 'optional2--',
  7554. "//a[contains(@href,'catshare.net/')]"
  7555. );
  7556. }
  7557. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7558. {
  7559. addFileHost(
  7560. "anonfiles\\.com/\\w+",
  7561. '"download_button"',
  7562. '<legend><b>404</b>',
  7563. 'optional--',
  7564. 'optional2--',
  7565. "//a[contains(@href,'anonfiles.com')]"
  7566. );
  7567. }
  7568. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7569. {
  7570. addFileHost(
  7571. "mixturecloud\\.com/media/\\w+",
  7572. '"btn icon i_globe gray share_150',
  7573. '"s_cross_close"></span> 404:',
  7574. 'optional--',
  7575. 'optional2--',
  7576. "//a[contains(@href,'mixturecloud.com/media/')]"
  7577. );
  7578. }
  7579. if (GM_getValue("Check_akafile_dot_com_links", false))
  7580. {
  7581. addFileHost(
  7582. "akafile\\.com\/\\w+",
  7583. 'download1',
  7584. 'File Not Found',
  7585. 'optional--',
  7586. 'optional2--',
  7587. "//a[contains(@href,'akafile.com/')]"
  7588. );
  7589. }
  7590. if (GM_getValue("Check_creafile_dot_net_links", false))
  7591. {
  7592. addFileHost(
  7593. "creafile\\.net\/\\w+",
  7594. 'downloadblock',
  7595. 'errtitle',
  7596. 'optional--',
  7597. 'optional2--',
  7598. "//a[contains(@href,'creafile.net/')]"
  7599. );
  7600. }
  7601. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7602. {
  7603. addFileHost(
  7604. "hugefiles\\.net\/\\w+",
  7605. 'download1|class="btn-create-download" value="Create Download Link">',
  7606. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7607. 'optional--',
  7608. 'optional2--',
  7609. "//a[contains(@href,'hugefiles.net/')]"
  7610. );
  7611. }
  7612. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7613. {
  7614. addFileHost(
  7615. "sendmyway\\.com\/\\w+",
  7616. 'id="btn_download"',
  7617. '500px;text-align:left;"|<center><h3>',
  7618. 'optional--',
  7619. 'optional2--',
  7620. "//a[contains(@href,'sendmyway.com/')]"
  7621. );
  7622. }
  7623. if (GM_getValue("Check_upload_dot_ee_links", false))
  7624. {
  7625. addFileHost(
  7626. "upload\\.ee\/\\w+",
  7627. 'onmouseout="document.dllink.src',
  7628. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7629. 'optional--',
  7630. 'optional2--',
  7631. "//a[contains(@href,'upload.ee/')]"
  7632. );
  7633. }
  7634. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7635. {
  7636. addFileHost(
  7637. "shareplace\\.org\/\\?\\w+",
  7638. 'Download-Link',
  7639. 'Your requested file is not found|Select file to send',
  7640. 'optional--',
  7641. 'optional2--',
  7642. "//a[contains(@href,'shareplace.org/?')]"
  7643. );
  7644. }
  7645. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7646. {
  7647. addFileHost(
  7648. "uploadc\\.com\/\\w+",
  7649. 'id="prebut"',
  7650. 'File Not Found|This file has been removed due',
  7651. 'optional--',
  7652. 'optional2--',
  7653. "//a[contains(@href,'uploadc.com/')]"
  7654. );
  7655. }
  7656. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7657. {
  7658. addFileHost(
  7659. "remixshare\\.com\/\\w+",
  7660. 'id="dl2"',
  7661. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7662. 'optional--',
  7663. 'optional2--',
  7664. "//a[contains(@href,'remixshare.com/')]"
  7665. );
  7666. }
  7667. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7668. {
  7669. addFileHost(
  7670. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7671. 'Last Download :',
  7672. 'img src="\\/404.jpg"',
  7673. 'optional--',
  7674. 'optional2--',
  7675. "//a[contains(@href,'exoshare.com/download.php')]"
  7676. );
  7677. }
  7678. if (GM_getValue("Check_borncash_dot_org_links", false))
  7679. {
  7680. addFileHost(
  7681. "borncash\\.org\/download\/\\?a=\\w+",
  7682. 'class="knop_1"',
  7683. '\/error\/er00',
  7684. 'optional--',
  7685. 'optional2--',
  7686. "//a[contains(@href,'borncash.org/download/')]"
  7687. );
  7688. }
  7689. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7690. {
  7691. addFileHost(
  7692. "vidplay\.net\/\\w+",
  7693. 'solvemedia puzzle widget',
  7694. 'File not found|AVOID_IE_BUG',
  7695. 'optional--',
  7696. 'optional2--',
  7697. "//a[contains(@href,'vidplay.net')]");
  7698. }
  7699. if (GM_getValue("Check_storagon_dot_com_links", false))
  7700. {
  7701. addFileHost(
  7702. "storagon\.com\/\\w+",
  7703. 'class="icon-cloud-download"></i>|content="Download Options',
  7704. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7705. 'optional--',
  7706. 'optional2--',
  7707. "//a[contains(@href,'storagon.com')]");
  7708. }
  7709. if (GM_getValue("Check_filedais_dot_com_links", false))
  7710. {
  7711. addFileHost(
  7712. "filedais\.com\/\\w+",
  7713. 'class="btn btn-info"|name="method_free"',
  7714. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7715. 'optional--',
  7716. 'optional2--',
  7717. "//a[contains(@href,'filedais.com')]");
  7718. }
  7719. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7720. {
  7721. addFileHost(
  7722. "up.4share\.vn\/\\w+",
  7723. '<font size="2" face="Verdana">',
  7724. 'font: 13px Tahoma; color: Brown',
  7725. 'optional--',
  7726. 'optional2--',
  7727. "//a[contains(@href,'up.4share.vn')]");
  7728. }
  7729. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7730. {
  7731. addFileHost(
  7732. "share.vnn\.vn\/\\w+",
  7733. '"index,follow"|<div class="main" id="download-box">',
  7734. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7735. 'optional--',
  7736. 'optional2--',
  7737. "//a[contains(@href,'share.vnn.vn')]");
  7738. }
  7739. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7740. {
  7741. addFileHost(
  7742. "upfile\.vn\/\\w+",
  7743. 'download-timer',
  7744. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7745. 'optional--',
  7746. 'optional2--',
  7747. "//a[contains(@href,'upfile.vn')]");
  7748. }
  7749. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7750. {
  7751. addFileHost(
  7752. "aisfile\.com\/\\w+",
  7753. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7754. '<div style="width:500px;text-align:left;">|File Not Found',
  7755. 'optional--',
  7756. 'optional2--',
  7757. "//a[contains(@href,'aisfile.com')]");
  7758. }
  7759. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7760. {
  7761. addFileHost(
  7762. "usersfiles\.com\/\\w+",
  7763. 'class="btn btn-success|id="btn_download" class="btn"',
  7764. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7765. 'optional--',
  7766. 'optional2--',
  7767. "//a[contains(@href,'usersfiles.com')]");
  7768. }
  7769. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7770. {
  7771. addFileHost(
  7772. "pan.baidu\.com\/\\w+",
  7773. 'target="_blank" title=|share-personal-info',
  7774. 'share_notfound.png|background:#f9f9f9',
  7775. 'optional--',
  7776. 'optional2--',
  7777. "//a[contains(@href,'pan.baidu.com')]");
  7778. }
  7779. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7780. {
  7781. addFileHost(
  7782. "yunpan\.cn\/\\w+",
  7783. 'class="icon icon-download',
  7784. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7785. 'optional--',
  7786. 'optional2--',
  7787. "//a[contains(@href,'yunpan.cn')]");
  7788. }
  7789. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7790. {
  7791. addFileHost(
  7792. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7793. 'getElementById("downbild")|style.display',
  7794. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7795. 'optional--',
  7796. 'optional2--',
  7797. "//a[contains(@href,'file-upload.net')]");
  7798. }
  7799. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7800. {
  7801. addFileHost(
  7802. "gulfup\.com\/",
  7803. '<!-- Downlod template -->|download.gif',
  7804. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7805. 'optional--',
  7806. 'optional2--',
  7807. "//a[contains(@href,'gulfup.com')]");
  7808. }
  7809. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7810. {
  7811. addFileHost(
  7812. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7813. 'dldtable">',
  7814. 'does not exist\\.',
  7815. 'optional--',
  7816. 'optional2--',
  7817. "//a[contains(@href,'datafilehost.com')]");
  7818. }
  7819. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7820. {
  7821. addFileHost(
  7822. "dropbox\.com\/s\/\\w+",
  7823. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7824. '>Nothing Here<|>Error (404)<',
  7825. 'title>Dropbox - 509|Error (403)|Error: 429',
  7826. 'optional2--',
  7827. "//a[contains(@href,'dropbox.com')]");
  7828. }
  7829. if (GM_getValue("Check_box_dot_net_links", false))
  7830. {
  7831. addFileHost(
  7832. "box\.net\/\\w+",
  7833. 'download-file-btn|id="download_button',
  7834. 'BIyMin.png| <div class="error_message',
  7835. 'optional--',
  7836. 'optional2--',
  7837. "//a[contains(@href,'box.net')]");
  7838. }
  7839. if (GM_getValue("Check_fileband_dot_com_links", false))
  7840. {
  7841. addFileHost(
  7842. "fileband\.com\/\\w+",
  7843. 'value="download1">|name="id" value=',
  7844. '<div style="width:500px;text-align:left;">|not be found',
  7845. 'optional--',
  7846. 'optional2--',
  7847. "//a[contains(@href,'fileband.com')]");
  7848. }
  7849. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7850. {
  7851. addFileHost(
  7852. "filedropper\.com\/\\w+",
  7853. 'background:#ddd;|width:985px; ',
  7854. 'background-color:#FFFFFF;|margin-left: -400px;',
  7855. 'optional--',
  7856. 'optional2--',
  7857. "//a[contains(@href,'filedropper.com')]");
  7858. }
  7859. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7860. {
  7861. addFileHost(
  7862. "tropicshare\\.com\/files\/\\d+",
  7863. 'MB</span>|GB</span>|KB</span>',
  7864. '>FNF<|size: </span>',
  7865. 'optional--',
  7866. 'optional2--',
  7867. "//a[contains(@href,'tropicshare.com')]");
  7868. }
  7869. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7870. {
  7871. addFileHost(
  7872. "goldbytez\.com\/\\w+",
  7873. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7874. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7875. 'optional--',
  7876. 'optional2--',
  7877. "//a[contains(@href,'goldbytez.com')]");
  7878. }
  7879. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7880. {
  7881. addFileHost(
  7882. "worldbytez\.com\/\\w+",
  7883. '<div class="download_type">',
  7884. '<div style="width:500px;text-align:left;">',
  7885. 'optional--',
  7886. 'optional2--',
  7887. "//a[contains(@href,'worldbytez.com')]");
  7888. }
  7889. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7890. {
  7891. addFileHost(
  7892. "freefilehosting\.net\/\\w+",
  7893. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7894. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7895. 'optional--',
  7896. 'optional2--',
  7897. "//a[contains(@href,'freefilehosting.net')]");
  7898. }
  7899. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7900. {
  7901. addFileHost(
  7902. "ziddu\.com\/\\w+",
  7903. 'downloads.ziddu.com|downloadfilelinkicon',
  7904. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7905. 'optional--',
  7906. 'optional2--',
  7907. "//a[contains(@href,'ziddu.com')]");
  7908. }
  7909. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7910. {
  7911. addFileHost(
  7912. "exclusiveloader\.com\/\\w+",
  7913. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7914. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7915. 'optional--',
  7916. 'optional2--',
  7917. "//a[contains(@href,'exclusiveloader.com')]");
  7918. }
  7919. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7920. {
  7921. addFileHost(
  7922. "sharerapid\.cz\/\\w+",
  7923. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7924. 'error_div">|404 - Not Found',
  7925. 'optional--',
  7926. 'optional2--',
  7927. "//a[contains(@href,'sharerapid.cz')]");
  7928. }
  7929. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7930. {
  7931. addFileHost(
  7932. "sdilej\.cz\/\\w+",
  7933. 'class="page-download"',
  7934. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  7935. 'optional--',
  7936. 'optional2--',
  7937. "//a[contains(@href,'sdilej.cz')]");
  7938. }
  7939. if (GM_getValue("Check_lafiles_dot_com_links", false))
  7940. {
  7941. addFileHost(
  7942. "lafiles\.com\/\\w+",
  7943. '<div id="pay_modes">',
  7944. '<b class="err"></b>',
  7945. 'optional--',
  7946. 'optional2--',
  7947. "//a[contains(@href,'lafiles.com')]");
  7948. }
  7949. if (GM_getValue("Check_acefile_dot_net_links", false))
  7950. {
  7951. addFileHost(
  7952. "acefile\.net\/\\w+",
  7953. 'align=right nowrap><b>',
  7954. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  7955. 'optional--',
  7956. 'optional2--',
  7957. "//a[contains(@href,'acefile.net')]");
  7958. }
  7959. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  7960. {
  7961. addFileHost(
  7962. "megarapid\.cz\/\\w+",
  7963. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7964. 'error_div">|404 - Not Found',
  7965. 'optional--',
  7966. 'optional2--',
  7967. "//a[contains(@href,'megarapid.cz')]");
  7968. }
  7969. if (GM_getValue("Check_yadi_dot_sk_links", false))
  7970. {
  7971. addFileHost(
  7972. "yadi\.sk\/\\w+",
  7973. 'twitter:site|View and download',
  7974. 'error code|Nothing found',
  7975. 'optional--',
  7976. 'optional2--',
  7977. "//a[contains(@href,'yadi.sk')]");
  7978. }
  7979. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  7980. {
  7981. addFileHost(
  7982. "imdb\.com\/\\w+",
  7983. 'imdb.com',
  7984. '404 Error',
  7985. 'optional--',
  7986. 'optional2--',
  7987. "//a[contains(@href,'imdb.com')]");
  7988. } */
  7989. if (GM_getValue("Check_hitfile_dot_net_links", false))
  7990. {
  7991. addFileHost(
  7992. "hitfile\.net\/\\w+",
  7993. 'class="download-file',
  7994. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  7995. 'optional--',
  7996. 'optional2--',
  7997. "//a[contains(@href,'hitfile.net')]");
  7998. }
  7999. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8000. {
  8001. addFileHost(
  8002. "nitroflare\.com\/\\w+",
  8003. 'Report this file</a>|left;">1 GB<|KB</span>|left;">1.0',
  8004. 'file has been removed|id="error" style="display|Probably deleted|file has been removed due to infringement',
  8005. 'optional--',
  8006. '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.|',
  8007. "//a[contains(@href,'nitroflare.com')]");
  8008. }
  8009. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8010. {
  8011. addFileHost(
  8012. "up.top4top\.net\/\\w+",
  8013. 'start Downlod template',
  8014. 'start err template',
  8015. 'optional--',
  8016. 'optional2--',
  8017. "//a[contains(@href,'up.top4top.net')]");
  8018. }
  8019. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8020. {
  8021. addFileHost(
  8022. "filejoker\.net\/\\w+",
  8023. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8024. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8025. 'optional--',
  8026. 'id="download" class="premium-only">',
  8027. "//a[contains(@href,'filejoker.net')]");
  8028. }
  8029. if (GM_getValue("Check_free_dot_fr_links", false))
  8030. {
  8031. addFileHost(
  8032. "(?:dl.\\.|)free\\.fr",
  8033. 'Valider et t&eacute;l&eacute',
  8034. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8035. 'optional--',
  8036. 'optional2--',
  8037. "//a[contains(@href,'dl.free.fr')]");
  8038. }
  8039. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8040. {
  8041. addFileHost(
  8042. "gboxes\.com\/\\w+",
  8043. 'You have requested|color="red">http://www.gboxes.com',
  8044. 'File Not Found|<div style="width:500px;text-align:left;">',
  8045. 'optional--',
  8046. 'optional2--',
  8047. "//a[contains(@href,'gboxes.com')]");
  8048. }
  8049. if (GM_getValue("Check_led_dot_wf_links", false))
  8050. {
  8051. addFileHost(
  8052. "led\.wf\/\\w+",
  8053. 'logo_0.png|downloads.gif"|verifycode',
  8054. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8055. 'optional--',
  8056. 'available only for Premium users',
  8057. "//a[contains(@href,'led.wf')]");
  8058. }
  8059. if (GM_getValue("Check_lan_dot_wf_links", false))
  8060. {
  8061. addFileHost(
  8062. "lan\.wf\/\\w+",
  8063. 'logo_0.png|downloads.gif"|verifycode',
  8064. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8065. 'optional--',
  8066. 'available only for Premium users',
  8067. "//a[contains(@href,'lan.wf')]");
  8068. }
  8069. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8070. {
  8071. addFileHost(
  8072. "adlink\.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,'adlink.wf')]");
  8078. }
  8079. if (GM_getValue("Check_click_dot_tf_links", false))
  8080. {
  8081. addFileHost(
  8082. "click\.tf\/\\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,'click.tf')]");
  8088. }
  8089. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8090. {
  8091. addFileHost(
  8092. "ssh\.tf\/\\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,'ssh.tf')]");
  8098. }
  8099. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8100. {
  8101. addFileHost(
  8102. "ssh\.yt\/\\w+",
  8103. 'logo_0.png|downloads.gif"|verifycode',
  8104. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8105. 'optional--',
  8106. 'available only for Premium users',
  8107. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8108. }
  8109. if (GM_getValue("Check_yep_dot_pm_links", false))
  8110. {
  8111. addFileHost(
  8112. "yep\.pm\/\\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,'yep.pm')]");
  8118. }
  8119. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8120. {
  8121. addFileHost(
  8122. "kyc\.pm\/\\w+",
  8123. 'logo_0.png|downloads.gif"|verifycode',
  8124. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8125. 'optional--',
  8126. 'available only for Premium users',
  8127. "//a[contains(@href,'kyc.pm')]");
  8128. }
  8129. if (GM_getValue("Check_brupload_dot_net_links", false))
  8130. {
  8131. addFileHost(
  8132. "brupload\.net\/\\w+",
  8133. 'Download Gratuito',
  8134. '<div style="width:500px;text-align:left;">',
  8135. 'optional--',
  8136. 'optional2--',
  8137. "//a[contains(@href,'brupload.net')]");
  8138. }
  8139. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8140. {
  8141. addFileHost(
  8142. "cloudzilla\.to\/\\w+",
  8143. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8144. 'File not found|/imgs/broken.png',
  8145. 'optional--',
  8146. 'optional2--',
  8147. "//a[contains(@href,'cloudzilla.to')]");
  8148. }
  8149. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8150. {
  8151. addFileHost(
  8152. "fileparadox\.in\/\\w+",
  8153. 'CONTENT="Download File|method_free_file',
  8154. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8155. 'optional--',
  8156. 'optional2--',
  8157. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8158. } */
  8159. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8160. {
  8161. addFileHost(
  8162. "clicknupload\.com\/\\w+",
  8163. 'name="method_free',
  8164. 'File Not Found',
  8165. 'optional--',
  8166. 'optional2--',
  8167. "//a[contains(@href,'clicknupload.com')]");
  8168. }
  8169. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8170. {
  8171. addFileHost(
  8172. "clicknupload\.me\/\\w+",
  8173. 'name="method_free',
  8174. 'File Not Found',
  8175. 'optional--',
  8176. 'optional2--',
  8177. "//a[contains(@href,'clicknupload.me')]");
  8178. }
  8179. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8180. {
  8181. addFileHost(
  8182. "ex-load\.com\/\\w+",
  8183. 'name="method_free|<p>Download File:</p>',
  8184. 'Folder Not Found|File Not Found|Error 404',
  8185. 'optional--',
  8186. 'class="downprem wow bounceInLeft',
  8187. "//a[contains(@href,'ex-load.com')]");
  8188. }
  8189. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8190. {
  8191. addFileHost(
  8192. "hexupload\.com\/\\w+",
  8193. 'button" value="Free|type="submit" value=""',
  8194. 'File Not Found|<div style="width:500px;text-align:left;">',
  8195. 'optional--',
  8196. 'optional2--',
  8197. "//a[contains(@href,'hexupload.com')]");
  8198. }
  8199. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8200. {
  8201. addFileHost(
  8202. "wizupload\.com\/\\w+",
  8203. 'btn_download|class="downloadbtn"',
  8204. '>File Not Found<',
  8205. 'optional--',
  8206. 'optional2--',
  8207. "//a[contains(@href,'wizupload.com')]");
  8208. }
  8209. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8210. {
  8211. addFileHost(
  8212. "filecloud\.cc\/\\w+",
  8213. 'align="center"><input type="submit" name=',
  8214. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8215. 'optional--',
  8216. 'optional2--',
  8217. "//a[contains(@href,'filecloud.cc')]");
  8218. }
  8219. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8220. {
  8221. addFileHost(
  8222. "inclouddrive\.com\/\\w+",
  8223. 'initfreedownload',
  8224. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8225. 'optional--',
  8226. 'optional2--',
  8227. "//a[contains(@href,'inclouddrive.com')]");
  8228. }
  8229. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8230. {
  8231. addFileHost(
  8232. "radicalshare\.com\/\\w+",
  8233. 'value="download1|name="method_free"',
  8234. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8235. 'optional--',
  8236. 'optional2--',
  8237. "//a[contains(@href,'radicalshare.com')]");
  8238. }
  8239. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8240. {
  8241. addFileHost(
  8242. "sharemods\.com\/\\w+",
  8243. 'name="method_free"',
  8244. 'File Not Found<',
  8245. 'optional--',
  8246. 'optional2--',
  8247. "//a[contains(@href,'sharemods.com')]");
  8248. }
  8249. if (GM_getValue("Check_hostr_dot_co_links", false))
  8250. {
  8251. addFileHost(
  8252. "hostr\.co\/\\w+",
  8253. 'method="get"',
  8254. 'File not found<|error-page',
  8255. 'optional--',
  8256. 'optional2--',
  8257. "//a[contains(@href,'hostr.co')]");
  8258. }
  8259. if (GM_getValue("Check_filepi_dot_com_links", false))
  8260. {
  8261. addFileHost(
  8262. "filepi\.com\/\\w+",
  8263. 'id="button_start">',
  8264. 'File not found',
  8265. 'optional--',
  8266. 'optional2--',
  8267. "//a[contains(@href,'filepi.com')]");
  8268. }
  8269. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8270. {
  8271. addFileHost(
  8272. "tikfile\.com\/\\w+",
  8273. 'btn_download',
  8274. 'File Not Found|file was removed|Reason for deletion',
  8275. 'optional--',
  8276. 'optional2--',
  8277. "//a[contains(@href,'tikfile.com')]");
  8278. }
  8279. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8280. {
  8281. addFileHost(
  8282. "cloudsix\.me\/\\w+",
  8283. 'name="method_free"',
  8284. 'File Not Found|width:500px;text-align:left;">',
  8285. 'optional--',
  8286. 'optional2--',
  8287. "//a[contains(@href,'cloudsix.me')]");
  8288. }
  8289. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8290. {
  8291. addFileHost(
  8292. "neodrive\.co\/\\w+",
  8293. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8294. 'File not found|/imgs/broken.png',
  8295. 'optional--',
  8296. 'optional2--',
  8297. "//a[contains(@href,'neodrive.co')]");
  8298. }
  8299. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8300. {
  8301. addFileHost(
  8302. "chayfile\.com\/\\w+",
  8303. 'name="method_free"',
  8304. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8305. 'optional--',
  8306. 'optional2--',
  8307. "//a[contains(@href,'chayfile.com')]");
  8308. }
  8309. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8310. {
  8311. addFileHost(
  8312. "xfileload\.com\/\\w+",
  8313. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8314. '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..|הקובץ שחיפשת לא נמצא.',
  8315. 'optional--',
  8316. 'optional2--',
  8317. "//a[contains(@href,'xfileload.com')]");
  8318. }
  8319. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8320. {
  8321. addFileHost(
  8322. "rockfile\.eu\/\\w+",
  8323. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8324. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8325. 'optional--',
  8326. 'optional2--',
  8327. "//a[contains(@href,'rockfile.eu')]");
  8328. }
  8329. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8330. {
  8331. addFileHost(
  8332. "24uploading\.com\/\\w+",
  8333. 'File:|Download Speed:',
  8334. '<b>File Not Found</b>|file was removed',
  8335. 'optional--',
  8336. 'optional2--',
  8337. "//a[contains(@href,'24uploading.com')]");
  8338. }
  8339. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8340. {
  8341. addFileHost(
  8342. "tusfiles\.net\/\\w+",
  8343. 'i/icon/dll.png"|>Start download<br',
  8344. 'no longer available<|i/ino.png"',
  8345. 'optional--',
  8346. 'optional2--',
  8347. "//a[contains(@href,'tusfiles.net')]");
  8348. }
  8349. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8350. {
  8351. addFileHost(
  8352. "jumbofile\.net\/\\w+",
  8353. 'button" class="" value="Free',
  8354. 'This File Was Deleted',
  8355. 'optional--',
  8356. 'optional2--',
  8357. "//a[contains(@href,'jumbofile.net')]");
  8358. } */
  8359. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8360. {
  8361. addFileHost(
  8362. "ozofiles\.com\/\\w+",
  8363. 'button" value="Free',
  8364. 'File Not Found|width:500px;text-align:left;">|File Deleted',
  8365. 'optional--',
  8366. 'optional2--',
  8367. "//a[contains(@href,'ozofiles.com')]");
  8368. }
  8369. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8370. {
  8371. addFileHost(
  8372. "loudupload\.net\/\\w+",
  8373. 'value="Get Links',
  8374. 'File Not Found',
  8375. 'optional--',
  8376. 'optional2--',
  8377. "//a[contains(@href,'loudupload.net')]");
  8378. }
  8379. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8380. {
  8381. addFileHost(
  8382. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8383. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8384. '>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">',
  8385. 'optional--',
  8386. 'optional2--',
  8387. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8388. }
  8389. if (GM_getValue("Check_krotix_dot_net_links", false))
  8390. {
  8391. addFileHost(
  8392. "krotix\.net\/\\w+",
  8393. 'btn btn-warning|btn-free',
  8394. 'pageErrors|This File has been removed',
  8395. 'content="Scheduled Maintenance',
  8396. 'optional2--',
  8397. "//a[contains(@href,'krotix.net')]");
  8398. } */
  8399. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8400. {
  8401. addFileHost(
  8402. "userscloud\.com\/\\w+",
  8403. 'btn_download',
  8404. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8405. 'optional--',
  8406. 'optional2--',
  8407. "//a[contains(@href,'userscloud.com')]");
  8408. }
  8409. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8410. {
  8411. addFileHost(
  8412. "kumpulbagi\.com\/\\w+",
  8413. 'class="button download',
  8414. 'internal server error',
  8415. 'optional--',
  8416. 'optional2--',
  8417. "//a[contains(@href,'kumpulbagi.com')]");
  8418. }
  8419. if (GM_getValue("Check_faststore_dot_org_links", false))
  8420. {
  8421. addFileHost(
  8422. "faststore\.org\/\\w+",
  8423. 'name="method_free',
  8424. 'File Not Found',
  8425. 'optional--',
  8426. 'optional2--',
  8427. "//a[contains(@href,'faststore.org')]");
  8428. }
  8429. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8430. {
  8431. addFileHost(
  8432. "prefiles\.com\/\\w+",
  8433. 'id="method_free',
  8434. 'File not Found',
  8435. 'optional--',
  8436. 'optional2--',
  8437. "//a[contains(@href,'prefiles.com')]");
  8438. }
  8439. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8440. {
  8441. addFileHost(
  8442. "doraupload\.com\/\\w+",
  8443. 'btn_download|name="method_free',
  8444. 'class="error-code|Could Not Be Found',
  8445. 'optional--',
  8446. 'optional2--',
  8447. "//a[contains(@href,'doraupload.com')]");
  8448. }
  8449. if (GM_getValue("Check_openload_dot_io_links", false))
  8450. {
  8451. addFileHost(
  8452. "openload\.io\/\\w+",
  8453. 'btn btn-primary|class="count">|secondsleftouter',
  8454. 'class="jumbotron">|We are sorry',
  8455. 'optional--',
  8456. 'optional2--',
  8457. "//a[contains(@href,'openload.io')]");
  8458. }
  8459. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8460. {
  8461. addFileHost(
  8462. "uploads\.xxx\/\\w+",
  8463. 'downoadForFree',
  8464. 'File not found',
  8465. 'optional--',
  8466. 'optional2--',
  8467. "//a[contains(@href,'uploads.xxx')]");
  8468. }
  8469. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8470. {
  8471. addFileHost(
  8472. "zxcfiles\.com\/\\w+",
  8473. 'class="downloadbtn',
  8474. 'File Not Found',
  8475. 'optional--',
  8476. 'optional2--',
  8477. "//a[contains(@href,'zxcfiles.com')]");
  8478. }
  8479. if (GM_getValue("Check_up07_dot_net_links", false))
  8480. {
  8481. addFileHost(
  8482. "up07\.net\/\\w+",
  8483. 'name="method_free',
  8484. 'File Not Found',
  8485. 'optional--',
  8486. 'optional2--',
  8487. "//a[contains(@href,'up07.net')]");
  8488. }
  8489. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8490. {
  8491. addFileHost(
  8492. "fileupload\.pw\/\\w+",
  8493. 'value="Free"',
  8494. 'File Not Found',
  8495. 'optional--',
  8496. 'optional2--',
  8497. "//a[contains(@href,'fileupload.pw')]");
  8498. }
  8499. if (GM_getValue("Check_4upld_dot_com_links", false))
  8500. {
  8501. addFileHost(
  8502. "4upld\.com\/\\w+",
  8503. 'alt="Download Now"|content="Download file">|btn-free-element',
  8504. '<title>Error|content="error|File not found',
  8505. 'optional--',
  8506. 'optional2--',
  8507. "//a[contains(@href,'4upld.com')]");
  8508. }
  8509. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8510. {
  8511. addFileHost(
  8512. "newfileland\.com\/\\w+",
  8513. 'name="method_free',
  8514. 'File Not Found',
  8515. 'optional--',
  8516. 'optional2--',
  8517. "//a[contains(@href,'newfileland.com')]");
  8518. } */
  8519. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8520. {
  8521. addFileHost(
  8522. "(?:.swoopshare)\\.com\/\\w+",
  8523. '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',
  8524. '<input type="file" name="f"',
  8525. 'optional--',
  8526. 'optional2--',
  8527. "//a[contains(@href,'swoopshare.com')]"
  8528. );
  8529. }
  8530. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8531. {
  8532. addFileHost(
  8533. "cloudshares\.net\/\\w+",
  8534. '"method_free|"Low Speed Download|submit" name="go',
  8535. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8536. 'optional--',
  8537. 'optional2--',
  8538. "//a[contains(@href,'cloudshares.net')]"
  8539. );
  8540. }
  8541. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8542. {
  8543. addFileHost(
  8544. "allmyvideos\.net\/\\w+",
  8545. 'Continue to Video',
  8546. 'File Not Found|class="err">Removed for',
  8547. 'optional--',
  8548. 'optional2--',
  8549. "//a[contains(@href,'allmyvideos.net')]"
  8550. );
  8551. }
  8552. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8553. {
  8554. addFileHost(
  8555. "vodlocker\.com\/\\w+",
  8556. 'Proceed to video',
  8557. 'Not Found',
  8558. 'optional--',
  8559. 'optional2--',
  8560. "//a[contains(@href,'vodlocker.com')]"
  8561. );
  8562. }
  8563. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8564. {
  8565. addFileHost(
  8566. "vidbull\.com\/\\w+",
  8567. 'Verifying Video Request',
  8568. 'File Not Found',
  8569. 'optional--',
  8570. 'optional2--',
  8571. "//a[contains(@href,'vidbull.com')]");
  8572. }
  8573. if (GM_getValue("Check_novamov_dot_com_links", false))
  8574. {
  8575. addFileHost(
  8576. "novamov\.com\/\\w+",
  8577. 'For version detection',
  8578. 'file no longer exists',
  8579. 'optional--',
  8580. 'optional2--',
  8581. "//a[contains(@href,'novamov.com')]"
  8582. );
  8583. }
  8584. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8585. {
  8586. addFileHost(
  8587. "filehoot\.com\/\\w+",
  8588. 'Continue to watch',
  8589. 'File Not Found',
  8590. 'optional--',
  8591. 'optional2--',
  8592. "//a[contains(@href,'filehoot.com')]"
  8593. );
  8594. }
  8595. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8596. {
  8597. addFileHost(
  8598. "stagevu\.com\/\\w+",
  8599. 'Video Info',
  8600. 'No video with the provided',
  8601. 'optional--',
  8602. 'optional2--',
  8603. "//a[contains(@href,'stagevu.com')]"
  8604. );
  8605. }
  8606. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8607. {
  8608. addFileHost(
  8609. "cloudtime\.to\/\\w+",
  8610. 'Download the video',
  8611. 'no longer exists',
  8612. 'optional--',
  8613. 'optional2--',
  8614. "//a[contains(@href,'cloudtime.to')]"
  8615. );
  8616. }
  8617. if (GM_getValue("Check_streamin_dot_to_links", false))
  8618. {
  8619. addFileHost(
  8620. "streamin\.to\/\\w+",
  8621. 'id="btn_download',
  8622. 'Not Found|Copyright Infringement|File Deleted',
  8623. 'optional--',
  8624. 'optional2--',
  8625. "//a[contains(@href,'streamin.to')]"
  8626. );
  8627. }
  8628. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8629. {
  8630. addFileHost(
  8631. "videoweed\.es\/\\w+",
  8632. 'version detection',
  8633. 'no longer exists',
  8634. 'optional--',
  8635. 'optional2--',
  8636. "//a[contains(@href,'videoweed.es')]"
  8637. );
  8638. }
  8639. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8640. {
  8641. addFileHost(
  8642. "nowvideo\.sx\/\\w+",
  8643. 'Download this video|value="submit">Continue',
  8644. 'no longer exists',
  8645. 'optional--',
  8646. 'optional2--',
  8647. "//a[contains(@href,'nowvideo.sx')]"
  8648. );
  8649. }
  8650. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8651. {
  8652. addFileHost(
  8653. "thevideo\.me\/\\w+",
  8654. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8655. 'File Not Found',
  8656. 'optional--',
  8657. 'optional2--',
  8658. "//a[contains(@href,'thevideo.me')]"
  8659. );
  8660. }
  8661. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8662. {
  8663. addFileHost(
  8664. "gorillavid\.in\/\\w+",
  8665. 'Wait 5 seconds',
  8666. 'File Not Found',
  8667. 'optional--',
  8668. 'optional2--',
  8669. "//a[contains(@href,'gorillavid.in')]"
  8670. );
  8671. }
  8672. if (GM_getValue("Check_thefile_dot_me_links", false))
  8673. {
  8674. addFileHost(
  8675. "thefile\.me\/\\w+",
  8676. 'Choose free or',
  8677. '',
  8678. 'optional--',
  8679. 'optional2--',
  8680. "//a[contains(@href,'thefile.me')]"
  8681. );
  8682. }
  8683. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8684. {
  8685. addFileHost(
  8686. "vidzi\.tv\/\\w+",
  8687. 'video-embed-modal row',
  8688. 'File Not Found|file was deleted',
  8689. 'optional--',
  8690. 'optional2--',
  8691. "//a[contains(@href,'vidzi.tv')]"
  8692. );
  8693. }
  8694. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8695. {
  8696. addFileHost(
  8697. "filenuke\.com\/\\w+",
  8698. 'Download File',
  8699. 'Earn with us',
  8700. 'optional--',
  8701. 'optional2--',
  8702. "//a[contains(@href,'filenuke.com')]"
  8703. );
  8704. }
  8705. if (GM_getValue("Check_vidto_dot_me_links", false))
  8706. {
  8707. addFileHost(
  8708. "vidto\.me\/\\w+",
  8709. 'Proceed to video',
  8710. 'Not Found',
  8711. 'optional--',
  8712. 'optional2--',
  8713. "//a[contains(@href,'vidto.me')]"
  8714. );
  8715. }
  8716. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8717. {
  8718. addFileHost(
  8719. "vidspot\.net\/\\w+",
  8720. 'Duration',
  8721. 'Removed for',
  8722. 'optional--',
  8723. 'optional2--',
  8724. "//a[contains(@href,'vidspot.net')]"
  8725. );
  8726. }
  8727. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8728. {
  8729. addFileHost(
  8730. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8731. 'Download File',
  8732. 'File Not Found',
  8733. 'optional--',
  8734. 'optional2--',
  8735. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8736. );
  8737. }
  8738. if (GM_getValue("Check_movpod_dot_in_links", false))
  8739. {
  8740. addFileHost(
  8741. "movpod\.in\/\\w+",
  8742. 'Continue',
  8743. 'File Not Found',
  8744. 'optional--',
  8745. 'optional2--',
  8746. "//a[contains(@href,'movpod.in')]"
  8747. );
  8748. }
  8749. /* if (GM_getValue("Check_down4files_dot_com_links", false))
  8750. {
  8751. addFileHost(
  8752. "down4files\.com\/\\w+",
  8753. 'down_table.png',
  8754. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8755. 'optional--',
  8756. 'optional2--',
  8757. "//a[contains(@href,'down4files.com')]"
  8758. );
  8759. } */
  8760. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8761. {
  8762. addFileHost(
  8763. "storefiles\.co\/\\w+",
  8764. 'btn_download',
  8765. 'No such file|>Error<|mqmaintitle">',
  8766. 'optional--',
  8767. 'optional2--',
  8768. "//a[contains(@href,'storefiles.co')]"
  8769. );
  8770. }
  8771. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8772. {
  8773. addFileHost(
  8774. "filehost\.pw\/\\w+",
  8775. 'name="method_free',
  8776. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8777. 'optional--',
  8778. 'optional2--',
  8779. "//a[contains(@href,'filehost.pw')]"
  8780. );
  8781. }
  8782. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8783. {
  8784. addFileHost(
  8785. "inafile\.com\/\\w+",
  8786. 'value="download1">|<h2>File: <font style="color:darkred">',
  8787. '<div style="width:500px;text-align:left;">|File Not Found',
  8788. 'optional--',
  8789. 'optional2--',
  8790. "//a[contains(@href,'inafile.com')]"
  8791. );
  8792. } */
  8793. if (GM_getValue("Check_uplea_dot_com_links", false))
  8794. {
  8795. addFileHost(
  8796. "uplea\.com\/\\w+",
  8797. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8798. 'expired link|ou est invalide',
  8799. 'optional--',
  8800. 'optional2--',
  8801. "//a[contains(@href,'uplea.com/dl')]",
  8802. true);
  8803. }
  8804. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8805. {
  8806. addFileHost(
  8807. "toutbox\.fr\/\\w+",
  8808. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8809. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8810. 'Serviço temporariamente indisponível',
  8811. 'optional2--',
  8812. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8813. );
  8814. }
  8815. if (GM_getValue("Check_openload_dot_co_links", false))
  8816. {
  8817. addFileHost(
  8818. "openload\.co\/\\w+",
  8819. 'id="downloadTimer">|button dlbutton',
  8820. 'jumbotron{color|got deleted|center !important',
  8821. 'optional--',
  8822. 'optional2--',
  8823. "//a[contains(@href,'openload.co')]"
  8824. );
  8825. }
  8826. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8827. {
  8828. addFileHost(
  8829. "lolabits\.es\/\\w+",
  8830. 'Descargar:',
  8831. '<title>Archivos de usuario',
  8832. 'Service Unavailable',
  8833. 'optional2--',
  8834. "//a[contains(@href,'lolabits.es')]"
  8835. );
  8836. }
  8837. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8838. {
  8839. addFileHost(
  8840. "alfafile\.net\/\\w+",
  8841. 'id="slow_download_btn',
  8842. 'class="error-box">',
  8843. 'optional--',
  8844. 'optional2--',
  8845. "//a[contains(@href,'alfafile.net')]"
  8846. );
  8847. }
  8848. if (GM_getValue("Check_multiup_dot_org_links", false))
  8849. {
  8850. addFileHost(
  8851. "multiup\.org\/\\w+",
  8852. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8853. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8854. 'optional--',
  8855. 'optional2--',
  8856. "//a[contains(@href,'multiup.org')]"
  8857. );
  8858. }
  8859. if (GM_getValue("Check_file_dot_al_links", false))
  8860. {
  8861. addFileHost(
  8862. "file\.al\/\\w+",
  8863. 'method_free',
  8864. 'style="width:500px;text-align:left;">',
  8865. 'optional--',
  8866. 'optional2--',
  8867. "//a[contains(@href,'file.al')]"
  8868. );
  8869. }
  8870. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8871. {
  8872. addFileHost(
  8873. "devilshare\.net\/\\w+",
  8874. '<div class="large-12" id="download">',
  8875. '(Link: 0 Invalid)|File Not Found',
  8876. 'optional--',
  8877. 'optional2--',
  8878. "//a[contains(@href,'devilshare.net')]"
  8879. );
  8880. }
  8881. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8882. {
  8883. addFileHost(
  8884. "dailyuploads\.net\/\\w+",
  8885. 'id="downloadBtnClickOrignal',
  8886. '<div style="width:500px;text-align:left;">',
  8887. 'optional--',
  8888. 'optional2--',
  8889. "//a[contains(@href,'dailyuploads.net')]"
  8890. );
  8891. }
  8892. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8893. {
  8894. addFileHost(
  8895. "datoteke\.com\/\\w+",
  8896. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8897. '&nbsp;File has been removed',
  8898. 'optional--',
  8899. 'optional2--',
  8900. "//a[contains(@href,'datoteke.com')]"
  8901. );
  8902. }
  8903.  
  8904. }
  8905. //start here
  8906.  
  8907. //hosts with direct download, so they must be requested for headers only
  8908. function initFileHostsHeadersOnly()
  8909. {
  8910. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  8911. {
  8912. var host = new Array(5);
  8913. host[0] = linkRegex;
  8914. host[1] = isAliveRegex;
  8915. host[2] = isDeadRegex;
  8916. host[3] = xpathEx;
  8917. host[4] = ispremRegex;
  8918. http_file_hosts_headers_only.push(host);
  8919. }
  8920. if (GM_getValue("Check_uloziste_dot_com_links", false))
  8921. {
  8922. addFileHostHeadersOnly(
  8923. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  8924. 'Connection: Keep-Alive',
  8925. 'Content-Length: 3857',
  8926. "//a[contains(@href,'uloziste.com')]"
  8927. )
  8928. }
  8929. if (GM_getValue("Check_adrive_dot_com_links", false))
  8930. {
  8931. addFileHostHeadersOnly(
  8932. "adrive\\.com\/public\/\\w+",
  8933. 'Connection: keep-alive',
  8934. 'orig_ref=deleted',
  8935. "//a[contains(@href,'adrive.com')]"
  8936. )
  8937. }
  8938. if (GM_getValue("Check_myupload_dot_dk_links", false))
  8939. {
  8940. addFileHostHeadersOnly(
  8941. "myupload\\.dk\/showfile\/\\w+",
  8942. 'Expires:',
  8943. 'squeeze1\\s+Vary',
  8944. "//a[contains(@href,'myupload.dk/showfile')]"
  8945. )
  8946. }
  8947. }
  8948. //CustomRules
  8949. //functions add...Host copied here
  8950. function addObsoleteHost(linkRegex, xpathEx)
  8951. {
  8952. var host = new Array(2);
  8953. host[0] = linkRegex;
  8954. host[1] = xpathEx;
  8955. http_file_hosts_obsolete.push(host);
  8956. }
  8957. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  8958. {
  8959. var host = new Array(7);
  8960. host[0] = linkRegex;
  8961. host[1] = isAliveRegex;
  8962. host[2] = isDeadRegex;
  8963. host[3] = isUnavaRegex;
  8964. host[4] = xpathEx;
  8965. tryLoop ? host[5] = true : host[5] = false;
  8966. host[6] = ispremRegex;
  8967. http_file_hosts.push(host);
  8968. }
  8969. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  8970. {
  8971. var host = new Array(5);
  8972. host[0] = linkRegex;
  8973. host[1] = isAliveRegex;
  8974. host[2] = isDeadRegex;
  8975. host[3] = xpathEx;
  8976. host[4] = ispremRegex;
  8977. http_file_hosts_headers_only.push(host);
  8978. }
  8979. //takes a fully built rules array and adds the rules to WARLC
  8980. function applyCustomRules(customRules)
  8981. {
  8982. if (!customRules) return;
  8983. var rules, r, i;
  8984. rules = customRules.rules;
  8985. for (i = 0 ; i < rules.length ; i++)
  8986. {
  8987. r = rules[i];
  8988. if (r.enabled)
  8989. {
  8990. switch (r.type)
  8991. {
  8992. case 'single':
  8993. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  8994. break;
  8995. case 'headers':
  8996. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  8997. break;
  8998. case 'obsolete':
  8999. addObsoleteHost(r.urlregex, r.xpath)
  9000. break;
  9001. }
  9002. }
  9003. }
  9004. }
  9005.  
  9006.  
  9007. function initFileHostsCustom()
  9008. {
  9009. if (Custom_rules && Custom_rules_text)
  9010. {
  9011. var msg = '';
  9012. if (newVersion)
  9013. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9014. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9015. msg = '60 or more days have passed since this notification.\n\n';
  9016. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9017. {
  9018. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9019. msg +=
  9020. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9021. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9022. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9023. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9024. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9025. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9026. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9027. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9028. setTimeout(function(){alert(msg)},0);
  9029. }
  9030. var customRules = parseCustomRules(Custom_rules_text);
  9031. if (customRules.warning || customRules.error)
  9032. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9033. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9034. JSON.stringify(customRules.info, null, ' '));
  9035. applyCustomRules(customRules);
  9036. }
  9037. }
  9038. //end of CustomRules processing
  9039.  
  9040.  
  9041.  
  9042. } //end of function start
  9043.  
  9044.  
  9045.  
  9046. function initClipBoardTools()
  9047. {
  9048. unsafeWindow.copyToClipboard = function(text)
  9049. {
  9050. try
  9051. {
  9052. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9053.  
  9054. var str = Components.classes["@mozilla.org/supports-string;1"].
  9055. createInstance(Components.interfaces.nsISupportsString);
  9056. if (!str) return false;
  9057.  
  9058. str.data = text;
  9059.  
  9060. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9061. createInstance(Components.interfaces.nsITransferable);
  9062. if (!trans) return false;
  9063.  
  9064. trans.addDataFlavor("text/unicode");
  9065. trans.setTransferData("text/unicode", str, text.length * 2);
  9066.  
  9067. var clipid = Components.interfaces.nsIClipboard;
  9068. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9069. if (!clip) return false;
  9070.  
  9071. clip.setData(trans, null, clipid.kGlobalClipboard);
  9072. } catch (e) {
  9073. GM_log("Error copyToClipboard : " + e);
  9074. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9075. }
  9076. }
  9077. }
  9078.  
  9079.  
  9080.  
  9081. //CustomRules
  9082.  
  9083. function escapeRegex(str)
  9084. {
  9085. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9086. }
  9087.  
  9088.  
  9089. //called internally from parseCustomRules.
  9090. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9091. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9092. function makeCustomRule(rule)
  9093. {
  9094. function makeMatchRegex(arrmatch)
  9095. {
  9096. return escapeRegex(arrmatch.join('\n'))
  9097. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9098. .replace(/\n/g,'|'); //join together
  9099. }
  9100. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9101. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9102. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9103. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9104. if (rule.baseurl)
  9105. {
  9106. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9107. for (i = 0 ; i < len ; i++)
  9108. {
  9109. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9110. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9111. {
  9112. 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'])
  9113. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9114. }
  9115. else //baseurl in the form: example.com/xxx
  9116. {
  9117. xpath.push(m[0]);
  9118. urlregex.push(escapeRegex(m[0]) + '.');
  9119. }
  9120. }
  9121. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9122. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9123. }
  9124. return rule;
  9125. } //function makeCustomRule
  9126.  
  9127.  
  9128. /*
  9129. Takes a string containing custom link checking rules.
  9130. Returns an object with fields:
  9131. info - contains notes, warnings and errors found during parsing
  9132. rules - the array of custom rules
  9133. note, warning, error - number of each of them found during parsing
  9134. Format of the input string:
  9135. One command per line. Command format: @keyword parameter
  9136. Keywords:
  9137. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9138. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9139. These keywords can be multiple (any of them will work):
  9140. @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...)
  9141. @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+
  9142. @alivelink, @deadlink - example links
  9143. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9144. Lines starting with // and empty lines are ignored.
  9145. Invalid parameters generate errors and those lines are skipped.
  9146. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9147. Example:
  9148. @customrule filehost
  9149. @baseurl filehost.com/download/
  9150. @baseurl filehost2. com net /d?=
  9151. @alivematch id="download">
  9152. @deadmatch File not found
  9153. @deadmatch File deleted
  9154. */
  9155. function parseCustomRules(rulesStr)
  9156. {
  9157. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9158. function addInfo(type, msg, ln){
  9159. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9160. customRules[type]++;
  9161. }
  9162. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9163. if (!lines) return null;
  9164. lines.push('@#customrule _'); //to save the last rule
  9165. var m, linecount = lines.length;
  9166. var keyword, param, constr, rule, err;
  9167. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9168. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9169. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9170. var constraints = {
  9171. 'baseurl': {
  9172. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9173. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9174. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9175. 'alivematch': {
  9176. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9177. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9178. 'deadmatch': {
  9179. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9180. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9181. 'unavamatch': {
  9182. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9183. 'alivelink': {
  9184. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9185. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9186. 'deadlink': {
  9187. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9188. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9189. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9190. };
  9191. for (linenum = 0 ; linenum < linecount ; linenum++)
  9192. {
  9193. //capturing groups: 1 23 4 5 6
  9194. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9195. if (m)
  9196. {
  9197. if (m[1] || !m[2])
  9198. continue; // ignore empty lines and lines starting with //
  9199. keyword = (m[4] || m[2]).toLowerCase();
  9200. param = m[6];
  9201. if (keyword == 'customrule')
  9202. {
  9203. //save the current rule if all required fields are provided
  9204. if (rule)
  9205. {
  9206. err = false;
  9207. $.each(constraints, function(kw, constraint){
  9208. var l, constr = constraint[rule.type];
  9209. if (constr)
  9210. {
  9211. l = rule[kw] ? rule[kw].length : 0;
  9212. if (l < constr.min || l > constr.max)
  9213. {
  9214. 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);
  9215. err = true;
  9216. }
  9217. }
  9218. });
  9219. if (!err)
  9220. customRules.rules.push(makeCustomRule(rule));
  9221. }
  9222. //start a new rule
  9223. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9224. {
  9225. rule = {
  9226. 'enabled': !m[3],
  9227. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9228. 'name': param
  9229. };
  9230. }
  9231. else
  9232. {
  9233. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9234. rule = null;
  9235. }
  9236. }
  9237. else //good line format, but keyword other than customrule
  9238. {
  9239. if (!rule)
  9240. {
  9241. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9242. continue;
  9243. }
  9244. if (constraints[keyword])
  9245. {
  9246. constr = constraints[keyword][rule.type];
  9247. if (constr)
  9248. {
  9249. if (constr.paramRE && !constr.paramRE.test(param))
  9250. {
  9251. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9252. continue;
  9253. }
  9254. }
  9255. else
  9256. {
  9257. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9258. continue;
  9259. }
  9260. }
  9261. //line OK, save
  9262. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9263. }
  9264. } //if (m)
  9265. else
  9266. addInfo('warning', 'Unknown line format. Line skipped.');
  9267. } //for loop
  9268. return customRules;
  9269. } //function parseCustomRules