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

detects live, dead and premium links.

目前為 2016-01-14 提交的版本,檢視 最新版本

  1. //added rapidu.net & uploadboy.me fixed euroshare.eu,
  2. // ==UserScript==
  3. // @name W.A.R. Links Checker Customized Premium Link Version
  4. // @description detects live, dead and premium links.
  5. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  6. // @namespace premium version
  7. // @version 1.2.3.0
  8. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1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awSO58hcHcTk3oX4lHbYQqp5L00QXJW50GK5q4E8A0A88fgoOnBihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  9. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  10. // @author mental
  11. // @include http://*
  12. // @include https://*
  13. // @include file:///*
  14. // @grant GM_setValue
  15. // @grant GM_getValue
  16. // @grant GM_xmlhttpRequest
  17. // @grant GM_log
  18. // @grant GM_addStyle
  19. // @grant GM_registerMenuCommand
  20. // @grant GM_getResourceText
  21. // @grant GM_info
  22. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  23. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  24. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  25. // @homepage http://www.warlc.5gbfree.com
  26. // @namespace http://www.warlc.5gbfree.com
  27. // @noframes
  28. // ==/UserScript==
  29.  
  30. //separate alternative domains with "|" char (first name is considered being main)
  31. var allHostNames = [
  32. "1fichier.com|dl4free.com",
  33. "rapidu.net",
  34. "pornfile.cz",
  35. "kb.simple-aja.info",
  36. "bitster.cz",
  37. "file-share.top",
  38. "pornoid.cz",
  39. "dailyuploads.net",
  40. "sharehost.eu",
  41. "tezfiles.com",
  42. "devilshare.net",
  43. "alfafile.net",
  44. "openload.co",
  45. "multiup.org",
  46. "uplea.com",
  47. "filenuke.com",
  48. "file.al",
  49. // "inafile.com",
  50. "lolabits.es",
  51. "vidto.me",
  52. "storefiles.co",
  53. "filehost.pw",
  54. "vidspot.net",
  55. "turbobit.ru",
  56. "sharesix.com|sharesix.net",
  57. "movpod.in",
  58. "thefile.me",
  59. "datoteke.com",
  60. "vidzi.tv",
  61. "videoweed.es",
  62. "vodlocker.com",
  63. "nowvideo.sx",
  64. "cloudtime.to",
  65. "thevideo.me",
  66. "vidbull.com",
  67. "allmyvideos.net",
  68. "novamov.com",
  69. "filehoot.com",
  70. "stagevu.com",
  71. "gorillavid.in",
  72. "streamin.to",
  73. "4upld.com",
  74. "cloudshares.net",
  75. "swoopshare.com",
  76. "2shared.com",
  77. "fileupload.pw",
  78. "zxcfiles.com",
  79. "up07.net",
  80. "4shared.com",
  81. "adrive.com",
  82. "aisfile.com",
  83. "hexupload.com",
  84. "bezvadata.cz",
  85. "xkeepfile.com|Gamesena.com",
  86. "usersfiles.com",
  87. "pan.baidu.com",
  88. "radicalshare.com",
  89. "datei.to",
  90. "daten-hoster.de|filehosting.org|xtraupload.de",
  91. "demo.ovh.eu",
  92. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  93. "divshare.com",
  94. "easy-share.com|crocko.com",
  95. "easybytez.com",
  96. "edisk.cz",
  97. "euroshare.eu",
  98. "file-upload.net",
  99. "yadi.sk",
  100. "wizupload.com",
  101. "fastshare.cz",
  102. "filefactory.com",
  103. "share.vnn.vn",
  104. "yunpan.cn",
  105. "gulfup.com",
  106. "tropicshare.com",
  107. "cloudzilla.to",
  108. "inclouddrive.com",
  109. "fileflyer.com",
  110. "filerio.com|filekeen.com",
  111. "up.4share.vn",
  112. "upfile.vn",
  113. "datafilehost.com",
  114. "fileband.com",
  115. "worldbytez.com",
  116. "files.mail.ru",
  117. "filesflash.com",
  118. "box.com",
  119. "uptobox.com",
  120. "box.net",
  121. "goldbytez.com",
  122. "sdilej.cz",
  123. "ex-load.com",
  124. "filesmonster.com",
  125. "filestore.to",
  126. "hulkload.com",
  127. "filedropper.com",
  128. "free-uploading.com",
  129. "gamefront.com|filefront.com",
  130. "gettyfile.ru",
  131. "gigapeta.com",
  132. "gigasize.com",
  133. "hellshare.com",
  134. "hellspy.com",
  135. "hitfile.net",
  136. "hostuje.net",
  137. "freefilehosting.net",
  138. "free.fr",
  139. "hulkshare.com",
  140. "hyperfileshare.com",
  141. "filecloud.io|ifile.it",
  142. "ifolder.ru",
  143. "jumbofiles.com",
  144. "uploadrocket.net",
  145. "lafiles.com",
  146. "leteckaposta.cz|sharegadget.com",
  147. "letitbit.net",
  148. "load.to",
  149. "mediafire.com",
  150. "megafileupload.com",
  151. "megashares.com",
  152. "movshare.net",
  153. "muchshare.net",
  154. "myupload.dk",
  155. "narod.ru|narod.yandex.ru",
  156. "fboom.me|fileboom.me",
  157. "openfile.ru",
  158. "partage-facile.com",
  159. "plunder.com",
  160. "sharerapid.cz",
  161. "exclusiveloader.com",
  162. "acefile.net",
  163. "queenshare.com",
  164. "rapidgator.net",
  165. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  166. "oboom.com",
  167. "filepi.com",
  168. "neodrive.co",
  169. "rarefile.net",
  170. "rayfile.com",
  171. "rghost.net",
  172. "sendmyway.com",
  173. "clicknupload.com",
  174. "clicknupload.me",
  175. "sharemods.com",
  176. "hostr.co",
  177. "sendspace.com",
  178. "sharecash.org",
  179. "share-links.biz",
  180. "share-online.biz|egoshare.com",
  181. "megarapid.cz",
  182. "shareflare.net",
  183. "solidfiles.com",
  184. "led.wf",
  185. "lan.wf",
  186. "adlink.wf",
  187. "click.tf",
  188. "kyc.pm",
  189. "ssh.tf",
  190. "ssh.yt",
  191. "yep.pm",
  192. "stahovanizasms.cz",
  193. "turbobit.net",
  194. "filecloud.cc",
  195. "tikfile.com",
  196. "cloudsix.me",
  197. "turboupload.com",
  198. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  199. "ulozisko.sk",
  200. "uloziste.com",
  201. "unibytes.com",
  202. "upload-il.net|przeslij.net",
  203. "uploaded.to|ul.to",
  204. "uploading.com",
  205. "chayfile.com",
  206. "rockfile.eu",
  207. "24uploading.com",
  208. "uploadspace.pl",
  209. "upnito.sk",
  210. "usaupload.net",
  211. "veehd.com",
  212. "videobb.com",
  213. "vip-file.com",
  214. "webshare.cz",
  215. "xdisk.cz",
  216. "yunfile.com|filemarkets.com",
  217. "ziddu.com",
  218. "zippyshare.com",
  219. "rodfile.com",
  220. "wikiupload.com",
  221. "uploadstube.de",
  222. "faststore.org",
  223. "flyfiles.net",
  224. "nowdownload.ch",
  225. "prefiles.com",
  226. "axifile.com",
  227. "hackerbox.org",
  228. "amonshare.com",
  229. "data.hu",
  230. "brupload.net",
  231. "userscloud.com",
  232. "netkups.com",
  233. "xfileload.com",
  234. "kumpulbagi.com",
  235. "uppit.com|up.ht",
  236. "downloadani.me",
  237. "filesabc.com",
  238. "180upload.com",
  239. "verzend.be",
  240. "4up.me",
  241. "extmatrix.com",
  242. "sendfiles.nl",
  243. "yourfilestore.com",
  244. "filebig.net",
  245. "nekaka.com",
  246. "file4safe.com",
  247. "tusfiles.net",
  248. "filemac.com",
  249. "idup.in",
  250. "fileswap.com",
  251. "ozofiles.com",
  252. "loudupload.net",
  253. "nosupload.com",
  254. "gboxes.com",
  255. "myvdrive.com|fileserving.com",
  256. "filesin.com",
  257. "novafile.com",
  258. "longfiles.com",
  259. // "uploadhero.com",
  260. "uploadbaz.com",
  261. "bitupload.com",
  262. "indowebster.com",
  263. "superload.cz",
  264. "mafiastorage.com",
  265. "4upfiles.com",
  266. "filesmelt.com",
  267. "hellupload.com",
  268. "uploadingit.com",
  269. "stiahni.si",
  270. "sendspace.pl",
  271. "fastshare.org",
  272. "filejoker.net",
  273. "filestore.com.ua",
  274. "secureupload.eu",
  275. "rapidfileshare.net",
  276. "stiahnito.sk",
  277. "rusfolder.com",
  278. "fileover.net",
  279. "catshare.net",
  280. "anonfiles.com",
  281. "mixturecloud.com",
  282. "filedais.com",
  283. // "imdb.com",
  284. "nitroflare.com",
  285. "akafile.com",
  286. "creafile.net",
  287. "hugefiles.net",
  288. "vidxden.com",
  289. "up.top4top.net",
  290. "upload.ee",
  291. "shareplace.org",
  292. "uploadc.com",
  293. "remixshare.com",
  294. "exoshare.com",
  295. "borncash.org",
  296. "junocloud.me",
  297. "expressleech.com",
  298. "2downloadz.com",
  299. "mightyupload.com",
  300. "anysend.com",
  301. "datafile.com",
  302. "upstore.net",
  303. "upsto.re",
  304. "speedy.sh",
  305. "sanshare.com",
  306. "kingfiles.net",
  307. // "uploadhero.co",
  308. "ge.tt",
  309. "filesflash.net",
  310. "salefiles.com",
  311. // "megairon.net",
  312. "datoid.cz",
  313. "cloudstor.es",
  314. "streamfile.com",
  315. "eyesfile.ca",
  316. "filemoney.com",
  317. "uploadboy.com",
  318. "uploadboy.me",
  319. "speedshare.eu",
  320. "google.com",
  321. "unlimitzone.com",
  322. "rioupload.com",
  323. "rg.to",
  324. "jumbofiles.org",
  325. "fshare.vn",
  326. "spaceforfiles.com",
  327. "up.media1fire.com",
  328. "depfile.com",
  329. "go4up.com",
  330. "dropbox.com",
  331. "redbunker.net",
  332. "divxpress.com",
  333. "mega.nz|mega.co.nz",
  334. "anafile.com",
  335. "uploadable.ch",
  336. "arabloads.net",
  337. "sharerepo.com",
  338. "sfshare.se",
  339. "files.fm",
  340. "koofile.com",
  341. "vidplay.net",
  342. "storagon.com",
  343. "doraupload.com",
  344. "openload.io",
  345. "geupload.com|lenfile.com",
  346. "uploads.xxx",
  347. "toutbox.fr",
  348. ];
  349.  
  350. try
  351. {
  352. //iframes excluded
  353. if (window.top != window.self)
  354. {
  355. return;
  356. }
  357. //allHostNames sites excluded
  358. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  359. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  360. ")"))
  361. {
  362. return;
  363. }
  364. }
  365. catch (e)
  366. {
  367. return;
  368. }
  369.  
  370. //separate alternative domains with "|" char (first name is considered being main)
  371. var allContainerNames = [
  372. "adf.ly",
  373. "linkcrypt.ws",
  374. "linksafe.me",
  375. // "linksave.in",
  376. "linkto.net",
  377. "madlink.sk",
  378. "multiload.cz",
  379. "mirrorcreator.com",
  380. "ncrypt.in",
  381. "redi.re",
  382. "relink.us",
  383. "safelinking.net",
  384. "theloo.katt.it",
  385. "bit.ly",
  386.  
  387. ];
  388.  
  389. //separate alternative domains with "|" char (first name is considered being main)
  390. var allObsoleteNames = [
  391. "uloz.cz",
  392. "secured.in",
  393. "linksave.in",
  394. "filepost.com|fp.io",
  395. "rapidsonic.com",
  396. "fileparadox.com",
  397. "fileparadox.in",
  398. "uploadhero.co",
  399. "uploadhero.com",
  400. "newfileland.com",
  401. "quickshare.cz",
  402. "netload.in",
  403. "netload.me",
  404. "movreel.com",
  405. "migahost.com",
  406. "krotix.net",
  407. "jumbofile.net",
  408. "edoc.com",
  409. "down4files.com",
  410. "cramit.in|cramitin.net",
  411. "freakshare.com",
  412. "burnupload.com|burnupload.ihiphop.com",
  413. "freakshare.net",
  414. "daj.to",
  415. "bl.st",
  416. "2drive.net",
  417. "ryushare.com",
  418. "crisshare.com",
  419. "tufiles.ru",
  420. "uncapped-downloads.com",
  421. "sockshare.com",
  422. "ddlstorage.com",
  423. "dataport.cz",
  424. "dizzcloud.com",
  425. "sharebeast.com",
  426. "stahovadlo.cz",
  427. "shared.com",
  428. "storage.to",
  429. "putlocker.com",
  430. "lumfile.com",
  431. "lumfile.se",
  432. "lumfile.eu",
  433. "firedrive.com",
  434. "fileshare.in.ua",
  435. "filecore.co.nz",
  436. "iskladka.cz",
  437. "file-rack.com",
  438. "fast-load.net",
  439. "subory.sk",
  440. "bigandfree.com",
  441. "fileop.com",
  442. "mujsoubor.cz",
  443. "sendfile.to",
  444. "superfastfile.com",
  445. "quickyshare.com",
  446. "duckload.com",
  447. "uploadstore.net",
  448. "meinupload.com",
  449. "dualshare.com",
  450. "2xupload.to|2xupload.de",
  451. "oxedion.com",
  452. "uploadline.com",
  453. "dll.bz",
  454. "movieshare.in",
  455. "milledrive.com",
  456. "quickupload.net",
  457. "safelink.in",
  458. "metadivx.com",
  459. "divxlink.com",
  460. "uploadrack.com",
  461. "teradepot.com",
  462. "dataup.to",
  463. "upit.to",
  464. "driveway.com",
  465. "eatlime.com",
  466. "a2zuploads.com",
  467. "friendlyfiles.net",
  468. "flyfile.us",
  469. "speedyshare.com",
  470. "uploadspace.eu",
  471. "keepfile.com",
  472. "piggyshare.com",
  473. "uplly.com",
  474. "filecrown.com",
  475. "6giga.com",
  476. "uploadjockey.com",
  477. "bluehost.to",
  478. "filegu.ru",
  479. "filebase.to",
  480. "up-file.com",
  481. "xvideos.com",
  482. "ufox.com",
  483. "filebling.com",
  484. "loaded.it",
  485. "uploadcell.com",
  486. "uploadshare.cz",
  487. "mangoshare.com",
  488. "filestab.com",
  489. "crazyupload.com",
  490. "gaiafile.com",
  491. "sharejunky.com",
  492. "fileho.com",
  493. "bigandfree.com",
  494. "bigfile.in",
  495. "bigshare.eu",
  496. "dahosting.org",
  497. "digisofts.net",
  498. "file4save.com",
  499. "filechip.com",
  500. "filescloud.com",
  501. "saveqube.com",
  502. "turboshare.de",
  503. "z-upload.com",
  504. "youshare.com",
  505. "jiffyupload.com",
  506. "gigeshare.com",
  507. "datenklo.net",
  508. "upload.dj",
  509. "loadfiles.in",
  510. "upit.to",
  511. "dsfileshare.com",
  512. "sharesimple.net",
  513. "4files.net",
  514. "wooupload.com",
  515. "odsiebie.com",
  516. "filenavi.com",
  517. "3oof.com",
  518. "meshwaar.com",
  519. "maxupload.com",
  520. "share.cx",
  521. "atserver.eu",
  522. "hotfiles.ws",
  523. "esnips.com",
  524. "tuxfile.com",
  525. "file2upload.net",
  526. "filebling.com",
  527. "turboshare.com",
  528. "rarhost.com",
  529. "isharehd.com",
  530. "i741.com",
  531. "dataup.de",
  532. "fofly.com",
  533. "shareonall.com",
  534. "sexuploader.com",
  535. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  536. "uploadhyper.com",
  537. "filespawn.com",
  538. "caizzii.com",
  539. "volnyweb.cz",
  540. "usershare.net",
  541. "filescash.net",
  542. "metahyper.com",
  543. "combozip.com",
  544. "x7.to",
  545. "uploadbox.com",
  546. "enterupload.com|flyupload.com",
  547. "filepoint.de",
  548. "mystream.to",
  549. "x-fs.com",
  550. "shareator.com",
  551. "srapid.eu",
  552. "sosame.cz",
  553. "filesdump.com",
  554. "2-klicks.de",
  555. "uploking.com",
  556. "silofiles.com",
  557. "upfile.in",
  558. "filehook.com",
  559. "uploadking.com",
  560. "uploadhere.com",
  561. "kewlshare.com",
  562. "rapidable.com",
  563. "uploadwaste.com",
  564. "filemup.com",
  565. "filesonic.com|sharingmatrix.com",
  566. "fileserve.com",
  567. "wupload.com",
  568. "skipfile.com",
  569. "smartuploader.com",
  570. "dualshare.com",
  571. "storeandserve.com",
  572. "mountfile.com",
  573. "transitfiles.com",
  574. "uploadstation.com",
  575. "filejungle.com",
  576. "shareshared.com",
  577. "quickyshare.com",
  578. "save.am",
  579. "petandrive.com",
  580. "file2box.com",
  581. "flyshare.cz",
  582. "yabadaba.ru",
  583. "cloudcache.cc",
  584. "yourfilehost.com",
  585. "jakfile.com",
  586. "kickload.com",
  587. "pyramidfiles.com",
  588. "refile.net",
  589. "zshare.net",
  590. "ddlani.me|ddlanime.com",
  591. "ftp2share.com",
  592. "fooget.com",
  593. "rapidhide.com",
  594. "gotupload.com",
  595. "mooload.com",
  596. "zupload.com",
  597. "mytempdir.com",
  598. "onionshare.com",
  599. "stahnu.to",
  600. "oron.com",
  601. "badongo.com",
  602. "filereactor.com",
  603. "filegaze.com",
  604. "4bytez.com",
  605. "1hostclick.com",
  606. "anonstream.com",
  607. "batshare.com",
  608. "bitroad.net",
  609. "brontofile.com",
  610. "cloudnxt.net",
  611. "cloudnator.com|shragle.com",
  612. "filesfrog.net",
  613. "coolshare.cz",
  614. "dotavi.com",
  615. "ezyfile.net",
  616. "file-bit.net",
  617. "filecosy.com",
  618. "fileduct.com|fileduct.net",
  619. "filefat.com",
  620. "filelaser.com",
  621. "filemashine.com",
  622. "fileserver.cc",
  623. "filetechnology.com",
  624. "fireuploads.net",
  625. "gigfiles.net",
  626. "holderfile.com",
  627. "ihostia.com",
  628. "k2files.com",
  629. "mojofile.com",
  630. "ovfile.com",
  631. "qshare.com",
  632. "shafiles.me",
  633. "sharefilehost.com",
  634. "shareupload.com",
  635. "stahuj.to",
  636. "ugotfile.com",
  637. "uploadboost.com",
  638. "fileom.com",
  639. "vidhog.com",
  640. "xfileshare.eu",
  641. "bzlink.us",
  642. "bulletupload.com",
  643. "bloggerarticles.com",
  644. "mojedata.sk",
  645. "sharpfile.com",
  646. "upgrand.com",
  647. "nasdilej.cz",
  648. "mediatack.cz",
  649. "share-it.to",
  650. "primeupload.com",
  651. "filebeer.info",
  652. "baberepublic",
  653. "xtu.me",
  654. "sharebase.de",
  655. "luckyshare.net",
  656. "filerobo.com",
  657. "filevelocity.com",
  658. "filezpro.com",
  659. "file4sharing.com",
  660. "cing.be",
  661. "ufile.eu",
  662. "pigsonic.com",
  663. "fileupped.com",
  664. "sharerun.com",
  665. "filesaur.com",
  666. "rapidslnare.com",
  667. "bestsharing.com",
  668. "savefiles.net",
  669. "file2share.biz",
  670. "filecache.de",
  671. "monsteruploads.eu",
  672. "b9bb.com",
  673. "aiotool.net",
  674. "jamber.info",
  675. "megaftp.com",
  676. "desiupload.net",
  677. "file27.com",
  678. "yastorage.com",
  679. "filehost.ws",
  680. "copyload.com",
  681. "venusfile.com",
  682. "aieshare.com",
  683. "terafile.co",
  684. "terafile.com",
  685. "fileza.net",
  686. "filerose.com",
  687. "squillion.com",
  688. "fileprohost.com",
  689. "bitbonus.com",
  690. "warserver.cz",
  691. "uload.to",
  692. "sharedbit.net",
  693. "megaload.it",
  694. "filewinds.com",
  695. "uploadcore.com",
  696. "syfiles.com",
  697. "eyesfile.com",
  698. "hotfile.com",
  699. "superupl.com",
  700. "oteupload.com",
  701. "henchfile.com",
  702. "filegag.com",
  703. "HenchFile.com",
  704. "filedefend.com",
  705. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  706. "megabitshare.com",
  707. "cloudzer.com",
  708. "asfile.com",
  709. "cloudzer.net",
  710. "clz.to",
  711. "extabit.com",
  712. "247upload.com",
  713. "2download.de",
  714. "4fastfile.com",
  715. "asixfiles.com",
  716. "berofile.com",
  717. "bigupload.com",
  718. "cepzo.com",
  719. "clouds.to",
  720. "cobrashare.sk",
  721. "coraldrive.net",
  722. "cyberlocker.ch",
  723. "czshare.com",
  724. "darkport.org",
  725. "dark-uploads.com",
  726. "davvas.com",
  727. "enigmashare.com",
  728. "erofly.cz",
  729. "fastsonic.net",
  730. "filebox.com",
  731. "filecity.net",
  732. "filedap.com",
  733. "filedino.com",
  734. "filedownloads.org",
  735. "filefolks.com",
  736. "fileking.co",
  737. "filemates.com",
  738. "files.to",
  739. "files2k.eu",
  740. "filesector.cc",
  741. "bitshare.com",
  742. "filesega.com",
  743. "filesend.net",
  744. "filestay.com",
  745. "filestrum.com",
  746. "fileuplo.de",
  747. "fileupup.com",
  748. "forunesia.com",
  749. "freeuploads.fr",
  750. "uploa.dk",
  751. "getthebit.com",
  752. "getzilla.net",
  753. "goldfile.eu",
  754. "good.com",
  755. "grupload.com",
  756. "hellfile.com",
  757. "hipfile.com",
  758. "hitfile.com",
  759. "hulkfile.eu|duckfile.net",
  760. "i-filez.com",
  761. "ifile.ws",
  762. "kupload.org",
  763. "packupload.com",
  764. "lemuploads.com",
  765. "limelinx.com",
  766. "maxshare.pl",
  767. "megarelease.org",
  768. "megashare.com",
  769. "minus.com",
  770. "mlfat4arab.com",
  771. "multishare.cz",
  772. "nirafile.com",
  773. "ok2upload.com",
  774. "peejeshare.com",
  775. "premiuns.org",
  776. "przeklej.net",
  777. "qkup.net",
  778. "rapidupload.sk",
  779. "rockdizfile.com",
  780. "rocketfile.net",
  781. "share-now.net",
  782. "share76.com",
  783. "sharebees.com",
  784. "sharefiles.co",
  785. "slingfile.com",
  786. "sms4file.com",
  787. "space4file.com",
  788. "tigershare.net",
  789. "toucansharing.com",
  790. "ubuntuone.com",
  791. "unextfiles.com",
  792. "upaj.pl",
  793. "upfile.biz",
  794. "uploadbin.net",
  795. "uploadic.com",
  796. "uploadinc.com",
  797. "uploading4u.eu",
  798. "uploadjet.net",
  799. "uploadorb.com",
  800. "upthe.net",
  801. "uptorch.com",
  802. "vidbox.yt",
  803. "videozer.com",
  804. "vreer.com",
  805. "wallobit.com",
  806. "zooupload.com",
  807. "privatefiles.com",
  808. "xerver.co",
  809. "BillionUploads.com",
  810. "rapidshare.com",
  811. "rapidshare.ru",
  812. "4savefile.com",
  813. "bayfiles.com",
  814. "bayfiles.net",
  815. "dodane.pl",
  816. "dotsemper.com",
  817. "egofiles.com",
  818. "epicshare.net",
  819. "fiberupload.net",
  820. "filemonkey.in",
  821. "filemonster.net",
  822. "filepom.com",
  823. "filesbb.com",
  824. "fileshareup.com",
  825. "filevice.com",
  826. "gigaup.fr",
  827. "isavelink.com",
  828. "loombo.com",
  829. "megafiles.se",
  830. "migupload.com",
  831. "mydisc.net",
  832. "nitrobits.com",
  833. "potload.com",
  834. "redload.net",
  835. "shareprofi.com",
  836. "sharesuper.info",
  837. "sinhro.net",
  838. "speedfile.cz",
  839. "speedshare.org",
  840. "storage.novoro.net",
  841. "swankshare.com",
  842. "swatupload.com",
  843. "upafile.com",
  844. "uploadmachine.com",
  845. "uploadsat.com",
  846. "upshared.com",
  847. "usefile.com",
  848. "yourfiles.to",
  849. "zomgupload.com",
  850. "ultramegabit.com",
  851. "uploadto.us",
  852. "inafile.com",
  853. "megairon.net",
  854.  
  855. ];
  856. ///////////////////////////////////////////////////////////////////////////////////////
  857. var firstRun = GM_getValue("First_run", true);
  858.  
  859. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  860. //////////////////////////////////////////////////////////////////////////////////////
  861. try
  862. {
  863. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  864. var last_known_version = GM_getValue("last_known_version", "");
  865. if (!last_known_version)
  866. {
  867. last_known_version = thisVersion;
  868. GM_setValue("last_known_version", last_known_version);
  869. }
  870. //var newVersion = !(thisVersion == last_known_version);
  871. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  872. GM_setValue("last_known_version", thisVersion);
  873. }
  874. catch (err)
  875. {
  876. var newVersion = false;
  877. }
  878.  
  879. var now = (new Date()).getTime();
  880. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  881. if (!last_custom_rules_nag)
  882. {
  883. last_custom_rules_nag = now;
  884. GM_setValue('last_custom_rules_nag', ''+now);
  885. }
  886.  
  887.  
  888. allHostNames.sort();
  889. allContainerNames.sort();
  890. allObsoleteNames.sort();
  891.  
  892. var RAND_STRING = "8QyvpOSsRG3QWq";
  893. var DEBUG_MODE = false;
  894.  
  895. var TOOLTIP_MAXWIDTH = 600; //in pixels
  896. var TOOLTIP_THUMBWIDTH = 200;
  897. var containers_processed = false;
  898.  
  899. //settings for keyboard functions start
  900. var CHECK_ALL_LINKS_KEY = "A";
  901. var CONFIGURATION_KEY = "C";
  902. var copy_to_dead_key = "D";
  903. var toggle_autocheck_key = "W";
  904. var toggle_Enable_Anonymizer_key = "Z";
  905. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  906. var first_key_keycodename = 'CTRL';
  907. var second_key_keycode = '18';
  908. var second_key_keycodename = 'ALT';
  909. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  910. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  911. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  912. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  913. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  914. //settings for keyboard functions end
  915.  
  916. //global settings start
  917. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  918. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  919. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  920. var Show_progress_stats, Display_tooltip_info, Icon_set;
  921. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  922. var Progress_box_refresh_rate;
  923. var Obsolete_file_hosts;
  924. var Custom_rules, Custom_rules_text;
  925.  
  926. var messageBox = document.createElement('b'); // top-left message box
  927.  
  928. var cLinksTotal = 0;
  929. var cLinksDead = 0;
  930. var cLinksAlive = 0;
  931. var cLinksUnava = 0;
  932. var cLinksprem = 0;
  933. var cLinksProcessed = 0;
  934.  
  935. var intervalId; //for updateProgress()
  936.  
  937. //icon resources
  938. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/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nIUnQ0RFyR0DkgNylzhh7cB+bmsLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  945. 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=';
  946. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUN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PTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAaJJREFUeNpkkk1rE1EUhp9zJ21NpxJocxctiAQXXYkQQQsG/EJo0a0LyW8ws9KFP0E3HQv6D9x1KbixdTGIlrZuzUJLCM2iEykRJ23S5B4XsZOpPXAW957zXM773iNkQquUgAKAAlpISx3vDXunB8kA5Zbb3hr6l032HtDc7/rQzlWWJt6yk0Japfxr4udWN3dRAMP5UI5bzi5cu5F/ya7RKqWW204BG66c6bart0ePX1iQRjP6krygZIDCv5FMce0+cELx9WMAimuPUCPY8B6AmfYXcy5PwWhGW/vpR2AKdB8bPkScIswRBxupB84Dk3EIgDh4j+CjHIImxLV18sM/Z3rOibard1A5wcg8Kn1s+IAjb2bsiAPjlNNvwYbLINOgfQ5q6yCTqBzjv7qbMgoYl6PTTerSY+Di4ANqBrSDz0z1D2nXPtHr+STPNgFcN6mLm6EjAEfPKTea0Y74V5yHmEm8/6d23aRu7M1KOf4afTMAjWa0e6lUua7JDzNEtceATGoWWHx3a7wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  947.  
  948. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVR42mNkIBcwMWQwsDMrMZKhlZmRi2mCWYtE9st1bx+SagAPlwTLCt+pot6vrv/8t7/mnQcpBsjI6j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SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  951. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  952.  
  953. //global settings end
  954. if (window.opera && !window.console)
  955. {
  956. window.console = {};
  957.  
  958. function fn()
  959. {
  960. opera.postError(arguments);
  961. };
  962. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  963. {
  964. window.console[name] = fn;
  965. });
  966. }
  967.  
  968. //displays colored text in message box
  969. function sendMessage(text, color)
  970. {
  971. var msgDiv = document.createElement('div');
  972. msgDiv.style.color = color;
  973. msgDiv.innerHTML = text;
  974. messageBox.appendChild(msgDiv);
  975. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  976. }
  977.  
  978. function linkify(totalourls)
  979. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  980. var ikkeTilladteTags;
  981. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  982. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  983. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  984. allLinksRegex = new RegExp(allLinksRegex, "g");
  985. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  986.  
  987. if (Do_not_linkify_DL_links)
  988. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  989. else
  990. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  991.  
  992. var regex = new RegExp(regexy);
  993. var textNode, muligtLink;
  994.  
  995. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  996. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  997.  
  998. var i = textNodes.snapshotLength;
  999. while (i--)
  1000. {
  1001. textNode = textNodes.snapshotItem(i);
  1002.  
  1003. muligtLink = textNode.nodeValue; //all links on page
  1004.  
  1005. var myArray = null;
  1006. var span = null;
  1007. var lastLastIndex = 0;
  1008. allLinksRegex.lastIndex = 0;
  1009. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1010. {
  1011. if (textNode.parentNode.className == "adead_link") continue;
  1012. var censoredLink = muligtLink;
  1013. var span = document.createElement('span');
  1014. span.className = "adead_link";
  1015. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1016. $(span).html(censoredLink);
  1017. span.addEventListener("mouseover", displayTooltipError, false);
  1018. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1019. textNode.parentNode.replaceChild(span, textNode);
  1020. continue;
  1021. alert(censoredLink);
  1022. }
  1023. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1024. {
  1025. if (!regex.test(myArray[0])) //this link is not recognized
  1026. {
  1027.  
  1028. continue;
  1029. }
  1030. if (!span)
  1031. span = document.createElement('span');
  1032.  
  1033. var link = myArray[0];
  1034. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1035.  
  1036. var $a = $("<a>" + link + "</a>")
  1037. if (!link.match(/https?:\/\//))
  1038. {
  1039. link = 'http://' + link;
  1040. }
  1041.  
  1042. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1043. .addClass("processing_link")
  1044. .appendTo(span);
  1045. lastLastIndex = allLinksRegex.lastIndex;
  1046. }
  1047. if (span)
  1048. {
  1049. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1050. textNode.parentNode.replaceChild(span, textNode);
  1051. }
  1052. }
  1053. }
  1054.  
  1055. function add_WARLC_style()
  1056. {
  1057. if (!(document.getElementsByTagName('WARLC')[0]))
  1058. {
  1059. var meta_not_to_add_more_style = document.createElement("WARLC");
  1060. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1061. meta_not_to_add_more_style.setAttribute('name', 'description');
  1062. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1063. alive_link_png = "";
  1064. adead_link_png = "";
  1065. unava_link_png = "";
  1066. prem_link_png = "";
  1067. switch(Icon_set)
  1068. {
  1069. //no icons
  1070. case 0: break;
  1071. // cat paws
  1072. case 1: alive_link_png = PAW_ICON_GREEN;
  1073. adead_link_png = PAW_ICON_RED;
  1074. unava_link_png = PAW_ICON_YELLOW;
  1075. prem_link_png = PAW_ICON_PINK;
  1076. break;
  1077. // classic RSLC look
  1078. case 2: alive_link_png = RSLC_ICON_GREEN;
  1079. adead_link_png = RSLC_ICON_RED;
  1080. unava_link_png = RSLC_ICON_YELLOW;
  1081. prem_link_png = RSLC_ICON_PINK;
  1082. break;
  1083. // New Icons
  1084. case 3: alive_link_png = NEW_ICON_GREEN;
  1085. adead_link_png = NEW_ICON_RED;
  1086. unava_link_png = NEW_ICON_YELLOW;
  1087. prem_link_png = NEW_ICON_PINK;
  1088. break;
  1089. // cat paws
  1090. default:alive_link_png = PAW_ICON_GREEN;
  1091. adead_link_png = PAW_ICON_RED;
  1092. unava_link_png = PAW_ICON_YELLOW;
  1093. prem_link_png = PAW_ICON_PINK;
  1094. break;
  1095. }
  1096. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1097. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1098.  
  1099. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1100.  
  1101. if (Color_DL_links)
  1102. {
  1103. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1104. live_color_css = 'color:' + Live_links_color + ' !important;';
  1105. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1106. container_color_css = 'color:' + Container_links_color + ' !important;';
  1107. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1108. }
  1109. else
  1110. {
  1111. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1112. }
  1113.  
  1114. if (Show_black_background_in_DL_links)
  1115. {
  1116. black_background_css = 'background-color: black !important;';
  1117. }
  1118. else
  1119. {
  1120. black_background_css = '';
  1121. }
  1122.  
  1123. if (Show_line_through_in_dead_links)
  1124. {
  1125. line_through_css = 'text-decoration: line-through !important;';
  1126. }
  1127. else
  1128. {
  1129. line_through_css = '';
  1130. }
  1131.  
  1132. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1133. 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 + "}");
  1134. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1135. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1136. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1137. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1138. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1139. }
  1140. }
  1141.  
  1142. var warlcTooltip = null;
  1143. var mouseoverLink = null; //link href with mouse cursor over it
  1144.  
  1145. var lastX = 0;
  1146. var lastY = 0;
  1147.  
  1148. $(document).ready(initTooltip);
  1149. //inits tooltip
  1150. function initTooltip()
  1151. { warlcTooltip = document.createElement("div");
  1152. 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;");
  1153. warlcTooltip.style.visibility = "hidden";
  1154. document.body.appendChild(warlcTooltip);
  1155. }
  1156.  
  1157. //"mousemove" event handler for all links
  1158. function moveTooltip(event)
  1159. {
  1160. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1161. { //no need to reflow if the cursor moved just a little
  1162. return;
  1163. }
  1164. else
  1165. {
  1166. lastX = event.clientX;
  1167. lastY = event.clientY;
  1168. }
  1169.  
  1170. posX = event.clientX + window.pageXOffset + 10;
  1171. posY = event.clientY + window.pageYOffset;
  1172. var ttHeight = warlcTooltip.offsetHeight;
  1173. var ttFreeSpace = window.innerHeight - event.clientY;
  1174. if (ttHeight > ttFreeSpace)
  1175. { //prevents tooltip from getting out of the window
  1176. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1177. }
  1178. else
  1179. {
  1180. posY += 7;
  1181. }
  1182. warlcTooltip.style.top = posY + "px";
  1183. warlcTooltip.style.left = posX + "px";
  1184. }
  1185.  
  1186. //"mouseout" event handler for all links
  1187. function hideTooltip(){
  1188. warlcTooltip.style.visibility = "hidden";
  1189. mouseoverLink = null;
  1190. }
  1191.  
  1192.  
  1193. //"mouseover" event handler for dead links
  1194. //displays tooltip error message on dead links
  1195. function displayTooltipError()
  1196. {
  1197. mouseoverLink = this.href;
  1198. this.addEventListener("mouseout", hideTooltip);
  1199. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1200. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1201. warlcTooltip.style.minWidth = 0;
  1202. warlcTooltip.style.visibility = "visible";
  1203. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1204. {
  1205. warlcTooltip.innerHTML = this.warlc_error;
  1206. }
  1207. else
  1208. {
  1209. loadErrorInfo(this);
  1210. }
  1211. function loadErrorInfo(link)
  1212. {
  1213. var href = link.href;
  1214. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1215. GM_xmlhttpRequest({
  1216. method: 'GET',
  1217. url: href.replace(Ref_anonymize_service, ""),
  1218. headers: {
  1219. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1220. 'Accept': 'text/xml',
  1221. 'Referer': ""
  1222. },
  1223. onload: function(result) {
  1224. var res = result.responseText;
  1225. //TODO: errorRegexs -
  1226. var errorRegexs = [ //generic error messages follow
  1227. /(empty directory)/i,
  1228. /(soubor nebyl nalezen)/i,
  1229. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1230. //server specific error messages follow
  1231. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1232. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1233. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1234. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1235. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1236. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1237. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1238. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1239. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1240. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1241. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1242. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1243. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1244. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1245. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1246. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1247. /(File has been removed due to Copyright Claim)/, //filerio
  1248. ];
  1249. var errorIdx = errorRegexs.length;
  1250. var error = "Cause of error: <b>unknown</b>";
  1251. var errorCandidate = "";
  1252. while(errorIdx--)
  1253. {
  1254. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1255. if (errorCandidate != null)
  1256. {
  1257. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1258. break;
  1259. }
  1260. }
  1261. //link attributes
  1262. link.warlc_error = error;
  1263. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1264. {
  1265. warlcTooltip.innerHTML = error;
  1266. }
  1267. }
  1268. });
  1269. }
  1270. }
  1271.  
  1272. //"mouseover" event handler for alive links
  1273. //displays tooltip info (file size, file name,...) on alive links
  1274. function displayTooltipInfo()
  1275. {
  1276. mouseoverLink = this.href;
  1277. //exclude direct download filehostings
  1278. 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)/))
  1279. {
  1280. return;
  1281. }
  1282. this.addEventListener("mouseout", hideTooltip);
  1283. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1284. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1285. warlcTooltip.style.minWidth = 0;
  1286. warlcTooltip.style.visibility = "visible";
  1287. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1288. {
  1289. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1290. }
  1291. else
  1292. {
  1293. loadInfo(this);
  1294. }
  1295. function loadInfo(link)
  1296. {
  1297. var href = link.href;
  1298. GM_xmlhttpRequest({
  1299. method: 'GET',
  1300. url: href.replace(Ref_anonymize_service, ""),
  1301. headers: {
  1302. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1303. 'Accept': 'text/xml',
  1304. 'Referer': ""
  1305. },
  1306. onload: function(result) {
  1307. var res = result.responseText;
  1308. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1309. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1310. /fl" title="(.+?)">/, //edisk
  1311. /<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
  1312. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1313. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1314. /title="download (.+?)">/, //sendspace
  1315. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1316. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1317. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1318. /d0FileName = "(.+?)";/, //letitbit
  1319. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1320. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1321. /fname" value="(.+?)">/, //syfiles, grupload,
  1322. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1323. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1324. /Complete name : (.+?)<br \/>/, //bezvadata
  1325. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1326. ];
  1327. var nameIdx = nameRegexs.length;
  1328. // [sizeRegexs]
  1329. // / \ \?
  1330. // prefix (size) postfix
  1331. // / \
  1332. // val quant
  1333. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1334. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1335. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1336. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1337. var postSizeRegex = '(?:\\))?';
  1338. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1339. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1340. ];
  1341. var sizeIdx = sizeRegexs.length;
  1342. //
  1343. //
  1344. var tooltip = "File Name: <b>";
  1345. var fileName = "unknown";
  1346. var nameCandidate = "";
  1347. while(nameIdx--)
  1348. {
  1349. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1350. if (nameCandidate != null)
  1351. {
  1352. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1353. break;
  1354. }
  1355. }
  1356. tooltip += fileName + "</b><br>File Size: <b>";
  1357. var fileSize = "unknown";
  1358. var sizeCandidate = "";
  1359. while(sizeIdx--)
  1360. {
  1361. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1362. if (sizeCandidate != null)
  1363. {
  1364. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1365. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1366. {
  1367. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1368. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1369. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1370. }
  1371. break;
  1372. }
  1373. }
  1374. tooltip += fileSize + "</b>";
  1375. // PROTOTYPE
  1376. // video thumbnails
  1377. if (href.match('hellshare'))
  1378. {
  1379. var thumbs;
  1380. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1381. if (thumbs)
  1382. {
  1383. tooltip += '<br>';
  1384. var j = Math.min(thumbs.length, 9);
  1385. for (var i = 0; i < j; i++)
  1386. {
  1387. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1388. }
  1389. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1390. }
  1391. }
  1392. if (href.match('czshare'))
  1393. {
  1394. var thumbs;
  1395. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1396. if (thumbs)
  1397. {
  1398. var thumbsServer = thumbs[1];
  1399. var thumbsId = thumbs[2];
  1400. tooltip += '<br>';
  1401. for (var i = 1; i < 9; i++)
  1402. {
  1403. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1404. }
  1405. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1406. }
  1407. }
  1408. if (href.match('bezvadata'))
  1409. {
  1410. var thumbs;
  1411. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1412. if (thumbs)
  1413. {
  1414. tooltip += '<br>';
  1415. var j = Math.min(thumbs.length, 9);
  1416. for (var i = 0; i < j; i++)
  1417. {
  1418. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1419. }
  1420. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1421. }
  1422. }
  1423. link.warlc_tooltipcache = tooltip;
  1424. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1425. {
  1426. warlcTooltip.innerHTML = tooltip;
  1427. }
  1428. }
  1429. });
  1430. }
  1431. }
  1432.  
  1433. function setVariables()
  1434. {
  1435. if (firstRun)
  1436. {
  1437. GM_log('First run, applying default settings...');
  1438. GM_setValue("Icon_set",1);
  1439. GM_setValue("Display_tooltip_info",true);
  1440. GM_setValue("Show_black_background_in_DL_links",false);
  1441. GM_setValue("Show_line_through_in_dead_links",false);
  1442. GM_setValue("Display_full_links_in_link_containers",false);
  1443. GM_setValue("Allow_spaces_in_DL_links",false);
  1444. GM_setValue("Autocheck",true);
  1445. GM_setValue("Enable_Anonymizer",false);
  1446. GM_setValue("Do_not_linkify_DL_links",false);
  1447. GM_setValue("Show_progress_stats",true);
  1448. GM_setValue("Keyboard_functions",true);
  1449. GM_setValue("Obsolete_file_hosts",false);
  1450. GM_setValue("Color_DL_links",true);
  1451. GM_setValue("Live_links_color","Green");
  1452. GM_setValue("Dead_links_color","#FF3300");
  1453. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1454. GM_setValue("Container_links_color","DarkKhaki");
  1455. GM_setValue("Premium_links_color","DeepPink");
  1456. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1457. GM_setValue("Custom_rules",false);
  1458. GM_setValue("Custom_rules_text","");
  1459. GM_setValue("First_run", false);
  1460. }
  1461. //hidden settings
  1462. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1463. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1464. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1465. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1466. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1467. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1468. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1469. //hidden settings end
  1470.  
  1471. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1472. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1473. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1474. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1475. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1476. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1477. Autocheck = GM_getValue("Autocheck", true);
  1478. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1479. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1480. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1481. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1482. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1483. Color_DL_links = GM_getValue("Color_DL_links", true);
  1484. Live_links_color = GM_getValue("Live_links_color", "Green");
  1485. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1486. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1487. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1488. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1489. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1490. Custom_rules = GM_getValue("Custom_rules", false);
  1491. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1492. }
  1493.  
  1494.  
  1495. // Delinkifies the links
  1496. // params:
  1497. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1498. // e.g. 'uloz.to/xs68skxl8')
  1499. function delinkifySnapshot(snapshot)
  1500. {
  1501. var n = snapshot.snapshotLength;
  1502.  
  1503. while (n--)
  1504. {
  1505. thisLink = snapshot.snapshotItem(n);
  1506.  
  1507. var spanElm = document.createElement("span");
  1508. spanElm.className = thisLink.className;
  1509. spanElm.innerHTML = thisLink.innerHTML;
  1510.  
  1511. if (Display_tooltip_info)
  1512. {
  1513. spanElm.href = thisLink.href;
  1514. switch (thisLink.className){
  1515. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1516. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1517. case "unava_link": //reserved
  1518. default:
  1519. }
  1520. }
  1521. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1522. }
  1523. }
  1524.  
  1525. function processContainers()
  1526. {
  1527. var redirectorTypes = { "HTTP_302": 0,
  1528. "INNER_LINK": 1,
  1529. "THELOO_KATT_IT": 2,
  1530. "CING_BE": 3,
  1531. "ADF_LY": 4};
  1532. var cMultiloadTotal = 0;
  1533. var cMultiloadProcessed = 0;
  1534.  
  1535. var cMirrorcreatorComTotal = 0;
  1536. var cMirrorcreatorComProcessed = 0;
  1537.  
  1538. var hostRestrictionRegex = "";
  1539. var multiloadComRestriction = "";
  1540. var multiloadComRestrictionRegex;
  1541.  
  1542. //
  1543. //HANDLING REDIRECTORS START
  1544. //
  1545.  
  1546. var redirectors = new Array();
  1547. initRedirectors();
  1548.  
  1549. var redirectorsCount = redirectors.length;
  1550.  
  1551. if (redirectorsCount > 0)
  1552. {
  1553. var allRedirectorsRegex = "";
  1554.  
  1555. //linkify redirector links
  1556. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1557. {
  1558. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1559. }
  1560. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1561. linkify(allRedirectorsRegex);
  1562. //
  1563. //process redirector links
  1564. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1565. {
  1566. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1567. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1568.  
  1569. cLinksTotal += redirectors[redirIdx].cTotal;
  1570. var linkIdx = redirectors[redirIdx].cTotal;
  1571.  
  1572. while(linkIdx--)
  1573. {
  1574. switch(redirectors[redirIdx].type)
  1575. {
  1576. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1577. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1578. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1579. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1580. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1581. default:
  1582. }
  1583. }
  1584. }
  1585. //
  1586. }
  1587.  
  1588. //HTTP_302
  1589. function processRedirectorLink(link, redirectorId)
  1590. {
  1591. link.className = 'container_link';
  1592.  
  1593. GM_xmlhttpRequest({
  1594. method: 'HEAD',
  1595. url: link.href,
  1596. headers: {
  1597. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1598. 'Accept': 'text/xml',
  1599. 'Referer': ""
  1600. },
  1601. onload: function(result) {
  1602. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1603. {
  1604. processRedirectorLink(link, redirectorId);
  1605. }
  1606. else
  1607. {
  1608. redirectors[redirectorId].cProcessed++;
  1609. link.href = result.finalUrl;
  1610. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1611. checkLinks('container_link');
  1612. }
  1613. },
  1614. onerror: function(result) { //probably caused by unresponsive filehosting
  1615. redirectors[redirectorId].cProcessed++;
  1616. link.className = 'unava_link';
  1617. cLinksProcessed++;
  1618. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1619. checkLinks('container_link');
  1620. }
  1621. });
  1622. }
  1623. //INNER_LINK
  1624. function processRedirectorLinkEx(link, redirectorId)
  1625. {
  1626. link.className = 'container_link';
  1627. GM_xmlhttpRequest({
  1628. method: 'GET',
  1629. url: link.href,
  1630. headers: {
  1631. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1632. 'Accept': 'text/xml',
  1633. 'Referer': ""
  1634. },
  1635. onload: function(result) {
  1636. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1637. redirectors[redirectorId].cProcessed++;
  1638. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1639. checkLinks('container_link');
  1640. }
  1641. });
  1642. }
  1643. //theloo.katt.it (wrapped safelinking.net)
  1644. function processThelooKattItLink(link, redirectorId)
  1645. {
  1646. link.className = 'container_link';
  1647. GM_xmlhttpRequest({
  1648. method: 'GET',
  1649. url: link.href,
  1650. headers: {
  1651. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1652. 'Accept': 'text/xml',
  1653. 'Referer': ""
  1654. },
  1655. onload: function(result) {
  1656. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1657. redirectors[redirectorId].cProcessed++;
  1658. //the inner links are safelinking.net links, so lets proceed with it
  1659. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1660. {
  1661. processRedirectorLink(link, 0);
  1662. }
  1663. }
  1664. });
  1665. }
  1666. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1667. function processAdfLyLink(link, redirectorId)
  1668. {
  1669. link.className = 'container_link';
  1670. GM_xmlhttpRequest({
  1671. method: 'GET',
  1672. url: link.href,
  1673. headers: {
  1674. 'User-agent': 'Mozilla/4.0',
  1675. 'Accept': 'text/xml',
  1676. 'Referer': ""
  1677. },
  1678. onload: function(result) {
  1679. if (result.finalUrl.match('/locked/'))
  1680. {
  1681. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1682. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1683. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1684. }
  1685. else
  1686. {
  1687. // GM_log('Processing... ' + link.href);
  1688. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1689. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1690. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1691. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1692. //confirm advert
  1693. GM_xmlhttpRequest(
  1694. {
  1695. method: 'POST',
  1696. url: 'http://adf.ly/l.php',
  1697. headers: {
  1698. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1699. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1700. 'Referer': link.href
  1701. },
  1702. data: users + '&lt=' + logToken,
  1703. onload: function(result) {
  1704. //retrieve final url from .../go/... link
  1705. GM_xmlhttpRequest({
  1706. method: 'GET',
  1707. url: directLink,
  1708. headers: {
  1709. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1710. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1711. 'Referer': link.href
  1712. },
  1713. onload: function(result) {
  1714. link.href = result.finalUrl;
  1715. redirectors[redirectorId].cProcessed++;
  1716. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1717. checkLinks('container_link');
  1718. }
  1719. });
  1720. }
  1721. });
  1722. }
  1723. }
  1724. });
  1725. function proceedOK()
  1726. {
  1727. }
  1728. }
  1729. //MULTILOAD.CZ START
  1730. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1731. {
  1732. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1733. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1734.  
  1735. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1736.  
  1737. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1738. hostRestrictionRegex += 'hellshare|';
  1739. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1740. hostRestrictionRegex += 'share-rapid\\.com|';
  1741. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1742. hostRestrictionRegex += 'quickshare\\.cz|';
  1743. if (GM_getValue("Check_czshare_dot_com_links", false))
  1744. hostRestrictionRegex += 'czshare\\.com|';
  1745. if (GM_getValue("Check_uloz_dot_to_links", false))
  1746. hostRestrictionRegex += 'uloz\\.to|';
  1747. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1748. hostRestrictionRegex += 'hellspy|';
  1749. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1750. hostRestrictionRegex += 'multishare\\.cz|';
  1751.  
  1752. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1753.  
  1754. linkify(mlRegex);
  1755.  
  1756. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1757. var mlCount = mlSnapshot.snapshotLength;
  1758.  
  1759. if (mlCount > 0)
  1760. {
  1761. cMultiloadTotal += mlCount;
  1762.  
  1763. mlIdx = mlCount - 1;
  1764. do
  1765. {
  1766. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1767. }
  1768. while(mlIdx--)
  1769. }
  1770. }
  1771. //MULTILOAD.CZ END
  1772.  
  1773.  
  1774.  
  1775. function processMultiloadLink(mlLink)
  1776. {
  1777. GM_xmlhttpRequest({
  1778. method: 'GET',
  1779. url: mlLink.href,
  1780. headers: {
  1781. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1782. 'Accept': 'text/xml',
  1783. 'Referer': ""
  1784. },
  1785. onload: function(result) {
  1786. var res = result.responseText;
  1787.  
  1788. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1789. 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;
  1790. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1791. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1792.  
  1793. var blocks; // blocks of links
  1794. var blockIdx;
  1795.  
  1796. mlLink.className = '';
  1797.  
  1798. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1799. {
  1800. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1801. return;
  1802. }
  1803.  
  1804. blocks = res.match(innerBlockRegex);
  1805.  
  1806. if (blocks == null) //no links found, cancel further processing
  1807. {
  1808. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1809. cMultiloadProcessed++;
  1810. if (cMultiloadTotal <= cMultiloadProcessed)
  1811. {
  1812. startBulkCheck('container_link');
  1813. start('container_link');
  1814. }
  1815. return;
  1816. }
  1817.  
  1818. blockIdx = blocks.length;
  1819.  
  1820. if (Display_full_links_in_link_containers)
  1821. {
  1822. var ulElm = document.createElement('ul');
  1823. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1824.  
  1825. while(blockIdx--)
  1826. {
  1827. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1828. {
  1829. continue;
  1830. }
  1831.  
  1832. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1833.  
  1834. var linkIdx = innerLinks.length;
  1835. while (linkIdx--)
  1836. {
  1837. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1838.  
  1839. var liElm = document.createElement('li');
  1840.  
  1841. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1842. {
  1843. liElm.appendChild(document.createTextNode(innerLink));
  1844. }
  1845. else
  1846. {
  1847. var aElm = document.createElement('a');
  1848. aElm.innerHTML = innerLink;
  1849. aElm.href = innerLink;
  1850. aElm.className = 'container_link';
  1851.  
  1852. liElm.appendChild(aElm);
  1853. }
  1854.  
  1855. ulElm.appendChild(liElm);
  1856. cLinksTotal++;
  1857. }
  1858. }
  1859.  
  1860. mlLink.parentNode.appendChild(ulElm);
  1861. }
  1862. else //compact view
  1863. {
  1864. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1865.  
  1866. while(blockIdx--)
  1867. {
  1868. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1869. {
  1870. continue;
  1871. }
  1872.  
  1873. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1874.  
  1875. var linkIdx = innerLinks.length;
  1876. while (linkIdx--)
  1877. {
  1878. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1879.  
  1880. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1881. {
  1882. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1883. }
  1884. else
  1885. {
  1886. var aElm = document.createElement('a');
  1887.  
  1888. var hostName = innerLink.match(/quickshare|hellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1889.  
  1890. //abbreviate host name
  1891. switch(hostName + ""){
  1892.  
  1893. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1894. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1895. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1896. case 'multishare': aElm.innerHTML = 'MS'; break;
  1897. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1898. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1899. case 'czshare': aElm.innerHTML = 'CS'; break;
  1900. default: aElm.innerHTML = 'xx';
  1901.  
  1902. }
  1903.  
  1904. aElm.href = innerLink;
  1905. aElm.className = 'container_link';
  1906.  
  1907. mlLink.parentNode.appendChild(aElm);
  1908. cLinksTotal++;
  1909. }
  1910. }
  1911.  
  1912. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1913.  
  1914. }
  1915. }
  1916.  
  1917. cMultiloadProcessed++;
  1918. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1919. {
  1920. if (Do_not_linkify_DL_links)
  1921. {
  1922. delinkifySnapshot(mlSnapshot);
  1923. }
  1924. startBulkCheck('container_link');
  1925. start('container_link');
  1926. }
  1927. }
  1928. });
  1929. }
  1930.  
  1931.  
  1932. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1933. {
  1934. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1935. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1936. var mcShortHostNames =
  1937. '?? 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';
  1938. // 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
  1939. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1940. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1941. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1942. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1943.  
  1944. linkify(mcRegex);
  1945.  
  1946. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1947. var mcCount = mcSnapshot.snapshotLength;
  1948.  
  1949. cMirrorcreatorComTotal = mcCount;
  1950.  
  1951. if (mcCount > 0)
  1952. {
  1953. mcShortHostNames = mcShortHostNames.split(' ');
  1954. mcIdx = mcCount;
  1955. while(mcIdx--)
  1956. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1957. }
  1958.  
  1959. }
  1960. //MIRRORCREATOR.CZ END
  1961.  
  1962.  
  1963. //mirrorcreator.com checking works like this:
  1964. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1965. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1966. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1967. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1968. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1969. function processMirrorcreatorLink(mcLink)
  1970. {
  1971. var mcURL = mcLink.href.match(mcRegex);
  1972. if(!mcURL || !mcURL[1]) return;
  1973. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1974. GM_xmlhttpRequest({
  1975. method: 'GET',
  1976. url: mcURL,
  1977. headers: {
  1978. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1979. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1980. 'Referer': ""
  1981. },
  1982. onload: function(mcLinkResult) {
  1983. var mcLinkRes = mcLinkResult.responseText;
  1984.  
  1985. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  1986. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  1987.  
  1988. var mcRedirectors;
  1989. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  1990. var m = mcLinkRes.match(mcLinkBlockRegex);
  1991. if (m)
  1992. mcHostsFound = m.length;
  1993. else
  1994. { //no files inside container
  1995. processMirrorcreatorFoundHosts(mcLink, []);
  1996. return;
  1997. }
  1998.  
  1999. var mcRedirectorURL, idx, timedOut = false;
  2000.  
  2001. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2002. GM_xmlhttpRequest({
  2003. method: 'GET',
  2004. url: mcRedirectorURL,
  2005. headers: {
  2006. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2007. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2008. 'Referer': ""
  2009. },
  2010. onload: function(mcHostResult) {
  2011. if (timedOut) return; //too late, the list is already displayed
  2012. var mcHostRes = mcHostResult.responseText;
  2013. var mcHost = mcHostRes.match(mcHostRegex);
  2014. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2015. if (mcHost && idx!=-1)
  2016. {
  2017. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2018. mcHostsRetrieved++;
  2019. mcHostsToProcess++;
  2020. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2021. {
  2022. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2023. mcHostsToProcess = 0;
  2024. }
  2025. }
  2026. } //end of onload: function
  2027. }); //end of GM_xmlhttpRequest call
  2028. };//end of var gmxhrFunc
  2029.  
  2030. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2031. { //load individual redirector pages
  2032. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2033. mcHostURLs.push(mcRedirectorURL);
  2034. mcRedirectorIDs.push(mcRedirectors[2]);
  2035. gmxhrFunc(mcRedirectorURL);
  2036. } //end of while block
  2037.  
  2038. setTimeout(function(){ //in case the last page fails to load and call the function
  2039. timedOut = true;
  2040. if (mcHostsToProcess)
  2041. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2042. }, 60000);
  2043.  
  2044. } //end of onload function
  2045. }); //end of GM_xmlhttpRequest call
  2046. } //end of function processMirrorcreatorLink
  2047.  
  2048.  
  2049. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2050. {
  2051. var aEl, liEl, docFrag;
  2052. var hostName, mcRedirectorID, trimFilename = false;
  2053. var i = mcHostURLs.length;
  2054. if (i == 0)
  2055. {
  2056. trimFilename = true;
  2057. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2058. }
  2059. else
  2060. {
  2061. if (Display_full_links_in_link_containers)
  2062. { //full view
  2063. var wrapperEl = document.createElement('span');
  2064. wrapperEl.style.display = 'block';
  2065. var ulistEl = document.createElement('ul');
  2066. ulistEl.className = 'container_list';
  2067. while (i--)
  2068. {
  2069. liEl = document.createElement('li');
  2070. aEl = document.createElement('a');
  2071. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2072. aEl.href = mcHostURLs[i];
  2073. aEl.className = 'container_link';
  2074. liEl.appendChild(aEl);
  2075. ulistEl.appendChild(liEl);
  2076. }
  2077. wrapperEl.appendChild(ulistEl);
  2078. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2079. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2080. }
  2081. else
  2082. { //compact view
  2083. trimFilename = true;
  2084. docFrag = document.createDocumentFragment();
  2085. docFrag.appendChild(document.createTextNode(' |'));
  2086. while (i--)
  2087. {
  2088. mcRedirectorID = mcRedirectorIDs[i];
  2089. hostName = mcHostURLs[i];
  2090. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2091. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2092. else
  2093. hostName = mcShortHostNames[mcRedirectorID];
  2094. aEl = document.createElement('a');
  2095. aEl.href = mcHostURLs[i];
  2096. aEl.className = 'container_link';
  2097. aEl.appendChild(document.createTextNode(hostName));
  2098. docFrag.appendChild(aEl);
  2099. docFrag.appendChild(document.createTextNode('|'));
  2100. }
  2101. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2102. } //end of else block
  2103. } //end of else block
  2104. mcLink.className = '';
  2105. if (trimFilename)
  2106. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2107. cMirrorcreatorComProcessed++;
  2108. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2109. {
  2110. if (Do_not_linkify_DL_links)
  2111. delinkifySnapshot(mcSnapshot);
  2112. startBulkCheck('container_link');
  2113. start('container_link');
  2114. }
  2115. } //end of function processMirrorcreatorFoundHosts
  2116.  
  2117. containers_processed = true;
  2118.  
  2119.  
  2120. function initRedirectors()
  2121. {
  2122. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2123. {
  2124. var redirector = new Object();
  2125. redirector.linkRegex = linkRegex;
  2126. redirector.xpath = xpathEx; //xpath expression
  2127. redirector.cProcessed = 0; //processed links count
  2128. redirector.cTotal = 0; //total links count
  2129. redirector.type = redirType; //redirectorTypes enum
  2130. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2131. redirectors.push(redirector);
  2132. }
  2133. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2134. {
  2135. addRedirector(
  2136. 'safelinking\\.net\/d\/\\w+',
  2137. "//a[contains(@href,'safelinking.net/d/')]",
  2138. redirectorTypes.HTTP_302,
  2139. null);
  2140. }
  2141. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2142. {
  2143. addRedirector(
  2144. 'linksafe\\.me\/d\/\\w+',
  2145. "//a[contains(@href,'linksafe.me/d/')]",
  2146. redirectorTypes.HTTP_302,
  2147. null);
  2148. }
  2149. if (GM_getValue("Check_linkto_dot_net_links", false))
  2150. {
  2151. addRedirector(
  2152. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2153. "//a[contains(@href,'linkto.net/?')]",
  2154. redirectorTypes.INNER_LINK,
  2155. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2156. }
  2157. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2158. {
  2159. addRedirector(
  2160. '(?:the)?loo\\.katt\\.it\/\\w+',
  2161. "//a[contains(@href,'loo.katt.it/')]",
  2162. redirectorTypes.THELOO_KATT_IT,
  2163. /Proceed to URL - <a href="(.+?)">/);
  2164. }
  2165. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2166. {
  2167. addRedirector(
  2168. 'madlink\\.sk\/\\w+',
  2169. "//a[contains(@href,'madlink.sk/')]",
  2170. redirectorTypes.INNER_LINK,
  2171. /name="url" value="(.+?)\s*"\/>/);
  2172. }
  2173. if (GM_getValue("Check_adf_dot_ly_links", false))
  2174. {
  2175. addRedirector(
  2176. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2177. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2178. redirectorTypes.ADF_LY,
  2179. null);
  2180. }
  2181. if (GM_getValue("Check_redi_dot_re_links", false))
  2182. {
  2183. addRedirector(
  2184. 'redi\\.re\/\\w+',
  2185. "//a[contains(@href,'redi.re/')]",
  2186. redirectorTypes.HTTP_302,
  2187. null);
  2188. }
  2189. if (GM_getValue("Check_bit_dot_ly_links", false))
  2190. {
  2191. addRedirector(
  2192. 'bit\\.ly\/\\w+',
  2193. "//a[contains(@href,'bit.ly/')]",
  2194. redirectorTypes.HTTP_302,
  2195. null);
  2196. }
  2197. }
  2198.  
  2199. }
  2200.  
  2201. var bulkHosts = new Array();
  2202. var bulkHostNames = new Array();
  2203. function initBulkCheck()
  2204. {
  2205. /////////////////////////////
  2206. // Inits filehost object
  2207. /////////////////////////////
  2208. // params :
  2209. // hostName -- [string] host name (multiple domains separated with coma)
  2210. // linkRegex -- [string] link regex
  2211. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2212. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2213. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2214. // corrReplWhat -- [regex] link correction regex (replace)
  2215. // corrReplWith -- [string]
  2216. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2217. //
  2218. // apiUrl -- [string] web linkchecker or API URL
  2219. // postData -- [string] POSTDATA of xmlhttprequest
  2220. // resLinkRegex -- [regex]
  2221. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2222. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2223. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2224. // func -- [function] bulkcheck handler, genBulkCheck if null
  2225. //
  2226. //////////////////////////////
  2227. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2228. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2229. {
  2230. var fileHost = new Object();
  2231.  
  2232. fileHost.linkRegex = linkRegex;
  2233. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2234. fileHost.xpath = xpath;
  2235. fileHost.cFound = 0; //found links counter
  2236. fileHost.links = new Array(); //found links
  2237. if (blockSize == null)
  2238. {
  2239. fileHost.blockSize = 50;
  2240. }
  2241. else
  2242. {
  2243. fileHost.blockSize = blockSize;
  2244. }
  2245. fileHost.corrMatch = corrMatch;
  2246. fileHost.corrReplWhat = corrReplWhat;
  2247. fileHost.corrReplWith = corrReplWith;
  2248. if (splitSeparator == null)
  2249. {
  2250. fileHost.splitSeparator = "\r\n";
  2251. }
  2252. else
  2253. {
  2254. fileHost.splitSeparator = splitSeparator;
  2255. }
  2256. fileHost.apiUrl = apiUrl;
  2257. fileHost.postData = postData;
  2258. fileHost.resLinkRegex = resLinkRegex;
  2259. fileHost.resLiveRegex = resLiveRegex;
  2260. fileHost.resDeadRegex = resDeadRegex;
  2261. fileHost.resUnavaRegex = resUnavaRegex;
  2262. if (func == null)
  2263. {
  2264. fileHost.func = genBulkCheck;
  2265. }
  2266. else
  2267. {
  2268. fileHost.func = func;
  2269. }
  2270. bulkHosts.push(fileHost);
  2271. var names = hostName.split(',');
  2272. var i = names.length;
  2273. while(i--)
  2274. {
  2275. bulkHostNames[names[i]] = fileHost;
  2276. }
  2277. }
  2278. var genType1 = [
  2279. "rodfile.com", "downloadani.me", //"migahost.com",
  2280. "rarefile.net",
  2281. "filesabc.com",
  2282. "180upload.com", "verzend.be",
  2283. // "movreel.com",
  2284. "4up.me",
  2285. "file4safe.com", "filemac.com", "4upfiles.com",
  2286. "idup.in", "novafile.com", "longfiles.com",
  2287. "bitupload.com",
  2288. "uploadbaz.com"
  2289. ];
  2290. var genType2 = [ "queenshare.com",
  2291. "hulkload.com",
  2292. "amonshare.com", //"edoc.com",
  2293. ];
  2294. //xfilesharing 1.0
  2295. function addGenericType1()
  2296. {
  2297. var i = genType1.length;
  2298. while(i--)
  2299. {
  2300. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2301. {
  2302. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2303. addHost(
  2304. genType1[i].match(/[\w-]+/)[0], //hostname
  2305. regexSafe + "\/\\w+", //linkregex
  2306. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2307. null, //blocksize
  2308. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2309. null, //corrreplwhat
  2310. null, //corrreplwith
  2311. null, //separator
  2312. "http://" + genType1[i] + "/checkfiles.html", //api url
  2313. "op=checkfiles&process=Check+URLs&list=", //postdata
  2314. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2315. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2316. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2317. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2318. null //function delegate
  2319. )
  2320. }
  2321. }
  2322. }
  2323. //xfilesharing 2.0
  2324. function addGenericType2()
  2325. {
  2326. var i = genType2.length;
  2327. while(i--)
  2328. {
  2329. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2330. {
  2331. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2332. addHost(
  2333. genType2[i].match(/[\w-]+/)[0], //hostname
  2334. regexSafe + "\/\\w+", //linkregex
  2335. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2336. null, //blocksize
  2337. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2338. null, //corrreplwhat
  2339. null, //corrreplwith
  2340. null, //separator
  2341. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2342. "op=checkfiles&process=Check+URLs&list=", //postdata
  2343. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2344. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2345. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2346. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2347. null //function delegate
  2348. )
  2349. }
  2350. }
  2351. }
  2352. // TEMPLATE
  2353. // if (GM_getValue("Check__dot_com_links", false))
  2354. // {
  2355. // addHost(
  2356. // "", //hostname
  2357. // "", //linkregex
  2358. // "//a[contains(@href,'.com/')]", //xpath
  2359. // null, //blocksize
  2360. // null, //corrmatch
  2361. // null, //corrreplwhat
  2362. // null, //corrreplwith
  2363. // null, //separator
  2364. // "", //api url
  2365. // "", //postdata
  2366. // /()/, //linkregex
  2367. // //liveregex
  2368. // //deadregex
  2369. // //unavaregex
  2370. // null //function delegate
  2371. // )
  2372. // }
  2373. addGenericType1();
  2374. addGenericType2();
  2375.  
  2376. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2377. {
  2378. addHost(
  2379. "myvdrive,fileserving", //hostname
  2380. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2381. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2382. null, //blocksize
  2383. null, //corrmatch
  2384. null, //corrreplwhat
  2385. null, //corrreplwith
  2386. null, //separator
  2387. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2388. "links=", //postdata
  2389. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2390. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2391. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2392. null, //unavaregex
  2393. null //function delegate
  2394. )
  2395. }
  2396. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2397. {
  2398. addHost(
  2399. "hackerbox", //hostname
  2400. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2401. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2402. null, //blocksize
  2403. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2404. null, //corrreplwhat
  2405. null, //corrreplwith
  2406. null, //separator
  2407. "http://host.hackerbox.org/checkfiles.html", //api url
  2408. "op=checkfiles&process=Check+URLs&list=", //postdata
  2409. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2410. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2411. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2412. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2413. null //function delegate
  2414. )
  2415. }
  2416. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2417. {
  2418. addHost(
  2419. "hellshare", //hostname
  2420. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2421. "//a[contains(@href,'hellshare.')]", //xpath
  2422. 48, //blocksize
  2423. null, //corrmatch
  2424. null, //corrreplwhat
  2425. null, //corrreplwith
  2426. null, //separator
  2427. null, //api url
  2428. null, //postdata
  2429. null, //linkregex
  2430. null, //liveregex
  2431. null, //deadregex
  2432. null, //unavaregex
  2433. hellshareBulkCheck //function delegate
  2434. )
  2435. }
  2436. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2437. {
  2438. addHost(
  2439. "ncrypt", //hostname
  2440. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2441. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2442. 100000, //blocksize
  2443. null, //corrmatch
  2444. null, //corrreplwhat
  2445. null, //corrreplwith
  2446. null, //separator
  2447. null,
  2448. null,
  2449. null,
  2450. null,
  2451. null,
  2452. null,
  2453. ncryptBulkCheck //function delegate
  2454. )
  2455. }
  2456. if (GM_getValue("Check_geupload_dot_com_links", false))
  2457. {
  2458. addHost(
  2459. "geupload,lenfile", //hostname
  2460. "(?:geupload\\.com|lenfile\\.com)\/\\w+", //linkregex
  2461. "//a[contains(@href,'geupload.com/') or contains(@href,'lenfile.com/')]", //xpath
  2462. null, //blocksize
  2463. null, //corrmatch
  2464. null, //corrreplwhat
  2465. null, //corrreplwith
  2466. "\n", //separator
  2467. 'http://geupload.com/?op=checkfiles',
  2468. 'op=checkfiles&process=Check+URLs&list=',
  2469. />http:\/\/(?:geupload|lenfile)\.com\/(\w+)/,
  2470. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:green/g,
  2471. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:red/g,
  2472. null,
  2473. null
  2474. )
  2475. }
  2476. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2477. {
  2478. addHost(
  2479. "uploadrocket", //hostname
  2480. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2481. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2482. null, //blocksize
  2483. null, //corrmatch
  2484. null, //corrreplwhat
  2485. null, //corrreplwith
  2486. "\n", //separator
  2487. 'http://uploadrocket.net/?op=checkfiles',
  2488. 'op=checkfiles&process=Check+URLs&list=',
  2489. /uploadrocket.net\/(\w+)/,
  2490. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2491. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2492. null,
  2493. null //function delegate
  2494. )
  2495. }
  2496. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2497. {
  2498. addHost(
  2499. "k2s,keep2s,keep2share",
  2500. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2501. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2502. 100000, //blocksize
  2503. null, //corrmatch
  2504. null, //corrreplwhat
  2505. null, //corrreplwith
  2506. null, //separator
  2507. null,
  2508. null,
  2509. null,
  2510. null,
  2511. null,
  2512. null,
  2513. k2sBulkCheck //function delegate
  2514. )
  2515. }
  2516. if (GM_getValue("Check_fboom_dot_me_links", false))
  2517. {
  2518. addHost(
  2519. "fboom,fileboom",
  2520. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2521. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2522. 100000, //blocksize
  2523. null, //corrmatch
  2524. null, //corrreplwhat
  2525. null, //corrreplwith
  2526. null, //separator
  2527. null,
  2528. null,
  2529. null,
  2530. null,
  2531. null,
  2532. null,
  2533. fboomBulkCheck //function delegate
  2534. )
  2535. }
  2536. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2537. {
  2538. addHost(
  2539. "1fichier,dl4free",
  2540. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2541. "//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/?')]",
  2542. 100000, //blocksize
  2543. null, //corrmatch
  2544. null, //corrreplwhat
  2545. null, //corrreplwith
  2546. null, //separator
  2547. null,
  2548. null,
  2549. null,
  2550. null,
  2551. null,
  2552. null,
  2553. dl4free_1fichier_BulkCheck //function delegate
  2554. )
  2555. }
  2556. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2557. {
  2558. addHost(
  2559. "depositfiles,dfiles",
  2560. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2561. "//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/')]",
  2562. 100000, //blocksize
  2563. null, //corrmatch
  2564. null, //corrreplwhat
  2565. null, //corrreplwith
  2566. null, //separator
  2567. null,
  2568. null,
  2569. null,
  2570. null,
  2571. null,
  2572. null,
  2573. depositfilesBulkCheck //function delegate
  2574. )
  2575. }
  2576. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2577. {
  2578. addHost(
  2579. "filesflash", //hostname
  2580. "filesflash\\.com\/\\w+", //linkregex
  2581. "//a[contains(@href,'filesflash.com')]", //xpath
  2582. null, //blocksize
  2583. null, //corrmatch
  2584. /http:\/\//, //corrreplwhat
  2585. '', //corrreplwith
  2586. null, //separator
  2587. 'http://filesflash.com/checklinks.php',
  2588. 'submit=Go&links=',
  2589. /filesflash\.com\/(\w+)/,
  2590. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2591. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2592. null,
  2593. null //function delegate
  2594. )
  2595. }
  2596. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2597. {
  2598. addHost(
  2599. "jumbofiles", //hostname
  2600. "jumbofiles\\.com\/\\w+", //linkregex
  2601. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2602. null, //blocksize
  2603. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2604. null, //corrreplwhat
  2605. null, //corrreplwith
  2606. null, //separator
  2607. "http://jumbofiles.com/checkfiles.html", //api url
  2608. "op=checkfiles&process=Check+URLs&list=", //postdata
  2609. /(jumbofiles\.com\/\w+)/, //linkregex
  2610. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2611. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2612. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2613. null //function delegate
  2614. )
  2615. }
  2616. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2617. {
  2618. addHost(
  2619. "edisk", //hostname
  2620. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2621. "//a[contains(@href,'edisk.')]", //xpath
  2622. null, //blocksize
  2623. null, //corrmatch
  2624. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2625. 'edisk.cz/stahni', //corrreplwith
  2626. null, //separator
  2627. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2628. 'submitBtn=Zkontrolovat&checkFiles=',
  2629. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2630. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2631. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2632. null,
  2633. null //function delegate
  2634. )
  2635. }
  2636. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2637. {
  2638. GM_xmlhttpRequest( //age check skip
  2639. {
  2640. method: 'POST',
  2641. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2642. headers: {
  2643. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2644. 'Content-type': 'application/x-www-form-urlencoded',
  2645. 'Referer': ""
  2646. }
  2647. });
  2648. addHost(
  2649. "bezvadata", //hostname
  2650. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2651. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2652. null, //blocksize
  2653. null, //corrmatch
  2654. null, //corrreplwhat
  2655. null, //corrreplwith
  2656. null, //separator
  2657. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2658. 'zkontrolovat=Zkontrolovat&odkazy=',
  2659. /(bezvadata\.cz\/stahnout\/\d+)/,
  2660. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2661. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2662. null,
  2663. null //function delegate
  2664. )
  2665. }
  2666. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2667. {
  2668. addHost(
  2669. "linkcrypt", //hostname
  2670. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2671. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2672. 100000, //blocksize
  2673. null, //corrmatch
  2674. null, //corrreplwhat
  2675. null, //corrreplwith
  2676. null, //separator
  2677. null,
  2678. null,
  2679. null,
  2680. null,
  2681. null,
  2682. null,
  2683. linkcryptBulkCheck //function delegate
  2684. )
  2685. }
  2686. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2687. {
  2688. addHost(
  2689. "linksave", //hostname
  2690. "linksave\\.in\/\\w+", //linkregex
  2691. "//a[contains(@href,'linksave.in')]", //xpath
  2692. 100000, //blocksize
  2693. null, //corrmatch
  2694. null, //corrreplwhat
  2695. null, //corrreplwith
  2696. null, //separator
  2697. null,
  2698. null,
  2699. null,
  2700. null,
  2701. null,
  2702. null,
  2703. linksaveBulkCheck //function delegate
  2704. )
  2705. } */
  2706. if (GM_getValue("Check_videobb_dot_com_links", false))
  2707. {
  2708. addHost(
  2709. "videobb", //hostname
  2710. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2711. "//a[contains(@href,'videobb.com')]", //xpath
  2712. null, //blocksize
  2713. null, //corrmatch
  2714. /watch_video\.php\?v=/, //corrreplwhat
  2715. 'video/', //corrreplwith
  2716. null, //separator
  2717. 'http://www.videobb.com/link_checker.php',
  2718. 'links=',
  2719. /videobb\.com\/video\/(\w+)/,
  2720. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2721. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2722. null,
  2723. null //function delegate
  2724. )
  2725. }
  2726. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2727. {
  2728. addHost(
  2729. "cramit,cramitin", //hostname
  2730. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2731. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2732. null, //blocksize
  2733. null, //corrmatch
  2734. null, //corrreplwhat
  2735. null, //corrreplwith
  2736. null, //separator
  2737. 'http://cramit.in/checkfiles.html',
  2738. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2739. /(cramit(?:\.in|in\.net)\/\w+)/,
  2740. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2741. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2742. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2743. null //function delegate
  2744. )
  2745. }
  2746. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2747. {
  2748. addHost(
  2749. "turbobit", //hostname
  2750. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2751. "//a[contains(@href,'turbobit.')]", //xpath
  2752. null, //blocksize
  2753. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2754. null, //corrreplwhat
  2755. null, //corrreplwith
  2756. "\n", //separator
  2757. 'http://turbobit.net/linkchecker/csv',
  2758. 'links_to_check=',
  2759. /(turbobit\.(?:net|pl)\/\w+)/,
  2760. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2761. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2762. null,
  2763. null //function delegate
  2764. )
  2765. } */
  2766. if (GM_getValue("Check_filerio_dot_com_links", false))
  2767. {
  2768. addHost(
  2769. "filekeen,filerio", //hostname
  2770. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2771. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2772. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2773. null, //blocksize
  2774. null, //corrmatch
  2775. null, //corrreplwhat
  2776. null, //corrreplwith
  2777. null, //separator
  2778. 'http://filerio.in/checkfiles.html',
  2779. 'op=checkfiles&process=Check+URLs&list=',
  2780. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2781. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2782. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2783. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2784. null //function delegate
  2785. )
  2786. }
  2787. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2788. {
  2789. addHost(
  2790. "share-online,egoshare", //hostname
  2791. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2792. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2793. null, //blocksize
  2794. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2795. null, //corrreplwhat
  2796. null, //corrreplwith
  2797. "\n", //separator
  2798. 'http://api.share-online.biz/linkcheck.php',
  2799. 'links=',
  2800. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2801. /\w+;OK/g,
  2802. /\w+;(?:NOTFOUND|DELETED)/g,
  2803. null,
  2804. null //function delegate
  2805. )
  2806. }
  2807. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2808. {
  2809. addHost(
  2810. "quickshare", //hostname
  2811. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2812. "//a[contains(@href,'quickshare.cz')]", //xpath
  2813. null, //blocksize
  2814. null, //corrmatch
  2815. null, //corrreplwhat
  2816. null, //corrreplwith
  2817. null, //separator
  2818. 'http://www.quickshare.cz/nastroje/link-checker',
  2819. 'linky=',
  2820. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2821. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2822. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2823. null,
  2824. null //function delegate
  2825. )
  2826. } */
  2827. if (GM_getValue("Check_oboom_dot_com_links", false))
  2828. {
  2829. addHost(
  2830. "oboom", //hostname
  2831. "oboom\\.com\/#?\\w{8}", //linkregex
  2832. "//a[contains(@href,'oboom.com/')]", //xpath
  2833. null, //blocksize
  2834. /oboom\.com\/#?(\w{8})/, //corrmatch
  2835. null, //corrreplwhat
  2836. null, //corrreplwith
  2837. null, //separator
  2838. null,
  2839. null,
  2840. null,
  2841. null, //liveregex
  2842. null, //deadregex
  2843. null,
  2844. oboomBulk //function delegate
  2845. )
  2846. }
  2847. if (GM_getValue("Check_mega_dot_nz_links", false))
  2848. {
  2849. addHost(
  2850. "mega",
  2851. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2852. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2853. 100000, //blocksize
  2854. null, //corrmatch
  2855. null, //corrreplwhat
  2856. null, //corrreplwith
  2857. null, //separator
  2858. null,
  2859. null,
  2860. null,
  2861. null,
  2862. null,
  2863. null,
  2864. megaBulkCheck //function delegate
  2865. )
  2866. }
  2867.  
  2868. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2869.  
  2870. if (GM_getValue("Check_extabit_dot_com_links", false))
  2871. {
  2872. addHost(
  2873. "extabit", //hostname
  2874. "extabit\\.com\/file\/\\w+", //linkregex
  2875. "//a[contains(@href,'extabit.com')]", //xpath
  2876. null, //blocksize
  2877. null, //corrmatch
  2878. null, //corrreplwhat
  2879. null, //corrreplwith
  2880. "\n", //separator
  2881. "http://extabit.com/linkchecker.jsp", //api url
  2882. "url=", //postdata
  2883. /extabit\.com\/(file\/\w+)/, //linkregex
  2884. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2885. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2886. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2887. extabitBulkCheck //function delegate
  2888. )
  2889. }
  2890. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2891. {
  2892. addHost(
  2893. "junocloud", //hostname
  2894. "junocloud\\.me\/\\w+", //linkregex
  2895. "//a[contains(@href,'junocloud.me')]", //xpath
  2896. null, //blocksize
  2897. null, //corrmatch
  2898. null, //corrreplwhat
  2899. null, //corrreplwith
  2900. "\n", //separator
  2901. "http://junocloud.me/checkfiles.html", //api url
  2902. "op=checkfiles&process=Check+URLs&list=", //postdata
  2903. /(junocloud\.me\/\w+)/, //linkregex
  2904. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2905. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2906. null, //unavaregex
  2907. null //function delegate
  2908. )
  2909. }
  2910. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2911. {
  2912. addHost(
  2913. "webshare", //hostname
  2914. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2915. "//a[contains(@href,'webshare.cz')]", //xpath
  2916. 100000, //blocksize
  2917. null, //corrmatch
  2918. null, //corrreplwhat
  2919. null, //corrreplwith
  2920. null, //separator
  2921. null, //api url
  2922. null, //postdata
  2923. null, //linkregex
  2924. null, //liveregex
  2925. null, //deadregex
  2926. null, //unavaregex
  2927. webshareBulkCheck //function delegate
  2928. )
  2929. }
  2930. /////////////////////////////
  2931. // Common function delegate to send links to get checked by host linkchecker
  2932. /////////////////////////////
  2933. // If you define a new delegate, you may use following properties
  2934. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2935. // this.apiUrl [string] API or web linkchecker URL
  2936. // this.postData [string] POSTDATA for POST request
  2937. // this.resLiveRegex [regex] matches live substrings in the request response
  2938. // this.resDeadRegex [regex] matches dead substrings in the request response
  2939. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2940. //
  2941. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2942. //
  2943. // See the code below for standard bulkcheck handling reference.
  2944. //////////////////////////////
  2945. function genBulkCheck()
  2946. {
  2947. var blockIdx = this.links.length;
  2948. while (blockIdx--)
  2949. {
  2950. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2951. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2952. }
  2953. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2954. {
  2955. GM_xmlhttpRequest(
  2956. {
  2957. method: 'POST',
  2958. url: api,
  2959. headers: {
  2960. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2961. 'Content-type': 'application/x-www-form-urlencoded',
  2962. 'Referer': api,
  2963. 'X-Requested-With': 'XMLHttpRequest'
  2964. },
  2965. data: postData + encodeURIComponent(links),
  2966. onload: function (result)
  2967. {
  2968. var res = result.responseText;
  2969. // GM_log(res);
  2970. var i;
  2971.  
  2972. var livelinks = res.match(liveRegex);
  2973. var deadlinks = res.match(deadRegex);
  2974. // GM_log(livelinks);
  2975. // GM_log(deadlinks);
  2976. if (livelinks != null)
  2977. {
  2978. i = livelinks.length - 1;
  2979. do
  2980. {
  2981. livelinks[i] = livelinks[i].match(linkRegex)[1];
  2982. }
  2983. while (i--);
  2984. DisplayTheCheckedLinks(livelinks, 'alive_link');
  2985. }
  2986.  
  2987. if (deadlinks != null)
  2988. {
  2989. i = deadlinks.length - 1;
  2990. do
  2991. {
  2992. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  2993. }
  2994. while (i--);
  2995. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  2996. }
  2997.  
  2998. if (unavaRegex != null)
  2999. {
  3000. var unavalinks = res.match(unavaRegex);
  3001. if (unavalinks)
  3002. {
  3003. i = unavalinks.length - 1;
  3004. do
  3005. {
  3006. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3007. }
  3008. while (i--);
  3009. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3010. }
  3011. }
  3012. }
  3013. });
  3014. }
  3015. }
  3016. //specialized bulkchecking handlers follow
  3017. function webshareBulkCheck()
  3018. {
  3019. var arr = this.links[0].split("\r\n");
  3020. var i = arr.length;
  3021. while(i--)
  3022. {
  3023. postRequest(arr[i]);
  3024. }
  3025. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3026. function postRequest(wsLink)
  3027. {
  3028. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3029. GM_xmlhttpRequest(
  3030. {
  3031. method: 'POST',
  3032. url: "http://webshare.cz/api/file_info/",
  3033. headers: {
  3034. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3035. 'Content-type': 'application/x-www-form-urlencoded',
  3036. 'Referer': "",
  3037. },
  3038. data: "wst=&ident=" + id,
  3039. onload: function (result)
  3040. {
  3041. var res = result.responseText;
  3042. if (res.match(/<name>.+?<\/name>/))
  3043. {
  3044. DisplayTheCheckedLinks([id], 'alive_link');
  3045. }
  3046. else
  3047. {
  3048. DisplayTheCheckedLinks([id], 'adead_link');
  3049. }
  3050. }
  3051. });
  3052. }
  3053. }
  3054. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3055. //extabit also doesn't like requests in fast succession, so some delays are added.
  3056. function extabitBulkCheck()
  3057. {
  3058. var timeoutDelay = 0;
  3059. var blockIdx = this.links.length;
  3060. while (blockIdx--)
  3061. {
  3062. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3063. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3064. }
  3065. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3066. {
  3067. GM_xmlhttpRequest(
  3068. {
  3069. method: 'POST',
  3070. url: api,
  3071. headers: {
  3072. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3073. 'Content-type': 'application/x-www-form-urlencoded',
  3074. 'Referer': api,
  3075. 'X-Requested-With': 'XMLHttpRequest'
  3076. },
  3077. data: postData + encodeURIComponent(links),
  3078. onload: function (result)
  3079. {
  3080. var res = result.responseText;
  3081. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3082. {
  3083. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3084. {
  3085. //GM_log(tryID + ': ' + link);
  3086. GM_xmlhttpRequest(
  3087. {
  3088. method: 'GET',
  3089. url: link,
  3090. 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': ""},
  3091. onload: function(result2)
  3092. {
  3093. var res2 = result2.responseText;
  3094. var res2Status = result.status;
  3095. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3096. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3097. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3098. {
  3099. if (tryID < 7)
  3100. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3101. else
  3102. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3103. }
  3104. }
  3105. });
  3106. }
  3107. //split the hrefs and check them one by one
  3108. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3109. links = links.split('\n');
  3110. var i = links.length;
  3111. while (i--)
  3112. {
  3113. if (links[i])
  3114. {
  3115. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3116. timeoutDelay += 500;
  3117. }
  3118. }
  3119. return;
  3120. }
  3121. var i;
  3122.  
  3123. var livelinks = res.match(liveRegex);
  3124. var deadlinks = res.match(deadRegex);
  3125. if (livelinks != null)
  3126. {
  3127. i = livelinks.length - 1;
  3128. do
  3129. {
  3130. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3131. }
  3132. while (i--);
  3133. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3134. }
  3135.  
  3136. if (deadlinks != null)
  3137. {
  3138. i = deadlinks.length - 1;
  3139. do
  3140. {
  3141. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3142. }
  3143. while (i--);
  3144. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3145. }
  3146.  
  3147. if (unavaRegex != null)
  3148. {
  3149. var unavalinks = res.match(unavaRegex);
  3150. if (unavalinks)
  3151. {
  3152. i = unavalinks.length - 1;
  3153. do
  3154. {
  3155. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3156. }
  3157. while (i--);
  3158. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3159. }
  3160. }
  3161. }
  3162. });
  3163. }
  3164. }
  3165. function k2sBulkCheck()
  3166. {
  3167. var arr = this.links[0].split("\r\n");
  3168. var i = arr.length;
  3169. c=0;
  3170. arrIDs=[];
  3171. while(i--)
  3172. {
  3173. id = arr[i].match(/\/file\/(\w+)/)[1];
  3174. if (id=='info')
  3175. {
  3176. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3177. continue;
  3178. }
  3179. k2salreadyexist=false;
  3180. for (j=0;j<arrIDs.length;j++)
  3181. {
  3182. if (arrIDs[j]==id)
  3183. {
  3184. k2salreadyexist=true;
  3185. break;
  3186. }
  3187. }
  3188. if (k2salreadyexist) continue;
  3189. arrIDs.push(id);
  3190. c++;
  3191. setTimeout(k2sRequest,c*500,arr[i]);
  3192. }
  3193. }
  3194. function k2sRequest(K2SLink)
  3195. {
  3196. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3197. GM_xmlhttpRequest(
  3198. {
  3199. method: 'GET',
  3200. url: K2SLink,
  3201. headers: {
  3202. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3203. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3204. 'Referer': ''
  3205. },
  3206. onload: function (result)
  3207. {
  3208. var res = result.responseText;
  3209. K2Dom='k2s.cc';
  3210. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3211. K2SLink2='http://'+K2Dom+'/file/'+id;
  3212.  
  3213. if (res.match('div class="well2"|error 404|The system is unable to find the requested action|http://keep2share.cc/file/check.html|To avoid damaged files|This file is no longer available'))
  3214. {
  3215. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3216. return;
  3217. }
  3218. if (res.match('method="post">Displaying'))
  3219. {
  3220. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3221. return;
  3222. }
  3223. if (res.match('Premium only'))
  3224. {
  3225. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3226. return;
  3227. }
  3228. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3229. {
  3230. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3231. slID=slow_id.exec(res)[1];
  3232. GM_xmlhttpRequest(
  3233. {
  3234. method: 'POST',
  3235. url: K2SLink2,
  3236. headers: {
  3237. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3238. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3239. 'Content-Type': 'application/x-www-form-urlencoded',
  3240. 'Referer': K2SLink
  3241. },
  3242. data: 'slow_id='+slID+'&yt0=',
  3243. onload: function (result)
  3244. {
  3245. var newres = result.responseText;
  3246. newoversizedtest=new RegExp("Free user can't download large files.");
  3247. if (newoversizedtest.test(newres))
  3248. {
  3249. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3250. return;
  3251. }
  3252. else
  3253. {
  3254. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3255. return;
  3256. }
  3257. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3258. return;
  3259. }
  3260. });
  3261. /////////////////////end additional check for oversized links
  3262. return;
  3263. }
  3264. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3265. return;
  3266. },
  3267. onerror: function ()
  3268. {
  3269. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3270. return;
  3271. }
  3272. });
  3273. }
  3274. function fboomBulkCheck()
  3275. {
  3276. var arr = this.links[0].split("\r\n");
  3277. var i = arr.length;
  3278. c=0;
  3279. arrIDs=[];
  3280. while(i--)
  3281. {
  3282. id = arr[i].match(/\/file\/(\w+)/)[1];
  3283. if (id=='info')
  3284. {
  3285. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3286. continue;
  3287. }
  3288. fbalreadyexist=false;
  3289. for (j=0;j<arrIDs.length;j++)
  3290. {
  3291. if (arrIDs[j]==id)
  3292. {
  3293. fbalreadyexist=true;
  3294. break;
  3295. }
  3296. }
  3297. if (fbalreadyexist) continue;
  3298. arrIDs.push(id);
  3299. c++;
  3300. setTimeout(fboomRequest,c*500,arr[i]);
  3301. }
  3302. }
  3303. function fboomRequest(FBoomLink)
  3304. {
  3305. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3306. FBoomLink2='http://fboom.me/file/'+id;
  3307. GM_xmlhttpRequest(
  3308. {
  3309. method: 'GET',
  3310. url: FBoomLink,
  3311. headers: {
  3312. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3313. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3314. 'Referer': ''
  3315. },
  3316. onload: function (result)
  3317. {
  3318. var res = result.responseText;
  3319. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3320. {
  3321. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3322. return;
  3323. }
  3324. if (res.match('method="post">Displaying'))
  3325. {
  3326. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3327. return;
  3328. }
  3329. if (res.match('only for premium members'))
  3330. {
  3331. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3332. return;
  3333. }
  3334. if (res.match('id="download-free" href="#"'))
  3335. {
  3336. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3337. slID=slow_id.exec(res)[1];
  3338. GM_xmlhttpRequest(
  3339. {
  3340. method: 'POST',
  3341. url: FBoomLink2,
  3342. headers: {
  3343. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3344. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3345. 'Content-Type': 'application/x-www-form-urlencoded',
  3346. 'Referer': FBoomLink
  3347. },
  3348. data: 'slow_id='+slID,
  3349. onload: function (result)
  3350. {
  3351. var newres = result.responseText;
  3352. newoversizedtest=new RegExp("Downloading is not possible");
  3353. if (newoversizedtest.test(newres))
  3354. {
  3355. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3356. return;
  3357. }
  3358. else
  3359. {
  3360. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3361. return;
  3362. }
  3363. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3364. return;
  3365. }
  3366. });
  3367. /////////////////////end additional check for oversized links
  3368. return;
  3369. }
  3370. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3371. return;
  3372. },
  3373. onerror: function ()
  3374. {
  3375. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3376. return;
  3377. }
  3378. });
  3379. }
  3380. function dl4free_1fichier_BulkCheck()
  3381. {
  3382. var arr = this.links[0].split("\r\n");
  3383. var i = arr.length;
  3384. while(i--)
  3385. {
  3386. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3387. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3388. gethead_dl4free_1fichier(arr[i]);
  3389. }
  3390. }
  3391. function gethead_dl4free_1fichier(link)
  3392. {
  3393. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3394. GM_xmlhttpRequest(
  3395. {
  3396. method: 'HEAD',
  3397. url: link,
  3398. headers: {
  3399. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3400. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3401. 'Referer': ''
  3402. },
  3403. onload: function (result)
  3404. {
  3405. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3406. {
  3407. DisplayTheCheckedLinks([id], 'alive_link');
  3408. return;
  3409. }
  3410. else
  3411. {
  3412. getlink_dl4free_1fichier(link);
  3413. }
  3414. return;
  3415. },
  3416. onerror: function ()
  3417. {
  3418. DisplayTheCheckedLinks([id], 'unava_link');
  3419. }
  3420. });
  3421. }
  3422. function getlink_dl4free_1fichier(link)
  3423. {
  3424. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3425. GM_xmlhttpRequest(
  3426. {
  3427. method: 'GET',
  3428. url: link,
  3429. headers: {
  3430. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3431. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3432. 'Referer': ''
  3433. },
  3434. onload: function (result)
  3435. {
  3436. var res = result.responseText;
  3437. 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>');
  3438. if (deadRegex.test(res))
  3439. {
  3440. DisplayTheCheckedLinks([id], 'adead_link');
  3441. return;
  3442. }
  3443. premiumRegex=new RegExp('only for premium users');
  3444. if (premiumRegex.test(res))
  3445. {
  3446. DisplayTheCheckedLinks([id], 'prem_link');
  3447. return;
  3448. }
  3449. 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="');
  3450. if (liveRegex.test(res))
  3451. {
  3452. DisplayTheCheckedLinks([id], 'alive_link');
  3453. return;
  3454. }
  3455. DisplayTheCheckedLinks([id], 'unava_link');
  3456. },
  3457. onerror: function ()
  3458. {
  3459. DisplayTheCheckedLinks([id], 'unava_link');
  3460. }
  3461. });
  3462. }
  3463. function depositfilesBulkCheck()
  3464. {
  3465. var arr = this.links[0].split("\r\n");
  3466. var i = arr.length;
  3467. var seqno = Math.floor(Math.random()*1000000000);
  3468. while(i--)
  3469. {
  3470. DFpostRequest(arr[i]);
  3471. }
  3472. }
  3473. function DFpostRequest(DFLink)
  3474. {
  3475. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3476. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3477. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3478. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3479. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3480. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3481. GM_xmlhttpRequest(
  3482. {
  3483. method: "GET",
  3484. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3485. headers: {
  3486. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3487. 'Content-Type': 'application/x-www-form-urlencoded',
  3488. 'Referer': ""
  3489. },
  3490. onload: function (result)
  3491. {
  3492. var res = result.responseText;
  3493. if (res.match('(?:no_file|file_ban)'))
  3494. {
  3495. DisplayTheCheckedLinks([id], 'adead_link');
  3496. return;
  3497. }
  3498. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3499. {
  3500. DisplayTheCheckedLinks([id], 'alive_link');
  3501. return;
  3502. }
  3503. DisplayTheCheckedLinks([id], 'unava_link');
  3504. }
  3505. });
  3506. }
  3507.  
  3508. function megaBulkCheck()
  3509. {
  3510. var arr = this.links[0].split("\r\n");
  3511. var i = arr.length;
  3512. var seqno = Math.floor(Math.random()*1000000000);
  3513. while(i--)
  3514. {
  3515. postRequest(arr[i]);
  3516. }
  3517. function postRequest(megaLink)
  3518. {
  3519. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3520. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3521. GM_xmlhttpRequest(
  3522. {
  3523. method: "POST",
  3524. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3525. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3526. headers: {
  3527. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3528. 'Content-Type': 'application/xml',
  3529. 'Referer': "https://mega.co.nz/"
  3530. },
  3531. onload: function (result)
  3532. {
  3533. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3534. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3535. {
  3536.  
  3537. DisplayTheCheckedLinks([id], 'adead_link');
  3538. }
  3539. if (res.at)
  3540. {
  3541. DisplayTheCheckedLinks([id], 'alive_link');
  3542. }
  3543. if (res.e == "ETEMPUNAVAIL")
  3544. {
  3545. DisplayTheCheckedLinks([id], 'unava_link');
  3546. }
  3547. }
  3548. });
  3549. }
  3550.  
  3551. }
  3552.  
  3553. function oboomBulk() {
  3554. var a = [], b = [], c = [];
  3555. var array = this.links;
  3556.  
  3557. GM_xmlhttpRequest({
  3558. method: 'GET',
  3559. url: 'https://www.oboom.com/1/guestsession',
  3560. headers: {
  3561. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3562. 'Content-type': 'application/x-www-form-urlencoded',
  3563. 'Referer': 'https://www.oboom.com',
  3564. 'X-Requested-With': 'XMLHttpRequest'
  3565. },
  3566. onload: function(result) {
  3567. var blockIdx = array.length;
  3568. var token = JSON.parse(result.responseText)[1];
  3569. while (blockIdx--) {
  3570. startCheck(array[blockIdx].split('\r\n'), token);
  3571. }
  3572. }
  3573. });
  3574.  
  3575. function startCheck(links, token) {
  3576. GM_xmlhttpRequest({
  3577. method: 'POST',
  3578. url: "https://api.oboom.com/1/info",
  3579. headers: {
  3580. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3581. 'Content-type': 'application/x-www-form-urlencoded',
  3582. 'Referer': 'https://www.oboom.com/',
  3583. 'X-Requested-With': 'XMLHttpRequest'
  3584. },
  3585. data: "token=" + token + "&items=" + links.join(","),
  3586. onload: function(result) {
  3587. var res = JSON.parse(result.responseText)[1];
  3588. var i = res.length, s;
  3589.  
  3590. while (i--) {
  3591. s = res[i].state;
  3592. if (s == 'online') a.push(res[i].id);
  3593. 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);
  3594. else c.push(res[i].id);
  3595. }
  3596.  
  3597. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3598. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3599. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3600. }
  3601. });
  3602. }
  3603. }
  3604. /* function linksaveBulkCheck()
  3605. {
  3606. var arr = this.links[0].split("\r\n");
  3607. var i = arr.length;
  3608. while(i--)
  3609. {
  3610. postRequest(arr[i]);
  3611. }
  3612. function postRequest(lsLink)
  3613. {
  3614. GM_xmlhttpRequest(
  3615. {
  3616. method: "GET",
  3617. url: lsLink + '-t.jpg',
  3618. headers: {
  3619. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3620. 'Accept': 'text/xml',
  3621. 'Referer': ""
  3622. },
  3623. onload: function (result)
  3624. {
  3625. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3626. if (imgLen == 965) //online
  3627. {
  3628. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3629. }
  3630.  
  3631. if (imgLen == 972) //offline
  3632. {
  3633. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3634. }
  3635. if (imgLen == 978) //unava
  3636. {
  3637. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3638. }
  3639. }
  3640. });
  3641. }
  3642.  
  3643. } */
  3644. function linkcryptBulkCheck()
  3645. {
  3646. var arr = this.links[0].split("\r\n");
  3647. var i = arr.length;
  3648. while(i--)
  3649. {
  3650. postRequest(arr[i]);
  3651. }
  3652. function postRequest(lcLink)
  3653. {
  3654. GM_xmlhttpRequest(
  3655. {
  3656. method: "GET",
  3657. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3658. headers: {
  3659. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3660. 'Accept': 'text/xml',
  3661. 'Referer': ""
  3662. },
  3663. onload: function (result)
  3664. {
  3665. var res = result.responseText;
  3666. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3667. {
  3668. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3669. return;
  3670. }
  3671. if (res.match(/folderStatus>1/)) //Online status
  3672. {
  3673. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3674. }
  3675. else
  3676. {
  3677. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3678. }
  3679. }
  3680. });
  3681. }
  3682. }
  3683.  
  3684. function megashareBulkCheck()
  3685. {
  3686. var arr = this.links[0].split("\r\n");
  3687. var i = arr.length;
  3688. while(i--)
  3689. {
  3690. postRequest(arr[i]);
  3691. }
  3692. function postRequest(msLink)
  3693. {
  3694. GM_xmlhttpRequest(
  3695. {
  3696. method: "GET",
  3697. url: msLink,
  3698. headers: {
  3699. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3700. 'Content-Type': 'application/x-www-form-urlencoded',
  3701. 'Referer': ""
  3702. },
  3703. onload: function (result)
  3704. {
  3705. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3706. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3707. if ((prZVal == null) || (btn3Name == null))
  3708. {
  3709. return;
  3710. }
  3711. GM_xmlhttpRequest(
  3712. {
  3713. method: "POST",
  3714. url: msLink,
  3715. headers: {
  3716. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3717. 'Content-Type': 'application/x-www-form-urlencoded',
  3718. 'Referer': ""
  3719. },
  3720. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3721. onload: function (result)
  3722. {
  3723. var res = result.responseText;
  3724. if (res.match(/<div id="err">/))
  3725. {
  3726. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3727. }
  3728. else
  3729. {
  3730. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3731. }
  3732. }
  3733. });
  3734. }
  3735. });
  3736. }
  3737. }
  3738. function ncryptBulkCheck()
  3739. {
  3740. var arr = this.links[0].split("\r\n");
  3741. var i = arr.length;
  3742. while(i--)
  3743. {
  3744. postRequest(arr[i]);
  3745. }
  3746. function postRequest(ncryptLink)
  3747. {
  3748. GM_xmlhttpRequest(
  3749. {
  3750. method: "POST",
  3751. url: 'http://ncrypt.in/api_status.php',
  3752. headers: {
  3753. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3754. 'Content-Type': 'application/x-www-form-urlencoded',
  3755. 'Referer': ""
  3756. },
  3757. data: 'link=' + encodeURI(ncryptLink),
  3758. onload: function (result)
  3759. {
  3760. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3761. switch(foldStatus + ""){
  3762. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3763. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3764. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3765. }
  3766. }
  3767. });
  3768. }
  3769. }
  3770. function hellshareBulkCheck()
  3771. {
  3772. var links = this.links;
  3773. GM_xmlhttpRequest(
  3774. {
  3775. method: "GET",
  3776. url: 'http://www.hellshare.com',
  3777. headers: {
  3778. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3779. 'Accept': 'text/xml',
  3780. 'Referer': ""
  3781. },
  3782. onload: function (result)
  3783. {
  3784. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3785.  
  3786. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3787. if (domain == 'sk')
  3788. loc = 'check=Skontrolova%C5%A5&links=';
  3789. if (domain == 'com')
  3790. loc = 'check=Check+availability&links=';
  3791. if (domain == 'hu')
  3792. loc = 'check=Kontrol%C3%A1lj&links=';
  3793. if (domain == 'pl')
  3794. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3795.  
  3796. genBulkCheck.call({ links: links,
  3797. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3798. postData: loc,
  3799. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3800. 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,
  3801. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3802. resUnavaRegex: null
  3803. });
  3804. }
  3805. });
  3806. }
  3807. /**
  3808. * Displays check result
  3809. * @param {Array} Array of links or link fragments.
  3810. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3811. */
  3812. function DisplayTheCheckedLinks(links, resultStatus)
  3813. {
  3814. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3815. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3816. if (Do_not_linkify_DL_links)
  3817. { //TODO into separate jQuery function
  3818. $links.replaceWith(function(){
  3819. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3820. });
  3821. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3822. }
  3823. $links.removeClass().addClass(resultStatus);
  3824. $links.each(function() {
  3825. this.href = Ref_anonymize_service + $(this).attr("href");
  3826. });
  3827. switch(resultStatus)
  3828. {
  3829. case "alive_link": cLinksAlive += $links.length;
  3830. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3831. break;
  3832. case "adead_link": cLinksDead += $links.length;
  3833. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3834. break;
  3835. case "prem_link": cLinksprem += $links.length;
  3836. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3837. break;
  3838. case "unava_link": cLinksUnava += $links.length; break;
  3839. default:
  3840. }
  3841. cLinksProcessed += $links.length;
  3842. }
  3843. }
  3844. // starts bulkchecking
  3845. //
  3846. // params
  3847. // filterId [string] restricts link detection with passed id attribute
  3848. function startBulkCheck(filterId)
  3849. {
  3850. var cHosts = bulkHosts.length;
  3851. if (cHosts == 0) //no filehostings selected
  3852. return;
  3853. // STEP 1 linkify the links
  3854. var linkifyRegex = '';
  3855. var hostIdx = cHosts;
  3856. while(hostIdx--)
  3857. {
  3858. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3859. }
  3860. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3861. linkify(linkifyRegex);
  3862. //
  3863. //STEP 2 detect link objects
  3864. var xpathAll = '';
  3865. var hostIdx = cHosts;
  3866. while(hostIdx--)
  3867. {
  3868. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3869. }
  3870. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3871. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3872. if (filterId != null) //insert id restriction in the xpath
  3873. {
  3874. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3875. }
  3876. else
  3877. {
  3878. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3879. }
  3880. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3881. if (filterId == null)
  3882. {
  3883. cLinksTotal += links.snapshotLength;
  3884. }
  3885. //
  3886. //STEP 3 bind links with hostings
  3887. var linkIdx = links.snapshotLength;
  3888. var href = null;
  3889. if (linkIdx == 0) // no links found
  3890. return;
  3891. var name;
  3892. while (linkIdx--)
  3893. {
  3894. href = links.snapshotItem(linkIdx).href;
  3895. try // DO NOT REMOVE, filters crap that went through xpath detection
  3896. {
  3897. name = gimmeHostName(href);
  3898. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3899. bulkHostNames[name].links.push(href);
  3900. }
  3901. catch(e)
  3902. {
  3903.  
  3904. }
  3905. }
  3906. //
  3907. //STEP 4 process the links for each filehosting
  3908. var hostIdx = cHosts;
  3909. var host;
  3910. var m,n;
  3911. var arr;
  3912. while (hostIdx--)
  3913. {
  3914. host = bulkHosts[hostIdx];
  3915. arr = host.links;
  3916. if (arr.length == 0) //no links for this hosting, skip
  3917. {
  3918. continue;
  3919. }
  3920. //links match corrections
  3921. if (host.corrMatch != null)
  3922. {
  3923. var idx = arr.length;
  3924. while (idx--)
  3925. {
  3926. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3927. }
  3928. }
  3929. //links replace corrections
  3930. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3931. {
  3932. var idx = arr.length;
  3933. while (idx--)
  3934. {
  3935. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3936. }
  3937. }
  3938. m = arr.length;
  3939. n = host.blockSize;
  3940. if (m > n)
  3941. {
  3942. //insert block separators (RAND_STRING) into the array
  3943. for(var i = n; i < m; i += n + 1)
  3944. {
  3945. arr.splice(i, 0, RAND_STRING);
  3946. }
  3947. }
  3948.  
  3949. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3950. apiUrl: host.apiUrl,
  3951. postData: host.postData,
  3952. resLinkRegex: host.resLinkRegex,
  3953. resLiveRegex: host.resLiveRegex,
  3954. resDeadRegex: host.resDeadRegex,
  3955. resUnavaRegex: host.resUnavaRegex
  3956. });
  3957. //clean up
  3958. arr.length = 0;
  3959. }
  3960. //
  3961.  
  3962. function gimmeHostName(link)
  3963. {
  3964. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3965. }
  3966. }
  3967. function checkLinks(filterId)
  3968. {
  3969. startBulkCheck(filterId);
  3970. start(filterId);
  3971. }
  3972.  
  3973. /**
  3974. * Initialises progress box including event binding and CSS
  3975. */
  3976. function initProgressBox()
  3977. {
  3978. if ($("#warlc-progressbox").length > 0)
  3979. return;
  3980. //progressbox css change size and color of progress box
  3981. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  3982. "; opacity:" + (Progress_box_opacity / 100) +
  3983. "; bottom:" + Progress_box_pos_bottom +
  3984. "px; right:" + Progress_box_pos_right +
  3985. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  3986. \
  3987. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  3988. \
  3989. .warlc-progressitem {}\
  3990. \
  3991. .alive {color:#00FF7F; " + Live_links_color +
  3992. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  3993. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  3994. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  3995. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  3996. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  3997. );
  3998. //
  3999. $('body').append(' <div id="warlc-progressbox">\
  4000. <div class="warlc-progressbar"></div>\
  4001. <span class="warlc-progressitem alive"></span> - \
  4002. <span class="warlc-progressitem dead"></span> - \
  4003. <span class="warlc-progressitem unava"></span> - \
  4004. <span class="warlc-progressitem prem"></span> - \
  4005. <span class="warlc-progressitem processing"></span>\
  4006. </div>');
  4007. $('#warlc-progressbox').hide().click(function(){
  4008. clearInterval(intervalId);
  4009. $(this).hide();
  4010. return false;
  4011. });
  4012. $(".warlc-progressbar").progressbar({complete: function(){
  4013. $(this).fadeOut();
  4014. clearInterval(intervalId); //stop refreshing the stats
  4015. }
  4016. })
  4017. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4018. }
  4019. /**
  4020. * Updates progress data in progress box
  4021. */
  4022. function updateProgress()
  4023. {
  4024. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4025. if (cLinksTotal) // some links were detected on page
  4026. {
  4027. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4028. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4029. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4030. if ((cLinksTotal - cLinksProcessed) == 0)
  4031. {
  4032. $progressItems.first().text(cLinksAlive)
  4033. .next().text(cLinksDead)
  4034. .next().text(cLinksUnava)
  4035. .next().text(cLinksprem)
  4036. .next().remove();
  4037. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4038. $('#warlc-progressbox div:first-child').remove();
  4039. }
  4040. else
  4041. {
  4042. $progressItems.first().text(cLinksAlive)
  4043. .next().text(cLinksDead)
  4044. .next().text(cLinksUnava)
  4045. .next().text(cLinksprem)
  4046. .next().text(cLinksTotal - cLinksProcessed);
  4047. }
  4048. }
  4049. }
  4050.  
  4051. function check_all_links()
  4052. {
  4053. add_WARLC_style();
  4054.  
  4055. if (Show_progress_stats)
  4056. {
  4057. initProgressBox();
  4058. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4059. }
  4060.  
  4061. startBulkCheck(null);
  4062. start(null);
  4063.  
  4064. if (!containers_processed)
  4065. {
  4066. processContainers();
  4067. }
  4068. }
  4069.  
  4070. //Copies all found dead links to clipboard - right now for Scriptish only
  4071. function copy_dead_to_clipboard()
  4072. {
  4073. initClipBoardTools();
  4074.  
  4075. var deadlinksxpath = "//.[@class='adead_link']";
  4076.  
  4077. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4078. var foundlinkstext = '';
  4079.  
  4080. var foundlinkIdx = foundlinks.snapshotLength;
  4081.  
  4082. while(foundlinkIdx--)
  4083. {
  4084. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4085. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4086. }
  4087.  
  4088. unsafeWindow.copyToClipboard(foundlinkstext);
  4089. }
  4090.  
  4091. function toggle_autocheck()
  4092. {
  4093. var currentState = GM_getValue("Autocheck", false);
  4094. GM_setValue("Autocheck", !currentState);
  4095.  
  4096. if (currentState == true)
  4097. {
  4098. sendMessage('Autocheck disabled', 'red');
  4099. }
  4100. else
  4101. {
  4102. sendMessage('Autocheck enabled', 'SpringGreen');
  4103. }
  4104. }
  4105. function toggle_Enable_Anonymizer()
  4106. {
  4107. var currentState = GM_getValue("Enable_Anonymizer", false);
  4108. GM_setValue("Enable_Anonymizer", !currentState);
  4109.  
  4110. if (currentState == true)
  4111. {
  4112. GM_setValue("Ref_anonymize_service", "");
  4113. sendMessage('Anonymizer Disabled', 'red');
  4114. }
  4115. else
  4116. {
  4117. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4118. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4119. }
  4120. }
  4121.  
  4122. function KeyDownHandler(event)
  4123. {
  4124. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4125. if (event.ctrlKey && event.altKey)
  4126. {
  4127. switch(kcode)
  4128. {
  4129. case 65 : check_all_links(); break;
  4130. case 67 : configuration(); break;
  4131. case 68 : copy_dead_to_clipboard(); break;
  4132. case 87 : toggle_autocheck(); break;
  4133. case 90 : toggle_Enable_Anonymizer(); break;
  4134. }
  4135. }
  4136. }
  4137.  
  4138. //
  4139. //
  4140. // SCRIPT EXECUTION START POINT
  4141. //
  4142. //
  4143. // Safari specific GM_getResourceText override
  4144. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4145. {
  4146. GM_getResourceText = function(res) {
  4147. var $cssText = GM_getValue("jquery_css", "");
  4148. if ($cssText == "")
  4149. {
  4150. GM_xmlhttpRequest(
  4151. {
  4152. method: 'GET',
  4153. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4154. onload: function (result)
  4155. {
  4156. GM_setValue("jquery_css", result.responseText);
  4157. window.location.reload();
  4158. }
  4159. });
  4160. }
  4161. else
  4162. {
  4163. return $cssText;
  4164. }
  4165. }
  4166. }
  4167. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4168. GM_addStyle(jQueryUICSS);
  4169. //init the stuff
  4170. setVariables();
  4171. initBulkCheck();
  4172. //init info boxes
  4173. messageBox.style.position = 'fixed';
  4174. messageBox.style.top = '20px';
  4175. messageBox.style.left = '10px';
  4176. messageBox.style.opacity = '0.85';
  4177. messageBox.style.background = 'DimGray';
  4178. messageBox.style.fontSize = '36px';
  4179. document.body.appendChild(messageBox);
  4180.  
  4181. //register GM menu commands & keyboard shortcut event handler
  4182. if (Keyboard_functions)
  4183. {
  4184. $(document).keydown(KeyDownHandler);
  4185. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4186. 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);
  4187. }
  4188. else
  4189. {
  4190. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4191. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4192. }
  4193.  
  4194. //start linkchecking
  4195. if (Autocheck)
  4196. {
  4197. $(document).ready(check_all_links);
  4198. }
  4199.  
  4200. //
  4201. //
  4202. // SCRIPT EXECUTION END POINT
  4203. //
  4204. //
  4205.  
  4206. //shows configuration box
  4207. function configuration()
  4208. {
  4209.  
  4210. //prevent multiple creating of config window
  4211. if ($("#hideshow").length)
  4212. {
  4213. $("#hideshow").show();
  4214. return;
  4215. }
  4216.  
  4217. var configcss = '\
  4218. .popup_block .popup fieldset{\
  4219. padding: 1%;\
  4220. border-style: solid;\
  4221. border-width: 1px;\
  4222. border-color: gray;\
  4223. margin-bottom: 1px;\
  4224. }\
  4225. #h3hideshowtitle{\
  4226. font-size: 2em;\
  4227. }\
  4228. #h3hideshow{\
  4229. font-size: 1.5em;\
  4230. }\
  4231. #imghideshow {\
  4232. border: none;\
  4233. }\
  4234. #plusimage{\
  4235. display:inline;\
  4236. }\
  4237. #hideshow {\
  4238. position: fixed;\
  4239. width: 100%;\
  4240. height: 100%;\
  4241. top: 0;\
  4242. left: 0;\
  4243. font-size:12px;\
  4244. z-index:2147483645;\
  4245. text-align:left;\
  4246. }\
  4247. #fade {\
  4248. background: #000;\
  4249. position: fixed;\
  4250. width: 100%;\
  4251. height: 100%;\
  4252. opacity: .80;\
  4253. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4254. left: 0;\
  4255. z-index: 10;\
  4256. }\
  4257. .popup_block {\
  4258. font-family:verdana;\
  4259. color:black;\
  4260. background: #ddd;\
  4261. padding: 10px 20px;\
  4262. border: 2px solid DarkOrange;\
  4263. float: left;\
  4264. width: 700px;\
  4265. position: absolute;\
  4266. top: 7%;\
  4267. left: 50%;\
  4268. bottom: 7%;\
  4269. margin: 0 0 0 -350px;\
  4270. -moz-border-radius:10px;\
  4271. z-index: 100;\
  4272. \
  4273. }\
  4274. .popup_block .popup {\
  4275. float: left;\
  4276. width: 100%;\
  4277. background: #fff;\
  4278. margin: 10px 0;\
  4279. padding: 0px 0 0px;\
  4280. border-left: 1px solid #bbb;\
  4281. border-top: 1px solid #bbb;\
  4282. border-right: 1px solid #bbb;\
  4283. }\
  4284. #h3hideshow{\
  4285. margin: 1px 0 0px;\
  4286. padding: 1px 10px;\
  4287. border-bottom: 1px solid #bbb;\
  4288. font-size: 1.5em;\
  4289. font-weight: normal;\
  4290. cursor:pointer;\
  4291. background:#DDDDDD none repeat scroll 0 0;\
  4292. }\
  4293. #h3hideshow:hover{\
  4294. background:#C0BEBE none repeat scroll 0 0;\
  4295. }\
  4296. #h3hideshowtitle{\
  4297. margin: 2px 0 0px;\
  4298. padding: 7px 10px;\
  4299. border-bottom: 1px solid #bbb;\
  4300. font-size: 1.5em;\
  4301. font-weight: normal;\
  4302. }\
  4303. .popup_block .popup a {\
  4304. color:DarkSkyBlue;\
  4305. text-decoration:none;\
  4306. }\
  4307. .popup p {\
  4308. padding: 1px 10px;\
  4309. margin: 0px 0;\
  4310. -x-system-font:none;\
  4311. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4312. font-size:10pt;\
  4313. font-size-adjust:none;\
  4314. font-stretch:normal;\
  4315. font-style:normal;\
  4316. font-variant:normal;\
  4317. font-weight:normal;\
  4318. line-height:normal;\
  4319. }\
  4320. #sites {\
  4321. padding: 1px 10px;\
  4322. margin: 0px 0;display:inline-block;width:16em;\
  4323. }\
  4324. #dev_ver {\
  4325. color: #00FF00;\
  4326. background: Black;\
  4327. text-align: right;\
  4328. }\
  4329. #sites_suspended {\
  4330. padding: 1px 10px;\
  4331. margin: 0px 0;display:inline-block;width:16em;\
  4332. text-decoration: line-through;\
  4333. }\
  4334. .popup img.cntrl {\
  4335. position: absolute;\
  4336. right: -15px;\
  4337. top: -15px;\
  4338. }\
  4339. #bulk {\
  4340. font-size:8pt;\
  4341. color:orange;\
  4342. padding: 1px 10px;\
  4343. margin: 0px 0;\
  4344. display:inline-block;\
  4345. width:100px;\
  4346. }\
  4347. #note {\
  4348. font-size:7pt;\
  4349. color:gray;\
  4350. padding: 1px 10px;\
  4351. margin: 0px 0;display:inline-block;\
  4352. min-width:100px;\
  4353. }\
  4354. #rednote {\
  4355. font-size:7pt;\
  4356. color:red;\
  4357. padding: 1px 10px;\
  4358. margin: 0px 0;display:inline-block;\
  4359. }\
  4360. #configinfo {\
  4361. font-size:8pt;\
  4362. color:gray;\
  4363. padding: 1px 10px;\
  4364. margin: 0px 0;display:inline-block;width:60em;\
  4365. }\
  4366. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4367. color:black;\
  4368. border-style: solid;\
  4369. border-width: 1px;\
  4370. border-color: gray;\
  4371. }\
  4372. #h3hideshowcontent {\
  4373. min-height:220px;\
  4374. max-height:220px;\
  4375. overflow:auto;\
  4376. display: none;\
  4377. padding: 10px 10px;\
  4378. }\
  4379. #specinfo{\
  4380. font-size:14px;\
  4381. }\
  4382. .warlc-ui-tab {\
  4383. height:300px;\
  4384. overflow:auto;\
  4385. }\
  4386. #warlcsitelist2, #warlcsitelist1 {\
  4387. height:220px;\
  4388. border-top: 1px solid #ddd;\
  4389. padding-top: 5px;\
  4390. overflow:auto;\
  4391. }\
  4392. input:hover+label {\
  4393. background:#F1F77C;\
  4394. font-size:110%;\
  4395. }\
  4396. ';
  4397.  
  4398. GM_addStyle(configcss);
  4399.  
  4400. var customRulesRefHTML =
  4401. '\
  4402. <br>\
  4403. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4404. <b>@keyword</b> <i>parameter</i>\
  4405. <br><br>\
  4406. 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. \
  4407. <br><br>\
  4408. 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.\
  4409. 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.\
  4410. 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.\
  4411. 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,\
  4412. but all commands until the next valid @customrule are ignored.<br><br>\
  4413. Available forms and types:\
  4414. <ul>\
  4415. <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.\
  4416. <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.\
  4417. <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.\
  4418. <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.\
  4419. </ul>\
  4420. Other available commands:<br>\
  4421. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4422. <ul>\
  4423. <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.\
  4424. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4425. <ul>examples:<br>\
  4426. <li>good: <i>filehost.com/download/</i><br>\
  4427. <li>good: <i>download.filehost.net/?d=</i><br>\
  4428. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4429. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4430. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4431. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4432. <li>bad: <i>filehost.com</i> - no slash<br>\
  4433. </ul>\
  4434. \
  4435. <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.\
  4436. 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 \
  4437. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4438. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4439. 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.)\
  4440. Two spaces again match any whitespace.\
  4441. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4442. Two spaces again match any whitespace.\
  4443. <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. \
  4444. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4445. </ul>\
  4446. \
  4447. ';
  4448.  
  4449. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4450. var configurationinnerHTML =
  4451. '<div id="fade"></div>\
  4452. <div class="popup_block">\
  4453. <div class="popup">\
  4454. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAH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8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Customized Premium Link version Configuration</div>\
  4456. <div id="warlc-conf-tabs">\
  4457. <ul>\
  4458. <li><a href="#tabs-1">Filehostings</a></li>\
  4459. <li><a href="#tabs-2">Containers</a></li>\
  4460. <li><a href="#tabs-5">Custom rules</a></li>\
  4461. <li><a href="#tabs-3">Settings</a></li>\
  4462. <li><a href="#tabs-4">About</a></li>\
  4463. </ul>\
  4464. <div id="tabs-1" class="warlc-ui-tab">\
  4465. <div class="warlc-ui-buttonset">\
  4466. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4467. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4468. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4469. </div><br>\
  4470. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4471. <div id="warlcsitelist1"><span>Empty</span></div>\
  4472. </div>\
  4473. <div id="tabs-2" class="warlc-ui-tab">\
  4474. <div class="warlc-ui-buttonset">\
  4475. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4476. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4477. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4478. </div><br>\
  4479. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4480. <div id="warlcsitelist2"><span>Empty</span></div>\
  4481. </div>\
  4482. <div id="tabs-5" class="warlc-ui-tab">\
  4483. <div class="warlcsettings">\
  4484. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4485. <br>\
  4486. <div>Edit custom rules: \
  4487. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4488. <div id="customRulesReference" style="display:none;">'
  4489. + customRulesRefHTML + '\
  4490. </div>\
  4491. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4492. </div>\
  4493. </div>\
  4494. </div>\
  4495. <div id="tabs-3" class="warlc-ui-tab">\
  4496. <div class="warlcsettings">\
  4497. <fieldset>\
  4498. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4499. <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>\
  4500. </fieldset>\
  4501. <fieldset>\
  4502. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4503. <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>\
  4504. <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>\
  4505. <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>\
  4506. <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>\
  4507. <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>\
  4508. <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>\
  4509. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4510. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4511. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4512. <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>\
  4513. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4514. <fieldset>\
  4515. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4516. <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>\
  4517. <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>\
  4518. <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>\
  4519. </fieldset>\
  4520. </fieldset>\
  4521. <fieldset>\
  4522. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4523. </fieldset>\
  4524. <fieldset>\
  4525. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4526. </fieldset>\
  4527. <fieldset>\
  4528. <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>\
  4529. </fieldset>\
  4530. <fieldset>\
  4531. <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>\
  4532. </fieldset>\
  4533. </div>\
  4534. </div>\
  4535. <div id="tabs-4" class="warlc-ui-tab">\
  4536. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4537. <p><b>Script Homepage:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">www.warlc.5gbfree.com</a></p>\
  4538. <br />\
  4539. <p><b>Currently supported:</b><br>\
  4540. Filehostings: ' + allHostNames.length + '<br />\
  4541. Containers: ' + allContainerNames.length + '<br />\
  4542. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4543. <br />\
  4544. <p><b>Based on:</b><br>\
  4545. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4546. <br />\
  4547. <p><b>Uses:</b></p>\
  4548. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4549. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4550. <br />\
  4551. <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>\
  4552. </div>\
  4553. </div>\
  4554. </div>\
  4555. </div>';
  4556. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4557. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4558. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4559. var elmHostList = document.getElementById("warlcsitelist1");
  4560. var elmContainerList = document.getElementById("warlcsitelist2");
  4561. buildSettings();
  4562. buildSitelist("", allHostNames, elmHostList);
  4563. buildSitelist("", allContainerNames, elmContainerList);
  4564. if (DEBUG_MODE)
  4565. {
  4566. //log all sites availability status
  4567. diagSites();
  4568. }
  4569. //handler for checkbox state change
  4570. function changeConfiguration(e)
  4571. {
  4572. var element = e.target;
  4573.  
  4574. if (element.type == 'checkbox')
  4575. {
  4576. if (element.checked == 1)
  4577. {
  4578. GM_setValue(element.id, true);
  4579. }
  4580. else
  4581. {
  4582. GM_setValue(element.id, false);
  4583. }
  4584.  
  4585. }
  4586. setVariables();
  4587. }
  4588.  
  4589. //Selects all filehosting checkboxes
  4590. function selectAll()
  4591. {
  4592. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4593. .each(function(index, element){GM_setValue(this.id, true)});
  4594. }
  4595.  
  4596. //Deselects all filehosting checkboxes
  4597. function selectNone()
  4598. {
  4599. $(":checkbox:visible:checked").prop("checked",false)
  4600. .each(function(index, element){GM_setValue(this.id, false)});
  4601. }
  4602.  
  4603. //Inverts filehosting checkboxes selection
  4604. function selectInvert()
  4605. {
  4606. var $checked = $(":checkbox:visible:checked");
  4607. var $unchecked = $(":checkbox:visible:not(:checked)");
  4608. $unchecked.prop("checked",true)
  4609. .each(function(index, element){GM_setValue(this.id, true)});
  4610. $checked.prop("checked",false)
  4611. .each(function(index, element){GM_setValue(this.id, false)});
  4612. }
  4613. //toggles anonymizer on off
  4614. function Enable_Anonymizer()
  4615. {
  4616. var $checked = $(":checkbox:visible:checked");
  4617. var $unchecked = $(":checkbox:visible:not(:checked)");
  4618. $unchecked.prop("checked",true)
  4619. .each(function(index, element){GM_setValue(this.id, true)});
  4620. $checked.prop("checked",false)
  4621. .each(function(index, element){GM_setValue(this.id, false)});
  4622. }
  4623.  
  4624. function changeRefAnonymizer(){
  4625. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4626. }
  4627.  
  4628. //Sets live links color
  4629. function changeColorLive()
  4630. {
  4631. var inColorLive = document.getElementById("inputColorLive");
  4632. inColorLive.style.background = inColorLive.value;
  4633. GM_setValue("Live_links_color", inColorLive.value);
  4634. }
  4635.  
  4636. //Sets dead links color
  4637. function changeColorDead()
  4638. {
  4639. var inColorDead = document.getElementById("inputColorDead");
  4640. inColorDead.style.background = inColorDead.value;
  4641. GM_setValue("Dead_links_color", inColorDead.value);
  4642. }
  4643.  
  4644. //Sets temp. unavailable links color
  4645. function changeColorTemp()
  4646. {
  4647. var inColorTemp = document.getElementById("inputColorTemp");
  4648. inColorTemp.style.background = inColorTemp.value;
  4649. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4650. }
  4651.  
  4652. //Sets temp. unavailable links color
  4653. function changeColorCont()
  4654. {
  4655. var inColorCont = document.getElementById("inputColorCont");
  4656. inColorCont.style.background = inColorCont.value;
  4657. GM_setValue("Container_links_color", inColorCont.value);
  4658. }
  4659. //Sets premium. links color
  4660. function changeColorprem()
  4661. {
  4662. var inColorprem = document.getElementById("inputColorprem");
  4663. inColorprem.style.background = inColorprem.value;
  4664. GM_setValue("Premium_links_color", inColorprem.value);
  4665. }
  4666.  
  4667. //Diagnose sites for availability
  4668. function diagSites()
  4669. {
  4670. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4671.  
  4672. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4673. {
  4674. if (boxes[i].type == "checkbox")
  4675. {
  4676. checkAvailability(boxes[i]);
  4677. }
  4678. }
  4679.  
  4680. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4681.  
  4682. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4683. {
  4684. if (boxes[i].type == "checkbox")
  4685. {
  4686. checkAvailability(boxes[i]);
  4687. }
  4688. }
  4689.  
  4690. function checkAvailability(cbElm)
  4691. {
  4692. var cb = cbElm;
  4693. GM_xmlhttpRequest(
  4694. {
  4695. method: 'HEAD',
  4696. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4697. headers: {
  4698. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4699. 'Accept': 'text/xml',
  4700. 'Referer': ""
  4701. },
  4702. onload: function (result)
  4703. {
  4704. if (result.status != 200)
  4705. {
  4706. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4707. }
  4708. },
  4709. onerror: function (result)
  4710. {
  4711. if (result.status != 200)
  4712. {
  4713. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4714. }
  4715. }
  4716. });
  4717. }
  4718. }
  4719. function buildSettings()
  4720. {
  4721. $(".warlcsettings :checkbox").each(function(){
  4722. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4723. .click(function(e){
  4724. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4725. setVariables();
  4726. });
  4727. })
  4728. }
  4729. //Dynamic build of host list
  4730. //param search [string] searches for hostnames matching search substring
  4731. //param siteNames [array] array of site names
  4732. //param targetNode [DOM Node] where the list should be built
  4733. // first child node is replaced
  4734. function buildSitelist(search, siteNames, targetNode)
  4735. {
  4736. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4737. var $targetNode = $(targetNode).empty();
  4738. var searchedSite = "";
  4739. $.each(siteNames, function(i, site){
  4740. if (searchedSite = site.match(searchRegex))
  4741. {
  4742. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4743. //ensuring backward compatibility with the rest of code, to be refactored later
  4744. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4745. //
  4746. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4747. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4748. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4749. );
  4750. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4751. .change(changeConfiguration);
  4752. $targetNode.append('<br />');
  4753. }
  4754. });
  4755. $targetNode.append("<hr>");
  4756. //obsolete hosts checkbox
  4757. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4758. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4759. .change(changeConfiguration);
  4760. $targetNode.append('<br />');
  4761. var foundName = "";
  4762. $.each(allObsoleteNames, function(i, site){
  4763. if (foundName = allObsoleteNames[i].match(searchRegex))
  4764. {
  4765. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4766. }
  4767. })
  4768. }
  4769. var hostSearchBox = document.getElementById("hostSearchBox");
  4770. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4771. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4772. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4773. $(".warlc-ui-select-all").click(selectAll).button();
  4774. $(".warlc-ui-select-none").click(selectNone).button();
  4775. $(".warlc-ui-select-invert").click(selectInvert).button();
  4776. $(".warlc-ui-buttonset").buttonset();
  4777. var inColorLive = document.getElementById("inputColorLive");
  4778. inColorLive.addEventListener('keyup', changeColorLive, false);
  4779.  
  4780. var inColorDead = document.getElementById("inputColorDead");
  4781. inColorDead.addEventListener('keyup', changeColorDead, false);
  4782.  
  4783. var inColorTemp = document.getElementById("inputColorTemp");
  4784. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4785.  
  4786. var inColorCont = document.getElementById("inputColorCont");
  4787. inColorCont.addEventListener('keyup', changeColorCont, false);
  4788. var inColorprem = document.getElementById("inputColorprem");
  4789. inColorprem.addEventListener('keyup', changeColorprem, false);
  4790. $("#refAnonymizer").change(changeRefAnonymizer);
  4791. //buttons and edit boxes init end
  4792.  
  4793. //icon sets radio buttons
  4794. var radioButtons = document.getElementsByName("warlciconset");
  4795. radioButtons[Icon_set].checked = "checked";
  4796.  
  4797. radioButtons[0].addEventListener("change", updateIconSet);
  4798. radioButtons[1].addEventListener("change", updateIconSet);
  4799. radioButtons[2].addEventListener("change", updateIconSet);
  4800. radioButtons[3].addEventListener("change", updateIconSet);
  4801. function updateIconSet()
  4802. {
  4803. GM_setValue("Icon_set", this.value * 1);
  4804. }
  4805. //
  4806. $('#showCustomRulesReference').click(function(e){
  4807. e.preventDefault();
  4808. $('#customRulesReference').toggle();
  4809. });
  4810. $('#Custom_rules_text')
  4811. .val(Custom_rules_text)
  4812. .change(saveCustomRules);
  4813. function saveCustomRules(e)
  4814. {
  4815. var cr = parseCustomRules(this.value);
  4816. if (cr.info.length)
  4817. 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, ' '));
  4818. GM_setValue('Custom_rules_text', this.value);
  4819. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4820. }
  4821. }
  4822.  
  4823. //begin standard link checking algorithm
  4824. function start(filterId)
  4825. {
  4826. var doNotLinkify = Do_not_linkify_DL_links;
  4827.  
  4828. // USER SELECTED FILE HOSTS INITIALIZATION START
  4829. var http_file_hosts = new Array(); //standard hostings
  4830. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4831. var http_file_hosts_obsolete = new Array(); //dead hostings
  4832. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4833.  
  4834. initFileHosts();
  4835. initFileHostsHeadersOnly();
  4836. initFileHostsCustom(); //CustomRules
  4837. // USER SELECTED FILE HOSTS INITIALIZATION END
  4838.  
  4839. // LINKIFICATION START
  4840. var totalxpath = '';
  4841. var totalxpathcoded = '';
  4842. var totalxpathobsolete = '';
  4843. var totalxpathheadersonly = '';
  4844. var totalourls = '';
  4845.  
  4846. var filehostLen = http_file_hosts.length;
  4847. var filehostCodedLen = http_file_hosts_coded.length;
  4848. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4849. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4850.  
  4851. var filehostIdx = filehostLen;
  4852. var filehostCodedIdx = filehostCodedLen;
  4853. var filehostObsoleteIdx = filehostObsoleteLen;
  4854. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4855.  
  4856. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4857. return;
  4858.  
  4859. while (filehostIdx--)
  4860. {
  4861. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4862. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4863. }
  4864.  
  4865. while (filehostCodedIdx--)
  4866. {
  4867. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4868. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4869. }
  4870.  
  4871. while (filehostObsoleteIdx--)
  4872. {
  4873. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4874. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4875. }
  4876.  
  4877. while (filehostHeadersOnlyIdx--)
  4878. {
  4879. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4880. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4881. }
  4882.  
  4883. totalourls = totalourls.replace(/\|$/g, "");
  4884. //TODO: further refactoring needed
  4885. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4886. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4887. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4888. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4889. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4890. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4891. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4892. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4893. if (filterId != null) //insert id restriction in the xpath
  4894. {
  4895. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4896. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4897. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4898. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4899. }
  4900. else
  4901. {
  4902. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4903. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4904. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4905. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4906. }
  4907. linkify(totalourls);
  4908. //LINKIFICATION END
  4909. //ENCRYPTED LINKS PROCESSING START
  4910. if (http_file_hosts_coded.length > 0)
  4911. {
  4912. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4913.  
  4914. // decrypt coded links (redirects, link protectors etc.)
  4915. if (linksCoded.snapshotLength > 0)
  4916. {
  4917. var link;
  4918. var reallinkreg;
  4919. var reallinkcorrection;
  4920.  
  4921. if (filterId == null)
  4922. {
  4923. cLinksTotal += linksCoded.snapshotLength;
  4924. }
  4925.  
  4926. var y = linksCoded.snapshotLength - 1;
  4927. do
  4928. {
  4929. // linksCoded.snapshotItem(y).id = 'processing_link';
  4930. link = linksCoded.snapshotItem(y);
  4931. filehostIdx = filehostCodedLen;
  4932. while (filehostIdx--)
  4933. {
  4934. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4935. {
  4936. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4937. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4938. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4939.  
  4940. decurl(link, reallinkreg, reallinkcorrection);
  4941. break;
  4942. }
  4943. }
  4944. }
  4945. while (y--);
  4946. }
  4947. }
  4948. //ENCRYPTED LINKS PROCESSING END
  4949.  
  4950. //STANDARD LINKCHECKING START
  4951. if (http_file_hosts.length > 0)
  4952. {
  4953. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4954.  
  4955. if (filterId == null)
  4956. {
  4957. cLinksTotal += lianks.snapshotLength;
  4958. }
  4959.  
  4960. if (lianks.snapshotLength > 0)
  4961. {
  4962. var link;
  4963.  
  4964. var URL = "";
  4965. var name = "";
  4966. var isAliveRegex = "";
  4967. var isDeadRegex = "";
  4968. var isUnavaRegex = "";
  4969. var ispremRegex = "";
  4970. var tryLoop = false;
  4971.  
  4972. var y = lianks.snapshotLength;
  4973.  
  4974. while (y--)
  4975. {
  4976. link = lianks.snapshotItem(y);
  4977.  
  4978. filehostIdx = filehostLen;
  4979. while (filehostIdx--)
  4980. {
  4981. if (link.href.match(http_file_hosts[filehostIdx][0]))
  4982. {
  4983. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  4984. isAliveRegex = http_file_hosts[filehostIdx][1];
  4985. isDeadRegex = http_file_hosts[filehostIdx][2];
  4986. isUnavaRegex = http_file_hosts[filehostIdx][3];
  4987. ispremRegex = http_file_hosts[filehostIdx][6];
  4988. tryLoop = http_file_hosts[filehostIdx][5];
  4989.  
  4990. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  4991.  
  4992. break;
  4993. }
  4994. }
  4995. }
  4996. }
  4997. }
  4998. //STANDARD LINKCHECKING END
  4999. //OBSOLETE FILE HOSTS PROCESSING START
  5000. if (filehostObsoleteLen > 0)
  5001. {
  5002. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5003.  
  5004. var obsoleteLink;
  5005.  
  5006. //check links
  5007. if (obsoletelinks.snapshotLength > 0)
  5008. {
  5009. var y = obsoletelinks.snapshotLength;
  5010.  
  5011. if (filterId == null)
  5012. {
  5013. cLinksTotal += y;
  5014. }
  5015.  
  5016. while (y--)
  5017. {
  5018. obsoleteLink = obsoletelinks.snapshotItem(y);
  5019.  
  5020. if (Display_tooltip_info)
  5021. {
  5022. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5023. }
  5024. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5025. }
  5026. }
  5027. }
  5028. //OBSOLETE FILE HOSTS PROCESSING END
  5029.  
  5030. //DIRECT LINKCHECKING START
  5031. if (http_file_hosts_headers_only.length > 0)
  5032. {
  5033. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5034.  
  5035. //check links
  5036. if (links.snapshotLength > 0)
  5037. {
  5038. var link;
  5039. var isAliveRegex;
  5040. var isDeadRegex;
  5041. var ispremRegex;
  5042.  
  5043. var y = links.snapshotLength;
  5044.  
  5045.  
  5046. if (filterId == null)
  5047. {
  5048. cLinksTotal += y;
  5049. }
  5050.  
  5051. while (y--)
  5052. {
  5053. // links.snapshotItem(y).id = 'processing_link';
  5054. link = links.snapshotItem(y);
  5055. filehostIdx = filehostHeadersOnlyLen;
  5056. while (filehostIdx--)
  5057. {
  5058. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5059. {
  5060. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5061. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5062. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5063. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5064.  
  5065. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5066.  
  5067. break;
  5068. }
  5069. }
  5070. }
  5071.  
  5072. }
  5073. }
  5074. //DIRECT LINKCHECKING END
  5075.  
  5076.  
  5077. //finds the real url on the page, replaces link.href with it and calls geturl
  5078. function decurl(link, reallinkreg, reallinkcorrection)
  5079. {
  5080.  
  5081. GM_xmlhttpRequest(
  5082. {
  5083. method: 'GET',
  5084. url: link.href,
  5085. headers: {
  5086. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5087. 'Accept': 'text/xml',
  5088. 'Referer': ""
  5089. },
  5090. onload: function (result)
  5091. {
  5092. // cLinksProcessed++;
  5093.  
  5094. var reallink = result.responseText.match(reallinkreg)[0];
  5095. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5096.  
  5097. link.href = reallink;
  5098.  
  5099. var i = http_file_hosts.length - 1;
  5100. do
  5101. {
  5102. if ((reallink.match(http_file_hosts[i][0])))
  5103. {
  5104. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5105. var isAliveRegex = http_file_hosts[i][1];
  5106. var isDeadRegex = http_file_hosts[i][2];
  5107. var isUnavaRegex = http_file_hosts[i][3];
  5108. var ispremRegex = http_file_hosts[i][4];
  5109.  
  5110. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5111.  
  5112. break;
  5113. }
  5114. }
  5115. while (i--);
  5116. }
  5117. });
  5118. }
  5119.  
  5120. function randUA()
  5121. {
  5122. //TODO
  5123. }
  5124. //Processes link
  5125. //
  5126. // [string] link link URL
  5127. // [string] isAliveRegex alive link regex
  5128. // [string] isDeadRegex dead link regex
  5129. // [string] isUnavaRegex unavailable link regex
  5130. // [string] ispremRegex premium link regex
  5131. // [boolean] tryLoop repeats request until succeeded
  5132. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5133. {
  5134. GM_xmlhttpRequest(
  5135. {
  5136. method: 'GET',
  5137. url: link.href,
  5138. headers: {
  5139. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5140. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5141. 'Referer': ""
  5142. },
  5143. onload: function (result)
  5144. {
  5145. var res = result.responseText;
  5146. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5147. {
  5148. displayTheCheckedLink(link, 'alive_link');
  5149. return;
  5150. }
  5151.  
  5152. if (res.match(isAliveRegex))
  5153. {
  5154. displayTheCheckedLink(link, 'alive_link');
  5155. return;
  5156. }
  5157.  
  5158. if (res.match(isDeadRegex))
  5159. {
  5160. displayTheCheckedLink(link, 'adead_link');
  5161. return;
  5162. }
  5163.  
  5164. if (isUnavaRegex && res.match(isUnavaRegex))
  5165. {
  5166. displayTheCheckedLink(link, 'unava_link');
  5167. return;
  5168. }
  5169. if (res.match(ispremRegex))
  5170. {
  5171. displayTheCheckedLink(link, 'prem_link');
  5172. return;
  5173. }
  5174.  
  5175. var resStatus = result.status;
  5176.  
  5177. if (resStatus == 404)
  5178. {
  5179. displayTheCheckedLink(link, 'adead_link');
  5180. }
  5181. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5182. {
  5183. if (tryLoop)
  5184. {
  5185. //wait 1-5 seconds and repeat the request
  5186. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5187. }
  5188. else
  5189. {
  5190. displayTheCheckedLink(link, 'unava_link');
  5191. }
  5192.  
  5193. return;
  5194. }
  5195. },
  5196. onerror: function ()
  5197. {
  5198. displayTheCheckedLink(link, 'unava_link');
  5199. }
  5200. });
  5201. }
  5202.  
  5203. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5204. {
  5205. GM_xmlhttpRequest(
  5206. {
  5207. method: 'HEAD',
  5208. url: link.href,
  5209. headers: {
  5210. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5211. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5212. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5213. 'Referer': ""
  5214. },
  5215. onload: function (result)
  5216. {
  5217. var resStatus = result.status;
  5218. var resHeaders = "";
  5219. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5220. {
  5221. displayTheCheckedLink(link, 'adead_link');
  5222. return;
  5223. }
  5224.  
  5225. resHeaders = result.responseHeaders;
  5226.  
  5227. if (resHeaders.match(isDeadRegex))
  5228. {
  5229. displayTheCheckedLink(link, 'adead_link');
  5230. return;
  5231. }
  5232.  
  5233. if (resHeaders.match(isAliveRegex))
  5234. {
  5235. displayTheCheckedLink(link, 'alive_link');
  5236. return;
  5237. }
  5238. if (resHeaders.match(ispremRegex))
  5239. {
  5240. displayTheCheckedLink(link, 'prem_link');
  5241. return;
  5242. }
  5243. },
  5244. onerror: function ()
  5245. {
  5246. displayTheCheckedLink(link, 'unava_link');
  5247. }
  5248. });
  5249. }
  5250.  
  5251. //Delinkfifies the <a> element object
  5252. function delinkifyLink(link)
  5253. {
  5254. var spanElm = document.createElement("span");
  5255. spanElm.className = link.className;
  5256. spanElm.innerHTML = link.innerHTML;
  5257.  
  5258. if (Display_tooltip_info)
  5259. {
  5260. spanElm.href = link.href;
  5261. spanElm.warlc_error = link.warlc_error;
  5262. switch (link.className){
  5263. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5264. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5265. case "unava_link": //reserved
  5266. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5267. default:
  5268. }
  5269. }
  5270. link.parentNode.replaceChild(spanElm, link);
  5271. }
  5272.  
  5273. //Assigns result status to the <a> element object and calls delinkifying eventually
  5274. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5275. function displayTheCheckedLink(link, resultStatus)
  5276. {
  5277. link.className = resultStatus;
  5278. link.href = Ref_anonymize_service + link.href;
  5279. if (Display_tooltip_info)
  5280. {
  5281. switch (resultStatus){
  5282. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5283. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5284. case "unava_link": //reserved
  5285. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5286. default:
  5287. }
  5288. }
  5289. if (doNotLinkify)
  5290. {
  5291. delinkifyLink(link);
  5292. }
  5293. cLinksProcessed++;
  5294.  
  5295. if (resultStatus == "alive_link")
  5296. {
  5297. cLinksAlive++;
  5298. return;
  5299. }
  5300.  
  5301. if (resultStatus == "adead_link")
  5302. {
  5303. cLinksDead++;
  5304. return;
  5305. }
  5306.  
  5307. if (resultStatus == "unava_link")
  5308. {
  5309. cLinksUnava++;
  5310. }
  5311. if (resultStatus == "prem_link")
  5312. {
  5313. cLinksprem++;
  5314. return;
  5315. }
  5316. }
  5317.  
  5318.  
  5319. function initFileHosts()
  5320. {
  5321.  
  5322. function addObsoleteHost(linkRegex, xpathEx)
  5323. {
  5324. var host = new Array(2);
  5325. host[0] = linkRegex;
  5326. host[1] = xpathEx;
  5327. http_file_hosts_obsolete.push(host);
  5328. }
  5329.  
  5330. //obsolete file hosts init start
  5331. if (Obsolete_file_hosts)
  5332. {
  5333. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5334. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5335. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5336. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5337. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5338. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5339. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5340. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5341. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5342. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5343. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5344. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5345. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5346. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5347. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5348. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5349. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5350. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5351. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5352. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5353. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5354. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5355. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5356. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5357. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5358. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5359. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5360. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5361. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5362. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5363. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5364. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5365. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5366. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5367. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5368. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5369. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5370. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5371. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5372. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5373. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5374. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5375. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5376. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5377. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5378. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5379. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5380. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5381. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5382. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5383. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5384. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5385. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5386. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5387. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5388. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5389. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5390. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5391. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5392. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5393. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5394. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5395. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5396. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5397. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5398. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5399. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5400. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5401. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5402. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5403. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5404. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5405. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5406. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5407. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5408. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5409. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5410. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5411. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5412. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5413. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5414. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5415. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5416. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5417. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5418. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5419. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5420. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5421. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5422. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5423. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5424. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5425. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5426. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5427. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5428. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5429. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5430. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5431. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5432. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5433. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5434. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5435. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5436. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5437. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5438. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5439. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5440. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5441. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5442. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5443. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5444. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5445. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5446. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5447. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5448. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5449. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5450. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5451. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5452. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5453. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5454. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5455. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5456. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5457. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5458. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5459. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5460. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5461. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5462. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5463. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5464. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5465. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5466. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5467. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5468. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5469. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5470. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5471. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5472. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5473. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5474. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5475. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5476. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5477. 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')]");
  5478. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5479. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5480. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5481. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5482. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5483. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5484. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5485. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5486. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5487. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5488. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5489. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5490. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5491. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5492. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5493. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5494. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5495. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5496. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5497. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5498. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5499. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5500. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5501. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5502. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5503. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5504. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5505. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5506. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5507. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5508. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5509. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5510. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5511. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5512. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5513. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5514. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5515. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5516. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5517. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5518. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5519. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5520. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5521. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5522. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5523. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5524. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5525. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5526. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5527. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5528. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5529. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5530. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5531. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5532. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5533. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5534. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5535. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5536. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5537. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5538. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5539. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5540. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5541. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5542. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5543. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5544. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5545. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5546. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5547. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5548. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5549. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5550. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5551. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5552. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5553. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5554. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5555. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5556. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5557. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5558. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5559. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5560. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5561. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5562. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5563. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5564. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5565. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5566. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5567. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5568. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5569. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5570. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5571. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5572. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5573. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5574. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5575. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5576. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5577. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5578. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5579. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5580. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5581. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5582. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5583. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5584. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5585. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5586. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5587. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5588. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5589. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5590. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5591. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5592. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5593. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5594. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5595. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5596. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5597. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5598. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5599. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5600. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5601. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5602. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5603. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5604. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5605. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5606. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5607. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5608. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5609. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5610. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5611. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5612. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5613. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5614. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5615. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5616. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5617. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5618. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5619. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5620. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5621. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5622. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5623. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5624. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5625. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5626. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5627. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5628. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5629. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5630. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5631. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5632. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5633. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5634. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5635. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5636. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5637. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5638. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5639. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5640. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5641. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5642. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5643. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5644. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5645. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5646. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5647. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5648. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5649. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5650. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5651. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5652. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5653. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5654. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5655. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5656. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5657. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5658. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5659. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5660. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5661. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5662. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5663. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5664. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5665. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5666. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5667. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5668. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5669. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5670. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5671. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5672. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5673. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5674. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5675. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5676. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5677. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5678. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5679. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5680. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5681. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5682. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5683. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5684. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5685. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5686. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5687. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5688. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5689. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5690. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5691. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5692. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5693. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5694. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5695. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5696. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5697. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5698. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5699. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5700. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5701. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5702. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5703. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5704. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5705. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5706. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5707. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5708. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5709. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5710. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5711. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5712. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5713. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5714. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5715. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5716. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5717. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5718. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5719. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5720. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5721. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5722. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5723. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5724. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5725. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5726. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5727. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5728. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5729. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5730. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5731. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5732. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5733. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5734. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5735. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5736. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5737. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5738. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5739. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5740. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5741. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5742. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5743. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5744. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5745. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5746. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5747. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5748. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5749. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5750. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5751. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5752. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5753. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5754. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5755. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5756. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5757. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5758. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5759. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5760. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5761. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5762. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5763. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5764. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5765. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5766. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5767. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5768. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5769. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5770. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5771. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5772. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5773. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5774. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5775. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5776. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5777. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5778. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5779. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5780. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5781. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5782. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5783. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5784. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5785. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5786. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5787. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5788. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5789. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5790. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5791. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5792. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5793. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5794. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5795. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5796. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5797. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5798. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5799. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5800. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5801. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5802. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5803. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5804. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5805. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5806. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5807. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5808. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5809. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5810. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5811. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5812. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5813. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5814. // obsolete start
  5815. }
  5816. //obsolete file hosts init end
  5817. //Add Host Example
  5818. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5819. {
  5820. addFileHost(
  5821. "datafile\.com\/\\w+",
  5822. 'var captchaPanel|<link href="/css/files_download.css"',
  5823. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5824. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5825. '<style type="text/css">',
  5826. "//a[contains(@href,'datafile.com')]",
  5827. true);
  5828. } */
  5829.  
  5830. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5831. {
  5832. var host = new Array(7);
  5833. host[0] = linkRegex;
  5834. host[1] = isAliveRegex;
  5835. host[2] = isDeadRegex;
  5836. host[3] = isUnavaRegex;
  5837. host[6] = ispremRegex;
  5838. host[4] = xpathEx;
  5839. tryLoop ? host[5] = true : host[5] = false;
  5840. http_file_hosts.push(host);
  5841. }
  5842. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5843. {
  5844. addFileHost(
  5845. "megafileupload\.com\/..\/file\/",
  5846. 'downloadbtn',
  5847. 'is not found',
  5848. 'optional--',
  5849. 'optional2--',
  5850. "//a[contains(@href,'megafileupload.com')]");
  5851. }
  5852. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5853. {
  5854. addFileHost(
  5855. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5856. 'download\\.gif"',
  5857. 'p_point">',
  5858. 'optional--',
  5859. 'optional2--',
  5860. "//a[contains(@href,'demo.ovh.eu')]");
  5861. }
  5862. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5863. {
  5864. addFileHost(
  5865. "xkeepfile\.com\/\\w+",
  5866. 'File has been found|Click here to download',
  5867. 'File cannot be found|class="error">',
  5868. 'optional--',
  5869. 'optional2--',
  5870. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5871. }
  5872. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5873. {
  5874. addFileHost(
  5875. "safelinking\\.net\/p\/\\w+",
  5876. 'color:green;"',
  5877. 'color:(?:red|orange);"',
  5878. 'color:(?:grey|brown);"',
  5879. 'optional2--',
  5880. "//a[contains(@href,'safelinking.net/p/')]",
  5881. true);
  5882. }
  5883. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5884. {
  5885. addFileHost(
  5886. "fastshare\\.cz\/\\d+\/\\w*",
  5887. 'dwntable">|speed-low',
  5888. 'nebyla nalezena|nebola nájdená|nie została odnaleziona|color:red;font-weight:bold;border\\-style:dashed|<i class="fa fa-copyright"></i>|<title>FastShare.cz</title>|file has been deleted|website is not available from your country',
  5889. 'optional--',
  5890. 'optional2--',
  5891. "//a[contains(@href,'fastshare.cz')]");
  5892. }
  5893. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5894. {
  5895. addFileHost(
  5896. "[fF]ast[sS]hare\\.org\/download",
  5897. 'Download ">',
  5898. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5899. 'optional--',
  5900. 'optional2--',
  5901. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5902. }
  5903. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5904. {
  5905. addFileHost(
  5906. "partage-facile\.com\/\\w+",
  5907. 'class="title"><strong>|colspan="2"',
  5908. 'Page introuvable|class="alert-message',
  5909. 'optional--',
  5910. 'optional2--',
  5911. "//a[contains(@href,'partage-facile.com')]");
  5912. }
  5913. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5914. {
  5915. addFileHost(
  5916. "rapidgator\\.net\/file\/\\w+",
  5917. '/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',
  5918. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5919. 'optional--',
  5920. 'can be downloaded by premium only|files up to 500 MB in free mode|files up to 1 GB in free mode',
  5921. "//a[contains(@href,'rapidgator.net/file')]",
  5922. true
  5923. );
  5924. }
  5925. if (GM_getValue("Check_relink_dot_us_links", false))
  5926. {
  5927. addFileHost(
  5928. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5929. 'online_detail\\.png" alt="Status',
  5930. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5931. 'unknown_detail\\.png" alt="Status',
  5932. 'optional2--',
  5933. "//a[contains(@href,'relink.us/')]"
  5934. );
  5935. }
  5936. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5937. {
  5938. addFileHost(
  5939. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5940. 'div id="dl"',
  5941. 'Sie haben den Link falsch',
  5942. 'optional--',
  5943. 'optional2--',
  5944. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5945. );
  5946. }
  5947. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5948. {
  5949. addFileHost(
  5950. "flyfiles\\.net\/\\w+",
  5951. 'download_button"|"Download file"',
  5952. 'File not found!|Файл не найден',
  5953. 'optional--',
  5954. 'optional2--',
  5955. "//a[contains(@href,'flyfiles.net/')]"
  5956. );
  5957. }
  5958. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5959. {
  5960. addFileHost(
  5961. "wikiupload\\.com\/\\w+",
  5962. 'download-button">',
  5963. 'Sorry, File not found',
  5964. 'optional--',
  5965. 'optional2--',
  5966. "//a[contains(@href,'wikiupload.com/')]"
  5967. );
  5968. }
  5969. if (GM_getValue("Check_hostuje_dot_net_links", false))
  5970. {
  5971. addFileHost(
  5972. "hostuje\\.net\/file\\.php\\?id=\\w+",
  5973. 'file\\.php">|Pobierz Plik',
  5974. 'Podany plik nie zosta',
  5975. 'optional--',
  5976. 'optional2--',
  5977. "//a[contains(@href,'hostuje.net/file')]"
  5978. );
  5979. }
  5980. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  5981. {
  5982. addFileHost(
  5983. "gettyfile\\.ru\/\\d+",
  5984. 'download\\.gif border',
  5985. '<center><font size="3">',
  5986. 'optional--',
  5987. 'optional2--',
  5988. "//a[contains(@href,'gettyfile.ru/')]"
  5989. );
  5990. }
  5991. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  5992. {
  5993. addFileHost(
  5994. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  5995. 'download\\-file">',
  5996. 'col-1">\\s*<h1>',
  5997. 'optional--',
  5998. 'optional2--',
  5999. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6000. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6001. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6002. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6003. );
  6004. }
  6005. if (GM_getValue("Check_data_dot_hu_links", false))
  6006. {
  6007. addFileHost(
  6008. "data\\.hu\/get\/\\d+\/",
  6009. 'download_box_button',
  6010. 'missing\\.php',
  6011. 'optional--',
  6012. 'optional2--',
  6013. "//a[contains(@href,'data.hu/get')]",
  6014. true
  6015. );
  6016. }
  6017. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6018. {
  6019. addFileHost(
  6020. "filesmelt\\.com\/dl\/\\w+",
  6021. '(Your download is ready|Download File)',
  6022. 'Sorry, but your',
  6023. 'optional--',
  6024. 'optional2--',
  6025. "//a[contains(@href,'filesmelt.com/dl')]"
  6026. );
  6027. }
  6028. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6029. {
  6030. addFileHost(
  6031. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6032. 'premiumBtn"',
  6033. 'errorMessage"',
  6034. 'optional--',
  6035. 'optional2--',
  6036. "//a[contains(@href,'indowebster.com/download')]"
  6037. );
  6038. }
  6039. if (GM_getValue("Check_superload_dot_cz_links", false))
  6040. {
  6041. addFileHost(
  6042. "superload\\.cz\/dl\/\\w+",
  6043. 'icon-download">',
  6044. 'soubor nebyl nalezen',
  6045. 'optional--',
  6046. 'optional2--',
  6047. "//a[contains(@href,'superload.cz/dl')]"
  6048. );
  6049. }
  6050. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6051. {
  6052. addFileHost(
  6053. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6054. 'op" value="download',
  6055. 'class="err">|width:500px;text-align:left;">',
  6056. 'optional--',
  6057. 'optional2--',
  6058. "//a[contains(@href,'hulkfile.')]"
  6059. );
  6060. }
  6061. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6062. {
  6063. addFileHost(
  6064. "easybytez\\.com\/\\w+",
  6065. 'op" value="download',
  6066. 'stop_error\\.gif',
  6067. 'optional--',
  6068. 'optional2--',
  6069. "//a[contains(@href,'easybytez.com/')]"
  6070. );
  6071. }
  6072. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6073. {
  6074. addFileHost(
  6075. "filestore\\.com\\.ua\/\\?d=\\w+",
  6076. 'tdrow1>',
  6077. 'class=warn',
  6078. 'optional--',
  6079. 'optional2--',
  6080. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6081. );
  6082. }
  6083. if (GM_getValue("Check_netkups_dot_com_links", false))
  6084. {
  6085. addFileHost(
  6086. "netkups\\.com\/\\?d=\\w+",
  6087. 'submit">Continue',
  6088. 'page">File not found|deleted due to inactivity',
  6089. 'optional--',
  6090. 'optional2--',
  6091. "//a[contains(@href,'netkups.com/?d=')]"
  6092. );
  6093. }
  6094. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6095. {
  6096. addFileHost(
  6097. "openfile\\.ru\/(?:video\/|)\\d+",
  6098. 'videobox_left">',
  6099. 'blog_title">|not found on this server',
  6100. 'optional--',
  6101. 'optional2--',
  6102. "//a[contains(@href,'openfile.ru/')]"
  6103. );
  6104. }
  6105. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6106. {
  6107. addFileHost(
  6108. "extmatrix\\.com\/files\/\\w+",
  6109. 'div class="success"',
  6110. 'div class="error"',
  6111. 'optional--',
  6112. 'optional2--',
  6113. "//a[contains(@href,'extmatrix.com/files')]"
  6114. );
  6115. }
  6116. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6117. {
  6118. addFileHost(
  6119. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6120. 'content_lnkDownload',
  6121. 'error\\.aspx\\?',
  6122. 'optional--',
  6123. 'optional2--',
  6124. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6125. );
  6126. }
  6127. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6128. {
  6129. addFileHost(
  6130. "yourfilestore\\.com\/download\/\\d+\/",
  6131. 'download_data">',
  6132. 'may have been deleted|<h1>Sorry!<\/h1>',
  6133. 'optional--',
  6134. 'optional2--',
  6135. "//a[contains(@href,'yourfilestore.com/download')]"
  6136. );
  6137. }
  6138. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6139. {
  6140. addFileHost(
  6141. "nekaka\\.com\/d\/[\\w-]+",
  6142. 'downloadForm">',
  6143. 'invalid file link',
  6144. 'optional--',
  6145. 'optional2--',
  6146. "//a[contains(@href,'nekaka.com/d')]"
  6147. );
  6148. }
  6149. if (GM_getValue("Check_filebig_dot_net_links", false))
  6150. {
  6151. addFileHost(
  6152. "filebig\\.net\/files\/\\w+",
  6153. 'downloadFile">',
  6154. '<p>File not found<\/p>',
  6155. 'optional--',
  6156. 'optional2--',
  6157. "//a[contains(@href,'filebig.net/files')]"
  6158. );
  6159. }
  6160. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6161. {
  6162. addFileHost(
  6163. "files\\.filefront\\.com\/\/;\\d+;;",
  6164. 'downloadLink">',
  6165. 'File not found, you',
  6166. 'optional--',
  6167. 'optional2--',
  6168. "//a[contains(@href,'files.filefront.com')]"
  6169. );
  6170.  
  6171. addFileHost(
  6172. "gamefront\\.com\/files\/\\d+",
  6173. 'downloadLink">',
  6174. 'File not found, you',
  6175. 'optional--',
  6176. 'optional2--',
  6177. "//a[contains(@href,'gamefront.com/files')]"
  6178. );
  6179. }
  6180. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6181. {
  6182. addFileHost(
  6183. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6184. 'dnlLnk"',
  6185. 'already been deleted',
  6186. 'optional--',
  6187. 'optional2--',
  6188. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6189. );
  6190. }
  6191. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6192. {
  6193. addFileHost(
  6194. "hellupload\\.com\/\\w+",
  6195. '<h3>Download File<br',
  6196. 'id="podstrona">|AVOID_IE_BUG',
  6197. 'optional--',
  6198. 'optional2--',
  6199. "//a[contains(@href,'hellupload.com/')]"
  6200. );
  6201. }
  6202. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6203. {
  6204. addFileHost(
  6205. "free\\-uploading\\.com\/\\w+",
  6206. 'op" value="download',
  6207. 'class="err">|width:500px;text-align:left;">',
  6208. 'optional--',
  6209. 'optional2--',
  6210. "//a[contains(@href,'free-uploading.com/')]"
  6211. );
  6212. }
  6213. if (GM_getValue("Check_fileape_dot_com_links", false))
  6214. {
  6215. addFileHost(
  6216. "fileape\\.com\/download\\-",
  6217. 'button_dl\\.png',
  6218. 'does not exist\\.',
  6219. 'optional--',
  6220. 'optional2--',
  6221. "//a[contains(@href,'fileape.com/')]"
  6222. );
  6223. }
  6224. if (GM_getValue("Check_uppit_dot_com_links", false))
  6225. {
  6226. addFileHost(
  6227. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6228. 'op" value="download',
  6229. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6230. 'optional--',
  6231. 'optional2--',
  6232. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6233. true
  6234. );
  6235. }
  6236. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6237. {
  6238. addFileHost(
  6239. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6240. 'op" value="download',
  6241. '>File Not Found<',
  6242. 'optional--',
  6243. 'optional2--',
  6244. "//a[contains(@href,'nosupload.com')]",
  6245. true
  6246. );
  6247. }
  6248. if (GM_getValue("Check_filesin_dot_com_links", false))
  6249. {
  6250. addFileHost(
  6251. "filesin\\.com\/\\w+\/download\\.html",
  6252. 'download_area">',
  6253. 'error_note">',
  6254. 'optional--',
  6255. 'optional2--',
  6256. "//a[contains(@href,'filesin.com/')]",
  6257. true
  6258. );
  6259. }
  6260. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6261. {
  6262. addFileHost(
  6263. "nowdownload\\.ch\/dl\/\\w+",
  6264. 'alert-success"',
  6265. 'This file does not exist!',
  6266. 'The file is being transfered',
  6267. 'optional2--',
  6268. "//a[contains(@href,'nowdownload.ch/dl')]"
  6269. );
  6270. }
  6271. if (GM_getValue("Check_axifile_dot_com_links", false))
  6272. {
  6273. addFileHost(
  6274. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6275. 'Dbutton_big"',
  6276. 'download\\-error\\.php',
  6277. 'optional--',
  6278. 'optional2--',
  6279. "//a[contains(@href,'axifile.com/')]"
  6280. );
  6281. }
  6282. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6283. {
  6284. addFileHost(
  6285. "hulkshare\.com\/\\w+",
  6286. 'download\.sam\.png|This is a private file|id="filename',
  6287. 'File does not exist|fingerprint protected copyright',
  6288. 'optional--',
  6289. 'optional2--',
  6290. "//a[contains(@href,'hulkshare.com')]"
  6291. );
  6292. }
  6293. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6294. {
  6295. addFileHost(
  6296. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6297. 'col-1">\\s*<s',
  6298. 'col-1">\\s*<h',
  6299. 'optional--',
  6300. 'optional2--',
  6301. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6302. );
  6303. }
  6304. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6305. {
  6306. addFileHost(
  6307. "turbobit\\.(?:net|pl)",
  6308. 'id="download-gate-info',
  6309. 'afterWait()|no files in this folder',
  6310. 'optional--',
  6311. 'optional2--',
  6312. "//a[contains(@href,'turbobit.net')]"
  6313. );
  6314. }
  6315. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6316. {
  6317. addFileHost(
  6318. "hitfile\\.net\/download\/folder\/\\d+",
  6319. 'content">\\s*<s',
  6320. 'content">\\s*<h',
  6321. 'optional--',
  6322. 'optional2--',
  6323. "//a[contains(@href,'hitfile.net/download/folder')]"
  6324. );
  6325. }
  6326. if (GM_getValue("Check_movshare_dot_net_links", false))
  6327. {
  6328. addFileHost(
  6329. "movshare\\.net\\/video\\/\\w+",
  6330. 'optional--"',
  6331. 'no longer exists',
  6332. 'optional--',
  6333. 'optional2--',
  6334. "//a[contains(@href,'movshare.net/video')]"
  6335. );
  6336. }
  6337. if (GM_getValue("Check_plunder_dot_com_links", false))
  6338. {
  6339. addFileHost(
  6340. "plunder\.com\/\\w+",
  6341. 'x\/download\\.gif',
  6342. '404 - File or directory not found.',
  6343. 'optional--',
  6344. 'optional2--',
  6345. "//a[contains(@href,'plunder.com')]"
  6346. );
  6347. }
  6348. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6349. {
  6350. addFileHost(
  6351. "mafiastorage\\.com\/\\w+",
  6352. 'op" value="download',
  6353. 'class="err">|style="width:500px;text-align:left;"',
  6354. 'optional--',
  6355. 'optional2--',
  6356. "//a[contains(@href,'mafiastorage.com/')]"
  6357. );
  6358. }
  6359. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6360. {
  6361. addFileHost(
  6362. "uploadspace\.pl\/plik\\w+",
  6363. 'Downloading .+? \\|',
  6364. 'Downloading a file',
  6365. 'optional--',
  6366. 'optional2--',
  6367. "//a[contains(@href,'uploadspace.pl/plik')]"
  6368. );
  6369. }
  6370. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6371. {
  6372. addFileHost(
  6373. "uploadingit\\.com\/file\/\\w+",
  6374. 'downloadTitle">',
  6375. 'deleteContent">',
  6376. 'optional--',
  6377. 'optional2--',
  6378. "//a[contains(@href,'uploadingit.com/file')]"
  6379. );
  6380. }
  6381. if (GM_getValue("Check_rghost_dot_net_links", false))
  6382. {
  6383. addFileHost(
  6384. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6385. 'download_link|btn large download',
  6386. 'file is restricted|File is deleted|503 Service Unavailable',
  6387. 'optional--',
  6388. 'optional2--',
  6389. "//a[contains(@href,'rghost.')]"
  6390. );
  6391. }
  6392. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6393. {
  6394. addFileHost(
  6395. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6396. '">Staženo:\\s*<\/span>',
  6397. 'Soubor, který hledáte nenalezen',
  6398. 'optional--',
  6399. 'optional2--',
  6400. "//a[contains(@href,'xdisk.cz/')]"
  6401. );
  6402. }
  6403. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6404. {
  6405. addFileHost(
  6406. "expressleech\.com\/\\w+",
  6407. 'src="/img/Download.gif"|var _gaq =',
  6408. 'var rr =|403 Forbidden',
  6409. 'optional--',
  6410. 'optional2--',
  6411. "//a[contains(@href,'expressleech.com')]");
  6412. }
  6413. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6414. {
  6415. addFileHost(
  6416. "2downloadz\.com\/\\w+",
  6417. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6418. 'color="#006DCC|File error',
  6419. 'optional--',
  6420. 'optional2--',
  6421. "//a[contains(@href,'2downloadz.com')]");
  6422. }
  6423. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6424. {
  6425. addFileHost(
  6426. "mightyupload\.com\/\\w+",
  6427. 'background:#ccc;text-align|CONTENT="Download File"',
  6428. 'style="background:#eee|var rr =|File Not Found',
  6429. 'error-code">1010',
  6430. 'optional2--',
  6431. "//a[contains(@href,'mightyupload.com')]");
  6432. }
  6433. if (GM_getValue("Check_anysend_dot_com_links", false))
  6434. {
  6435. addFileHost(
  6436. "anysend\.com\/\\w+",
  6437. 'var openCalled=false;|content="noindex"',
  6438. '_trackPageview',
  6439. 'optional--',
  6440. 'optional2--',
  6441. "//a[contains(@href,'anysend.com')]");
  6442. }
  6443. if (GM_getValue("Check_datafile_dot_com_links", false))
  6444. {
  6445. addFileHost(
  6446. "datafile\.com\/\\w+",
  6447. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6448. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6449. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6450. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">', //<style type="text/css">
  6451. "//a[contains(@href,'datafile.com')]",
  6452. true);
  6453. }
  6454. if (GM_getValue("Check_upstore_dot_net_links", false))
  6455. {
  6456. addFileHost(
  6457. "upstore\.net\/\\w+",
  6458. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6459. 'File not found|onload="redirect|class="error">',
  6460. 'optional--',
  6461. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6462. "//a[contains(@href,'upstore.net')]");
  6463. }
  6464. if (GM_getValue("Check_upsto_dot_re_links", false))
  6465. {
  6466. addFileHost(
  6467. "upsto\.re\/\\w+",
  6468. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6469. 'File not found|onload="redirect|class="error">',
  6470. 'optional--',
  6471. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6472. "//a[contains(@href,'upsto.re')]");
  6473. }
  6474. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6475. {
  6476. addFileHost(
  6477. "speedy\.sh\/\\w+",
  6478. 'bgcolor=#eeeeee|class="addthis',
  6479. 'File not found|downloadfilenamenotfound>',
  6480. 'optional--',
  6481. 'optional2--',
  6482. "//a[contains(@href,'speedy.sh')]");
  6483. }
  6484. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6485. {
  6486. addFileHost(
  6487. "sanshare\.com\/\\w+",
  6488. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6489. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6490. 'optional--',
  6491. 'optional2--',
  6492. "//a[contains(@href,'sanshare.com')]");
  6493. }
  6494. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6495. {
  6496. addFileHost(
  6497. "kingfiles\.net\/\\w+",
  6498. 'method_free',
  6499. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6500. 'optional--',
  6501. 'optional2--',
  6502. "//a[contains(@href,'kingfiles.net')]");
  6503. }
  6504. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6505. {
  6506. addFileHost(
  6507. "uploadhero\\.co\/dl\/\\w+",
  6508. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6509. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6510. 'optional--',
  6511. 'optional2--',
  6512. "//a[contains(@href,'uploadhero.co/dl')]"
  6513. );
  6514. } */
  6515. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6516. {
  6517. addFileHost(
  6518. "secureupload\\.eu\/\\w+",
  6519. 'Downloading',
  6520. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6521. 'optional--',
  6522. 'optional2--',
  6523. "//a[contains(@href,'secureupload.eu')]"
  6524. );
  6525. }
  6526. if (GM_getValue("Check_ge_dot_tt_links", false))
  6527. {
  6528. addFileHost(
  6529. "ge\.tt\/\\w+",
  6530. 'downloads pic',
  6531. 'is NOT the same as',
  6532. 'optional--',
  6533. 'optional2--',
  6534. "//a[contains(@href,'ge.tt')]");
  6535. }
  6536. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6537. {
  6538. addFileHost(
  6539. "filefactory\.com\/\\w+",
  6540. 'div id="file_holder"|download.css',
  6541. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6542. 'Server Maintenance|temporarily overloaded',
  6543. 'Premium Account Required',
  6544. "//a[contains(@href,'filefactory.com')]");
  6545. }
  6546. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6547. {
  6548. addFileHost(
  6549. "filesflash\.net\/\\w+",
  6550. 'align:right">Filename:',
  6551. 'class="msg">',
  6552. 'optional--',
  6553. 'optional2--',
  6554. "//a[contains(@href,'filesflash.net')]");
  6555. }
  6556. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6557. {
  6558. addFileHost(
  6559. "rapidgator\\.net\/folder\/\\w+",
  6560. 'href="/folder/',
  6561. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6562. 'optional--',
  6563. 'optional2--',
  6564. "//a[contains(@href,'rapidgator.net/folder')]",
  6565. true
  6566. );
  6567. }
  6568. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6569. {
  6570. addFileHost(
  6571. "salefiles\.com\/\\w+",
  6572. 'name="method_free',
  6573. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6574. 'optional--',
  6575. 'optional2--',
  6576. "//a[contains(@href,'salefiles.com')]");
  6577. }
  6578. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6579. {
  6580. addFileHost(
  6581. "megairon\.net\/\\w+",
  6582. 'border: 5px #ffeb90 solid;',
  6583. 'CONTENT="Download File ">|var rr =',
  6584. 'error-code">523',
  6585. 'optional2--',
  6586. "//a[contains(@href,'megairon.net')]",
  6587. true);
  6588. } */
  6589. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6590. {
  6591. addFileHost(
  6592. "datoid\.cz\/\\w+",
  6593. 'btn-download|class="icon-download-large"',
  6594. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6595. 'optional--',
  6596. 'optional2--',
  6597. "//a[contains(@href,'datoid.cz')]");
  6598. }
  6599. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6600. {
  6601. addFileHost(
  6602. "stiahni\.si\/\\w+",
  6603. 'report_icon.png"|slow-download-button',
  6604. 'none.png|deleted|<h2>Error 500</h2>',
  6605. 'optional--',
  6606. 'optional2--',
  6607. "//a[contains(@href,'stiahni.si')]");
  6608. }
  6609. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6610. {
  6611. addFileHost(
  6612. "cloudstor\.es\/\\w+",
  6613. '"btn_download"',
  6614. '404: Page Not Found',
  6615. 'optional--',
  6616. 'optional2--',
  6617. "//a[contains(@href,'cloudstor.es')]");
  6618. }
  6619. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6620. {
  6621. addFileHost(
  6622. "streamfile\.com\/\\w+",
  6623. 'class="btn',
  6624. 'class="green-btn',
  6625. 'optional--',
  6626. 'optional2--',
  6627. "//a[contains(@href,'streamfile.com')]");
  6628. }
  6629. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6630. {
  6631. addFileHost(
  6632. "eyesfile\.ca\/\\w+",
  6633. 'value="Get Link',
  6634. 'var rr =',
  6635. 'optional--',
  6636. 'optional2--',
  6637. "//a[contains(@href,'eyesfile.ca')]");
  6638. }
  6639. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6640. {
  6641. addFileHost(
  6642. "filemoney\.com\/\\w+",
  6643. 'og:title',
  6644. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6645. 'error-code">1010',
  6646. 'optional2--',
  6647. "//a[contains(@href,'filemoney.com')]");
  6648. }
  6649. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6650. {
  6651. addFileHost(
  6652. "uploadboy\.com\/\\w+",
  6653. 'width="740">|method_free',
  6654. 'var rr =|background:#ffffff|not be found|file was removed',
  6655. 'optional--',
  6656. 'optional2--',
  6657. "//a[contains(@href,'uploadboy.com')]");
  6658. }
  6659. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6660. {
  6661. addFileHost(
  6662. "uploadboy\.com\/\\w+",
  6663. 'width="740">|method_free',
  6664. 'var rr =|background:#ffffff|not be found|file was removed',
  6665. 'optional--',
  6666. 'optional2--',
  6667. "//a[contains(@href,'uploadboy.me')]");
  6668. }
  6669. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6670. {
  6671. addFileHost(
  6672. "speedshare\.eu\/\\w+",
  6673. 'favicon.png|color:#3d87c0|cross.png"',
  6674. 'var rr =|File Not Found|style="background:#eee',
  6675. 'optional--',
  6676. 'optional2--',
  6677. "//a[contains(@href,'speedshare.eu')]");
  6678. }
  6679. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6680. {
  6681. addFileHost(
  6682. "unlimitzone\.com\/\\w+",
  6683. 'name="method_free',
  6684. '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',
  6685. 'optional--',
  6686. 'optional2--',
  6687. "//a[contains(@href,'unlimitzone.com')]");
  6688. }
  6689. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6690. {
  6691. addFileHost(
  6692. "rioupload\.com\/\\w+",
  6693. 'sell.jpg',
  6694. 'var rr =',
  6695. 'optional--',
  6696. 'optional2--',
  6697. "//a[contains(@href,'rioupload.com')]");
  6698. }
  6699. if (GM_getValue("Check_rg_dot_to_links", false))
  6700. {
  6701. addFileHost(
  6702. "rg\.to\/\\w+",
  6703. '/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',
  6704. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6705. 'optional--',
  6706. 'can be downloaded by premium only|files up to 500 MB in free mode',
  6707. "//a[contains(@href,'rg.to')]");
  6708. }
  6709. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6710. {
  6711. addFileHost(
  6712. "jumbofiles\.org\/\\w+",
  6713. 'H71C5.png|class="downloadtitle">',
  6714. 'var swfu|ViewSourceBIN.png',
  6715. 'optional--',
  6716. 'optional2--',
  6717. "//a[contains(@href,'jumbofiles.org')]");
  6718. }
  6719. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6720. {
  6721. addFileHost(
  6722. "fshare\\.vn\/file\/\\w+",
  6723. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6724. 'không tồn tại|class="color_red m_t_50"',
  6725. 'optional--',
  6726. 'optional2--',
  6727. "//a[contains(@href,'fshare.vn/file')]",
  6728. true
  6729. );
  6730. }
  6731. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6732. {
  6733. addFileHost(
  6734. "spaceforfiles\.com\/\\w+",
  6735. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6736. 'var rr =|AVOID_IE_BUG',
  6737. 'optional--',
  6738. 'optional2--',
  6739. "//a[contains(@href,'spaceforfiles.com')]");
  6740. }
  6741. if (GM_getValue("Check_google_dot_com_links", false))
  6742. {
  6743. addFileHost(
  6744. "google\\.com\/file\/\\w+",
  6745. 'content="!">|color:#2d2d2d',
  6746. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6747. 'optional--',
  6748. 'optional2--',
  6749. "//a[contains(@href,'google.com/file')]",
  6750. true
  6751. );
  6752. }
  6753. if (GM_getValue("Check_google_dot_com_links", false))
  6754. {
  6755. addFileHost(
  6756. "docs.google.com\/\\w+",
  6757. 'content="!">|color:#2d2d2d',
  6758. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6759. 'optional--',
  6760. 'optional2--',
  6761. "//a[contains(@href,'docs.google.com')]",
  6762. true
  6763. );
  6764. }
  6765. if (GM_getValue("Check_google_dot_com_links", false))
  6766. {
  6767. addFileHost(
  6768. "drive.google.com\/\\w+",
  6769. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6770. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6771. 'optional--',
  6772. 'optional2--',
  6773. "//a[contains(@href,'drive.google.com')]",
  6774. true
  6775. );
  6776. }
  6777. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6778. {
  6779. addFileHost(
  6780. "up.media1fire\.com\/\\w+",
  6781. 'class="addthis_|value="download',
  6782. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6783. 'optional--',
  6784. 'optional2--',
  6785. "//a[contains(@href,'up.media1fire.com')]");
  6786. }
  6787. if (GM_getValue("Check_depfile_dot_com_links", false))
  6788. {
  6789. addFileHost(
  6790. "depfile\.com\/\\w+",
  6791. 'logo_0.png|downloads.gif"|verifycode',
  6792. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6793. 'optional--',
  6794. 'available only for Premium users',
  6795. "//a[contains(@href,'depfile.com')]");
  6796. }
  6797. if (GM_getValue("Check_go4up_dot_com_links", false))
  6798. {
  6799. addFileHost(
  6800. "go4up\.com\/\\w+",
  6801. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6802. '<title>GO4UP|dmca',
  6803. 'optional--',
  6804. 'optional2--',
  6805. "//a[contains(@href,'go4up.com')]");
  6806. }
  6807. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6808. {
  6809. addFileHost(
  6810. "redbunker\.net\/\\w+",
  6811. 'name="method_free"',
  6812. 'color="red">Unknow / Bilinmiyor<',
  6813. 'optional--',
  6814. 'optional2--',
  6815. "//a[contains(@href,'redbunker.net')]");
  6816. }
  6817. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6818. {
  6819. addFileHost(
  6820. "divxpress\.com\/\\w+",
  6821. 'btn_download|logo.png"',
  6822. 'AVOID_IE_BUG|var rr =',
  6823. 'optional--',
  6824. 'optional2--',
  6825. "//a[contains(@href,'divxpress.com')]");
  6826. }
  6827. if (GM_getValue("Check_anafile_dot_com_links", false))
  6828. {
  6829. addFileHost(
  6830. "anafile\.com\/\\w+",
  6831. 'width="881" valign="top|color="#800080"|name="go"',
  6832. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6833. 'optional--',
  6834. 'optional2--',
  6835. "//a[contains(@href,'anafile.com')]");
  6836. }
  6837. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6838. {
  6839. addFileHost(
  6840. "uploadable\\.ch\/file\/\\w+",
  6841. 'captcha.js"|payment.js"|class="btn_download"',
  6842. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6843. 'optional--',
  6844. 'optional2--',
  6845. "//a[contains(@href,'uploadable.ch/file')]",
  6846. true
  6847. );
  6848. }
  6849. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6850. {
  6851. addFileHost(
  6852. "arabloads\.net\/\\w+",
  6853. 'name="method_free"|name="method_premium"',
  6854. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6855. 'optional--',
  6856. 'optional2--',
  6857. "//a[contains(@href,'arabloads.net')]");
  6858. }
  6859. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6860. {
  6861. addFileHost(
  6862. "sharerepo\.com\/\\w+",
  6863. 'name="method_free"',
  6864. 'var public_on=|The file you were looking for could not be found',
  6865. 'optional--',
  6866. 'optional2--',
  6867. "//a[contains(@href,'sharerepo.com')]");
  6868. }
  6869. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6870. {
  6871. addFileHost(
  6872. "sfshare\.se\/\\w+",
  6873. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6874. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6875. 'optional--',
  6876. 'optional2--',
  6877. "//a[contains(@href,'sfshare.se')]");
  6878. }
  6879. if (GM_getValue("Check_files_dot_fm_links", false))
  6880. {
  6881. addFileHost(
  6882. "files\.fm\/\\w+",
  6883. 'dl.png"|background-color: transparent',
  6884. 'margin: 40px 40px|background: none;',
  6885. 'optional--',
  6886. 'optional2--',
  6887. "//a[contains(@href,'files.fm')]");
  6888. }
  6889. if (GM_getValue("Check_koofile_dot_com_links", false))
  6890. {
  6891. addFileHost(
  6892. "koofile\.com\/\\w+",
  6893. 'value="download1">|name="method_free"',
  6894. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6895. 'optional--',
  6896. 'optional2--',
  6897. "//a[contains(@href,'koofile.com')]");
  6898. }
  6899. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6900. {
  6901. addFileHost(
  6902. "vidxden\\.com\/\\w+",
  6903. 'Continue to Video"',
  6904. 'No such file',
  6905. 'optional--',
  6906. 'optional2--',
  6907. "//a[contains(@href,'vidxden.com')]"
  6908. );
  6909. }
  6910. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6911. {
  6912. addFileHost(
  6913. "muchshare\\.net\/\\w+",
  6914. 'id="btn_download"',
  6915. 'File Not Found|width: 500px; text-align: left;',
  6916. 'optional--',
  6917. 'optional2--',
  6918. "//a[contains(@href,'muchshare.net')]"
  6919. );
  6920. }
  6921. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6922. {
  6923. addFileHost(
  6924. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6925. 'Details zur Datei|Details page',
  6926. 'Jetzt hochladen|upload now',
  6927. 'optional--',
  6928. 'optional2--',
  6929. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6930. );
  6931. }
  6932. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6933. {
  6934. addFileHost(
  6935. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6936. 'downloadbtn"',
  6937. 'DL_FileNotFound',
  6938. 'optional--',
  6939. 'optional2--',
  6940. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6941. );
  6942. }
  6943. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6944. {
  6945. addFileHost(
  6946. "fileflyer\.com\/view\/\\w+",
  6947. '(?:dwl|locked)btn"',
  6948. 'error.gif"|link">Removed|removedlink">',
  6949. 'optional--',
  6950. 'optional2--',
  6951. "//a[contains(@href,'fileflyer.com')]"
  6952. );
  6953. }
  6954. if (GM_getValue("Check_filestore_dot_to_links", false))
  6955. {
  6956. addFileHost(
  6957. "filestore\.to\/\\?d=\\w+",
  6958. '"downloading"',
  6959. 'Datei wurde nicht gefunden',
  6960. 'optional--',
  6961. 'optional2--',
  6962. "//a[contains(@href,'filestore.to')]"
  6963. );
  6964. }
  6965. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6966. {
  6967. addFileHost(
  6968. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6969. 'fz24">Download|class="pl15">',
  6970. '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',
  6971. 'optional--',
  6972. 'optional2--',
  6973. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  6974. );
  6975. }
  6976. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  6977. {
  6978. addFileHost(
  6979. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  6980. 'File size:',
  6981. 'file is not found',
  6982. 'optional--',
  6983. 'optional2--',
  6984. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  6985. );
  6986. } */
  6987. if (GM_getValue("Check_datei_dot_to_links", false))
  6988. {
  6989. addFileHost(
  6990. "datei\\.to\/\\??\\w+",
  6991. 'icon_downloaden\\.png|>Download starten<',
  6992. 'Datei wurde nicht gefunden|icon_deleted.png',
  6993. 'optional--',
  6994. 'optional2--',
  6995. "//a[contains(@href,'datei.to')]"
  6996. );
  6997. }
  6998. if (GM_getValue("Check_yunfile_dot_com_links", false))
  6999. {
  7000. addFileHost(
  7001. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7002. '<body class="body" id="body">|value="Slow Download"',
  7003. '<body class="body" >',
  7004. 'optional--',
  7005. 'optional2--',
  7006. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7007. );
  7008. }
  7009. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7010. {
  7011. addFileHost(
  7012. "uploadhero\\.com\/dl\/\\w+",
  7013. 'content-dl">',
  7014. 'men_file_lost\\.jpg"',
  7015. 'optional--',
  7016. 'optional2--',
  7017. "//a[contains(@href,'uploadhero.com/dl')]"
  7018. );
  7019. } */
  7020. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7021. {
  7022. addFileHost(
  7023. "unibytes\\.com\/[\\w\.]+",
  7024. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7025. 'File not found|Файл не найден|',
  7026. 'optional--',
  7027. 'optional2--',
  7028. "//a[contains(@href,'unibytes.com')]"
  7029. );
  7030. }
  7031. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7032. {
  7033. addFileHost(
  7034. "www\\.hellshare\\.com\/\\d+",
  7035. 'tab\\-details"',
  7036. 'list-purp-2"|not found on this server',
  7037. 'optional--',
  7038. 'optional2--',
  7039. "//a[contains(@href,'www.hellshare.com')]"
  7040. );
  7041. }
  7042. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7043. {
  7044. addFileHost(
  7045. "quickshare\\.cz\/slozka-\\d+",
  7046. 'Počet souborů: <strong>[1-9]',
  7047. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7048. 'optional--',
  7049. 'optional2--',
  7050. "//a[contains(@href,'quickshare.cz/slozka')]"
  7051. );
  7052. } */
  7053. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7054. {
  7055. addFileHost(
  7056. "filefactory\\.com\/f\/\\w+",
  7057. 'folderFileList">',
  7058. 'table class="items"|Pointer" class="red">',
  7059. 'optional--',
  7060. 'optional2--',
  7061. "//a[contains(@href,'filefactory.com/f/')]"
  7062. );
  7063. }
  7064. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7065. {
  7066. addFileHost(
  7067. "netfolder\\.in\/\\w+",
  7068. 'list" value="http',
  7069. 'InPage_Error">|list" value=""',
  7070. 'optional--',
  7071. 'optional2--',
  7072. "//a[contains(@href,'netfolder.in')]"
  7073. );
  7074. } */
  7075. if (GM_getValue("Check_load_dot_to_links", false))
  7076. {
  7077. addFileHost(
  7078. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7079. '"download_table_left">Size',
  7080. 'Can\'t find file',
  7081. 'optional--',
  7082. 'optional2--',
  7083. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7084. );
  7085. }
  7086. if (GM_getValue("Check_divshare_dot_com_links", false))
  7087. {
  7088. addFileHost(
  7089. "divshare\\.com\/download\/",
  7090. 'download_new\.png',
  7091. 'have been removed',
  7092. 'optional--',
  7093. 'optional2--',
  7094. "//a[contains(@href,'divshare.com')]"
  7095. );
  7096. }
  7097. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7098. {
  7099. addFileHost(
  7100. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7101. 'class="nazev-souboru',
  7102. '<div class="background margin-top vlevo" style="width: 600px;">',
  7103. 'optional--',
  7104. 'optional2--',
  7105. "//a[contains(@href,'euroshare.eu/file')]"
  7106. );
  7107. }
  7108. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7109. {
  7110. addFileHost(
  7111. 'files\\.mail\\.ru/(?:\\w*)',
  7112. 'fileList',
  7113. 'errorMessage',
  7114. 'optional--',
  7115. 'optional2--',
  7116. "//a[contains(@href,'files.mail.ru')]"
  7117. );
  7118. }
  7119. if (GM_getValue("Check_megashares_dot_com_links", false))
  7120. {
  7121. addFileHost(
  7122. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7123. 'Filesize',
  7124. 'Invalid|deleted|Could not download file',
  7125. 'slots|scheduled maintenance',
  7126. 'optional2--',
  7127. "//a[contains(@href,'megashares.com/')]"
  7128. );
  7129. }
  7130. if (GM_getValue("Check_narod_dot_ru_links", false))
  7131. {
  7132. addFileHost(
  7133. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7134. 'b-submit',
  7135. 'b-download-virus-note|headCode">404<',
  7136. 'Внутренняя ошибка сервиса',
  7137. 'optional2--',
  7138. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7139. );
  7140. }
  7141. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7142. {
  7143. addFileHost(
  7144. "rayfile\\.com\/",
  7145. 'FILEtitleTXT',
  7146. 'blueRow',
  7147. 'optional--',
  7148. 'optional2--',
  7149. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7150. );
  7151. }
  7152. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7153. {
  7154. addFileHost(
  7155. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7156. 'button_green_body"',
  7157. 'error">',
  7158. 'optional--',
  7159. 'optional2--',
  7160. "//a[contains(@href,'filesmonster.com/download')]"
  7161. );
  7162. }
  7163. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7164. {
  7165. addFileHost(
  7166. 'usaupload\\.net\/d\/(?:\w*)',
  7167. '<strong>File size:</strong>',
  7168. 'is not available',
  7169. 'optional--',
  7170. 'optional2--',
  7171. "//a[contains(@href,'usaupload.net/d/')]"
  7172. );
  7173. }
  7174. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7175. {
  7176. addFileHost(
  7177. 'sendspace\\.com\/file\/\\w+',
  7178. 'file_description',
  7179. 'msg error"',
  7180. 'optional--',
  7181. 'optional2--',
  7182. "//a[contains(@href,'sendspace.com/file')]"
  7183. );
  7184. }
  7185. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7186. {
  7187. addFileHost(
  7188. 'sendspace\\.pl\/file\/\\w+',
  7189. 'download_file"',
  7190. 'Podany plik nie',
  7191. 'optional--',
  7192. 'optional2--',
  7193. "//a[contains(@href,'sendspace.pl/file')]"
  7194. );
  7195. }
  7196. if (GM_getValue("Check_uploading_dot_com_links", false))
  7197. {
  7198. addFileHost(
  7199. 'uploading\\.com\/(?:files\/)?\\w+',
  7200. 'free_method">',
  7201. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7202. 'optional--',
  7203. 'optional2--',
  7204. "//a[contains(@href,'uploading.com')]"
  7205. );
  7206. }
  7207. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7208. {
  7209. addFileHost(
  7210. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7211. 'fileId"',
  7212. 'error">',
  7213. 'optional--',
  7214. 'optional2--',
  7215. "//a[contains(@href,'gigasize.com/get')]"
  7216. );
  7217. }
  7218. if (GM_getValue("Check_good_dot_com_links", false))
  7219. {
  7220. addFileHost(
  7221. 'good\\.net\/(?:_|dl)',
  7222. 'Free Download',
  7223. 'Not Found',
  7224. 'Forbidden',
  7225. 'optional2--',
  7226. "//a[contains(@href,'good.net')]"
  7227. );
  7228. }
  7229. if (GM_getValue("Check_2shared_dot_com_links", false))
  7230. {
  7231. addFileHost(
  7232. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7233. 'File size',
  7234. 'File not found|is not valid|/images/important.gif',
  7235. 'optional--',
  7236. 'optional2--',
  7237. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7238. );
  7239. }
  7240. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7241. {
  7242. addFileHost(
  7243. 'turboupload\\.com\/\\w*',
  7244. 'You have requested',
  7245. 'File Not Found',
  7246. 'optional--',
  7247. 'optional2--',
  7248. "//a[contains(@href,'turboupload.com')]"
  7249. );
  7250. }
  7251. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7252. {
  7253. addFileHost(
  7254. 'gigapeta\\.com\/dl\/',
  7255. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7256. '404|page_error',
  7257. 'optional--',
  7258. 'optional2--',
  7259. "//a[contains(@href,'gigapeta.com/dl')]"
  7260. );
  7261. }
  7262. if (GM_getValue("Check_veehd_dot_com_links", false))
  7263. {
  7264. addFileHost(
  7265. 'veehd\.com\/video\/.*?',
  7266. 'No sound|Download video',
  7267. 'Featured Videos',
  7268. 'optional--',
  7269. 'optional2--',
  7270. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7271. );
  7272. }
  7273. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7274. {
  7275. addFileHost(
  7276. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7277. 'fast_download_form">|submit_sms_download',
  7278. '<p style="text-align:center">',
  7279. 'optional--',
  7280. 'optional2--',
  7281. "//a[contains(@href,'vip-file.com/download')]"
  7282. );
  7283. }
  7284. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7285. {
  7286. addFileHost(
  7287. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7288. 'download\\-pnl ',
  7289. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7290. 'optional--',
  7291. 'optional2--',
  7292. "//a[contains(@href,'letitbit.net/download')]"
  7293. );
  7294. }
  7295. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7296. {
  7297. addFileHost(
  7298. 'ifolder\.ru\/\\d+',
  7299. 'file-info',
  7300. 'ui-state-error',
  7301. 'optional--',
  7302. 'optional2--',
  7303. "//a[contains(@href,'ifolder.ru')]"
  7304. );
  7305. }
  7306. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7307. {
  7308. addFileHost(
  7309. 'fileswap\\.com\/dl\/\\w+',
  7310. 'bttnDownloadLink"',
  7311. 'rounded_block_error"',
  7312. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7313. 'optional2--',
  7314. "//a[contains(@href,'fileswap.com/dl')]"
  7315. );
  7316. }
  7317. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7318. {
  7319. addFileHost(
  7320. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7321. 'var __error = 0',
  7322. 'FILES__DOESNT_EXIST|removed or did not exist',
  7323. 'optional--',
  7324. 'optional2--',
  7325. "//a[contains(@href,'filecloud.io/')]"
  7326. );
  7327. addFileHost(
  7328. 'ifile\\.it\/\\w+',
  7329. 'var __error = 0',
  7330. 'FILES__DOESNT_EXIST',
  7331. 'optional--',
  7332. 'optional2--',
  7333. "//a[contains(@href,'ifile.it/')]"
  7334. );
  7335. }
  7336. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7337. {
  7338. addFileHost(
  7339. 'solidfiles\\.com\/d\/\\w+',
  7340. 'id="download"|content="Download',
  7341. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7342. 'optional--',
  7343. 'optional2--',
  7344. "//a[contains(@href,'solidfiles.com/d')]"
  7345. );
  7346. }
  7347. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7348. {
  7349. addFileHost(
  7350. "(?:.\\.|)shareflare\\.net",
  7351. 'download-pnl|<div class="premium-block">',
  7352. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7353. 'optional--',
  7354. 'optional2--',
  7355. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7356. );
  7357. }
  7358. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7359. {
  7360. addFileHost(
  7361. "u18116681.shareflare\\.net",
  7362. 'download-pnl|<div class="premium-block">',
  7363. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7364. 'optional--',
  7365. 'optional2--',
  7366. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7367. );
  7368. }
  7369. if (GM_getValue("Check_uloz_dot_to_links", false))
  7370. {
  7371. addFileHost(
  7372. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7373. 'fileDownload">|fileSize">',
  7374. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7375. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7376. 'optional2--',
  7377. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7378. true
  7379. );
  7380. }
  7381. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7382. {
  7383. addFileHost(
  7384. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7385. 'file\\-list-orderby|section-filedetail">',
  7386. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">',
  7387. 'optional--',
  7388. 'optional2--',
  7389. "//a[contains(@href,'hellspy.')]"
  7390. );
  7391. }
  7392. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7393. {
  7394. addFileHost(
  7395. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7396. '<body onload="">',
  7397. 'neexistuje|not exist',
  7398. 'optional--',
  7399. 'optional2--',
  7400. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7401. );
  7402. }
  7403. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7404. {
  7405. addFileHost(
  7406. "stahovanizasms\\.cz\/\\w+",
  7407. 'download\\.png>|font-size:11px><tr>',
  7408. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7409. 'optional--',
  7410. 'optional2--',
  7411. "//a[contains(@href,'stahovanizasms.cz')]"
  7412. );
  7413. }
  7414. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7415. {
  7416. addFileHost(
  7417. "share-links\\.biz\/\\w*",
  7418. 'online\\.gif',
  7419. '(?:offline|parts)\\.gif',
  7420. 'optional--',
  7421. 'optional2--',
  7422. "//a[contains(@href,'share-links.biz')]"
  7423. );
  7424. }
  7425. if (GM_getValue("Check_4shared_dot_com_links", false))
  7426. {
  7427. addFileHost(
  7428. "4shared\\.com\/.+\/",
  7429. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7430. 'class="warn\"|big red"|GetDataBack',
  7431. 'Service Unavailable',
  7432. 'optional2--',
  7433. "//a[contains(@href,'4shared.com')]"
  7434. );
  7435. }
  7436. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7437. {
  7438. addFileHost(
  7439. "(?:www\\d+\.|)zippyshare\.com\/",
  7440. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7441. 'not exist|Status 404',
  7442. 'optional--',
  7443. 'optional2--',
  7444. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7445. );
  7446. }
  7447. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7448. {
  7449. addFileHost(
  7450. "mediafire\.com\/",
  7451. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7452. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7453. 'set to private',
  7454. 'optional2--',
  7455. "//a[contains(@href,'mediafire.com')]"
  7456. );
  7457. }
  7458. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7459. {
  7460. addFileHost(
  7461. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7462. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB',
  7463. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7464. 'optional--',
  7465. 'GB</small>',
  7466. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7467. );
  7468. }
  7469. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7470. {
  7471. addFileHost(
  7472. "ulozisko\.sk\/",
  7473. 'Detaily',
  7474. 'neexistuje',
  7475. 'optional--',
  7476. 'optional2--',
  7477. "//a[contains(@href,'ulozisko.sk')]"
  7478. );
  7479. }
  7480. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7481. {
  7482. addFileHost(
  7483. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7484. 'download.php',
  7485. 'notfound|upload\\-suborov\\.php"',
  7486. 'optional--',
  7487. 'optional2--',
  7488. "//a[contains(@href,'upnito.sk')]"
  7489. );
  7490. }
  7491. if (GM_getValue("Check_box_dot_com_links", false))
  7492. {
  7493. addFileHost(
  7494. "box\.com\/\\w+",
  7495. 'download-file-btn|id="download_button|preview-download',
  7496. 'BIyMin.png| <div class="error_message|link has been removed',
  7497. 'optional--',
  7498. 'optional2--',
  7499. "//a[contains(@href,'app.box.com')]");
  7500. }
  7501. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7502. {
  7503. addFileHost(
  7504. "uptobox\\.com\/\\w+",
  7505. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link',
  7506. 'The file expired|The file was deleted|Fichier introuvable|not available in your country|No files uploaded yet|aucun fichier présent|Belum ada berkas yang diunggah|لا يوجد أي ملف',
  7507. 'Maintenance',
  7508. 'optional2--',
  7509. "//a[contains(@href,'uptobox.com')]"
  7510. );
  7511. }
  7512. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7513. {
  7514. addFileHost(
  7515. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7516. 'FILE DOWNLOAD<',
  7517. 'File Does Not Exist',
  7518. 'optional--',
  7519. 'optional2--',
  7520. "//a[contains(@href,'sharecash.org/download.php')]"
  7521. );
  7522. }
  7523. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7524. {
  7525. addFileHost(
  7526. "depositfiles\\.com\/folders\/\\w+",
  7527. '<div class="progressContainer">',
  7528. '<div id="files" class="files">\\s*<\/div>',
  7529. 'optional--',
  7530. 'optional2--',
  7531. "//a[contains(@href,'depositfiles.com/folders')]"
  7532. );
  7533. }
  7534. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7535. {
  7536. addFileHost(
  7537. "rapidfileshare\\.net/\\w+",
  7538. '<div id="upload-header-bg">',
  7539. '<div style="width:500px;text-align:left;">',
  7540. 'optional--',
  7541. 'optional2--',
  7542. "//a[contains(@href,'rapidfileshare.net/')]"
  7543. );
  7544. }
  7545. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7546. {
  7547. addFileHost(
  7548. "stiahnito\\.sk/",
  7549. '<span class="filesize right">',
  7550. '<ol class="list-purp-2">',
  7551. 'optional--',
  7552. 'optional2--',
  7553. "//a[contains(@href,'stiahnito.sk/')]"
  7554. );
  7555. }
  7556. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7557. {
  7558. addFileHost(
  7559. "rusfolder\\.(?:com|net)",
  7560. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7561. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7562. 'optional--',
  7563. 'optional2--',
  7564. "//a[contains(@href,'rusfolder')]"
  7565. );
  7566. }
  7567. if (GM_getValue("Check_fileover_dot_net_links", false))
  7568. {
  7569. addFileHost(
  7570. "fileover\\.net/\\d+",
  7571. 'id="filesize"',
  7572. 'Not found or deleted|The following file is unavailable',
  7573. 'optional--',
  7574. 'optional2--',
  7575. "//a[contains(@href,'fileover.net/')]"
  7576. );
  7577. }
  7578. if (GM_getValue("Check_catshare_dot_net_links", false))
  7579. {
  7580. addFileHost(
  7581. "catshare\\.net/\\w+",
  7582. '"icon-share',
  7583. 'alert alert-error',
  7584. 'optional--',
  7585. 'optional2--',
  7586. "//a[contains(@href,'catshare.net/')]"
  7587. );
  7588. }
  7589. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7590. {
  7591. addFileHost(
  7592. "anonfiles\\.com/\\w+",
  7593. '"download_button"',
  7594. '<legend><b>404</b>',
  7595. 'optional--',
  7596. 'optional2--',
  7597. "//a[contains(@href,'anonfiles.com')]"
  7598. );
  7599. }
  7600. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7601. {
  7602. addFileHost(
  7603. "mixturecloud\\.com/media/\\w+",
  7604. '"btn icon i_globe gray share_150',
  7605. '"s_cross_close"></span> 404:',
  7606. 'optional--',
  7607. 'optional2--',
  7608. "//a[contains(@href,'mixturecloud.com/media/')]"
  7609. );
  7610. }
  7611. if (GM_getValue("Check_akafile_dot_com_links", false))
  7612. {
  7613. addFileHost(
  7614. "akafile\\.com\/\\w+",
  7615. 'download1',
  7616. 'File Not Found',
  7617. 'optional--',
  7618. 'optional2--',
  7619. "//a[contains(@href,'akafile.com/')]"
  7620. );
  7621. }
  7622. if (GM_getValue("Check_creafile_dot_net_links", false))
  7623. {
  7624. addFileHost(
  7625. "creafile\\.net\/\\w+",
  7626. 'downloadblock',
  7627. 'errtitle',
  7628. 'optional--',
  7629. 'optional2--',
  7630. "//a[contains(@href,'creafile.net/')]"
  7631. );
  7632. }
  7633. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7634. {
  7635. addFileHost(
  7636. "hugefiles\\.net\/\\w+",
  7637. 'download1|class="btn-create-download" value="Create Download Link">',
  7638. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7639. 'optional--',
  7640. 'optional2--',
  7641. "//a[contains(@href,'hugefiles.net/')]"
  7642. );
  7643. }
  7644. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7645. {
  7646. addFileHost(
  7647. "sendmyway\\.com\/\\w+",
  7648. 'id="btn_download"',
  7649. '500px;text-align:left;"|<center><h3>',
  7650. 'optional--',
  7651. 'optional2--',
  7652. "//a[contains(@href,'sendmyway.com/')]"
  7653. );
  7654. }
  7655. if (GM_getValue("Check_upload_dot_ee_links", false))
  7656. {
  7657. addFileHost(
  7658. "upload\\.ee\/\\w+",
  7659. 'onmouseout="document.dllink.src',
  7660. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7661. 'optional--',
  7662. 'optional2--',
  7663. "//a[contains(@href,'upload.ee/')]"
  7664. );
  7665. }
  7666. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7667. {
  7668. addFileHost(
  7669. "shareplace\\.org\/\\?\\w+",
  7670. 'Download-Link',
  7671. 'Your requested file is not found|Select file to send',
  7672. 'optional--',
  7673. 'optional2--',
  7674. "//a[contains(@href,'shareplace.org/?')]"
  7675. );
  7676. }
  7677. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7678. {
  7679. addFileHost(
  7680. "uploadc\\.com\/\\w+",
  7681. 'id="prebut"',
  7682. 'File Not Found|This file has been removed due',
  7683. 'optional--',
  7684. 'optional2--',
  7685. "//a[contains(@href,'uploadc.com/')]"
  7686. );
  7687. }
  7688. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7689. {
  7690. addFileHost(
  7691. "remixshare\\.com\/\\w+",
  7692. 'id="dl2"',
  7693. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7694. 'optional--',
  7695. 'optional2--',
  7696. "//a[contains(@href,'remixshare.com/')]"
  7697. );
  7698. }
  7699. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7700. {
  7701. addFileHost(
  7702. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7703. 'Last Download :',
  7704. 'img src="\\/404.jpg"',
  7705. 'optional--',
  7706. 'optional2--',
  7707. "//a[contains(@href,'exoshare.com/download.php')]"
  7708. );
  7709. }
  7710. if (GM_getValue("Check_borncash_dot_org_links", false))
  7711. {
  7712. addFileHost(
  7713. "borncash\\.org\/download\/\\?a=\\w+",
  7714. 'class="knop_1"',
  7715. '\/error\/er00',
  7716. 'optional--',
  7717. 'optional2--',
  7718. "//a[contains(@href,'borncash.org/download/')]"
  7719. );
  7720. }
  7721. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7722. {
  7723. addFileHost(
  7724. "vidplay\.net\/\\w+",
  7725. 'solvemedia puzzle widget',
  7726. 'File not found|AVOID_IE_BUG',
  7727. 'optional--',
  7728. 'optional2--',
  7729. "//a[contains(@href,'vidplay.net')]");
  7730. }
  7731. if (GM_getValue("Check_storagon_dot_com_links", false))
  7732. {
  7733. addFileHost(
  7734. "storagon\.com\/\\w+",
  7735. 'class="icon-cloud-download"></i>|content="Download Options',
  7736. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7737. 'optional--',
  7738. 'optional2--',
  7739. "//a[contains(@href,'storagon.com')]");
  7740. }
  7741. if (GM_getValue("Check_filedais_dot_com_links", false))
  7742. {
  7743. addFileHost(
  7744. "filedais\.com\/\\w+",
  7745. 'class="btn btn-info"|name="method_free"',
  7746. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7747. 'optional--',
  7748. 'optional2--',
  7749. "//a[contains(@href,'filedais.com')]");
  7750. }
  7751. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7752. {
  7753. addFileHost(
  7754. "up.4share\.vn\/\\w+",
  7755. '<font size="2" face="Verdana">',
  7756. 'font: 13px Tahoma; color: Brown',
  7757. 'optional--',
  7758. 'optional2--',
  7759. "//a[contains(@href,'up.4share.vn')]");
  7760. }
  7761. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7762. {
  7763. addFileHost(
  7764. "share.vnn\.vn\/\\w+",
  7765. '"index,follow"|<div class="main" id="download-box">',
  7766. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7767. 'optional--',
  7768. 'optional2--',
  7769. "//a[contains(@href,'share.vnn.vn')]");
  7770. }
  7771. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7772. {
  7773. addFileHost(
  7774. "upfile\.vn\/\\w+",
  7775. 'download-timer',
  7776. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7777. 'optional--',
  7778. 'optional2--',
  7779. "//a[contains(@href,'upfile.vn')]");
  7780. }
  7781. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7782. {
  7783. addFileHost(
  7784. "aisfile\.com\/\\w+",
  7785. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7786. '<div style="width:500px;text-align:left;">|File Not Found',
  7787. 'optional--',
  7788. 'optional2--',
  7789. "//a[contains(@href,'aisfile.com')]");
  7790. }
  7791. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7792. {
  7793. addFileHost(
  7794. "usersfiles\.com\/\\w+",
  7795. 'class="btn btn-success|id="btn_download" class="btn"',
  7796. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7797. 'optional--',
  7798. 'optional2--',
  7799. "//a[contains(@href,'usersfiles.com')]");
  7800. }
  7801. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7802. {
  7803. addFileHost(
  7804. "pan.baidu\.com\/\\w+",
  7805. 'target="_blank" title=|share-personal-info',
  7806. 'share_notfound.png|background:#f9f9f9',
  7807. 'optional--',
  7808. 'optional2--',
  7809. "//a[contains(@href,'pan.baidu.com')]");
  7810. }
  7811. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7812. {
  7813. addFileHost(
  7814. "yunpan\.cn\/\\w+",
  7815. 'class="icon icon-download',
  7816. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7817. 'optional--',
  7818. 'optional2--',
  7819. "//a[contains(@href,'yunpan.cn')]");
  7820. }
  7821. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7822. {
  7823. addFileHost(
  7824. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7825. 'getElementById("downbild")|style.display',
  7826. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7827. 'optional--',
  7828. 'optional2--',
  7829. "//a[contains(@href,'file-upload.net')]");
  7830. }
  7831. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7832. {
  7833. addFileHost(
  7834. "gulfup\.com\/",
  7835. '<!-- Downlod template -->|download.gif',
  7836. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7837. 'optional--',
  7838. 'optional2--',
  7839. "//a[contains(@href,'gulfup.com')]");
  7840. }
  7841. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7842. {
  7843. addFileHost(
  7844. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7845. 'dldtable">',
  7846. 'does not exist\\.',
  7847. 'optional--',
  7848. 'optional2--',
  7849. "//a[contains(@href,'datafilehost.com')]");
  7850. }
  7851. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7852. {
  7853. addFileHost(
  7854. "dropbox\.com\/s\/\\w+",
  7855. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7856. '>Nothing Here<|>Error (404)<',
  7857. 'title>Dropbox - 509|Error (403)|Error: 429',
  7858. 'optional2--',
  7859. "//a[contains(@href,'dropbox.com')]");
  7860. }
  7861. if (GM_getValue("Check_box_dot_net_links", false))
  7862. {
  7863. addFileHost(
  7864. "box\.net\/\\w+",
  7865. 'download-file-btn|id="download_button',
  7866. 'BIyMin.png| <div class="error_message',
  7867. 'optional--',
  7868. 'optional2--',
  7869. "//a[contains(@href,'box.net')]");
  7870. }
  7871. if (GM_getValue("Check_fileband_dot_com_links", false))
  7872. {
  7873. addFileHost(
  7874. "fileband\.com\/\\w+",
  7875. 'value="download1">|name="id" value=',
  7876. '<div style="width:500px;text-align:left;">|not be found',
  7877. 'optional--',
  7878. 'optional2--',
  7879. "//a[contains(@href,'fileband.com')]");
  7880. }
  7881. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7882. {
  7883. addFileHost(
  7884. "filedropper\.com\/\\w+",
  7885. 'background:#ddd;|width:985px; ',
  7886. 'background-color:#FFFFFF;|margin-left: -400px;',
  7887. 'optional--',
  7888. 'optional2--',
  7889. "//a[contains(@href,'filedropper.com')]");
  7890. }
  7891. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7892. {
  7893. addFileHost(
  7894. "tropicshare\\.com\/files\/\\d+",
  7895. 'MB</span>|GB</span>|KB</span>',
  7896. '>FNF<|size: </span>',
  7897. 'optional--',
  7898. 'optional2--',
  7899. "//a[contains(@href,'tropicshare.com')]");
  7900. }
  7901. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7902. {
  7903. addFileHost(
  7904. "goldbytez\.com\/\\w+",
  7905. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7906. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7907. 'optional--',
  7908. 'optional2--',
  7909. "//a[contains(@href,'goldbytez.com')]");
  7910. }
  7911. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7912. {
  7913. addFileHost(
  7914. "worldbytez\.com\/\\w+",
  7915. '<div class="download_type">',
  7916. '<div style="width:500px;text-align:left;">',
  7917. 'optional--',
  7918. 'optional2--',
  7919. "//a[contains(@href,'worldbytez.com')]");
  7920. }
  7921. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7922. {
  7923. addFileHost(
  7924. "freefilehosting\.net\/\\w+",
  7925. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7926. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7927. 'optional--',
  7928. 'optional2--',
  7929. "//a[contains(@href,'freefilehosting.net')]");
  7930. }
  7931. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7932. {
  7933. addFileHost(
  7934. "ziddu\.com\/\\w+",
  7935. 'downloads.ziddu.com|downloadfilelinkicon',
  7936. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7937. 'optional--',
  7938. 'optional2--',
  7939. "//a[contains(@href,'ziddu.com')]");
  7940. }
  7941. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7942. {
  7943. addFileHost(
  7944. "exclusiveloader\.com\/\\w+",
  7945. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7946. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7947. 'optional--',
  7948. 'optional2--',
  7949. "//a[contains(@href,'exclusiveloader.com')]");
  7950. }
  7951. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7952. {
  7953. addFileHost(
  7954. "sharerapid\.cz\/\\w+",
  7955. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7956. 'error_div">|404 - Not Found',
  7957. 'optional--',
  7958. 'optional2--',
  7959. "//a[contains(@href,'sharerapid.cz')]");
  7960. }
  7961. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7962. {
  7963. addFileHost(
  7964. "sdilej\.cz\/\\w+",
  7965. 'class="page-download"',
  7966. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  7967. 'optional--',
  7968. 'optional2--',
  7969. "//a[contains(@href,'sdilej.cz')]");
  7970. }
  7971. if (GM_getValue("Check_lafiles_dot_com_links", false))
  7972. {
  7973. addFileHost(
  7974. "lafiles\.com\/\\w+",
  7975. '<div id="pay_modes">',
  7976. '<b class="err"></b>',
  7977. 'optional--',
  7978. 'optional2--',
  7979. "//a[contains(@href,'lafiles.com')]");
  7980. }
  7981. if (GM_getValue("Check_acefile_dot_net_links", false))
  7982. {
  7983. addFileHost(
  7984. "acefile\.net\/\\w+",
  7985. 'align=right nowrap><b>',
  7986. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  7987. 'optional--',
  7988. 'optional2--',
  7989. "//a[contains(@href,'acefile.net')]");
  7990. }
  7991. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  7992. {
  7993. addFileHost(
  7994. "megarapid\.cz\/\\w+",
  7995. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7996. 'error_div">|404 - Not Found',
  7997. 'optional--',
  7998. 'optional2--',
  7999. "//a[contains(@href,'megarapid.cz')]");
  8000. }
  8001. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8002. {
  8003. addFileHost(
  8004. "yadi\.sk\/\\w+",
  8005. 'twitter:site|View and download',
  8006. 'error code|Nothing found',
  8007. 'optional--',
  8008. 'optional2--',
  8009. "//a[contains(@href,'yadi.sk')]");
  8010. }
  8011. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8012. {
  8013. addFileHost(
  8014. "imdb\.com\/\\w+",
  8015. 'imdb.com',
  8016. '404 Error',
  8017. 'optional--',
  8018. 'optional2--',
  8019. "//a[contains(@href,'imdb.com')]");
  8020. } */
  8021. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8022. {
  8023. addFileHost(
  8024. "hitfile\.net\/\\w+",
  8025. 'class="download-file',
  8026. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8027. 'optional--',
  8028. 'optional2--',
  8029. "//a[contains(@href,'hitfile.net')]");
  8030. }
  8031. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8032. {
  8033. addFileHost(
  8034. "nitroflare\.com\/\\w+",
  8035. 'Report this file</a>|left;">1 GB<|KB</span>|left;">1.0',
  8036. 'file has been removed|id="error" style="display|Probably deleted|file has been removed due to infringement',
  8037. 'optional--',
  8038. '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.|',
  8039. "//a[contains(@href,'nitroflare.com')]");
  8040. }
  8041. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8042. {
  8043. addFileHost(
  8044. "up.top4top\.net\/\\w+",
  8045. 'start Downlod template',
  8046. 'start err template',
  8047. 'optional--',
  8048. 'optional2--',
  8049. "//a[contains(@href,'up.top4top.net')]");
  8050. }
  8051. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8052. {
  8053. addFileHost(
  8054. "filejoker\.net\/\\w+",
  8055. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8056. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8057. 'optional--',
  8058. 'id="download" class="premium-only">',
  8059. "//a[contains(@href,'filejoker.net')]");
  8060. }
  8061. if (GM_getValue("Check_free_dot_fr_links", false))
  8062. {
  8063. addFileHost(
  8064. "(?:dl.\\.|)free\\.fr",
  8065. 'Valider et t&eacute;l&eacute',
  8066. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8067. 'optional--',
  8068. 'optional2--',
  8069. "//a[contains(@href,'dl.free.fr')]");
  8070. }
  8071. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8072. {
  8073. addFileHost(
  8074. "gboxes\.com\/\\w+",
  8075. 'You have requested|color="red">http://www.gboxes.com',
  8076. 'File Not Found|<div style="width:500px;text-align:left;">',
  8077. 'optional--',
  8078. 'optional2--',
  8079. "//a[contains(@href,'gboxes.com')]");
  8080. }
  8081. if (GM_getValue("Check_led_dot_wf_links", false))
  8082. {
  8083. addFileHost(
  8084. "led\.wf\/\\w+",
  8085. 'logo_0.png|downloads.gif"|verifycode',
  8086. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8087. 'optional--',
  8088. 'available only for Premium users',
  8089. "//a[contains(@href,'led.wf')]");
  8090. }
  8091. if (GM_getValue("Check_lan_dot_wf_links", false))
  8092. {
  8093. addFileHost(
  8094. "lan\.wf\/\\w+",
  8095. 'logo_0.png|downloads.gif"|verifycode',
  8096. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8097. 'optional--',
  8098. 'available only for Premium users',
  8099. "//a[contains(@href,'lan.wf')]");
  8100. }
  8101. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8102. {
  8103. addFileHost(
  8104. "adlink\.wf\/\\w+",
  8105. 'logo_0.png|downloads.gif"|verifycode',
  8106. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8107. 'optional--',
  8108. 'available only for Premium users',
  8109. "//a[contains(@href,'adlink.wf')]");
  8110. }
  8111. if (GM_getValue("Check_click_dot_tf_links", false))
  8112. {
  8113. addFileHost(
  8114. "click\.tf\/\\w+",
  8115. 'logo_0.png|downloads.gif"|verifycode',
  8116. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8117. 'optional--',
  8118. 'available only for Premium users',
  8119. "//a[contains(@href,'click.tf')]");
  8120. }
  8121. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8122. {
  8123. addFileHost(
  8124. "ssh\.tf\/\\w+",
  8125. 'logo_0.png|downloads.gif"|verifycode',
  8126. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8127. 'optional--',
  8128. 'available only for Premium users',
  8129. "//a[contains(@href,'ssh.tf')]");
  8130. }
  8131. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8132. {
  8133. addFileHost(
  8134. "ssh\.yt\/\\w+",
  8135. 'logo_0.png|downloads.gif"|verifycode',
  8136. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8137. 'optional--',
  8138. 'available only for Premium users',
  8139. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8140. }
  8141. if (GM_getValue("Check_yep_dot_pm_links", false))
  8142. {
  8143. addFileHost(
  8144. "yep\.pm\/\\w+",
  8145. 'logo_0.png|downloads.gif"|verifycode',
  8146. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8147. 'optional--',
  8148. 'available only for Premium users',
  8149. "//a[contains(@href,'yep.pm')]");
  8150. }
  8151. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8152. {
  8153. addFileHost(
  8154. "kyc\.pm\/\\w+",
  8155. 'logo_0.png|downloads.gif"|verifycode',
  8156. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8157. 'optional--',
  8158. 'available only for Premium users',
  8159. "//a[contains(@href,'kyc.pm')]");
  8160. }
  8161. if (GM_getValue("Check_brupload_dot_net_links", false))
  8162. {
  8163. addFileHost(
  8164. "brupload\.net\/\\w+",
  8165. 'Download Gratuito',
  8166. '<div style="width:500px;text-align:left;">',
  8167. 'optional--',
  8168. 'optional2--',
  8169. "//a[contains(@href,'brupload.net')]");
  8170. }
  8171. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8172. {
  8173. addFileHost(
  8174. "cloudzilla\.to\/\\w+",
  8175. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8176. 'File not found|/imgs/broken.png',
  8177. 'optional--',
  8178. 'optional2--',
  8179. "//a[contains(@href,'cloudzilla.to')]");
  8180. }
  8181. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8182. {
  8183. addFileHost(
  8184. "fileparadox\.in\/\\w+",
  8185. 'CONTENT="Download File|method_free_file',
  8186. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8187. 'optional--',
  8188. 'optional2--',
  8189. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8190. } */
  8191. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8192. {
  8193. addFileHost(
  8194. "clicknupload\.com\/\\w+",
  8195. 'name="method_free',
  8196. 'File Not Found',
  8197. 'optional--',
  8198. 'optional2--',
  8199. "//a[contains(@href,'clicknupload.com')]");
  8200. }
  8201. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8202. {
  8203. addFileHost(
  8204. "clicknupload\.me\/\\w+",
  8205. 'name="method_free',
  8206. 'File Not Found',
  8207. 'optional--',
  8208. 'optional2--',
  8209. "//a[contains(@href,'clicknupload.me')]");
  8210. }
  8211. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8212. {
  8213. addFileHost(
  8214. "ex-load\.com\/\\w+",
  8215. 'name="method_free|<p>Download File:</p>',
  8216. 'Folder Not Found|File Not Found|Error 404',
  8217. 'optional--',
  8218. 'class="downprem wow bounceInLeft',
  8219. "//a[contains(@href,'ex-load.com')]");
  8220. }
  8221. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8222. {
  8223. addFileHost(
  8224. "hexupload\.com\/\\w+",
  8225. 'button" value="Free|type="submit" value=""',
  8226. 'File Not Found|<div style="width:500px;text-align:left;">',
  8227. 'optional--',
  8228. 'optional2--',
  8229. "//a[contains(@href,'hexupload.com')]");
  8230. }
  8231. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8232. {
  8233. addFileHost(
  8234. "wizupload\.com\/\\w+",
  8235. 'btn_download|class="downloadbtn"',
  8236. '>File Not Found<',
  8237. 'optional--',
  8238. 'optional2--',
  8239. "//a[contains(@href,'wizupload.com')]");
  8240. }
  8241. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8242. {
  8243. addFileHost(
  8244. "filecloud\.cc\/\\w+",
  8245. 'align="center"><input type="submit" name=',
  8246. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8247. 'optional--',
  8248. 'optional2--',
  8249. "//a[contains(@href,'filecloud.cc')]");
  8250. }
  8251. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8252. {
  8253. addFileHost(
  8254. "inclouddrive\.com\/\\w+",
  8255. 'initfreedownload',
  8256. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8257. 'optional--',
  8258. 'optional2--',
  8259. "//a[contains(@href,'inclouddrive.com')]");
  8260. }
  8261. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8262. {
  8263. addFileHost(
  8264. "radicalshare\.com\/\\w+",
  8265. 'value="download1|name="method_free"',
  8266. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8267. 'optional--',
  8268. 'optional2--',
  8269. "//a[contains(@href,'radicalshare.com')]");
  8270. }
  8271. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8272. {
  8273. addFileHost(
  8274. "sharemods\.com\/\\w+",
  8275. 'name="method_free"',
  8276. 'File Not Found<',
  8277. 'optional--',
  8278. 'optional2--',
  8279. "//a[contains(@href,'sharemods.com')]");
  8280. }
  8281. if (GM_getValue("Check_hostr_dot_co_links", false))
  8282. {
  8283. addFileHost(
  8284. "hostr\.co\/\\w+",
  8285. 'method="get"',
  8286. 'File not found<|error-page',
  8287. 'optional--',
  8288. 'optional2--',
  8289. "//a[contains(@href,'hostr.co')]");
  8290. }
  8291. if (GM_getValue("Check_filepi_dot_com_links", false))
  8292. {
  8293. addFileHost(
  8294. "filepi\.com\/\\w+",
  8295. 'id="button_start">',
  8296. 'File not found',
  8297. 'optional--',
  8298. 'optional2--',
  8299. "//a[contains(@href,'filepi.com')]");
  8300. }
  8301. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8302. {
  8303. addFileHost(
  8304. "tikfile\.com\/\\w+",
  8305. 'btn_download',
  8306. 'File Not Found|file was removed|Reason for deletion',
  8307. 'optional--',
  8308. 'optional2--',
  8309. "//a[contains(@href,'tikfile.com')]");
  8310. }
  8311. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8312. {
  8313. addFileHost(
  8314. "cloudsix\.me\/\\w+",
  8315. 'name="method_free"',
  8316. 'File Not Found|width:500px;text-align:left;">',
  8317. 'optional--',
  8318. 'optional2--',
  8319. "//a[contains(@href,'cloudsix.me')]");
  8320. }
  8321. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8322. {
  8323. addFileHost(
  8324. "neodrive\.co\/\\w+",
  8325. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8326. 'File not found|/imgs/broken.png',
  8327. 'optional--',
  8328. 'optional2--',
  8329. "//a[contains(@href,'neodrive.co')]");
  8330. }
  8331. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8332. {
  8333. addFileHost(
  8334. "chayfile\.com\/\\w+",
  8335. 'name="method_free"',
  8336. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8337. 'optional--',
  8338. 'optional2--',
  8339. "//a[contains(@href,'chayfile.com')]");
  8340. }
  8341. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8342. {
  8343. addFileHost(
  8344. "xfileload\.com\/\\w+",
  8345. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8346. '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..|הקובץ שחיפשת לא נמצא.',
  8347. 'optional--',
  8348. 'optional2--',
  8349. "//a[contains(@href,'xfileload.com')]");
  8350. }
  8351. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8352. {
  8353. addFileHost(
  8354. "rockfile\.eu\/\\w+",
  8355. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8356. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8357. 'optional--',
  8358. 'optional2--',
  8359. "//a[contains(@href,'rockfile.eu')]");
  8360. }
  8361. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8362. {
  8363. addFileHost(
  8364. "24uploading\.com\/\\w+",
  8365. 'File:|Download Speed:',
  8366. '<b>File Not Found</b>|file was removed',
  8367. 'optional--',
  8368. 'optional2--',
  8369. "//a[contains(@href,'24uploading.com')]");
  8370. }
  8371. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8372. {
  8373. addFileHost(
  8374. "tusfiles\.net\/\\w+",
  8375. 'i/icon/dll.png"|>Start download<br',
  8376. 'no longer available<|i/ino.png"',
  8377. 'optional--',
  8378. 'optional2--',
  8379. "//a[contains(@href,'tusfiles.net')]");
  8380. }
  8381. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8382. {
  8383. addFileHost(
  8384. "jumbofile\.net\/\\w+",
  8385. 'button" class="" value="Free',
  8386. 'This File Was Deleted',
  8387. 'optional--',
  8388. 'optional2--',
  8389. "//a[contains(@href,'jumbofile.net')]");
  8390. } */
  8391. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8392. {
  8393. addFileHost(
  8394. "ozofiles\.com\/\\w+",
  8395. 'button" value="Free|name="method_free',
  8396. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8397. 'optional--',
  8398. 'optional2--',
  8399. "//a[contains(@href,'ozofiles.com')]");
  8400. }
  8401. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8402. {
  8403. addFileHost(
  8404. "loudupload\.net\/\\w+",
  8405. 'value="Get Links',
  8406. 'File Not Found',
  8407. 'optional--',
  8408. 'optional2--',
  8409. "//a[contains(@href,'loudupload.net')]");
  8410. }
  8411. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8412. {
  8413. addFileHost(
  8414. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8415. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8416. '>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">',
  8417. 'optional--',
  8418. 'optional2--',
  8419. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8420. }
  8421. if (GM_getValue("Check_krotix_dot_net_links", false))
  8422. {
  8423. addFileHost(
  8424. "krotix\.net\/\\w+",
  8425. 'btn btn-warning|btn-free',
  8426. 'pageErrors|This File has been removed',
  8427. 'content="Scheduled Maintenance',
  8428. 'optional2--',
  8429. "//a[contains(@href,'krotix.net')]");
  8430. } */
  8431. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8432. {
  8433. addFileHost(
  8434. "userscloud\.com\/\\w+",
  8435. 'btn_download',
  8436. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8437. 'optional--',
  8438. 'optional2--',
  8439. "//a[contains(@href,'userscloud.com')]");
  8440. }
  8441. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8442. {
  8443. addFileHost(
  8444. "kumpulbagi\.com\/\\w+",
  8445. 'class="button download',
  8446. 'internal server error',
  8447. 'optional--',
  8448. 'optional2--',
  8449. "//a[contains(@href,'kumpulbagi.com')]");
  8450. }
  8451. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8452. {
  8453. addFileHost(
  8454. "kb.simple-aja\.info\/\\w+",
  8455. 'class="button download',
  8456. 'internal server error|<p>404</p>',
  8457. 'optional--',
  8458. 'optional2--',
  8459. "//a[contains(@href,'kb.simple')]");
  8460. }
  8461. if (GM_getValue("Check_faststore_dot_org_links", false))
  8462. {
  8463. addFileHost(
  8464. "faststore\.org\/\\w+",
  8465. 'name="method_free',
  8466. 'File Not Found',
  8467. 'optional--',
  8468. 'optional2--',
  8469. "//a[contains(@href,'faststore.org')]");
  8470. }
  8471. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8472. {
  8473. addFileHost(
  8474. "prefiles\.com\/\\w+",
  8475. 'id="method_free',
  8476. 'File not Found',
  8477. 'optional--',
  8478. 'optional2--',
  8479. "//a[contains(@href,'prefiles.com')]");
  8480. }
  8481. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8482. {
  8483. addFileHost(
  8484. "doraupload\.com\/\\w+",
  8485. 'btn_download|name="method_free',
  8486. 'class="error-code|Could Not Be Found',
  8487. 'optional--',
  8488. 'optional2--',
  8489. "//a[contains(@href,'doraupload.com')]");
  8490. }
  8491. if (GM_getValue("Check_openload_dot_io_links", false))
  8492. {
  8493. addFileHost(
  8494. "openload\.io\/\\w+",
  8495. 'btn btn-primary|class="count">|secondsleftouter',
  8496. 'class="jumbotron">|We are sorry',
  8497. 'optional--',
  8498. 'optional2--',
  8499. "//a[contains(@href,'openload.io')]");
  8500. }
  8501. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8502. {
  8503. addFileHost(
  8504. "uploads\.xxx\/\\w+",
  8505. 'downoadForFree',
  8506. 'File not found',
  8507. 'optional--',
  8508. 'optional2--',
  8509. "//a[contains(@href,'uploads.xxx')]");
  8510. }
  8511. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8512. {
  8513. addFileHost(
  8514. "zxcfiles\.com\/\\w+",
  8515. 'class="downloadbtn',
  8516. 'File Not Found',
  8517. 'optional--',
  8518. 'optional2--',
  8519. "//a[contains(@href,'zxcfiles.com')]");
  8520. }
  8521. if (GM_getValue("Check_up07_dot_net_links", false))
  8522. {
  8523. addFileHost(
  8524. "up07\.net\/\\w+",
  8525. 'name="method_free',
  8526. 'File Not Found',
  8527. 'optional--',
  8528. 'optional2--',
  8529. "//a[contains(@href,'up07.net')]");
  8530. }
  8531. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8532. {
  8533. addFileHost(
  8534. "fileupload\.pw\/\\w+",
  8535. 'value="Free"',
  8536. 'File Not Found',
  8537. 'optional--',
  8538. 'optional2--',
  8539. "//a[contains(@href,'fileupload.pw')]");
  8540. }
  8541. if (GM_getValue("Check_4upld_dot_com_links", false))
  8542. {
  8543. addFileHost(
  8544. "4upld\.com\/\\w+",
  8545. 'alt="Download Now"|content="Download file">|btn-free-element',
  8546. '<title>Error|content="error|File not found',
  8547. 'optional--',
  8548. 'optional2--',
  8549. "//a[contains(@href,'4upld.com')]");
  8550. }
  8551. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8552. {
  8553. addFileHost(
  8554. "newfileland\.com\/\\w+",
  8555. 'name="method_free',
  8556. 'File Not Found',
  8557. 'optional--',
  8558. 'optional2--',
  8559. "//a[contains(@href,'newfileland.com')]");
  8560. } */
  8561. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8562. {
  8563. addFileHost(
  8564. "(?:.swoopshare)\\.com\/\\w+",
  8565. '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',
  8566. '<input type="file" name="f"',
  8567. 'optional--',
  8568. 'optional2--',
  8569. "//a[contains(@href,'swoopshare.com')]"
  8570. );
  8571. }
  8572. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8573. {
  8574. addFileHost(
  8575. "cloudshares\.net\/\\w+",
  8576. '"method_free|"Low Speed Download|submit" name="go',
  8577. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8578. 'optional--',
  8579. 'optional2--',
  8580. "//a[contains(@href,'cloudshares.net')]"
  8581. );
  8582. }
  8583. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8584. {
  8585. addFileHost(
  8586. "allmyvideos\.net\/\\w+",
  8587. 'Continue to Video',
  8588. 'File Not Found|class="err">Removed for',
  8589. 'optional--',
  8590. 'optional2--',
  8591. "//a[contains(@href,'allmyvideos.net')]"
  8592. );
  8593. }
  8594. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8595. {
  8596. addFileHost(
  8597. "vodlocker\.com\/\\w+",
  8598. 'Proceed to video',
  8599. 'Not Found',
  8600. 'optional--',
  8601. 'optional2--',
  8602. "//a[contains(@href,'vodlocker.com')]"
  8603. );
  8604. }
  8605. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8606. {
  8607. addFileHost(
  8608. "vidbull\.com\/\\w+",
  8609. 'Verifying Video Request',
  8610. 'File Not Found',
  8611. 'optional--',
  8612. 'optional2--',
  8613. "//a[contains(@href,'vidbull.com')]");
  8614. }
  8615. if (GM_getValue("Check_novamov_dot_com_links", false))
  8616. {
  8617. addFileHost(
  8618. "novamov\.com\/\\w+",
  8619. 'For version detection',
  8620. 'file no longer exists',
  8621. 'optional--',
  8622. 'optional2--',
  8623. "//a[contains(@href,'novamov.com')]"
  8624. );
  8625. }
  8626. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8627. {
  8628. addFileHost(
  8629. "filehoot\.com\/\\w+",
  8630. 'Continue to watch',
  8631. 'File Not Found',
  8632. 'optional--',
  8633. 'optional2--',
  8634. "//a[contains(@href,'filehoot.com')]"
  8635. );
  8636. }
  8637. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8638. {
  8639. addFileHost(
  8640. "stagevu\.com\/\\w+",
  8641. 'Video Info',
  8642. 'No video with the provided',
  8643. 'optional--',
  8644. 'optional2--',
  8645. "//a[contains(@href,'stagevu.com')]"
  8646. );
  8647. }
  8648. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8649. {
  8650. addFileHost(
  8651. "cloudtime\.to\/\\w+",
  8652. 'Download the video',
  8653. 'no longer exists',
  8654. 'optional--',
  8655. 'optional2--',
  8656. "//a[contains(@href,'cloudtime.to')]"
  8657. );
  8658. }
  8659. if (GM_getValue("Check_streamin_dot_to_links", false))
  8660. {
  8661. addFileHost(
  8662. "streamin\.to\/\\w+",
  8663. 'id="btn_download',
  8664. 'Not Found|Copyright Infringement|File Deleted',
  8665. 'optional--',
  8666. 'optional2--',
  8667. "//a[contains(@href,'streamin.to')]"
  8668. );
  8669. }
  8670. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8671. {
  8672. addFileHost(
  8673. "videoweed\.es\/\\w+",
  8674. 'version detection',
  8675. 'no longer exists',
  8676. 'optional--',
  8677. 'optional2--',
  8678. "//a[contains(@href,'videoweed.es')]"
  8679. );
  8680. }
  8681. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8682. {
  8683. addFileHost(
  8684. "nowvideo\.sx\/\\w+",
  8685. 'Download this video|value="submit">Continue',
  8686. 'no longer exists',
  8687. 'optional--',
  8688. 'optional2--',
  8689. "//a[contains(@href,'nowvideo.sx')]"
  8690. );
  8691. }
  8692. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8693. {
  8694. addFileHost(
  8695. "thevideo\.me\/\\w+",
  8696. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8697. 'File Not Found',
  8698. 'optional--',
  8699. 'optional2--',
  8700. "//a[contains(@href,'thevideo.me')]"
  8701. );
  8702. }
  8703. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8704. {
  8705. addFileHost(
  8706. "gorillavid\.in\/\\w+",
  8707. 'Wait 5 seconds',
  8708. 'File Not Found',
  8709. 'optional--',
  8710. 'optional2--',
  8711. "//a[contains(@href,'gorillavid.in')]"
  8712. );
  8713. }
  8714. if (GM_getValue("Check_thefile_dot_me_links", false))
  8715. {
  8716. addFileHost(
  8717. "thefile\.me\/\\w+",
  8718. 'Choose free or',
  8719. '',
  8720. 'optional--',
  8721. 'optional2--',
  8722. "//a[contains(@href,'thefile.me')]"
  8723. );
  8724. }
  8725. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8726. {
  8727. addFileHost(
  8728. "vidzi\.tv\/\\w+",
  8729. 'video-embed-modal row',
  8730. 'File Not Found|file was deleted',
  8731. 'optional--',
  8732. 'optional2--',
  8733. "//a[contains(@href,'vidzi.tv')]"
  8734. );
  8735. }
  8736. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8737. {
  8738. addFileHost(
  8739. "filenuke\.com\/\\w+",
  8740. 'Download File',
  8741. 'Earn with us',
  8742. 'optional--',
  8743. 'optional2--',
  8744. "//a[contains(@href,'filenuke.com')]"
  8745. );
  8746. }
  8747. if (GM_getValue("Check_vidto_dot_me_links", false))
  8748. {
  8749. addFileHost(
  8750. "vidto\.me\/\\w+",
  8751. 'Proceed to video',
  8752. 'Not Found',
  8753. 'optional--',
  8754. 'optional2--',
  8755. "//a[contains(@href,'vidto.me')]"
  8756. );
  8757. }
  8758. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8759. {
  8760. addFileHost(
  8761. "vidspot\.net\/\\w+",
  8762. 'Duration',
  8763. 'Removed for',
  8764. 'optional--',
  8765. 'optional2--',
  8766. "//a[contains(@href,'vidspot.net')]"
  8767. );
  8768. }
  8769. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8770. {
  8771. addFileHost(
  8772. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8773. 'Download File',
  8774. 'File Not Found',
  8775. 'optional--',
  8776. 'optional2--',
  8777. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8778. );
  8779. }
  8780. if (GM_getValue("Check_movpod_dot_in_links", false))
  8781. {
  8782. addFileHost(
  8783. "movpod\.in\/\\w+",
  8784. 'Continue',
  8785. 'File Not Found',
  8786. 'optional--',
  8787. 'optional2--',
  8788. "//a[contains(@href,'movpod.in')]"
  8789. );
  8790. }
  8791. /* if (GM_getValue("Check_down4files_dot_com_links", false))
  8792. {
  8793. addFileHost(
  8794. "down4files\.com\/\\w+",
  8795. 'down_table.png',
  8796. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8797. 'optional--',
  8798. 'optional2--',
  8799. "//a[contains(@href,'down4files.com')]"
  8800. );
  8801. } */
  8802. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8803. {
  8804. addFileHost(
  8805. "storefiles\.co\/\\w+",
  8806. 'btn_download',
  8807. 'No such file|>Error<|mqmaintitle">',
  8808. 'optional--',
  8809. 'optional2--',
  8810. "//a[contains(@href,'storefiles.co')]"
  8811. );
  8812. }
  8813. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8814. {
  8815. addFileHost(
  8816. "filehost\.pw\/\\w+",
  8817. 'name="method_free',
  8818. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8819. 'optional--',
  8820. 'optional2--',
  8821. "//a[contains(@href,'filehost.pw')]"
  8822. );
  8823. }
  8824. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8825. {
  8826. addFileHost(
  8827. "inafile\.com\/\\w+",
  8828. 'value="download1">|<h2>File: <font style="color:darkred">',
  8829. '<div style="width:500px;text-align:left;">|File Not Found',
  8830. 'optional--',
  8831. 'optional2--',
  8832. "//a[contains(@href,'inafile.com')]"
  8833. );
  8834. } */
  8835. if (GM_getValue("Check_uplea_dot_com_links", false))
  8836. {
  8837. addFileHost(
  8838. "uplea\.com\/\\w+",
  8839. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8840. 'expired link|ou est invalide',
  8841. 'optional--',
  8842. 'optional2--',
  8843. "//a[contains(@href,'uplea.com/dl')]",
  8844. true);
  8845. }
  8846. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8847. {
  8848. addFileHost(
  8849. "toutbox\.fr\/\\w+",
  8850. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8851. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8852. 'Serviço temporariamente indisponível',
  8853. 'optional2--',
  8854. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8855. );
  8856. }
  8857. if (GM_getValue("Check_openload_dot_co_links", false))
  8858. {
  8859. addFileHost(
  8860. "openload\.co\/\\w+",
  8861. 'id="downloadTimer">|button dlbutton',
  8862. 'jumbotron{color|got deleted|center !important',
  8863. 'optional--',
  8864. 'optional2--',
  8865. "//a[contains(@href,'openload.co')]"
  8866. );
  8867. }
  8868. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8869. {
  8870. addFileHost(
  8871. "lolabits\.es\/\\w+",
  8872. 'Descargar:',
  8873. '<title>Archivos de usuario',
  8874. 'Service Unavailable',
  8875. 'optional2--',
  8876. "//a[contains(@href,'lolabits.es')]"
  8877. );
  8878. }
  8879. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8880. {
  8881. addFileHost(
  8882. "alfafile\.net\/\\w+",
  8883. 'id="slow_download_btn',
  8884. 'class="error-box">',
  8885. 'optional--',
  8886. 'optional2--',
  8887. "//a[contains(@href,'alfafile.net')]"
  8888. );
  8889. }
  8890. if (GM_getValue("Check_multiup_dot_org_links", false))
  8891. {
  8892. addFileHost(
  8893. "multiup\.org\/\\w+",
  8894. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8895. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8896. 'optional--',
  8897. 'optional2--',
  8898. "//a[contains(@href,'multiup.org')]"
  8899. );
  8900. }
  8901. if (GM_getValue("Check_file_dot_al_links", false))
  8902. {
  8903. addFileHost(
  8904. "file\.al\/\\w+",
  8905. 'method_free',
  8906. 'style="width:500px;text-align:left;">',
  8907. 'optional--',
  8908. 'optional2--',
  8909. "//a[contains(@href,'file.al')]"
  8910. );
  8911. }
  8912. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8913. {
  8914. addFileHost(
  8915. "devilshare\.net\/\\w+",
  8916. '<div class="large-12" id="download">',
  8917. '(Link: 0 Invalid)|File Not Found',
  8918. 'optional--',
  8919. 'optional2--',
  8920. "//a[contains(@href,'devilshare.net')]"
  8921. );
  8922. }
  8923. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8924. {
  8925. addFileHost(
  8926. "dailyuploads\.net\/\\w+",
  8927. 'id="downloadBtnClickOrignal',
  8928. '<div style="width:500px;text-align:left;">',
  8929. 'optional--',
  8930. 'optional2--',
  8931. "//a[contains(@href,'dailyuploads.net')]"
  8932. );
  8933. }
  8934. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8935. {
  8936. addFileHost(
  8937. "datoteke\.com\/\\w+",
  8938. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8939. '&nbsp;File has been removed',
  8940. 'optional--',
  8941. '<title>Error - Datoteke',
  8942. "//a[contains(@href,'datoteke.com')]"
  8943. );
  8944. }
  8945. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  8946. {
  8947. addFileHost(
  8948. "tezfiles\.com\/\\w+",
  8949. '<img src="images/cloud_cloud-download-128.png">|<div style="float: left;">',
  8950. 'class="alert alert-block|file is no longer available',
  8951. 'optional--',
  8952. 'optional2--',
  8953. "//a[contains(@href,'tezfiles.com')]"
  8954. );
  8955. }
  8956. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8957. {
  8958. addFileHost(
  8959. "sharehost\.eu\/\\w+",
  8960. '/?v=download_free&',
  8961. 'Errors occured|Wystąpiły błędy',
  8962. 'optional--',
  8963. 'optional2--',
  8964. "//a[contains(@href,'sharehost.eu')]"
  8965. );
  8966. }
  8967. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8968. {
  8969. addFileHost(
  8970. "pornfile\.cz\/\\w+",
  8971. 'Stáhnout soubor',
  8972. 'Soubor byl smazán',
  8973. 'optional--',
  8974. 'optional2--',
  8975. "//a[contains(@href,'pornfile.cz')]"
  8976. );
  8977. }
  8978. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8979. {
  8980. addFileHost(
  8981. "pornoid\.cz\/\\w+",
  8982. 'class="btn btn-large btn-download',
  8983. 'Soubor byl smazán',
  8984. 'optional--',
  8985. 'optional2--',
  8986. "//a[contains(@href,'pornoid.cz')]"
  8987. );
  8988. }
  8989. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8990. {
  8991. addFileHost(
  8992. "file-share\.top\/\\w+",
  8993. 'btn-success btn-lg download',
  8994. 'Stránka neexistuje|404 Not Found',
  8995. 'optional--',
  8996. 'optional2--',
  8997. "//a[contains(@href,'file-share.top')]"
  8998. );
  8999. }
  9000. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9001. {
  9002. addFileHost(
  9003. "bitster\.cz\/\\w+",
  9004. 'section" content="VIDEO"',
  9005. 'section" content=""',
  9006. 'optional--',
  9007. 'optional2--',
  9008. "//a[contains(@href,'bitster.cz')]"
  9009. );
  9010. }
  9011. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9012. {
  9013. addFileHost(
  9014. "rapidu\.net\/\\w+",
  9015. 'onclick="downloadFreeFile',
  9016. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9017. 'optional--',
  9018. 'optional2--',
  9019. "//a[contains(@href,'rapidu.net')]"
  9020. );
  9021. }
  9022.  
  9023. }
  9024. //start here
  9025.  
  9026. //hosts with direct download, so they must be requested for headers only
  9027. function initFileHostsHeadersOnly()
  9028. {
  9029. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9030. {
  9031. var host = new Array(5);
  9032. host[0] = linkRegex;
  9033. host[1] = isAliveRegex;
  9034. host[2] = isDeadRegex;
  9035. host[3] = xpathEx;
  9036. host[4] = ispremRegex;
  9037. http_file_hosts_headers_only.push(host);
  9038. }
  9039. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9040. {
  9041. addFileHostHeadersOnly(
  9042. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9043. 'Connection: Keep-Alive',
  9044. 'Content-Length: 3857',
  9045. "//a[contains(@href,'uloziste.com')]"
  9046. )
  9047. }
  9048. if (GM_getValue("Check_adrive_dot_com_links", false))
  9049. {
  9050. addFileHostHeadersOnly(
  9051. "adrive\\.com\/public\/\\w+",
  9052. 'Connection: keep-alive',
  9053. 'orig_ref=deleted',
  9054. "//a[contains(@href,'adrive.com')]"
  9055. )
  9056. }
  9057. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9058. {
  9059. addFileHostHeadersOnly(
  9060. "myupload\\.dk\/showfile\/\\w+",
  9061. 'Expires:',
  9062. 'squeeze1\\s+Vary',
  9063. "//a[contains(@href,'myupload.dk/showfile')]"
  9064. )
  9065. }
  9066. }
  9067. //CustomRules
  9068. //functions add...Host copied here
  9069. function addObsoleteHost(linkRegex, xpathEx)
  9070. {
  9071. var host = new Array(2);
  9072. host[0] = linkRegex;
  9073. host[1] = xpathEx;
  9074. http_file_hosts_obsolete.push(host);
  9075. }
  9076. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9077. {
  9078. var host = new Array(7);
  9079. host[0] = linkRegex;
  9080. host[1] = isAliveRegex;
  9081. host[2] = isDeadRegex;
  9082. host[3] = isUnavaRegex;
  9083. host[4] = xpathEx;
  9084. tryLoop ? host[5] = true : host[5] = false;
  9085. host[6] = ispremRegex;
  9086. http_file_hosts.push(host);
  9087. }
  9088. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9089. {
  9090. var host = new Array(5);
  9091. host[0] = linkRegex;
  9092. host[1] = isAliveRegex;
  9093. host[2] = isDeadRegex;
  9094. host[3] = xpathEx;
  9095. host[4] = ispremRegex;
  9096. http_file_hosts_headers_only.push(host);
  9097. }
  9098. //takes a fully built rules array and adds the rules to WARLC
  9099. function applyCustomRules(customRules)
  9100. {
  9101. if (!customRules) return;
  9102. var rules, r, i;
  9103. rules = customRules.rules;
  9104. for (i = 0 ; i < rules.length ; i++)
  9105. {
  9106. r = rules[i];
  9107. if (r.enabled)
  9108. {
  9109. switch (r.type)
  9110. {
  9111. case 'single':
  9112. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9113. break;
  9114. case 'headers':
  9115. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9116. break;
  9117. case 'obsolete':
  9118. addObsoleteHost(r.urlregex, r.xpath)
  9119. break;
  9120. }
  9121. }
  9122. }
  9123. }
  9124.  
  9125.  
  9126. function initFileHostsCustom()
  9127. {
  9128. if (Custom_rules && Custom_rules_text)
  9129. {
  9130. var msg = '';
  9131. if (newVersion)
  9132. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9133. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9134. msg = '60 or more days have passed since this notification.\n\n';
  9135. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9136. {
  9137. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9138. msg +=
  9139. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9140. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9141. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9142. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9143. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9144. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9145. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9146. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9147. setTimeout(function(){alert(msg)},0);
  9148. }
  9149. var customRules = parseCustomRules(Custom_rules_text);
  9150. if (customRules.warning || customRules.error)
  9151. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9152. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9153. JSON.stringify(customRules.info, null, ' '));
  9154. applyCustomRules(customRules);
  9155. }
  9156. }
  9157. //end of CustomRules processing
  9158.  
  9159.  
  9160.  
  9161. } //end of function start
  9162.  
  9163.  
  9164.  
  9165. function initClipBoardTools()
  9166. {
  9167. unsafeWindow.copyToClipboard = function(text)
  9168. {
  9169. try
  9170. {
  9171. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9172.  
  9173. var str = Components.classes["@mozilla.org/supports-string;1"].
  9174. createInstance(Components.interfaces.nsISupportsString);
  9175. if (!str) return false;
  9176.  
  9177. str.data = text;
  9178.  
  9179. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9180. createInstance(Components.interfaces.nsITransferable);
  9181. if (!trans) return false;
  9182.  
  9183. trans.addDataFlavor("text/unicode");
  9184. trans.setTransferData("text/unicode", str, text.length * 2);
  9185.  
  9186. var clipid = Components.interfaces.nsIClipboard;
  9187. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9188. if (!clip) return false;
  9189.  
  9190. clip.setData(trans, null, clipid.kGlobalClipboard);
  9191. } catch (e) {
  9192. GM_log("Error copyToClipboard : " + e);
  9193. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9194. }
  9195. }
  9196. }
  9197.  
  9198.  
  9199.  
  9200. //CustomRules
  9201.  
  9202. function escapeRegex(str)
  9203. {
  9204. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9205. }
  9206.  
  9207.  
  9208. //called internally from parseCustomRules.
  9209. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9210. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9211. function makeCustomRule(rule)
  9212. {
  9213. function makeMatchRegex(arrmatch)
  9214. {
  9215. return escapeRegex(arrmatch.join('\n'))
  9216. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9217. .replace(/\n/g,'|'); //join together
  9218. }
  9219. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9220. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9221. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9222. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9223. if (rule.baseurl)
  9224. {
  9225. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9226. for (i = 0 ; i < len ; i++)
  9227. {
  9228. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9229. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9230. {
  9231. 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'])
  9232. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9233. }
  9234. else //baseurl in the form: example.com/xxx
  9235. {
  9236. xpath.push(m[0]);
  9237. urlregex.push(escapeRegex(m[0]) + '.');
  9238. }
  9239. }
  9240. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9241. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9242. }
  9243. return rule;
  9244. } //function makeCustomRule
  9245.  
  9246.  
  9247. /*
  9248. Takes a string containing custom link checking rules.
  9249. Returns an object with fields:
  9250. info - contains notes, warnings and errors found during parsing
  9251. rules - the array of custom rules
  9252. note, warning, error - number of each of them found during parsing
  9253. Format of the input string:
  9254. One command per line. Command format: @keyword parameter
  9255. Keywords:
  9256. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9257. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9258. These keywords can be multiple (any of them will work):
  9259. @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...)
  9260. @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+
  9261. @alivelink, @deadlink - example links
  9262. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9263. Lines starting with // and empty lines are ignored.
  9264. Invalid parameters generate errors and those lines are skipped.
  9265. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9266. Example:
  9267. @customrule filehost
  9268. @baseurl filehost.com/download/
  9269. @baseurl filehost2. com net /d?=
  9270. @alivematch id="download">
  9271. @deadmatch File not found
  9272. @deadmatch File deleted
  9273. */
  9274. function parseCustomRules(rulesStr)
  9275. {
  9276. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9277. function addInfo(type, msg, ln){
  9278. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9279. customRules[type]++;
  9280. }
  9281. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9282. if (!lines) return null;
  9283. lines.push('@#customrule _'); //to save the last rule
  9284. var m, linecount = lines.length;
  9285. var keyword, param, constr, rule, err;
  9286. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9287. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9288. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9289. var constraints = {
  9290. 'baseurl': {
  9291. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9292. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9293. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9294. 'alivematch': {
  9295. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9296. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9297. 'deadmatch': {
  9298. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9299. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9300. 'unavamatch': {
  9301. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9302. 'alivelink': {
  9303. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9304. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9305. 'deadlink': {
  9306. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9307. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9308. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9309. };
  9310. for (linenum = 0 ; linenum < linecount ; linenum++)
  9311. {
  9312. //capturing groups: 1 23 4 5 6
  9313. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9314. if (m)
  9315. {
  9316. if (m[1] || !m[2])
  9317. continue; // ignore empty lines and lines starting with //
  9318. keyword = (m[4] || m[2]).toLowerCase();
  9319. param = m[6];
  9320. if (keyword == 'customrule')
  9321. {
  9322. //save the current rule if all required fields are provided
  9323. if (rule)
  9324. {
  9325. err = false;
  9326. $.each(constraints, function(kw, constraint){
  9327. var l, constr = constraint[rule.type];
  9328. if (constr)
  9329. {
  9330. l = rule[kw] ? rule[kw].length : 0;
  9331. if (l < constr.min || l > constr.max)
  9332. {
  9333. 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);
  9334. err = true;
  9335. }
  9336. }
  9337. });
  9338. if (!err)
  9339. customRules.rules.push(makeCustomRule(rule));
  9340. }
  9341. //start a new rule
  9342. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9343. {
  9344. rule = {
  9345. 'enabled': !m[3],
  9346. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9347. 'name': param
  9348. };
  9349. }
  9350. else
  9351. {
  9352. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9353. rule = null;
  9354. }
  9355. }
  9356. else //good line format, but keyword other than customrule
  9357. {
  9358. if (!rule)
  9359. {
  9360. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9361. continue;
  9362. }
  9363. if (constraints[keyword])
  9364. {
  9365. constr = constraints[keyword][rule.type];
  9366. if (constr)
  9367. {
  9368. if (constr.paramRE && !constr.paramRE.test(param))
  9369. {
  9370. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9371. continue;
  9372. }
  9373. }
  9374. else
  9375. {
  9376. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9377. continue;
  9378. }
  9379. }
  9380. //line OK, save
  9381. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9382. }
  9383. } //if (m)
  9384. else
  9385. addInfo('warning', 'Unknown line format. Line skipped.');
  9386. } //for loop
  9387. return customRules;
  9388. } //function parseCustomRules