W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2016-04-12 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRSpTSjayBICLHDYDAYK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iPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  7. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  8. // @author mental
  9. // @connect *
  10. // @include http://*
  11. // @include https://*
  12. // @include file:///*
  13. // @grant GM_setValue
  14. // @grant GM_getValue
  15. // @grant GM_xmlhttpRequest
  16. // @grant GM_log
  17. // @grant GM_addStyle
  18. // @grant GM_registerMenuCommand
  19. // @grant GM_getResourceText
  20. // @grant GM_info
  21. // @grant GM_setClipboard
  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://usa.x10host.com/mybb
  26. // @namespace war premium
  27. // @noframes
  28. // @version 1.2.6.9
  29. // ==/UserScript==
  30.  
  31. var War_version = "1.2.6.9 April 11, 2016";
  32.  
  33. //separate alternative domains with "|" char (first name is considered being main)
  34. var allHostNames = [
  35. "1fichier.com|dl4free.com",
  36. "upload.af",
  37. "kingfiles.net",
  38. "abelhas.pt",
  39. "filedwon.info",
  40. "ncrypt.in",
  41. "yandex.com",
  42. "down4files.com",
  43. 'filespace.com',
  44. "uplod.it",
  45. "rapidu.net",
  46. "uploads.ws|upl.me",
  47. "file.up09.com",
  48. "lunaticfiles.com",
  49. "filecad.com",
  50. "filesupload.org",
  51. "gigasize.com",
  52. "bytewhale.com",
  53. "rapidrar.com",
  54. "download.cz.hellshare.com",
  55. "pornfile.cz",
  56. "dinoshare.cz",
  57. "kb.simple-aja.info",
  58. "bitster.cz",
  59. "file-share.top",
  60. "pornoid.cz",
  61. "dailyuploads.net",
  62. "sharehost.eu",
  63. "tezfiles.com",
  64. "devilshare.net",
  65. "alfafile.net",
  66. "openload.co",
  67. "multiup.org",
  68. "uplea.com",
  69. "filenuke.com",
  70. "file.al",
  71. // "inafile.com",
  72. "lolabits.es",
  73. "vidto.me",
  74. "storefiles.co",
  75. "filehost.pw",
  76. "vidspot.net",
  77. "turbobit.ru",
  78. "sharesix.com|sharesix.net",
  79. "movpod.in",
  80. "thefile.me",
  81. "datoteke.com",
  82. "vidzi.tv",
  83. "videoweed.es",
  84. "vodlocker.com",
  85. "nowvideo.sx",
  86. "cloudtime.to",
  87. "thevideo.me",
  88. "vidbull.com",
  89. "allmyvideos.net",
  90. "novamov.com",
  91. "filehoot.com",
  92. "stagevu.com",
  93. "gorillavid.in",
  94. "streamin.to",
  95. "4upld.com|expressleech.com",
  96. "cloudshares.net",
  97. "swoopshare.com",
  98. "2shared.com",
  99. "fileupload.pw",
  100. "zxcfiles.com",
  101. "up07.net",
  102. "4shared.com",
  103. "adrive.com",
  104. "aisfile.com",
  105. "hexupload.com",
  106. "bezvadata.cz",
  107. "xkeepfile.com|Gamesena.com",
  108. "usersfiles.com",
  109. "pan.baidu.com",
  110. "radicalshare.com",
  111. "datei.to",
  112. "daten-hoster.de|filehosting.org|xtraupload.de",
  113. "demo.ovh.eu",
  114. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  115. "divshare.com",
  116. "easy-share.com|crocko.com",
  117. "easybytez.com",
  118. "edisk.cz",
  119. "euroshare.eu",
  120. "file-upload.net",
  121. "yadi.sk",
  122. "wizupload.com",
  123. "fastshare.cz",
  124. "filefactory.com",
  125. "share.vnn.vn",
  126. "yunpan.cn",
  127. "gulfup.com",
  128. "tropicshare.com",
  129. "cloudzilla.to",
  130. "inclouddrive.com",
  131. "fileflyer.com",
  132. "filerio.com|filekeen.com",
  133. "up.4share.vn",
  134. "upfile.vn",
  135. "datafilehost.com",
  136. "fileband.com",
  137. "worldbytez.com",
  138. "files.mail.ru",
  139. "filesflash.com",
  140. "box.com",
  141. "uptobox.com",
  142. "box.net",
  143. "goldbytez.com",
  144. "sdilej.cz",
  145. "ex-load.com",
  146. "filesmonster.com",
  147. "filestore.to",
  148. "hulkload.com",
  149. "filedropper.com",
  150. "free-uploading.com",
  151. "gamefront.com|filefront.com",
  152. "gettyfile.ru",
  153. "gigapeta.com",
  154. "gigasize.com",
  155. "hellshare.com",
  156. "hellspy.com",
  157. "hitfile.net",
  158. "hostuje.net",
  159. "freefilehosting.net",
  160. "free.fr",
  161. "hulkshare.com",
  162. "hyperfileshare.com",
  163. "filecloud.io|ifile.it",
  164. "ifolder.ru",
  165. "jumbofiles.com",
  166. "uploadrocket.net",
  167. "lafiles.com",
  168. "leteckaposta.cz|sharegadget.com",
  169. "letitbit.net",
  170. "load.to",
  171. "mediafire.com",
  172. "megafileupload.com",
  173. "megashares.com",
  174. "movshare.net",
  175. "muchshare.net",
  176. "myupload.dk",
  177. "narod.ru|narod.yandex.ru",
  178. "fboom.me|fileboom.me",
  179. "openfile.ru",
  180. "partage-facile.com",
  181. "plunder.com",
  182. "sharerapid.cz",
  183. "exclusiveloader.com",
  184. "acefile.net",
  185. "queenshare.com",
  186. "rapidgator.net",
  187. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  188. "oboom.com",
  189. "filepi.com",
  190. "neodrive.co",
  191. "rarefile.net",
  192. "rayfile.com",
  193. "rghost.net",
  194. "sendmyway.com",
  195. "clicknupload.com",
  196. "clicknupload.me",
  197. "clicknupload.link",
  198. "sharemods.com",
  199. "hostr.co",
  200. "sendspace.com",
  201. "sharecash.org",
  202. "share-links.biz",
  203. "share-online.biz|egoshare.com",
  204. "megarapid.cz",
  205. "shareflare.net",
  206. "solidfiles.com",
  207. "led.wf",
  208. "lan.wf",
  209. "adlink.wf",
  210. "click.tf",
  211. "kyc.pm",
  212. "ssh.tf",
  213. "ssh.yt",
  214. "yep.pm",
  215. "stahovanizasms.cz",
  216. "turbobit.net",
  217. "filecloud.cc",
  218. "tikfile.com",
  219. "cloudsix.me",
  220. "turboupload.com",
  221. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  222. "ulozisko.sk",
  223. "uloziste.com",
  224. "unibytes.com",
  225. "upload-il.net|przeslij.net",
  226. "uploaded.to|ul.to",
  227. "uploading.com",
  228. "chayfile.com",
  229. "rockfile.eu",
  230. "24uploading.com",
  231. "uploadspace.pl",
  232. "upnito.sk",
  233. "usaupload.net",
  234. "veehd.com",
  235. "videobb.com",
  236. "vip-file.com",
  237. "webshare.cz",
  238. "xdisk.cz",
  239. "yunfile.com|filemarkets.com",
  240. "ziddu.com",
  241. "zippyshare.com",
  242. "rodfile.com",
  243. "wikiupload.com",
  244. "uploadstube.de",
  245. "faststore.org",
  246. "flyfiles.net",
  247. "nowdownload.ch",
  248. "prefiles.com",
  249. "axifile.com",
  250. "hackerbox.org",
  251. "amonshare.com",
  252. "data.hu",
  253. "brupload.net",
  254. "userscloud.com",
  255. "netkups.com",
  256. "xfileload.com",
  257. "kumpulbagi.com|kumpulbagi.id",
  258. "uppit.com|up.ht",
  259. "downloadani.me",
  260. "filesabc.com",
  261. "verzend.be",
  262. "4up.me",
  263. "extmatrix.com",
  264. "sendfiles.nl",
  265. "yourfilestore.com",
  266. "filebig.net",
  267. "nekaka.com",
  268. "file4safe.com",
  269. "tusfiles.net|tusfiles.com",
  270. "filemac.com",
  271. "idup.in",
  272. "fileswap.com",
  273. "ozofiles.com",
  274. "loudupload.net",
  275. "nosupload.com",
  276. "gboxes.com",
  277. "myvdrive.com|fileserving.com",
  278. "filesin.com",
  279. "novafile.com",
  280. "longfiles.com",
  281. // "uploadhero.com",
  282. "uploadbaz.com",
  283. "bitupload.com",
  284. "indowebster.com",
  285. "superload.cz",
  286. "mafiastorage.com",
  287. "filesmelt.com",
  288. "hellupload.com",
  289. "uploadingit.com",
  290. "stiahni.si",
  291. "sendspace.pl",
  292. "fastshare.org",
  293. "filejoker.net",
  294. "filestore.com.ua",
  295. "secureupload.eu",
  296. "rapidfileshare.net",
  297. "stiahnito.sk",
  298. "rusfolder.com",
  299. "catshare.net",
  300. "anonfiles.com",
  301. "mixturecloud.com",
  302. "filedais.com",
  303. // "imdb.com",
  304. "nitroflare.com",
  305. "akafile.com",
  306. "creafile.net",
  307. "hugefiles.net",
  308. "vidxden.com",
  309. "up.top4top.net",
  310. "upload.ee",
  311. "shareplace.org",
  312. "uploadc.com",
  313. "remixshare.com",
  314. "exoshare.com",
  315. "borncash.org",
  316. "junocloud.me",
  317. "2downloadz.com",
  318. "mightyupload.com",
  319. "anysend.com",
  320. "datafile.com",
  321. "upstore.net",
  322. "upsto.re",
  323. "speedy.sh",
  324. "sanshare.com",
  325. // "uploadhero.co",
  326. "ge.tt",
  327. "filesflash.net",
  328. "salefiles.com",
  329. // "megairon.net",
  330. "datoid.cz",
  331. "cloudstor.es",
  332. "streamfile.com",
  333. "eyesfile.ca",
  334. "filemoney.com",
  335. "uploadboy.com",
  336. "uploadboy.me",
  337. "speedshare.eu",
  338. "google.com",
  339. "unlimitzone.com",
  340. "rioupload.com",
  341. "rg.to",
  342. "jumbofiles.org",
  343. "fshare.vn",
  344. "spaceforfiles.com",
  345. "up.media1fire.com",
  346. "depfile.com",
  347. "go4up.com",
  348. "dropbox.com",
  349. "redbunker.net",
  350. "divxpress.com",
  351. "mega.nz|mega.co.nz",
  352. "anafile.com",
  353. "uploadable.ch",
  354. "bigfile.to",
  355. "arabloads.net",
  356. "sharerepo.com",
  357. "sfshare.se",
  358. "files.fm",
  359. "koofile.com",
  360. "vidplay.net",
  361. "storagon.com",
  362. "doraupload.com",
  363. "openload.io",
  364. "uploads.xxx",
  365. "toutbox.fr",
  366. ];
  367.  
  368. try
  369. {
  370. //iframes excluded
  371. if (window.top != window.self)
  372. {
  373. return;
  374. }
  375. //allHostNames sites excluded
  376. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  377. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  378. ")"))
  379. {
  380. return;
  381. }
  382. }
  383. catch (e)
  384. {
  385. return;
  386. }
  387.  
  388. //separate alternative domains with "|" char (first name is considered being main)
  389. var allContainerNames = [
  390. "adf.ly",
  391. "linkcrypt.ws",
  392. "linksafe.me",
  393. // "linksave.in",
  394. "linkto.net",
  395. "madlink.sk",
  396. "multiload.cz",
  397. "mirrorcreator.com",
  398. // "ncrypt.in",
  399. "redi.re",
  400. "relink.us",
  401. "safelinking.net",
  402. "theloo.katt.it",
  403. "bit.ly",
  404.  
  405. ];
  406.  
  407. //separate alternative domains with "|" char (first name is considered being main)
  408. var allObsoleteNames = [
  409. "uloz.cz",
  410. "secured.in",
  411. "fileover.net",
  412. "fileinz.com",
  413. "linksave.in",
  414. "seenupload.com",
  415. "sangfile.com",
  416. "filepost.com|fp.io",
  417. "sharingmaster.com ",
  418. "filestorm.to",
  419. "uploadnet.co",
  420. "180upload.com",
  421. "rapidsonic.com",
  422. "fileparadox.com",
  423. "4upfiles.com",
  424. "geupload.com",
  425. "lenfile.com",
  426. "fileparadox.in",
  427. "uploadhero.co",
  428. "uploadhero.com",
  429. "newfileland.com",
  430. "quickshare.cz",
  431. "elffiles.com",
  432. "netload.in",
  433. "netload.me",
  434. "movreel.com",
  435. "migahost.com",
  436. "krotix.net",
  437. "jumbofile.net",
  438. "edoc.com",
  439. "cramit.in|cramitin.net",
  440. "freakshare.com",
  441. "burnupload.com|burnupload.ihiphop.com",
  442. "freakshare.net",
  443. "daj.to",
  444. "bl.st",
  445. "2drive.net",
  446. "ryushare.com",
  447. "crisshare.com",
  448. "tufiles.ru",
  449. "uncapped-downloads.com",
  450. "sockshare.com",
  451. "ddlstorage.com",
  452. "dataport.cz",
  453. "dizzcloud.com",
  454. "sharebeast.com",
  455. "stahovadlo.cz",
  456. "shared.com",
  457. "storage.to",
  458. "putlocker.com",
  459. "lumfile.com",
  460. "lumfile.se",
  461. "lumfile.eu",
  462. "firedrive.com",
  463. "fileshare.in.ua",
  464. "filecore.co.nz",
  465. "filecore.co",
  466. "iskladka.cz",
  467. "file-rack.com",
  468. "fast-load.net",
  469. "subory.sk",
  470. "bigandfree.com",
  471. "fileop.com",
  472. "mujsoubor.cz",
  473. "sendfile.to",
  474. "superfastfile.com",
  475. "quickyshare.com",
  476. "duckload.com",
  477. "uploadstore.net",
  478. "meinupload.com",
  479. "dualshare.com",
  480. "2xupload.to|2xupload.de",
  481. "oxedion.com",
  482. "uploadline.com",
  483. "dll.bz",
  484. "movieshare.in",
  485. "milledrive.com",
  486. "quickupload.net",
  487. "safelink.in",
  488. "metadivx.com",
  489. "divxlink.com",
  490. "uploadrack.com",
  491. "teradepot.com",
  492. "dataup.to",
  493. "upit.to",
  494. "driveway.com",
  495. "eatlime.com",
  496. "a2zuploads.com",
  497. "friendlyfiles.net",
  498. "flyfile.us",
  499. "speedyshare.com",
  500. "uploadspace.eu",
  501. "keepfile.com",
  502. "piggyshare.com",
  503. "uplly.com",
  504. "filecrown.com",
  505. "6giga.com",
  506. "uploadjockey.com",
  507. "bluehost.to",
  508. "filegu.ru",
  509. "filebase.to",
  510. "up-file.com",
  511. "xvideos.com",
  512. "ufox.com",
  513. "filebling.com",
  514. "loaded.it",
  515. "uploadcell.com",
  516. "uploadshare.cz",
  517. "mangoshare.com",
  518. "filestab.com",
  519. "crazyupload.com",
  520. "gaiafile.com",
  521. "sharejunky.com",
  522. "fileho.com",
  523. "bigandfree.com",
  524. "bigfile.in",
  525. "bigshare.eu",
  526. "dahosting.org",
  527. "digisofts.net",
  528. "file4save.com",
  529. "filechip.com",
  530. "filescloud.com",
  531. "saveqube.com",
  532. "turboshare.de",
  533. "z-upload.com",
  534. "youshare.com",
  535. "jiffyupload.com",
  536. "gigeshare.com",
  537. "datenklo.net",
  538. "upload.dj",
  539. "loadfiles.in",
  540. "upit.to",
  541. "dsfileshare.com",
  542. "sharesimple.net",
  543. "4files.net",
  544. "wooupload.com",
  545. "odsiebie.com",
  546. "filenavi.com",
  547. "3oof.com",
  548. "meshwaar.com",
  549. "maxupload.com",
  550. "share.cx",
  551. "atserver.eu",
  552. "hotfiles.ws",
  553. "esnips.com",
  554. "tuxfile.com",
  555. "file2upload.net",
  556. "filebling.com",
  557. "turboshare.com",
  558. "rarhost.com",
  559. "isharehd.com",
  560. "i741.com",
  561. "dataup.de",
  562. "fofly.com",
  563. "shareonall.com",
  564. "sexuploader.com",
  565. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  566. "uploadhyper.com",
  567. "filespawn.com",
  568. "caizzii.com",
  569. "volnyweb.cz",
  570. "usershare.net",
  571. "filescash.net",
  572. "metahyper.com",
  573. "combozip.com",
  574. "x7.to",
  575. "uploadbox.com",
  576. "enterupload.com|flyupload.com",
  577. "filepoint.de",
  578. "mystream.to",
  579. "x-fs.com",
  580. "shareator.com",
  581. "srapid.eu",
  582. "sosame.cz",
  583. "filesdump.com",
  584. "2-klicks.de",
  585. "uploking.com",
  586. "silofiles.com",
  587. "upfile.in",
  588. "filehook.com",
  589. "uploadking.com",
  590. "uploadhere.com",
  591. "kewlshare.com",
  592. "rapidable.com",
  593. "uploadwaste.com",
  594. "filemup.com",
  595. "filesonic.com|sharingmatrix.com",
  596. "fileserve.com",
  597. "wupload.com",
  598. "skipfile.com",
  599. "smartuploader.com",
  600. "dualshare.com",
  601. "storeandserve.com",
  602. "mountfile.com",
  603. "transitfiles.com",
  604. "uploadstation.com",
  605. "filejungle.com",
  606. "shareshared.com",
  607. "quickyshare.com",
  608. "save.am",
  609. "petandrive.com",
  610. "file2box.com",
  611. "flyshare.cz",
  612. "yabadaba.ru",
  613. "cloudcache.cc",
  614. "yourfilehost.com",
  615. "jakfile.com",
  616. "kickload.com",
  617. "pyramidfiles.com",
  618. "refile.net",
  619. "zshare.net",
  620. "ddlani.me|ddlanime.com",
  621. "ftp2share.com",
  622. "fooget.com",
  623. "rapidhide.com",
  624. "gotupload.com",
  625. "mooload.com",
  626. "zupload.com",
  627. "mytempdir.com",
  628. "onionshare.com",
  629. "stahnu.to",
  630. "oron.com",
  631. "badongo.com",
  632. "filereactor.com",
  633. "filegaze.com",
  634. "4bytez.com",
  635. "1hostclick.com",
  636. "anonstream.com",
  637. "batshare.com",
  638. "bitroad.net",
  639. "brontofile.com",
  640. "cloudnxt.net",
  641. "cloudnator.com|shragle.com",
  642. "filesfrog.net",
  643. "coolshare.cz",
  644. "dotavi.com",
  645. "ezyfile.net",
  646. "file-bit.net",
  647. "filecosy.com",
  648. "fileduct.com|fileduct.net",
  649. "filefat.com",
  650. "filelaser.com",
  651. "filemashine.com",
  652. "fileserver.cc",
  653. "filetechnology.com",
  654. "fireuploads.net",
  655. "gigfiles.net",
  656. "holderfile.com",
  657. "ihostia.com",
  658. "k2files.com",
  659. "mojofile.com",
  660. "ovfile.com",
  661. "qshare.com",
  662. "shafiles.me",
  663. "sharefilehost.com",
  664. "shareupload.com",
  665. "stahuj.to",
  666. "ugotfile.com",
  667. "uploadboost.com",
  668. "fileom.com",
  669. "vidhog.com",
  670. "xfileshare.eu",
  671. "bzlink.us",
  672. "bulletupload.com",
  673. "bloggerarticles.com",
  674. "mojedata.sk",
  675. "sharpfile.com",
  676. "upgrand.com",
  677. "nasdilej.cz",
  678. "mediatack.cz",
  679. "share-it.to",
  680. "primeupload.com",
  681. "filebeer.info",
  682. "baberepublic",
  683. "xtu.me",
  684. "sharebase.de",
  685. "luckyshare.net",
  686. "filerobo.com",
  687. "filevelocity.com",
  688. "filezpro.com",
  689. "file4sharing.com",
  690. "cing.be",
  691. "ufile.eu",
  692. "pigsonic.com",
  693. "fileupped.com",
  694. "sharerun.com",
  695. "filesaur.com",
  696. "rapidslnare.com",
  697. "bestsharing.com",
  698. "savefiles.net",
  699. "file2share.biz",
  700. "filecache.de",
  701. "monsteruploads.eu",
  702. "b9bb.com",
  703. "aiotool.net",
  704. "jamber.info",
  705. "megaftp.com",
  706. "desiupload.net",
  707. "file27.com",
  708. "yastorage.com",
  709. "filehost.ws",
  710. "copyload.com",
  711. "venusfile.com",
  712. "aieshare.com",
  713. "terafile.co",
  714. "terafile.com",
  715. "fileza.net",
  716. "filerose.com",
  717. "squillion.com",
  718. "fileprohost.com",
  719. "bitbonus.com",
  720. "warserver.cz",
  721. "uload.to",
  722. "sharedbit.net",
  723. "megaload.it",
  724. "filewinds.com",
  725. "uploadcore.com",
  726. "syfiles.com",
  727. "eyesfile.com",
  728. "hotfile.com",
  729. "superupl.com",
  730. "oteupload.com",
  731. "henchfile.com",
  732. "filegag.com",
  733. "HenchFile.com",
  734. "filedefend.com",
  735. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  736. "megabitshare.com",
  737. "cloudzer.com",
  738. "asfile.com",
  739. "cloudzer.net",
  740. "clz.to",
  741. "extabit.com",
  742. "247upload.com",
  743. "2download.de",
  744. "4fastfile.com",
  745. "asixfiles.com",
  746. "berofile.com",
  747. "bigupload.com",
  748. "cepzo.com",
  749. "clouds.to",
  750. "cobrashare.sk",
  751. "coraldrive.net",
  752. "cyberlocker.ch",
  753. "czshare.com",
  754. "darkport.org",
  755. "dark-uploads.com",
  756. "davvas.com",
  757. "enigmashare.com",
  758. "erofly.cz",
  759. "fastsonic.net",
  760. "filebox.com",
  761. "filecity.net",
  762. "filedap.com",
  763. "filedino.com",
  764. "filedownloads.org",
  765. "filefolks.com",
  766. "fileking.co",
  767. "filemates.com",
  768. "files.to",
  769. "files2k.eu",
  770. "filesector.cc",
  771. "bitshare.com",
  772. "filesega.com",
  773. "filesend.net",
  774. "filestay.com",
  775. "filestrum.com",
  776. "fileuplo.de",
  777. "fileupup.com",
  778. "forunesia.com",
  779. "freeuploads.fr",
  780. "uploa.dk",
  781. "getthebit.com",
  782. "getzilla.net",
  783. "goldfile.eu",
  784. "good.com",
  785. "grupload.com",
  786. "hellfile.com",
  787. "hipfile.com",
  788. "hitfile.com",
  789. "hulkfile.eu|duckfile.net",
  790. "i-filez.com",
  791. "ifile.ws",
  792. "kupload.org",
  793. "packupload.com",
  794. "lemuploads.com",
  795. "limelinx.com",
  796. "maxshare.pl",
  797. "megarelease.org",
  798. "megashare.com",
  799. "minus.com",
  800. "mlfat4arab.com",
  801. "multishare.cz",
  802. "nirafile.com",
  803. "ok2upload.com",
  804. "peejeshare.com",
  805. "premiuns.org",
  806. "przeklej.net",
  807. "qkup.net",
  808. "rapidupload.sk",
  809. "rockdizfile.com",
  810. "rocketfile.net",
  811. "share-now.net",
  812. "share76.com",
  813. "sharebees.com",
  814. "sharefiles.co",
  815. "slingfile.com",
  816. "sms4file.com",
  817. "space4file.com",
  818. "tigershare.net",
  819. "toucansharing.com",
  820. "ubuntuone.com",
  821. "unextfiles.com",
  822. "upaj.pl",
  823. "upfile.biz",
  824. "uploadbin.net",
  825. "uploadic.com",
  826. "uploadinc.com",
  827. "uploading4u.eu",
  828. "uploadjet.net",
  829. "uploadorb.com",
  830. "upthe.net",
  831. "uptorch.com",
  832. "vidbox.yt",
  833. "videozer.com",
  834. "vreer.com",
  835. "wallobit.com",
  836. "zooupload.com",
  837. "privatefiles.com",
  838. "xerver.co",
  839. "BillionUploads.com",
  840. "rapidshare.com",
  841. "rapidshare.ru",
  842. "4savefile.com",
  843. "bayfiles.com",
  844. "bayfiles.net",
  845. "dodane.pl",
  846. "dotsemper.com",
  847. "egofiles.com",
  848. "epicshare.net",
  849. "fiberupload.net",
  850. "filemonkey.in",
  851. "filemonster.net",
  852. "filepom.com",
  853. "filesbb.com",
  854. "fileshareup.com",
  855. "filevice.com",
  856. "gigaup.fr",
  857. "isavelink.com",
  858. "loombo.com",
  859. "megafiles.se",
  860. "migupload.com",
  861. "mydisc.net",
  862. "nitrobits.com",
  863. "potload.com",
  864. "redload.net",
  865. "shareprofi.com",
  866. "sharesuper.info",
  867. "sinhro.net",
  868. "speedfile.cz",
  869. "speedshare.org",
  870. "storage.novoro.net",
  871. "swankshare.com",
  872. "swatupload.com",
  873. "upafile.com",
  874. "uploadmachine.com",
  875. "uploadsat.com",
  876. "upshared.com",
  877. "usefile.com",
  878. "yourfiles.to",
  879. "zomgupload.com",
  880. "ultramegabit.com",
  881. "uploadto.us",
  882. "inafile.com",
  883. "megairon.net",
  884.  
  885. ];
  886. ///////////////////////////////////////////////////////////////////////////////////////
  887. var firstRun = GM_getValue("First_run", true);
  888.  
  889. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  890. //////////////////////////////////////////////////////////////////////////////////////
  891. try
  892. {
  893. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  894. var last_known_version = GM_getValue("last_known_version", "");
  895. if (!last_known_version)
  896. {
  897. last_known_version = thisVersion;
  898. GM_setValue("last_known_version", last_known_version);
  899. }
  900. //var newVersion = !(thisVersion == last_known_version);
  901. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  902. GM_setValue("last_known_version", thisVersion);
  903. }
  904. catch (err)
  905. {
  906. var newVersion = false;
  907. }
  908.  
  909. var now = (new Date()).getTime();
  910. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  911. if (!last_custom_rules_nag)
  912. {
  913. last_custom_rules_nag = now;
  914. GM_setValue('last_custom_rules_nag', ''+now);
  915. }
  916.  
  917.  
  918. allHostNames.sort();
  919. allContainerNames.sort();
  920. allObsoleteNames.sort();
  921.  
  922. var RAND_STRING = "8QyvpOSsRG3QWq";
  923. var DEBUG_MODE = false;
  924.  
  925. var TOOLTIP_MAXWIDTH = 600; //in pixels
  926. var TOOLTIP_THUMBWIDTH = 200;
  927. var containers_processed = false;
  928.  
  929. //settings for keyboard functions start
  930. var CHECK_ALL_LINKS_KEY = "A";
  931. var CONFIGURATION_KEY = "C";
  932. var copy_to_dead_key = "D";
  933. var copy_to_live_key = "L";
  934. var toggle_autocheck_key = "W";
  935. var toggle_Enable_Anonymizer_key = "Z";
  936. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  937. var first_key_keycodename = 'CTRL';
  938. var second_key_keycode = '18';
  939. var second_key_keycodename = 'ALT';
  940. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  941. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  942. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  943. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  944. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  945. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  946. //settings for keyboard functions end
  947.  
  948. //global settings start
  949. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  950. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  951. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  952. var Show_progress_stats, Display_tooltip_info, Icon_set;
  953. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  954. var Progress_box_refresh_rate;
  955. var Obsolete_file_hosts;
  956. var Custom_rules, Custom_rules_text;
  957.  
  958. var messageBox = document.createElement('b'); // top-left message box
  959.  
  960. var cLinksTotal = 0;
  961. var cLinksDead = 0;
  962. var cLinksAlive = 0;
  963. var cLinksUnava = 0;
  964. var cLinksprem = 0;
  965. var cLinksProcessed = 0;
  966.  
  967. var intervalId; //for updateProgress()
  968.  
  969. //icon resources
  970. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBN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wOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  984.  
  985. //global settings end
  986. if (window.opera && !window.console)
  987. {
  988. window.console = {};
  989.  
  990. function fn()
  991. {
  992. opera.postError(arguments);
  993. };
  994. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  995. {
  996. window.console[name] = fn;
  997. });
  998. }
  999.  
  1000. //displays colored text in message box
  1001. function sendMessage(text, color)
  1002. {
  1003. var msgDiv = document.createElement('div');
  1004. msgDiv.style.color = color;
  1005. msgDiv.innerHTML = text;
  1006. messageBox.appendChild(msgDiv);
  1007. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1008. }
  1009.  
  1010. function linkify(totalourls)
  1011. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1012. var ikkeTilladteTags;
  1013. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1014. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1015. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1016. allLinksRegex = new RegExp(allLinksRegex, "g");
  1017. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1018.  
  1019. if (Do_not_linkify_DL_links)
  1020. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1021. else
  1022. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1023.  
  1024. var regex = new RegExp(regexy);
  1025. var textNode, muligtLink;
  1026.  
  1027. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1028. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1029.  
  1030. var i = textNodes.snapshotLength;
  1031. while (i--)
  1032. {
  1033. textNode = textNodes.snapshotItem(i);
  1034.  
  1035. muligtLink = textNode.nodeValue; //all links on page
  1036.  
  1037. var myArray = null;
  1038. var span = null;
  1039. var lastLastIndex = 0;
  1040. allLinksRegex.lastIndex = 0;
  1041. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1042. {
  1043. if (textNode.parentNode.className == "adead_link") continue;
  1044. var censoredLink = muligtLink;
  1045. var span = document.createElement('span');
  1046. span.className = "adead_link";
  1047. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1048. $(span).html(censoredLink);
  1049. span.addEventListener("mouseover", displayTooltipError, false);
  1050. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1051. textNode.parentNode.replaceChild(span, textNode);
  1052. continue;
  1053. alert(censoredLink);
  1054. }
  1055. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1056. {
  1057. if (!regex.test(myArray[0])) //this link is not recognized
  1058. {
  1059.  
  1060. continue;
  1061. }
  1062. if (!span)
  1063. span = document.createElement('span');
  1064.  
  1065. var link = myArray[0];
  1066. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1067.  
  1068. var $a = $("<a>" + link + "</a>")
  1069. if (!link.match(/https?:\/\//))
  1070. {
  1071. link = 'http://' + link;
  1072. }
  1073.  
  1074. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1075. .addClass("processing_link")
  1076. .appendTo(span);
  1077. lastLastIndex = allLinksRegex.lastIndex;
  1078. }
  1079. if (span)
  1080. {
  1081. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1082. textNode.parentNode.replaceChild(span, textNode);
  1083. }
  1084. }
  1085. }
  1086.  
  1087. function add_WARLC_style()
  1088. {
  1089. if (!(document.getElementsByTagName('WARLC')[0]))
  1090. {
  1091. var meta_not_to_add_more_style = document.createElement("WARLC");
  1092. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1093. meta_not_to_add_more_style.setAttribute('name', 'description');
  1094. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1095. alive_link_png = "";
  1096. adead_link_png = "";
  1097. unava_link_png = "";
  1098. prem_link_png = "";
  1099. switch(Icon_set)
  1100. {
  1101. //no icons
  1102. case 0: break;
  1103. // cat paws
  1104. case 1: alive_link_png = PAW_ICON_GREEN;
  1105. adead_link_png = PAW_ICON_RED;
  1106. unava_link_png = PAW_ICON_YELLOW;
  1107. prem_link_png = PAW_ICON_PINK;
  1108. break;
  1109. // classic RSLC look
  1110. case 2: alive_link_png = RSLC_ICON_GREEN;
  1111. adead_link_png = RSLC_ICON_RED;
  1112. unava_link_png = RSLC_ICON_YELLOW;
  1113. prem_link_png = RSLC_ICON_PINK;
  1114. break;
  1115. // New Icons
  1116. case 3: alive_link_png = NEW_ICON_GREEN;
  1117. adead_link_png = NEW_ICON_RED;
  1118. unava_link_png = NEW_ICON_YELLOW;
  1119. prem_link_png = NEW_ICON_PINK;
  1120. break;
  1121. // cat paws
  1122. default:alive_link_png = PAW_ICON_GREEN;
  1123. adead_link_png = PAW_ICON_RED;
  1124. unava_link_png = PAW_ICON_YELLOW;
  1125. prem_link_png = PAW_ICON_PINK;
  1126. break;
  1127. }
  1128. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1129. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1130.  
  1131. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1132.  
  1133. if (Color_DL_links)
  1134. {
  1135. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1136. live_color_css = 'color:' + Live_links_color + ' !important;';
  1137. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1138. container_color_css = 'color:' + Container_links_color + ' !important;';
  1139. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1140. }
  1141. else
  1142. {
  1143. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1144. }
  1145.  
  1146. if (Show_black_background_in_DL_links)
  1147. {
  1148. black_background_css = 'background-color: black !important;';
  1149. }
  1150. else
  1151. {
  1152. black_background_css = '';
  1153. }
  1154.  
  1155. if (Show_line_through_in_dead_links)
  1156. {
  1157. line_through_css = 'text-decoration: line-through !important;';
  1158. }
  1159. else
  1160. {
  1161. line_through_css = '';
  1162. }
  1163.  
  1164. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1165. 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 + "}");
  1166. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1167. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1168. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1169. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1170. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1171. }
  1172. }
  1173.  
  1174. var warlcTooltip = null;
  1175. var mouseoverLink = null; //link href with mouse cursor over it
  1176.  
  1177. var lastX = 0;
  1178. var lastY = 0;
  1179.  
  1180. $(document).ready(initTooltip);
  1181. //inits tooltip
  1182. function initTooltip()
  1183. { warlcTooltip = document.createElement("div");
  1184. 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;");
  1185. warlcTooltip.style.visibility = "hidden";
  1186. document.body.appendChild(warlcTooltip);
  1187. }
  1188.  
  1189. //"mousemove" event handler for all links
  1190. function moveTooltip(event)
  1191. {
  1192. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1193. { //no need to reflow if the cursor moved just a little
  1194. return;
  1195. }
  1196. else
  1197. {
  1198. lastX = event.clientX;
  1199. lastY = event.clientY;
  1200. }
  1201.  
  1202. posX = event.clientX + window.pageXOffset + 10;
  1203. posY = event.clientY + window.pageYOffset;
  1204. var ttHeight = warlcTooltip.offsetHeight;
  1205. var ttFreeSpace = window.innerHeight - event.clientY;
  1206. if (ttHeight > ttFreeSpace)
  1207. { //prevents tooltip from getting out of the window
  1208. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1209. }
  1210. else
  1211. {
  1212. posY += 7;
  1213. }
  1214. warlcTooltip.style.top = posY + "px";
  1215. warlcTooltip.style.left = posX + "px";
  1216. }
  1217.  
  1218. //"mouseout" event handler for all links
  1219. function hideTooltip(){
  1220. warlcTooltip.style.visibility = "hidden";
  1221. mouseoverLink = null;
  1222. }
  1223.  
  1224.  
  1225. //"mouseover" event handler for dead links
  1226. //displays tooltip error message on dead links
  1227. function displayTooltipError()
  1228. {
  1229. mouseoverLink = this.href;
  1230. this.addEventListener("mouseout", hideTooltip);
  1231. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1232. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1233. warlcTooltip.style.minWidth = 0;
  1234. warlcTooltip.style.visibility = "visible";
  1235. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1236. {
  1237. warlcTooltip.innerHTML = this.warlc_error;
  1238. }
  1239. else
  1240. {
  1241. loadErrorInfo(this);
  1242. }
  1243. function loadErrorInfo(link)
  1244. {
  1245. var href = link.href;
  1246. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1247. GM_xmlhttpRequest({
  1248. method: 'GET',
  1249. url: href.replace(Ref_anonymize_service, ""),
  1250. headers: {
  1251. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1252. 'Accept': 'text/xml',
  1253. 'Referer': ""
  1254. },
  1255. onload: function(result) {
  1256. var res = result.responseText;
  1257. //TODO: errorRegexs -
  1258. var errorRegexs = [ //generic error messages follow
  1259. /(empty directory)/i,
  1260. /(soubor nebyl nalezen)/i,
  1261. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1262. //server specific error messages follow
  1263. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1264. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1265. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1266. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1267. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1268. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1269. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1270. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1271. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1272. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1273. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1274. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1275. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1276. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1277. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1278. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1279. /(File has been removed due to Copyright Claim)/, //filerio
  1280. ];
  1281. var errorIdx = errorRegexs.length;
  1282. var error = "Cause of error: <b>unknown</b>";
  1283. var errorCandidate = "";
  1284. while(errorIdx--)
  1285. {
  1286. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1287. if (errorCandidate != null)
  1288. {
  1289. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1290. break;
  1291. }
  1292. }
  1293. //link attributes
  1294. link.warlc_error = error;
  1295. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1296. {
  1297. warlcTooltip.innerHTML = error;
  1298. }
  1299. }
  1300. });
  1301. }
  1302. }
  1303.  
  1304. //"mouseover" event handler for alive links
  1305. //displays tooltip info (file size, file name,...) on alive links
  1306. function displayTooltipInfo()
  1307. {
  1308. mouseoverLink = this.href;
  1309. //exclude direct download filehostings
  1310. 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)/))
  1311. {
  1312. return;
  1313. }
  1314. this.addEventListener("mouseout", hideTooltip);
  1315. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1316. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1317. warlcTooltip.style.minWidth = 0;
  1318. warlcTooltip.style.visibility = "visible";
  1319. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1320. {
  1321. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1322. }
  1323. else
  1324. {
  1325. loadInfo(this);
  1326. }
  1327. function loadInfo(link)
  1328. {
  1329. var href = link.href;
  1330. GM_xmlhttpRequest({
  1331. method: 'GET',
  1332. url: href.replace(Ref_anonymize_service, ""),
  1333. headers: {
  1334. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1335. 'Accept': 'text/xml',
  1336. 'Referer': ""
  1337. },
  1338. onload: function(result) {
  1339. var res = result.responseText;
  1340. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1341. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1342. /fl" title="(.+?)">/, //edisk
  1343. /<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
  1344. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1345. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1346. /title="download (.+?)">/, //sendspace
  1347. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1348. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1349. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1350. /d0FileName = "(.+?)";/, //letitbit
  1351. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1352. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1353. /fname" value="(.+?)">/, //syfiles, grupload,
  1354. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1355. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1356. /Complete name : (.+?)<br \/>/, //bezvadata
  1357. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1358. ];
  1359. var nameIdx = nameRegexs.length;
  1360. // [sizeRegexs]
  1361. // / \ \?
  1362. // prefix (size) postfix
  1363. // / \
  1364. // val quant
  1365. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1366. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1367. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1368. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1369. var postSizeRegex = '(?:\\))?';
  1370. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1371. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1372. ];
  1373. var sizeIdx = sizeRegexs.length;
  1374. //
  1375. //
  1376. var tooltip = "File Name: <b>";
  1377. var fileName = "unknown";
  1378. var nameCandidate = "";
  1379. while(nameIdx--)
  1380. {
  1381. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1382. if (nameCandidate != null)
  1383. {
  1384. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1385. break;
  1386. }
  1387. }
  1388. tooltip += fileName + "</b><br>File Size: <b>";
  1389. var fileSize = "unknown";
  1390. var sizeCandidate = "";
  1391. while(sizeIdx--)
  1392. {
  1393. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1394. if (sizeCandidate != null)
  1395. {
  1396. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1397. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1398. {
  1399. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1400. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1401. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1402. }
  1403. break;
  1404. }
  1405. }
  1406. tooltip += fileSize + "</b>";
  1407. // PROTOTYPE
  1408. // video thumbnails
  1409. if (href.match('hellshare'))
  1410. {
  1411. var thumbs;
  1412. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1413. if (thumbs)
  1414. {
  1415. tooltip += '<br>';
  1416. var j = Math.min(thumbs.length, 9);
  1417. for (var i = 0; i < j; i++)
  1418. {
  1419. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1420. }
  1421. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1422. }
  1423. }
  1424. if (href.match('czshare'))
  1425. {
  1426. var thumbs;
  1427. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1428. if (thumbs)
  1429. {
  1430. var thumbsServer = thumbs[1];
  1431. var thumbsId = thumbs[2];
  1432. tooltip += '<br>';
  1433. for (var i = 1; i < 9; i++)
  1434. {
  1435. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1436. }
  1437. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1438. }
  1439. }
  1440. if (href.match('bezvadata'))
  1441. {
  1442. var thumbs;
  1443. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1444. if (thumbs)
  1445. {
  1446. tooltip += '<br>';
  1447. var j = Math.min(thumbs.length, 9);
  1448. for (var i = 0; i < j; i++)
  1449. {
  1450. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1451. }
  1452. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1453. }
  1454. }
  1455. link.warlc_tooltipcache = tooltip;
  1456. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1457. {
  1458. warlcTooltip.innerHTML = tooltip;
  1459. }
  1460. }
  1461. });
  1462. }
  1463. }
  1464.  
  1465. function setVariables()
  1466. {
  1467. if (firstRun)
  1468. {
  1469. GM_log('First run, applying default settings...');
  1470. GM_setValue("Icon_set",1);
  1471. GM_setValue("Display_tooltip_info",true);
  1472. GM_setValue("Show_black_background_in_DL_links",false);
  1473. GM_setValue("Show_line_through_in_dead_links",false);
  1474. GM_setValue("Display_full_links_in_link_containers",false);
  1475. GM_setValue("Allow_spaces_in_DL_links",false);
  1476. GM_setValue("Autocheck",true);
  1477. GM_setValue("Enable_Anonymizer",false);
  1478. GM_setValue("Do_not_linkify_DL_links",false);
  1479. GM_setValue("Show_progress_stats",true);
  1480. GM_setValue("Keyboard_functions",true);
  1481. GM_setValue("Obsolete_file_hosts",false);
  1482. GM_setValue("Color_DL_links",true);
  1483. GM_setValue("Live_links_color","Green");
  1484. GM_setValue("Dead_links_color","#FF3300");
  1485. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1486. GM_setValue("Container_links_color","DarkKhaki");
  1487. GM_setValue("Premium_links_color","DeepPink");
  1488. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1489. GM_setValue("Custom_rules",false);
  1490. GM_setValue("Custom_rules_text","");
  1491. GM_setValue("First_run", false);
  1492. }
  1493. //hidden settings
  1494. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1495. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1496. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1497. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1498. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1499. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1500. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1501. //hidden settings end
  1502.  
  1503. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1504. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1505. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1506. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1507. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1508. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1509. Autocheck = GM_getValue("Autocheck", true);
  1510. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1511. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1512. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1513. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1514. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1515. Color_DL_links = GM_getValue("Color_DL_links", true);
  1516. Live_links_color = GM_getValue("Live_links_color", "Green");
  1517. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1518. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1519. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1520. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1521. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1522. Custom_rules = GM_getValue("Custom_rules", false);
  1523. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1524. }
  1525.  
  1526.  
  1527. // Delinkifies the links
  1528. // params:
  1529. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1530. // e.g. 'uloz.to/xs68skxl8')
  1531. function delinkifySnapshot(snapshot)
  1532. {
  1533. var n = snapshot.snapshotLength;
  1534.  
  1535. while (n--)
  1536. {
  1537. thisLink = snapshot.snapshotItem(n);
  1538.  
  1539. var spanElm = document.createElement("span");
  1540. spanElm.className = thisLink.className;
  1541. spanElm.innerHTML = thisLink.innerHTML;
  1542.  
  1543. if (Display_tooltip_info)
  1544. {
  1545. spanElm.href = thisLink.href;
  1546. switch (thisLink.className){
  1547. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1548. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1549. case "unava_link": //reserved
  1550. default:
  1551. }
  1552. }
  1553. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1554. }
  1555. }
  1556.  
  1557. function processContainers()
  1558. {
  1559. var redirectorTypes = { "HTTP_302": 0,
  1560. "INNER_LINK": 1,
  1561. "THELOO_KATT_IT": 2,
  1562. "CING_BE": 3,
  1563. "ADF_LY": 4};
  1564. var cMultiloadTotal = 0;
  1565. var cMultiloadProcessed = 0;
  1566.  
  1567. var cMirrorcreatorComTotal = 0;
  1568. var cMirrorcreatorComProcessed = 0;
  1569.  
  1570. var hostRestrictionRegex = "";
  1571. var multiloadComRestriction = "";
  1572. var multiloadComRestrictionRegex;
  1573.  
  1574. //
  1575. //HANDLING REDIRECTORS START
  1576. //
  1577.  
  1578. var redirectors = new Array();
  1579. initRedirectors();
  1580.  
  1581. var redirectorsCount = redirectors.length;
  1582.  
  1583. if (redirectorsCount > 0)
  1584. {
  1585. var allRedirectorsRegex = "";
  1586.  
  1587. //linkify redirector links
  1588. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1589. {
  1590. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1591. }
  1592. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1593. linkify(allRedirectorsRegex);
  1594. //
  1595. //process redirector links
  1596. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1597. {
  1598. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1599. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1600.  
  1601. cLinksTotal += redirectors[redirIdx].cTotal;
  1602. var linkIdx = redirectors[redirIdx].cTotal;
  1603.  
  1604. while(linkIdx--)
  1605. {
  1606. switch(redirectors[redirIdx].type)
  1607. {
  1608. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1609. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1610. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1611. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1612. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1613. default:
  1614. }
  1615. }
  1616. }
  1617. //
  1618. }
  1619.  
  1620. //HTTP_302
  1621. function processRedirectorLink(link, redirectorId)
  1622. {
  1623. link.className = 'container_link';
  1624.  
  1625. GM_xmlhttpRequest({
  1626. method: 'HEAD',
  1627. url: link.href,
  1628. headers: {
  1629. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1630. 'Accept': 'text/xml',
  1631. 'Referer': ""
  1632. },
  1633. onload: function(result) {
  1634. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1635. {
  1636. processRedirectorLink(link, redirectorId);
  1637. }
  1638. else
  1639. {
  1640. redirectors[redirectorId].cProcessed++;
  1641. link.href = result.finalUrl;
  1642. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1643. checkLinks('container_link');
  1644. }
  1645. },
  1646. onerror: function(result) { //probably caused by unresponsive filehosting
  1647. redirectors[redirectorId].cProcessed++;
  1648. link.className = 'unava_link';
  1649. cLinksProcessed++;
  1650. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1651. checkLinks('container_link');
  1652. }
  1653. });
  1654. }
  1655. //INNER_LINK
  1656. function processRedirectorLinkEx(link, redirectorId)
  1657. {
  1658. link.className = 'container_link';
  1659. GM_xmlhttpRequest({
  1660. method: 'GET',
  1661. url: link.href,
  1662. headers: {
  1663. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1664. 'Accept': 'text/xml',
  1665. 'Referer': ""
  1666. },
  1667. onload: function(result) {
  1668. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1669. redirectors[redirectorId].cProcessed++;
  1670. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1671. checkLinks('container_link');
  1672. }
  1673. });
  1674. }
  1675. //theloo.katt.it (wrapped safelinking.net)
  1676. function processThelooKattItLink(link, redirectorId)
  1677. {
  1678. link.className = 'container_link';
  1679. GM_xmlhttpRequest({
  1680. method: 'GET',
  1681. url: link.href,
  1682. headers: {
  1683. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1684. 'Accept': 'text/xml',
  1685. 'Referer': ""
  1686. },
  1687. onload: function(result) {
  1688. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1689. redirectors[redirectorId].cProcessed++;
  1690. //the inner links are safelinking.net links, so lets proceed with it
  1691. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1692. {
  1693. processRedirectorLink(link, 0);
  1694. }
  1695. }
  1696. });
  1697. }
  1698. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1699. function processAdfLyLink(link, redirectorId)
  1700. {
  1701. link.className = 'container_link';
  1702. GM_xmlhttpRequest({
  1703. method: 'GET',
  1704. url: link.href,
  1705. headers: {
  1706. 'User-agent': 'Mozilla/4.0',
  1707. 'Accept': 'text/xml',
  1708. 'Referer': ""
  1709. },
  1710. onload: function(result) {
  1711. if (result.finalUrl.match('/locked/'))
  1712. {
  1713. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1714. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1715. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1716. }
  1717. else
  1718. {
  1719. // GM_log('Processing... ' + link.href);
  1720. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1721. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1722. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1723. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1724. //confirm advert
  1725. GM_xmlhttpRequest(
  1726. {
  1727. method: 'POST',
  1728. url: 'http://adf.ly/l.php',
  1729. headers: {
  1730. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1731. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1732. 'Referer': link.href
  1733. },
  1734. data: users + '&lt=' + logToken,
  1735. onload: function(result) {
  1736. //retrieve final url from .../go/... link
  1737. GM_xmlhttpRequest({
  1738. method: 'GET',
  1739. url: directLink,
  1740. headers: {
  1741. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1742. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1743. 'Referer': link.href
  1744. },
  1745. onload: function(result) {
  1746. link.href = result.finalUrl;
  1747. redirectors[redirectorId].cProcessed++;
  1748. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1749. checkLinks('container_link');
  1750. }
  1751. });
  1752. }
  1753. });
  1754. }
  1755. }
  1756. });
  1757. function proceedOK()
  1758. {
  1759. }
  1760. }
  1761. //MULTILOAD.CZ START
  1762. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1763. {
  1764. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1765. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1766.  
  1767. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1768.  
  1769. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1770. hostRestrictionRegex += 'hellshare|';
  1771. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1772. hostRestrictionRegex += 'downloadhellshare|';
  1773. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1774. hostRestrictionRegex += 'share-rapid\\.com|';
  1775. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1776. hostRestrictionRegex += 'quickshare\\.cz|';
  1777. if (GM_getValue("Check_czshare_dot_com_links", false))
  1778. hostRestrictionRegex += 'czshare\\.com|';
  1779. if (GM_getValue("Check_uloz_dot_to_links", false))
  1780. hostRestrictionRegex += 'uloz\\.to|';
  1781. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1782. hostRestrictionRegex += 'hellspy|';
  1783. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1784. hostRestrictionRegex += 'multishare\\.cz|';
  1785.  
  1786. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1787.  
  1788. linkify(mlRegex);
  1789.  
  1790. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1791. var mlCount = mlSnapshot.snapshotLength;
  1792.  
  1793. if (mlCount > 0)
  1794. {
  1795. cMultiloadTotal += mlCount;
  1796.  
  1797. mlIdx = mlCount - 1;
  1798. do
  1799. {
  1800. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1801. }
  1802. while(mlIdx--)
  1803. }
  1804. }
  1805. //MULTILOAD.CZ END
  1806.  
  1807.  
  1808.  
  1809. function processMultiloadLink(mlLink)
  1810. {
  1811. GM_xmlhttpRequest({
  1812. method: 'GET',
  1813. url: mlLink.href,
  1814. headers: {
  1815. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1816. 'Accept': 'text/xml',
  1817. 'Referer': ""
  1818. },
  1819. onload: function(result) {
  1820. var res = result.responseText;
  1821.  
  1822. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1823. 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;
  1824. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1825. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1826.  
  1827. var blocks; // blocks of links
  1828. var blockIdx;
  1829.  
  1830. mlLink.className = '';
  1831.  
  1832. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1833. {
  1834. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1835. return;
  1836. }
  1837.  
  1838. blocks = res.match(innerBlockRegex);
  1839.  
  1840. if (blocks == null) //no links found, cancel further processing
  1841. {
  1842. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1843. cMultiloadProcessed++;
  1844. if (cMultiloadTotal <= cMultiloadProcessed)
  1845. {
  1846. startBulkCheck('container_link');
  1847. start('container_link');
  1848. }
  1849. return;
  1850. }
  1851.  
  1852. blockIdx = blocks.length;
  1853.  
  1854. if (Display_full_links_in_link_containers)
  1855. {
  1856. var ulElm = document.createElement('ul');
  1857. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1858.  
  1859. while(blockIdx--)
  1860. {
  1861. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1862. {
  1863. continue;
  1864. }
  1865.  
  1866. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1867.  
  1868. var linkIdx = innerLinks.length;
  1869. while (linkIdx--)
  1870. {
  1871. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1872.  
  1873. var liElm = document.createElement('li');
  1874.  
  1875. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1876. {
  1877. liElm.appendChild(document.createTextNode(innerLink));
  1878. }
  1879. else
  1880. {
  1881. var aElm = document.createElement('a');
  1882. aElm.innerHTML = innerLink;
  1883. aElm.href = innerLink;
  1884. aElm.className = 'container_link';
  1885.  
  1886. liElm.appendChild(aElm);
  1887. }
  1888.  
  1889. ulElm.appendChild(liElm);
  1890. cLinksTotal++;
  1891. }
  1892. }
  1893.  
  1894. mlLink.parentNode.appendChild(ulElm);
  1895. }
  1896. else //compact view
  1897. {
  1898. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1899.  
  1900. while(blockIdx--)
  1901. {
  1902. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1903. {
  1904. continue;
  1905. }
  1906.  
  1907. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1908.  
  1909. var linkIdx = innerLinks.length;
  1910. while (linkIdx--)
  1911. {
  1912. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1913.  
  1914. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1915. {
  1916. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1917. }
  1918. else
  1919. {
  1920. var aElm = document.createElement('a');
  1921.  
  1922. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1923.  
  1924. //abbreviate host name
  1925. switch(hostName + ""){
  1926.  
  1927. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1928. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1929. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1930. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1931. case 'multishare': aElm.innerHTML = 'MS'; break;
  1932. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1933. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1934. case 'czshare': aElm.innerHTML = 'CS'; break;
  1935. default: aElm.innerHTML = 'xx';
  1936.  
  1937. }
  1938.  
  1939. aElm.href = innerLink;
  1940. aElm.className = 'container_link';
  1941.  
  1942. mlLink.parentNode.appendChild(aElm);
  1943. cLinksTotal++;
  1944. }
  1945. }
  1946.  
  1947. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1948.  
  1949. }
  1950. }
  1951.  
  1952. cMultiloadProcessed++;
  1953. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1954. {
  1955. if (Do_not_linkify_DL_links)
  1956. {
  1957. delinkifySnapshot(mlSnapshot);
  1958. }
  1959. startBulkCheck('container_link');
  1960. start('container_link');
  1961. }
  1962. }
  1963. });
  1964. }
  1965.  
  1966.  
  1967. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1968. {
  1969. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1970. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1971. var mcShortHostNames =
  1972. '?? 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';
  1973. // 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
  1974. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1975. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1976. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1977. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1978.  
  1979. linkify(mcRegex);
  1980.  
  1981. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1982. var mcCount = mcSnapshot.snapshotLength;
  1983.  
  1984. cMirrorcreatorComTotal = mcCount;
  1985.  
  1986. if (mcCount > 0)
  1987. {
  1988. mcShortHostNames = mcShortHostNames.split(' ');
  1989. mcIdx = mcCount;
  1990. while(mcIdx--)
  1991. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1992. }
  1993.  
  1994. }
  1995. //MIRRORCREATOR.CZ END
  1996.  
  1997.  
  1998. //mirrorcreator.com checking works like this:
  1999. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2000. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2001. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2002. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2003. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2004. function processMirrorcreatorLink(mcLink)
  2005. {
  2006. var mcURL = mcLink.href.match(mcRegex);
  2007. if(!mcURL || !mcURL[1]) return;
  2008. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2009. GM_xmlhttpRequest({
  2010. method: 'GET',
  2011. url: mcURL,
  2012. headers: {
  2013. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2014. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2015. 'Referer': ""
  2016. },
  2017. onload: function(mcLinkResult) {
  2018. var mcLinkRes = mcLinkResult.responseText;
  2019.  
  2020. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2021. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2022.  
  2023. var mcRedirectors;
  2024. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2025. var m = mcLinkRes.match(mcLinkBlockRegex);
  2026. if (m)
  2027. mcHostsFound = m.length;
  2028. else
  2029. { //no files inside container
  2030. processMirrorcreatorFoundHosts(mcLink, []);
  2031. return;
  2032. }
  2033.  
  2034. var mcRedirectorURL, idx, timedOut = false;
  2035.  
  2036. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2037. GM_xmlhttpRequest({
  2038. method: 'GET',
  2039. url: mcRedirectorURL,
  2040. headers: {
  2041. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2042. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2043. 'Referer': ""
  2044. },
  2045. onload: function(mcHostResult) {
  2046. if (timedOut) return; //too late, the list is already displayed
  2047. var mcHostRes = mcHostResult.responseText;
  2048. var mcHost = mcHostRes.match(mcHostRegex);
  2049. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2050. if (mcHost && idx!=-1)
  2051. {
  2052. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2053. mcHostsRetrieved++;
  2054. mcHostsToProcess++;
  2055. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2056. {
  2057. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2058. mcHostsToProcess = 0;
  2059. }
  2060. }
  2061. } //end of onload: function
  2062. }); //end of GM_xmlhttpRequest call
  2063. };//end of var gmxhrFunc
  2064.  
  2065. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2066. { //load individual redirector pages
  2067. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2068. mcHostURLs.push(mcRedirectorURL);
  2069. mcRedirectorIDs.push(mcRedirectors[2]);
  2070. gmxhrFunc(mcRedirectorURL);
  2071. } //end of while block
  2072.  
  2073. setTimeout(function(){ //in case the last page fails to load and call the function
  2074. timedOut = true;
  2075. if (mcHostsToProcess)
  2076. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2077. }, 60000);
  2078.  
  2079. } //end of onload function
  2080. }); //end of GM_xmlhttpRequest call
  2081. } //end of function processMirrorcreatorLink
  2082.  
  2083.  
  2084. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2085. {
  2086. var aEl, liEl, docFrag;
  2087. var hostName, mcRedirectorID, trimFilename = false;
  2088. var i = mcHostURLs.length;
  2089. if (i == 0)
  2090. {
  2091. trimFilename = true;
  2092. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2093. }
  2094. else
  2095. {
  2096. if (Display_full_links_in_link_containers)
  2097. { //full view
  2098. var wrapperEl = document.createElement('span');
  2099. wrapperEl.style.display = 'block';
  2100. var ulistEl = document.createElement('ul');
  2101. ulistEl.className = 'container_list';
  2102. while (i--)
  2103. {
  2104. liEl = document.createElement('li');
  2105. aEl = document.createElement('a');
  2106. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2107. aEl.href = mcHostURLs[i];
  2108. aEl.className = 'container_link';
  2109. liEl.appendChild(aEl);
  2110. ulistEl.appendChild(liEl);
  2111. }
  2112. wrapperEl.appendChild(ulistEl);
  2113. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2114. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2115. }
  2116. else
  2117. { //compact view
  2118. trimFilename = true;
  2119. docFrag = document.createDocumentFragment();
  2120. docFrag.appendChild(document.createTextNode(' |'));
  2121. while (i--)
  2122. {
  2123. mcRedirectorID = mcRedirectorIDs[i];
  2124. hostName = mcHostURLs[i];
  2125. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2126. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2127. else
  2128. hostName = mcShortHostNames[mcRedirectorID];
  2129. aEl = document.createElement('a');
  2130. aEl.href = mcHostURLs[i];
  2131. aEl.className = 'container_link';
  2132. aEl.appendChild(document.createTextNode(hostName));
  2133. docFrag.appendChild(aEl);
  2134. docFrag.appendChild(document.createTextNode('|'));
  2135. }
  2136. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2137. } //end of else block
  2138. } //end of else block
  2139. mcLink.className = '';
  2140. if (trimFilename)
  2141. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2142. cMirrorcreatorComProcessed++;
  2143. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2144. {
  2145. if (Do_not_linkify_DL_links)
  2146. delinkifySnapshot(mcSnapshot);
  2147. startBulkCheck('container_link');
  2148. start('container_link');
  2149. }
  2150. } //end of function processMirrorcreatorFoundHosts
  2151.  
  2152. containers_processed = true;
  2153.  
  2154.  
  2155. function initRedirectors()
  2156. {
  2157. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2158. {
  2159. var redirector = new Object();
  2160. redirector.linkRegex = linkRegex;
  2161. redirector.xpath = xpathEx; //xpath expression
  2162. redirector.cProcessed = 0; //processed links count
  2163. redirector.cTotal = 0; //total links count
  2164. redirector.type = redirType; //redirectorTypes enum
  2165. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2166. redirectors.push(redirector);
  2167. }
  2168. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2169. {
  2170. addRedirector(
  2171. 'safelinking\\.net\/d\/\\w+',
  2172. "//a[contains(@href,'safelinking.net/d/')]",
  2173. redirectorTypes.HTTP_302,
  2174. null);
  2175. }
  2176. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2177. {
  2178. addRedirector(
  2179. 'linksafe\\.me\/d\/\\w+',
  2180. "//a[contains(@href,'linksafe.me/d/')]",
  2181. redirectorTypes.HTTP_302,
  2182. null);
  2183. }
  2184. if (GM_getValue("Check_linkto_dot_net_links", false))
  2185. {
  2186. addRedirector(
  2187. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2188. "//a[contains(@href,'linkto.net/?')]",
  2189. redirectorTypes.INNER_LINK,
  2190. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2191. }
  2192. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2193. {
  2194. addRedirector(
  2195. '(?:the)?loo\\.katt\\.it\/\\w+',
  2196. "//a[contains(@href,'loo.katt.it/')]",
  2197. redirectorTypes.THELOO_KATT_IT,
  2198. /Proceed to URL - <a href="(.+?)">/);
  2199. }
  2200. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2201. {
  2202. addRedirector(
  2203. 'madlink\\.sk\/\\w+',
  2204. "//a[contains(@href,'madlink.sk/')]",
  2205. redirectorTypes.INNER_LINK,
  2206. /name="url" value="(.+?)\s*"\/>/);
  2207. }
  2208. if (GM_getValue("Check_adf_dot_ly_links", false))
  2209. {
  2210. addRedirector(
  2211. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2212. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2213. redirectorTypes.ADF_LY,
  2214. null);
  2215. }
  2216. if (GM_getValue("Check_redi_dot_re_links", false))
  2217. {
  2218. addRedirector(
  2219. 'redi\\.re\/\\w+',
  2220. "//a[contains(@href,'redi.re/')]",
  2221. redirectorTypes.HTTP_302,
  2222. null);
  2223. }
  2224. if (GM_getValue("Check_bit_dot_ly_links", false))
  2225. {
  2226. addRedirector(
  2227. 'bit\\.ly\/\\w+',
  2228. "//a[contains(@href,'bit.ly/')]",
  2229. redirectorTypes.HTTP_302,
  2230. null);
  2231. }
  2232. }
  2233.  
  2234. }
  2235.  
  2236. var bulkHosts = new Array();
  2237. var bulkHostNames = new Array();
  2238. function initBulkCheck()
  2239. {
  2240. /////////////////////////////
  2241. // Inits filehost object
  2242. /////////////////////////////
  2243. // params :
  2244. // hostName -- [string] host name (multiple domains separated with coma)
  2245. // linkRegex -- [string] link regex
  2246. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2247. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2248. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2249. // corrReplWhat -- [regex] link correction regex (replace)
  2250. // corrReplWith -- [string]
  2251. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2252. //
  2253. // apiUrl -- [string] web linkchecker or API URL
  2254. // postData -- [string] POSTDATA of xmlhttprequest
  2255. // resLinkRegex -- [regex]
  2256. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2257. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2258. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2259. // func -- [function] bulkcheck handler, genBulkCheck if null
  2260. //
  2261. //////////////////////////////
  2262. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2263. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2264. {
  2265. var fileHost = new Object();
  2266.  
  2267. fileHost.linkRegex = linkRegex;
  2268. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2269. fileHost.xpath = xpath;
  2270. fileHost.cFound = 0; //found links counter
  2271. fileHost.links = new Array(); //found links
  2272. if (blockSize == null)
  2273. {
  2274. fileHost.blockSize = 50;
  2275. }
  2276. else
  2277. {
  2278. fileHost.blockSize = blockSize;
  2279. }
  2280. fileHost.corrMatch = corrMatch;
  2281. fileHost.corrReplWhat = corrReplWhat;
  2282. fileHost.corrReplWith = corrReplWith;
  2283. if (splitSeparator == null)
  2284. {
  2285. fileHost.splitSeparator = "\r\n";
  2286. }
  2287. else
  2288. {
  2289. fileHost.splitSeparator = splitSeparator;
  2290. }
  2291. fileHost.apiUrl = apiUrl;
  2292. fileHost.postData = postData;
  2293. fileHost.resLinkRegex = resLinkRegex;
  2294. fileHost.resLiveRegex = resLiveRegex;
  2295. fileHost.resDeadRegex = resDeadRegex;
  2296. fileHost.resUnavaRegex = resUnavaRegex;
  2297. if (func == null)
  2298. {
  2299. fileHost.func = genBulkCheck;
  2300. }
  2301. else
  2302. {
  2303. fileHost.func = func;
  2304. }
  2305. bulkHosts.push(fileHost);
  2306. var names = hostName.split(',');
  2307. var i = names.length;
  2308. while(i--)
  2309. {
  2310. bulkHostNames[names[i]] = fileHost;
  2311. }
  2312. }
  2313. var genType1 = [
  2314. "rodfile.com", "downloadani.me", //"migahost.com",
  2315. "rarefile.net",
  2316. "filesabc.com",
  2317. "verzend.be",
  2318. // "movreel.com",
  2319. "4up.me",
  2320. "file4safe.com", "filemac.com",
  2321. "idup.in", "novafile.com", "longfiles.com",
  2322. "bitupload.com",
  2323. "uploadbaz.com"
  2324. ];
  2325. var genType2 = [ "queenshare.com",
  2326. "hulkload.com",
  2327. "amonshare.com", //"edoc.com",
  2328. ];
  2329. //xfilesharing 1.0
  2330. function addGenericType1()
  2331. {
  2332. var i = genType1.length;
  2333. while(i--)
  2334. {
  2335. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2336. {
  2337. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2338. addHost(
  2339. genType1[i].match(/[\w-]+/)[0], //hostname
  2340. regexSafe + "\/\\w+", //linkregex
  2341. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2342. null, //blocksize
  2343. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2344. null, //corrreplwhat
  2345. null, //corrreplwith
  2346. null, //separator
  2347. "http://" + genType1[i] + "/checkfiles.html", //api url
  2348. "op=checkfiles&process=Check+URLs&list=", //postdata
  2349. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2350. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2351. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2352. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2353. null //function delegate
  2354. )
  2355. }
  2356. }
  2357. }
  2358. //xfilesharing 2.0
  2359. function addGenericType2()
  2360. {
  2361. var i = genType2.length;
  2362. while(i--)
  2363. {
  2364. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2365. {
  2366. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2367. addHost(
  2368. genType2[i].match(/[\w-]+/)[0], //hostname
  2369. regexSafe + "\/\\w+", //linkregex
  2370. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2371. null, //blocksize
  2372. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2373. null, //corrreplwhat
  2374. null, //corrreplwith
  2375. null, //separator
  2376. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2377. "op=checkfiles&process=Check+URLs&list=", //postdata
  2378. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2379. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2380. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2381. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2382. null //function delegate
  2383. )
  2384. }
  2385. }
  2386. }
  2387. // TEMPLATE
  2388. // if (GM_getValue("Check__dot_com_links", false))
  2389. // {
  2390. // addHost(
  2391. // "", //hostname
  2392. // "", //linkregex
  2393. // "//a[contains(@href,'.com/')]", //xpath
  2394. // null, //blocksize
  2395. // null, //corrmatch
  2396. // null, //corrreplwhat
  2397. // null, //corrreplwith
  2398. // null, //separator
  2399. // "", //api url
  2400. // "", //postdata
  2401. // /()/, //linkregex
  2402. // //liveregex
  2403. // //deadregex
  2404. // //unavaregex
  2405. // null //function delegate
  2406. // )
  2407. // }
  2408. addGenericType1();
  2409. addGenericType2();
  2410.  
  2411. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2412. {
  2413. addHost(
  2414. "myvdrive,fileserving", //hostname
  2415. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2416. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2417. null, //blocksize
  2418. null, //corrmatch
  2419. null, //corrreplwhat
  2420. null, //corrreplwith
  2421. null, //separator
  2422. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2423. "links=", //postdata
  2424. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2425. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2426. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2427. null, //unavaregex
  2428. null //function delegate
  2429. )
  2430. }
  2431. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2432. {
  2433. addHost(
  2434. "hackerbox", //hostname
  2435. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2436. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2437. null, //blocksize
  2438. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2439. null, //corrreplwhat
  2440. null, //corrreplwith
  2441. null, //separator
  2442. "http://host.hackerbox.org/checkfiles.html", //api url
  2443. "op=checkfiles&process=Check+URLs&list=", //postdata
  2444. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2445. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2446. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2447. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2448. null //function delegate
  2449. )
  2450. }
  2451. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2452. {
  2453. addHost(
  2454. "hellshare", //hostname
  2455. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2456. "//a[contains(@href,'hellshare.')]", //xpath
  2457. 48, //blocksize
  2458. null, //corrmatch
  2459. null, //corrreplwhat
  2460. null, //corrreplwith
  2461. null, //separator
  2462. null, //api url
  2463. null, //postdata
  2464. null, //linkregex
  2465. null, //liveregex
  2466. null, //deadregex
  2467. null, //unavaregex
  2468. hellshareBulkCheck //function delegate
  2469. )
  2470. }
  2471. /* if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2472. {
  2473. addHost(
  2474. "ncrypt", //hostname
  2475. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2476. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2477. 100000, //blocksize
  2478. null, //corrmatch
  2479. null, //corrreplwhat
  2480. null, //corrreplwith
  2481. null, //separator
  2482. null,
  2483. null,
  2484. null,
  2485. null,
  2486. null,
  2487. null,
  2488. ncryptBulkCheck //function delegate
  2489. )
  2490. } */
  2491. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2492. {
  2493. addHost(
  2494. "uploadrocket", //hostname
  2495. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2496. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2497. null, //blocksize
  2498. null, //corrmatch
  2499. null, //corrreplwhat
  2500. null, //corrreplwith
  2501. "\n", //separator
  2502. 'http://uploadrocket.net/?op=checkfiles',
  2503. 'op=checkfiles&process=Check+URLs&list=',
  2504. /uploadrocket.net\/(\w+)/,
  2505. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2506. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2507. null,
  2508. null //function delegate
  2509. )
  2510. }
  2511. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2512. {
  2513. addHost(
  2514. "k2s,keep2s,keep2share",
  2515. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2516. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2517. 100000, //blocksize
  2518. null, //corrmatch
  2519. null, //corrreplwhat
  2520. null, //corrreplwith
  2521. null, //separator
  2522. null,
  2523. null,
  2524. null,
  2525. null,
  2526. null,
  2527. null,
  2528. k2sBulkCheck //function delegate
  2529. )
  2530. }
  2531. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2532. {
  2533. addHost(
  2534. "tezfiles",
  2535. "(?:tezfiles\\.com)\/\\w+",
  2536. "//a[contains(@href,'tezfiles.com')]",
  2537. 100000, //blocksize
  2538. null, //corrmatch
  2539. null, //corrreplwhat
  2540. null, //corrreplwith
  2541. null, //separator
  2542. null,
  2543. null,
  2544. null,
  2545. null,
  2546. null,
  2547. null,
  2548. k2sBulkCheck //function delegate
  2549. )
  2550. }
  2551. if (GM_getValue("Check_fboom_dot_me_links", false))
  2552. {
  2553. addHost(
  2554. "fboom,fileboom",
  2555. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2556. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2557. 100000, //blocksize
  2558. null, //corrmatch
  2559. null, //corrreplwhat
  2560. null, //corrreplwith
  2561. null, //separator
  2562. null,
  2563. null,
  2564. null,
  2565. null,
  2566. null,
  2567. null,
  2568. fboomBulkCheck //function delegate
  2569. )
  2570. }
  2571. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2572. {
  2573. addHost(
  2574. "1fichier,dl4free",
  2575. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2576. "//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/?')]",
  2577. 100000, //blocksize
  2578. null, //corrmatch
  2579. null, //corrreplwhat
  2580. null, //corrreplwith
  2581. null, //separator
  2582. null,
  2583. null,
  2584. null,
  2585. null,
  2586. null,
  2587. null,
  2588. dl4free_1fichier_BulkCheck //function delegate
  2589. )
  2590. }
  2591. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2592. {
  2593. addHost(
  2594. "nitroflare",
  2595. "nitroflare\\.com\/\\w+",
  2596. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2597. 100000, //blocksize
  2598. null, //corrmatch
  2599. null, //corrreplwhat
  2600. null, //corrreplwith
  2601. null, //separator
  2602. null,
  2603. null,
  2604. null,
  2605. null,
  2606. null,
  2607. null,
  2608. nitroflareBulkCheck //function delegate
  2609. )
  2610. }
  2611. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2612. {
  2613. addHost(
  2614. "depositfiles,dfiles",
  2615. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|(?:en|es|de|ru)/files\/\\w+",
  2616. "//a[contains(@href,'depositfiles.lt/files/') or contains(@href,'depositfiles.com/files/') or contains(@href,'depositfiles.com/en/files/') or contains(@href,'depositfiles.com/es/files/') or contains(@href,'depositfiles.org/files/') or contains(@href,'dfiles.ru/files/') or contains(@href,'dfiles.eu/files/') or contains(@href,'dfiles.eu/en/files/') or contains(@href,'dfiles.eu/de/files/') or contains(@href,'dfiles.eu/es/files/') or contains(@href,'dfiles.eu/ru/files/')]",
  2617. 100000, //blocksize
  2618. null, //corrmatch
  2619. null, //corrreplwhat
  2620. null, //corrreplwith
  2621. null, //separator
  2622. null,
  2623. null,
  2624. null,
  2625. null,
  2626. null,
  2627. null,
  2628. depositfilesBulkCheck //function delegate
  2629. )
  2630. }
  2631. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2632. {
  2633. addHost(
  2634. "filesflash", //hostname
  2635. "filesflash\\.com\/\\w+", //linkregex
  2636. "//a[contains(@href,'filesflash.com')]", //xpath
  2637. null, //blocksize
  2638. null, //corrmatch
  2639. /http:\/\//, //corrreplwhat
  2640. '', //corrreplwith
  2641. null, //separator
  2642. 'http://filesflash.com/checklinks.php',
  2643. 'submit=Go&links=',
  2644. /filesflash\.com\/(\w+)/,
  2645. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2646. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2647. null,
  2648. null //function delegate
  2649. )
  2650. }
  2651. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2652. {
  2653. addHost(
  2654. "jumbofiles", //hostname
  2655. "jumbofiles\\.com\/\\w+", //linkregex
  2656. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2657. null, //blocksize
  2658. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2659. null, //corrreplwhat
  2660. null, //corrreplwith
  2661. null, //separator
  2662. "http://jumbofiles.com/checkfiles.html", //api url
  2663. "op=checkfiles&process=Check+URLs&list=", //postdata
  2664. /(jumbofiles\.com\/\w+)/, //linkregex
  2665. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2666. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2667. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2668. null //function delegate
  2669. )
  2670. }
  2671. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2672. {
  2673. addHost(
  2674. "edisk", //hostname
  2675. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2676. "//a[contains(@href,'edisk.')]", //xpath
  2677. null, //blocksize
  2678. null, //corrmatch
  2679. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2680. 'edisk.cz/stahni', //corrreplwith
  2681. null, //separator
  2682. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2683. 'submitBtn=Zkontrolovat&checkFiles=',
  2684. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2685. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2686. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2687. null,
  2688. null //function delegate
  2689. )
  2690. }
  2691. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2692. {
  2693. GM_xmlhttpRequest( //age check skip
  2694. {
  2695. method: 'POST',
  2696. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2697. headers: {
  2698. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2699. 'Content-type': 'application/x-www-form-urlencoded',
  2700. 'Referer': ""
  2701. }
  2702. });
  2703. addHost(
  2704. "bezvadata", //hostname
  2705. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2706. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2707. null, //blocksize
  2708. null, //corrmatch
  2709. null, //corrreplwhat
  2710. null, //corrreplwith
  2711. null, //separator
  2712. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2713. 'zkontrolovat=Zkontrolovat&odkazy=',
  2714. /(bezvadata\.cz\/stahnout\/\d+)/,
  2715. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2716. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2717. null,
  2718. null //function delegate
  2719. )
  2720. }
  2721. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2722. {
  2723. addHost(
  2724. "linkcrypt", //hostname
  2725. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2726. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2727. 100000, //blocksize
  2728. null, //corrmatch
  2729. null, //corrreplwhat
  2730. null, //corrreplwith
  2731. null, //separator
  2732. null,
  2733. null,
  2734. null,
  2735. null,
  2736. null,
  2737. null,
  2738. linkcryptBulkCheck //function delegate
  2739. )
  2740. }
  2741. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2742. {
  2743. addHost(
  2744. "linksave", //hostname
  2745. "linksave\\.in\/\\w+", //linkregex
  2746. "//a[contains(@href,'linksave.in')]", //xpath
  2747. 100000, //blocksize
  2748. null, //corrmatch
  2749. null, //corrreplwhat
  2750. null, //corrreplwith
  2751. null, //separator
  2752. null,
  2753. null,
  2754. null,
  2755. null,
  2756. null,
  2757. null,
  2758. linksaveBulkCheck //function delegate
  2759. )
  2760. } */
  2761. if (GM_getValue("Check_videobb_dot_com_links", false))
  2762. {
  2763. addHost(
  2764. "videobb", //hostname
  2765. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2766. "//a[contains(@href,'videobb.com')]", //xpath
  2767. null, //blocksize
  2768. null, //corrmatch
  2769. /watch_video\.php\?v=/, //corrreplwhat
  2770. 'video/', //corrreplwith
  2771. null, //separator
  2772. 'http://www.videobb.com/link_checker.php',
  2773. 'links=',
  2774. /videobb\.com\/video\/(\w+)/,
  2775. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2776. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2777. null,
  2778. null //function delegate
  2779. )
  2780. }
  2781. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2782. {
  2783. addHost(
  2784. "cramit,cramitin", //hostname
  2785. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2786. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2787. null, //blocksize
  2788. null, //corrmatch
  2789. null, //corrreplwhat
  2790. null, //corrreplwith
  2791. null, //separator
  2792. 'http://cramit.in/checkfiles.html',
  2793. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2794. /(cramit(?:\.in|in\.net)\/\w+)/,
  2795. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2796. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2797. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2798. null //function delegate
  2799. )
  2800. }
  2801. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2802. {
  2803. addHost(
  2804. "turbobit", //hostname
  2805. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2806. "//a[contains(@href,'turbobit.')]", //xpath
  2807. null, //blocksize
  2808. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2809. null, //corrreplwhat
  2810. null, //corrreplwith
  2811. "\n", //separator
  2812. 'http://turbobit.net/linkchecker/csv',
  2813. 'links_to_check=',
  2814. /(turbobit\.(?:net|pl)\/\w+)/,
  2815. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2816. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2817. null,
  2818. null //function delegate
  2819. )
  2820. } */
  2821. if (GM_getValue("Check_filerio_dot_com_links", false))
  2822. {
  2823. addHost(
  2824. "filekeen,filerio", //hostname
  2825. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2826. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2827. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2828. null, //blocksize
  2829. null, //corrmatch
  2830. null, //corrreplwhat
  2831. null, //corrreplwith
  2832. null, //separator
  2833. 'http://filerio.in/checkfiles.html',
  2834. 'op=checkfiles&process=Check+URLs&list=',
  2835. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2836. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2837. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2838. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2839. null //function delegate
  2840. )
  2841. }
  2842. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2843. {
  2844. addHost(
  2845. "share-online,egoshare", //hostname
  2846. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2847. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2848. null, //blocksize
  2849. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2850. null, //corrreplwhat
  2851. null, //corrreplwith
  2852. "\n", //separator
  2853. 'http://api.share-online.biz/linkcheck.php',
  2854. 'links=',
  2855. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2856. /\w+;OK/g,
  2857. /\w+;(?:NOTFOUND|DELETED)/g,
  2858. null,
  2859. null //function delegate
  2860. )
  2861. }
  2862. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2863. {
  2864. addHost(
  2865. "quickshare", //hostname
  2866. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2867. "//a[contains(@href,'quickshare.cz')]", //xpath
  2868. null, //blocksize
  2869. null, //corrmatch
  2870. null, //corrreplwhat
  2871. null, //corrreplwith
  2872. null, //separator
  2873. 'http://www.quickshare.cz/nastroje/link-checker',
  2874. 'linky=',
  2875. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2876. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2877. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2878. null,
  2879. null //function delegate
  2880. )
  2881. } */
  2882. if (GM_getValue("Check_oboom_dot_com_links", false))
  2883. {
  2884. addHost(
  2885. "oboom", //hostname
  2886. "oboom\\.com\/#?\\w{8}", //linkregex
  2887. "//a[contains(@href,'oboom.com/')]", //xpath
  2888. null, //blocksize
  2889. /oboom\.com\/#?(\w{8})/, //corrmatch
  2890. null, //corrreplwhat
  2891. null, //corrreplwith
  2892. null, //separator
  2893. null,
  2894. null,
  2895. null,
  2896. null, //liveregex
  2897. null, //deadregex
  2898. null,
  2899. oboomBulk //function delegate
  2900. )
  2901. }
  2902. if (GM_getValue("Check_mega_dot_nz_links", false))
  2903. {
  2904. addHost(
  2905. "mega",
  2906. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2907. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2908. 100000, //blocksize
  2909. null, //corrmatch
  2910. null, //corrreplwhat
  2911. null, //corrreplwith
  2912. null, //separator
  2913. null,
  2914. null,
  2915. null,
  2916. null,
  2917. null,
  2918. null,
  2919. megaBulkCheck //function delegate
  2920. )
  2921. }
  2922.  
  2923. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2924.  
  2925. if (GM_getValue("Check_extabit_dot_com_links", false))
  2926. {
  2927. addHost(
  2928. "extabit", //hostname
  2929. "extabit\\.com\/file\/\\w+", //linkregex
  2930. "//a[contains(@href,'extabit.com')]", //xpath
  2931. null, //blocksize
  2932. null, //corrmatch
  2933. null, //corrreplwhat
  2934. null, //corrreplwith
  2935. "\n", //separator
  2936. "http://extabit.com/linkchecker.jsp", //api url
  2937. "url=", //postdata
  2938. /extabit\.com\/(file\/\w+)/, //linkregex
  2939. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2940. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2941. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2942. extabitBulkCheck //function delegate
  2943. )
  2944. }
  2945. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2946. {
  2947. addHost(
  2948. "junocloud", //hostname
  2949. "junocloud\\.me\/\\w+", //linkregex
  2950. "//a[contains(@href,'junocloud.me')]", //xpath
  2951. null, //blocksize
  2952. null, //corrmatch
  2953. null, //corrreplwhat
  2954. null, //corrreplwith
  2955. "\n", //separator
  2956. "http://junocloud.me/checkfiles.html", //api url
  2957. "op=checkfiles&process=Check+URLs&list=", //postdata
  2958. /(junocloud\.me\/\w+)/, //linkregex
  2959. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2960. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2961. null, //unavaregex
  2962. null //function delegate
  2963. )
  2964. }
  2965. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2966. {
  2967. addHost(
  2968. "webshare", //hostname
  2969. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2970. "//a[contains(@href,'webshare.cz')]", //xpath
  2971. 100000, //blocksize
  2972. null, //corrmatch
  2973. null, //corrreplwhat
  2974. null, //corrreplwith
  2975. null, //separator
  2976. null, //api url
  2977. null, //postdata
  2978. null, //linkregex
  2979. null, //liveregex
  2980. null, //deadregex
  2981. null, //unavaregex
  2982. webshareBulkCheck //function delegate
  2983. )
  2984. }
  2985. /////////////////////////////
  2986. // Common function delegate to send links to get checked by host linkchecker
  2987. /////////////////////////////
  2988. // If you define a new delegate, you may use following properties
  2989. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2990. // this.apiUrl [string] API or web linkchecker URL
  2991. // this.postData [string] POSTDATA for POST request
  2992. // this.resLiveRegex [regex] matches live substrings in the request response
  2993. // this.resDeadRegex [regex] matches dead substrings in the request response
  2994. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2995. //
  2996. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2997. //
  2998. // See the code below for standard bulkcheck handling reference.
  2999. //////////////////////////////
  3000. function genBulkCheck()
  3001. {
  3002. var blockIdx = this.links.length;
  3003. while (blockIdx--)
  3004. {
  3005. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3006. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3007. }
  3008. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3009. {
  3010. GM_xmlhttpRequest(
  3011. {
  3012. method: 'POST',
  3013. url: api,
  3014. headers: {
  3015. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3016. 'Content-type': 'application/x-www-form-urlencoded',
  3017. 'Referer': api,
  3018. 'X-Requested-With': 'XMLHttpRequest'
  3019. },
  3020. data: postData + encodeURIComponent(links),
  3021. onload: function (result)
  3022. {
  3023. var res = result.responseText;
  3024. // GM_log(res);
  3025. var i;
  3026.  
  3027. var livelinks = res.match(liveRegex);
  3028. var deadlinks = res.match(deadRegex);
  3029. // GM_log(livelinks);
  3030. // GM_log(deadlinks);
  3031. if (livelinks != null)
  3032. {
  3033. i = livelinks.length - 1;
  3034. do
  3035. {
  3036. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3037. }
  3038. while (i--);
  3039. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3040. }
  3041.  
  3042. if (deadlinks != null)
  3043. {
  3044. i = deadlinks.length - 1;
  3045. do
  3046. {
  3047. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3048. }
  3049. while (i--);
  3050. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3051. }
  3052.  
  3053. if (unavaRegex != null)
  3054. {
  3055. var unavalinks = res.match(unavaRegex);
  3056. if (unavalinks)
  3057. {
  3058. i = unavalinks.length - 1;
  3059. do
  3060. {
  3061. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3062. }
  3063. while (i--);
  3064. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3065. }
  3066. }
  3067. }
  3068. });
  3069. }
  3070. }
  3071. //specialized bulkchecking handlers follow
  3072. function webshareBulkCheck()
  3073. {
  3074. var arr = this.links[0].split("\r\n");
  3075. var i = arr.length;
  3076. while(i--)
  3077. {
  3078. postRequest(arr[i]);
  3079. }
  3080. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3081. function postRequest(wsLink)
  3082. {
  3083. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3084. GM_xmlhttpRequest(
  3085. {
  3086. method: 'POST',
  3087. url: "http://webshare.cz/api/file_info/",
  3088. headers: {
  3089. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3090. 'Content-type': 'application/x-www-form-urlencoded',
  3091. 'Referer': "",
  3092. },
  3093. data: "wst=&ident=" + id,
  3094. onload: function (result)
  3095. {
  3096. var res = result.responseText;
  3097. if (res.match(/<name>.+?<\/name>/))
  3098. {
  3099. DisplayTheCheckedLinks([id], 'alive_link');
  3100. }
  3101. else
  3102. {
  3103. DisplayTheCheckedLinks([id], 'adead_link');
  3104. }
  3105. }
  3106. });
  3107. }
  3108. }
  3109. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3110. //extabit also doesn't like requests in fast succession, so some delays are added.
  3111. function extabitBulkCheck()
  3112. {
  3113. var timeoutDelay = 0;
  3114. var blockIdx = this.links.length;
  3115. while (blockIdx--)
  3116. {
  3117. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3118. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3119. }
  3120. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3121. {
  3122. GM_xmlhttpRequest(
  3123. {
  3124. method: 'POST',
  3125. url: api,
  3126. headers: {
  3127. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3128. 'Content-type': 'application/x-www-form-urlencoded',
  3129. 'Referer': api,
  3130. 'X-Requested-With': 'XMLHttpRequest'
  3131. },
  3132. data: postData + encodeURIComponent(links),
  3133. onload: function (result)
  3134. {
  3135. var res = result.responseText;
  3136. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3137. {
  3138. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3139. {
  3140. //GM_log(tryID + ': ' + link);
  3141. GM_xmlhttpRequest(
  3142. {
  3143. method: 'GET',
  3144. url: link,
  3145. 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': ""},
  3146. onload: function(result2)
  3147. {
  3148. var res2 = result2.responseText;
  3149. var res2Status = result.status;
  3150. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3151. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3152. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3153. {
  3154. if (tryID < 7)
  3155. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3156. else
  3157. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3158. }
  3159. }
  3160. });
  3161. }
  3162. //split the hrefs and check them one by one
  3163. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3164. links = links.split('\n');
  3165. var i = links.length;
  3166. while (i--)
  3167. {
  3168. if (links[i])
  3169. {
  3170. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3171. timeoutDelay += 500;
  3172. }
  3173. }
  3174. return;
  3175. }
  3176. var i;
  3177.  
  3178. var livelinks = res.match(liveRegex);
  3179. var deadlinks = res.match(deadRegex);
  3180. if (livelinks != null)
  3181. {
  3182. i = livelinks.length - 1;
  3183. do
  3184. {
  3185. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3186. }
  3187. while (i--);
  3188. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3189. }
  3190.  
  3191. if (deadlinks != null)
  3192. {
  3193. i = deadlinks.length - 1;
  3194. do
  3195. {
  3196. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3197. }
  3198. while (i--);
  3199. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3200. }
  3201.  
  3202. if (unavaRegex != null)
  3203. {
  3204. var unavalinks = res.match(unavaRegex);
  3205. if (unavalinks)
  3206. {
  3207. i = unavalinks.length - 1;
  3208. do
  3209. {
  3210. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3211. }
  3212. while (i--);
  3213. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3214. }
  3215. }
  3216. }
  3217. });
  3218. }
  3219. }
  3220. function k2sBulkCheck()
  3221. {
  3222. var arr = this.links[0].split("\r\n");
  3223. var i = arr.length;
  3224. c=0;
  3225. arrIDs=[];
  3226. while(i--)
  3227. {
  3228. id = arr[i].match(/\/file\/(\w+)/)[1];
  3229. if (id=='info')
  3230. {
  3231. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3232. continue;
  3233. }
  3234. k2salreadyexist=false;
  3235. for (j=0;j<arrIDs.length;j++)
  3236. {
  3237. if (arrIDs[j]==id)
  3238. {
  3239. k2salreadyexist=true;
  3240. break;
  3241. }
  3242. }
  3243. if (k2salreadyexist) continue;
  3244. arrIDs.push(id);
  3245. c++;
  3246. setTimeout(k2sRequest,c*500,arr[i]);
  3247. }
  3248. }
  3249. function k2sRequest(K2SLink)
  3250. {
  3251. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3252. GM_xmlhttpRequest(
  3253. {
  3254. method: 'GET',
  3255. url: K2SLink,
  3256. headers: {
  3257. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3258. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3259. 'Referer': ''
  3260. },
  3261. onload: function (result)
  3262. {
  3263. var res = result.responseText;
  3264. K2Dom='k2s.cc';
  3265. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3266. K2SLink2='http://'+K2Dom+'/file/'+id;
  3267.  
  3268. 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'))
  3269. {
  3270. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3271. return;
  3272. }
  3273. if (res.match('method="post">Displaying'))
  3274. {
  3275. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3276. return;
  3277. }
  3278. if (res.match('Premium only'))
  3279. {
  3280. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3281. return;
  3282. }
  3283. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3284. {
  3285. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3286. slID=slow_id.exec(res)[1];
  3287. GM_xmlhttpRequest(
  3288. {
  3289. method: 'POST',
  3290. url: K2SLink2,
  3291. headers: {
  3292. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3293. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3294. 'Content-Type': 'application/x-www-form-urlencoded',
  3295. 'Referer': K2SLink
  3296. },
  3297. data: 'slow_id='+slID+'&yt0=',
  3298. onload: function (result)
  3299. {
  3300. var newres = result.responseText;
  3301. newoversizedtest=new RegExp("Free user can't download large files.");
  3302. if (newoversizedtest.test(newres))
  3303. {
  3304. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3305. return;
  3306. }
  3307. else
  3308. {
  3309. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3310. return;
  3311. }
  3312. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3313. return;
  3314. }
  3315. });
  3316. /////////////////////end additional check for oversized links
  3317. return;
  3318. }
  3319. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3320. return;
  3321. },
  3322. onerror: function ()
  3323. {
  3324. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3325. return;
  3326. }
  3327. });
  3328. }
  3329. function fboomBulkCheck()
  3330. {
  3331. var arr = this.links[0].split("\r\n");
  3332. var i = arr.length;
  3333. c=0;
  3334. arrIDs=[];
  3335. while(i--)
  3336. {
  3337. id = arr[i].match(/\/file\/(\w+)/)[1];
  3338. if (id=='info')
  3339. {
  3340. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3341. continue;
  3342. }
  3343. fbalreadyexist=false;
  3344. for (j=0;j<arrIDs.length;j++)
  3345. {
  3346. if (arrIDs[j]==id)
  3347. {
  3348. fbalreadyexist=true;
  3349. break;
  3350. }
  3351. }
  3352. if (fbalreadyexist) continue;
  3353. arrIDs.push(id);
  3354. c++;
  3355. setTimeout(fboomRequest,c*500,arr[i]);
  3356. }
  3357. }
  3358. function fboomRequest(FBoomLink)
  3359. {
  3360. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3361. FBoomLink2='http://fboom.me/file/'+id;
  3362. GM_xmlhttpRequest(
  3363. {
  3364. method: 'GET',
  3365. url: FBoomLink,
  3366. headers: {
  3367. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3368. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3369. 'Referer': ''
  3370. },
  3371. onload: function (result)
  3372. {
  3373. var res = result.responseText;
  3374. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3375. {
  3376. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3377. return;
  3378. }
  3379. if (res.match('method="post">Displaying'))
  3380. {
  3381. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3382. return;
  3383. }
  3384. if (res.match('only for premium members'))
  3385. {
  3386. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3387. return;
  3388. }
  3389. if (res.match('id="download-free" href="#"'))
  3390. {
  3391. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3392. slID=slow_id.exec(res)[1];
  3393. GM_xmlhttpRequest(
  3394. {
  3395. method: 'POST',
  3396. url: FBoomLink2,
  3397. headers: {
  3398. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3399. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3400. 'Content-Type': 'application/x-www-form-urlencoded',
  3401. 'Referer': FBoomLink
  3402. },
  3403. data: 'slow_id='+slID,
  3404. onload: function (result)
  3405. {
  3406. var newres = result.responseText;
  3407. newoversizedtest=new RegExp("Downloading is not possible");
  3408. if (newoversizedtest.test(newres))
  3409. {
  3410. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3411. return;
  3412. }
  3413. else
  3414. {
  3415. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3416. return;
  3417. }
  3418. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3419. return;
  3420. }
  3421. });
  3422. /////////////////////end additional check for oversized links
  3423. return;
  3424. }
  3425. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3426. return;
  3427. },
  3428. onerror: function ()
  3429. {
  3430. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3431. return;
  3432. }
  3433. });
  3434. }
  3435. function dl4free_1fichier_BulkCheck()
  3436. {
  3437. var arr = this.links[0].split("\r\n");
  3438. var i = arr.length;
  3439. while(i--)
  3440. {
  3441. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3442. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3443. gethead_dl4free_1fichier(arr[i]);
  3444. }
  3445. }
  3446. function gethead_dl4free_1fichier(link)
  3447. {
  3448. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3449. GM_xmlhttpRequest(
  3450. {
  3451. method: 'HEAD',
  3452. url: link,
  3453. headers: {
  3454. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3455. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3456. 'Referer': ''
  3457. },
  3458. onload: function (result)
  3459. {
  3460. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3461. {
  3462. DisplayTheCheckedLinks([id], 'alive_link');
  3463. return;
  3464. }
  3465. else
  3466. {
  3467. getlink_dl4free_1fichier(link);
  3468. }
  3469. return;
  3470. },
  3471. onerror: function ()
  3472. {
  3473. DisplayTheCheckedLinks([id], 'unava_link');
  3474. }
  3475. });
  3476. }
  3477. function getlink_dl4free_1fichier(link)
  3478. {
  3479. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3480. GM_xmlhttpRequest(
  3481. {
  3482. method: 'GET',
  3483. url: link,
  3484. headers: {
  3485. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3486. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3487. 'Referer': ''
  3488. },
  3489. onload: function (result)
  3490. {
  3491. var res = result.responseText;
  3492. 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');
  3493. if (deadRegex.test(res))
  3494. {
  3495. DisplayTheCheckedLinks([id], 'adead_link');
  3496. return;
  3497. }
  3498. premiumRegex=new RegExp('only for premium users');
  3499. if (premiumRegex.test(res))
  3500. {
  3501. DisplayTheCheckedLinks([id], 'prem_link');
  3502. return;
  3503. }
  3504. liveRegex=new RegExp('<title>Download</title>|<br/>You must wait|submit" value="Download|Download without SSL encryption|submit" value="Telecharger|submit" value="Telecharger|ok btn-general btn-orange|<input type="submit" value="');
  3505. if (liveRegex.test(res))
  3506. {
  3507. DisplayTheCheckedLinks([id], 'alive_link');
  3508. return;
  3509. }
  3510. DisplayTheCheckedLinks([id], 'unava_link');
  3511. },
  3512. onerror: function ()
  3513. {
  3514. DisplayTheCheckedLinks([id], 'unava_link');
  3515. }
  3516. });
  3517. }
  3518. function nitroflareBulkCheck()
  3519. {
  3520. var arr = this.links[0].split("\r\n");
  3521. var i = arr.length;
  3522. while(i--)
  3523. {
  3524. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3525. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3526. NitroFlareRequest(arr[i]);
  3527. }
  3528. }
  3529. function NitroFlareRequest(NFLink)
  3530. {
  3531. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3532. GM_xmlhttpRequest(
  3533. {
  3534. method: "GET",
  3535. url: NFLink,
  3536. headers: {
  3537. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3538. 'Content-Type': 'application/x-www-form-urlencoded',
  3539. 'Referer': ""
  3540. },
  3541. onload: function (result)
  3542. {
  3543. var res = result.responseText;
  3544. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3545. {
  3546. DisplayTheCheckedLinks([NFID], 'adead_link');
  3547. return;
  3548. }
  3549. if (res.match('Report this file<\/a>'))
  3550. {
  3551. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3552. sizearr=measureRegex.exec(res);
  3553. if (sizearr[2]=='GB')
  3554. {
  3555. if (parseFloat(sizearr[1])>1)
  3556. {
  3557. DisplayTheCheckedLinks([NFID], 'prem_link');
  3558. }
  3559. else
  3560. {
  3561. DisplayTheCheckedLinks([NFID], 'alive_link');
  3562. }
  3563. }
  3564. else
  3565. {
  3566. DisplayTheCheckedLinks([NFID], 'alive_link');
  3567. }
  3568. return;
  3569. }
  3570. DisplayTheCheckedLinks([NFID], 'unava_link');
  3571. }
  3572. });
  3573. }
  3574. function depositfilesBulkCheck()
  3575. {
  3576. var arr = this.links[0].split("\r\n");
  3577. var i = arr.length;
  3578. var seqno = Math.floor(Math.random()*1000000000);
  3579. while(i--)
  3580. {
  3581. DFpostRequest(arr[i]);
  3582. }
  3583. }
  3584. function DFpostRequest(DFLink)
  3585. {
  3586. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3587. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3588. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3589. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3590. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3591. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3592. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3593. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3594. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3595. GM_xmlhttpRequest(
  3596. {
  3597. method: "GET",
  3598. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3599. headers: {
  3600. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3601. 'Content-Type': 'application/x-www-form-urlencoded',
  3602. 'Referer': ""
  3603. },
  3604. onload: function (result)
  3605. {
  3606. var res = result.responseText;
  3607. if (res.match('(?:no_file|file_ban)'))
  3608. {
  3609. DisplayTheCheckedLinks([id], 'adead_link');
  3610. return;
  3611. }
  3612. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3613. {
  3614. DisplayTheCheckedLinks([id], 'alive_link');
  3615. return;
  3616. }
  3617. DisplayTheCheckedLinks([id], 'unava_link');
  3618. }
  3619. });
  3620. }
  3621.  
  3622. function megaBulkCheck()
  3623. {
  3624. var arr = this.links[0].split("\r\n");
  3625. var i = arr.length;
  3626. var seqno = Math.floor(Math.random()*1000000000);
  3627. while(i--)
  3628. {
  3629. postRequest(arr[i]);
  3630. }
  3631. function postRequest(megaLink)
  3632. {
  3633. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3634. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3635. GM_xmlhttpRequest(
  3636. {
  3637. method: "POST",
  3638. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3639. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3640. headers: {
  3641. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3642. 'Content-Type': 'application/xml',
  3643. 'Referer': "https://mega.co.nz/"
  3644. },
  3645. onload: function (result)
  3646. {
  3647. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3648. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3649. {
  3650.  
  3651. DisplayTheCheckedLinks([id], 'adead_link');
  3652. }
  3653. if (res.at)
  3654. {
  3655. DisplayTheCheckedLinks([id], 'alive_link');
  3656. }
  3657. if (res.e == "ETEMPUNAVAIL")
  3658. {
  3659. DisplayTheCheckedLinks([id], 'unava_link');
  3660. }
  3661. }
  3662. });
  3663. }
  3664.  
  3665. }
  3666.  
  3667. function oboomBulk() {
  3668. var a = [], b = [], c = [];
  3669. var array = this.links;
  3670.  
  3671. GM_xmlhttpRequest({
  3672. method: 'GET',
  3673. url: 'https://www.oboom.com/1/guestsession',
  3674. headers: {
  3675. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3676. 'Content-type': 'application/x-www-form-urlencoded',
  3677. 'Referer': 'https://www.oboom.com',
  3678. 'X-Requested-With': 'XMLHttpRequest'
  3679. },
  3680. onload: function(result) {
  3681. var blockIdx = array.length;
  3682. var token = JSON.parse(result.responseText)[1];
  3683. while (blockIdx--) {
  3684. startCheck(array[blockIdx].split('\r\n'), token);
  3685. }
  3686. }
  3687. });
  3688.  
  3689. function startCheck(links, token) {
  3690. GM_xmlhttpRequest({
  3691. method: 'POST',
  3692. url: "https://api.oboom.com/1/info",
  3693. headers: {
  3694. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3695. 'Content-type': 'application/x-www-form-urlencoded',
  3696. 'Referer': 'https://www.oboom.com/',
  3697. 'X-Requested-With': 'XMLHttpRequest'
  3698. },
  3699. data: "token=" + token + "&items=" + links.join(","),
  3700. onload: function(result) {
  3701. var res = JSON.parse(result.responseText)[1];
  3702. var i = res.length, s;
  3703.  
  3704. while (i--) {
  3705. s = res[i].state;
  3706. if (s == 'online') a.push(res[i].id);
  3707. 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);
  3708. else c.push(res[i].id);
  3709. }
  3710.  
  3711. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3712. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3713. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3714. }
  3715. });
  3716. }
  3717. }
  3718. /* function linksaveBulkCheck()
  3719. {
  3720. var arr = this.links[0].split("\r\n");
  3721. var i = arr.length;
  3722. while(i--)
  3723. {
  3724. postRequest(arr[i]);
  3725. }
  3726. function postRequest(lsLink)
  3727. {
  3728. GM_xmlhttpRequest(
  3729. {
  3730. method: "GET",
  3731. url: lsLink + '-t.jpg',
  3732. headers: {
  3733. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3734. 'Accept': 'text/xml',
  3735. 'Referer': ""
  3736. },
  3737. onload: function (result)
  3738. {
  3739. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3740. if (imgLen == 965) //online
  3741. {
  3742. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3743. }
  3744.  
  3745. if (imgLen == 972) //offline
  3746. {
  3747. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3748. }
  3749. if (imgLen == 978) //unava
  3750. {
  3751. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3752. }
  3753. }
  3754. });
  3755. }
  3756.  
  3757. } */
  3758. function linkcryptBulkCheck()
  3759. {
  3760. var arr = this.links[0].split("\r\n");
  3761. var i = arr.length;
  3762. while(i--)
  3763. {
  3764. postRequest(arr[i]);
  3765. }
  3766. function postRequest(lcLink)
  3767. {
  3768. GM_xmlhttpRequest(
  3769. {
  3770. method: "GET",
  3771. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3772. headers: {
  3773. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3774. 'Accept': 'text/xml',
  3775. 'Referer': ""
  3776. },
  3777. onload: function (result)
  3778. {
  3779. var res = result.responseText;
  3780. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3781. {
  3782. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3783. return;
  3784. }
  3785. if (res.match(/folderStatus>1/)) //Online status
  3786. {
  3787. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3788. }
  3789. else
  3790. {
  3791. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3792. }
  3793. }
  3794. });
  3795. }
  3796. }
  3797.  
  3798. function megashareBulkCheck()
  3799. {
  3800. var arr = this.links[0].split("\r\n");
  3801. var i = arr.length;
  3802. while(i--)
  3803. {
  3804. postRequest(arr[i]);
  3805. }
  3806. function postRequest(msLink)
  3807. {
  3808. GM_xmlhttpRequest(
  3809. {
  3810. method: "GET",
  3811. url: msLink,
  3812. headers: {
  3813. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3814. 'Content-Type': 'application/x-www-form-urlencoded',
  3815. 'Referer': ""
  3816. },
  3817. onload: function (result)
  3818. {
  3819. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3820. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3821. if ((prZVal == null) || (btn3Name == null))
  3822. {
  3823. return;
  3824. }
  3825. GM_xmlhttpRequest(
  3826. {
  3827. method: "POST",
  3828. url: msLink,
  3829. headers: {
  3830. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3831. 'Content-Type': 'application/x-www-form-urlencoded',
  3832. 'Referer': ""
  3833. },
  3834. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3835. onload: function (result)
  3836. {
  3837. var res = result.responseText;
  3838. if (res.match(/<div id="err">/))
  3839. {
  3840. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3841. }
  3842. else
  3843. {
  3844. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3845. }
  3846. }
  3847. });
  3848. }
  3849. });
  3850. }
  3851. }
  3852. /* function ncryptBulkCheck()
  3853. {
  3854. var arr = this.links[0].split("\r\n");
  3855. var i = arr.length;
  3856. while(i--)
  3857. {
  3858. postRequest(arr[i]);
  3859. }
  3860. function postRequest(ncryptLink)
  3861. {
  3862. GM_xmlhttpRequest(
  3863. {
  3864. method: "POST",
  3865. url: 'http://ncrypt.in/api_status.php',
  3866. headers: {
  3867. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3868. 'Content-Type': 'application/x-www-form-urlencoded',
  3869. 'Referer': ""
  3870. },
  3871. data: 'link=' + encodeURI(ncryptLink),
  3872. onload: function (result)
  3873. {
  3874. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3875. switch(foldStatus + ""){
  3876. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3877. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3878. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3879. }
  3880. }
  3881. });
  3882. }
  3883. } */
  3884. function hellshareBulkCheck()
  3885. {
  3886. var links = this.links;
  3887. GM_xmlhttpRequest(
  3888. {
  3889. method: "GET",
  3890. url: 'http://www.hellshare.com',
  3891. headers: {
  3892. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3893. 'Accept': 'text/xml',
  3894. 'Referer': ""
  3895. },
  3896. onload: function (result)
  3897. {
  3898. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3899.  
  3900. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3901. if (domain == 'sk')
  3902. loc = 'check=Skontrolova%C5%A5&links=';
  3903. if (domain == 'com')
  3904. loc = 'check=Check+availability&links=';
  3905. if (domain == 'hu')
  3906. loc = 'check=Kontrol%C3%A1lj&links=';
  3907. if (domain == 'pl')
  3908. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3909.  
  3910. genBulkCheck.call({ links: links,
  3911. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3912. postData: loc,
  3913. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3914. 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,
  3915. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3916. resUnavaRegex: null
  3917. });
  3918. }
  3919. });
  3920. }
  3921. /**
  3922. * Displays check result
  3923. * @param {Array} Array of links or link fragments.
  3924. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3925. */
  3926. function DisplayTheCheckedLinks(links, resultStatus)
  3927. {
  3928. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3929. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3930. if (Do_not_linkify_DL_links)
  3931. { //TODO into separate jQuery function
  3932. $links.replaceWith(function(){
  3933. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3934. });
  3935. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3936. }
  3937. $links.removeClass().addClass(resultStatus);
  3938. $links.each(function() {
  3939. this.href = Ref_anonymize_service + $(this).attr("href");
  3940. });
  3941. switch(resultStatus)
  3942. {
  3943. case "alive_link": cLinksAlive += $links.length;
  3944. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3945. break;
  3946. case "adead_link": cLinksDead += $links.length;
  3947. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3948. break;
  3949. case "prem_link": cLinksprem += $links.length;
  3950. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3951. break;
  3952. case "unava_link": cLinksUnava += $links.length; break;
  3953. default:
  3954. }
  3955. cLinksProcessed += $links.length;
  3956. }
  3957. }
  3958. // starts bulkchecking
  3959. //
  3960. // params
  3961. // filterId [string] restricts link detection with passed id attribute
  3962. function startBulkCheck(filterId)
  3963. {
  3964. var cHosts = bulkHosts.length;
  3965. if (cHosts == 0) //no filehostings selected
  3966. return;
  3967. // STEP 1 linkify the links
  3968. var linkifyRegex = '';
  3969. var hostIdx = cHosts;
  3970. while(hostIdx--)
  3971. {
  3972. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3973. }
  3974. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3975. linkify(linkifyRegex);
  3976. //
  3977. //STEP 2 detect link objects
  3978. var xpathAll = '';
  3979. var hostIdx = cHosts;
  3980. while(hostIdx--)
  3981. {
  3982. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3983. }
  3984. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3985. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3986. if (filterId != null) //insert id restriction in the xpath
  3987. {
  3988. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3989. }
  3990. else
  3991. {
  3992. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3993. }
  3994. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3995. if (filterId == null)
  3996. {
  3997. cLinksTotal += links.snapshotLength;
  3998. }
  3999. //
  4000. //STEP 3 bind links with hostings
  4001. var linkIdx = links.snapshotLength;
  4002. var href = null;
  4003. if (linkIdx == 0) // no links found
  4004. return;
  4005. var name;
  4006. while (linkIdx--)
  4007. {
  4008. href = links.snapshotItem(linkIdx).href;
  4009. try // DO NOT REMOVE, filters crap that went through xpath detection
  4010. {
  4011. name = gimmeHostName(href);
  4012. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4013. bulkHostNames[name].links.push(href);
  4014. }
  4015. catch(e)
  4016. {
  4017.  
  4018. }
  4019. }
  4020. //
  4021. //STEP 4 process the links for each filehosting
  4022. var hostIdx = cHosts;
  4023. var host;
  4024. var m,n;
  4025. var arr;
  4026. while (hostIdx--)
  4027. {
  4028. host = bulkHosts[hostIdx];
  4029. arr = host.links;
  4030. if (arr.length == 0) //no links for this hosting, skip
  4031. {
  4032. continue;
  4033. }
  4034. //links match corrections
  4035. if (host.corrMatch != null)
  4036. {
  4037. var idx = arr.length;
  4038. while (idx--)
  4039. {
  4040. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4041. }
  4042. }
  4043. //links replace corrections
  4044. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4045. {
  4046. var idx = arr.length;
  4047. while (idx--)
  4048. {
  4049. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4050. }
  4051. }
  4052. m = arr.length;
  4053. n = host.blockSize;
  4054. if (m > n)
  4055. {
  4056. //insert block separators (RAND_STRING) into the array
  4057. for(var i = n; i < m; i += n + 1)
  4058. {
  4059. arr.splice(i, 0, RAND_STRING);
  4060. }
  4061. }
  4062.  
  4063. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4064. apiUrl: host.apiUrl,
  4065. postData: host.postData,
  4066. resLinkRegex: host.resLinkRegex,
  4067. resLiveRegex: host.resLiveRegex,
  4068. resDeadRegex: host.resDeadRegex,
  4069. resUnavaRegex: host.resUnavaRegex
  4070. });
  4071. //clean up
  4072. arr.length = 0;
  4073. }
  4074. //
  4075.  
  4076. function gimmeHostName(link)
  4077. {
  4078. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4079. }
  4080. }
  4081. function checkLinks(filterId)
  4082. {
  4083. startBulkCheck(filterId);
  4084. start(filterId);
  4085. }
  4086.  
  4087. /**
  4088. * Initialises progress box including event binding and CSS
  4089. */
  4090. function initProgressBox()
  4091. {
  4092. if ($("#warlc-progressbox").length > 0)
  4093. return;
  4094. //progressbox css change size and color of progress box
  4095. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4096. "; opacity:" + (Progress_box_opacity / 100) +
  4097. "; bottom:" + Progress_box_pos_bottom +
  4098. "px; right:" + Progress_box_pos_right +
  4099. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4100. \
  4101. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4102. \
  4103. .warlc-progressitem {}\
  4104. \
  4105. .alive {color:#00FF7F; " + Live_links_color +
  4106. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4107. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4108. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4109. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4110. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4111. );
  4112. //
  4113. $('body').append(' <div id="warlc-progressbox">\
  4114. <div class="warlc-progressbar"></div>\
  4115. <span class="warlc-progressitem alive"></span> - \
  4116. <span class="warlc-progressitem dead"></span> - \
  4117. <span class="warlc-progressitem unava"></span> - \
  4118. <span class="warlc-progressitem prem"></span> - \
  4119. <span class="warlc-progressitem processing"></span>\
  4120. </div>');
  4121. $('#warlc-progressbox').hide().click(function(){
  4122. clearInterval(intervalId);
  4123. $(this).hide();
  4124. return false;
  4125. });
  4126. $(".warlc-progressbar").progressbar({complete: function(){
  4127. $(this).fadeOut();
  4128. clearInterval(intervalId); //stop refreshing the stats
  4129. }
  4130. })
  4131. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4132. }
  4133. /**
  4134. * Updates progress data in progress box
  4135. */
  4136. function updateProgress()
  4137. {
  4138. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4139. if (cLinksTotal) // some links were detected on page
  4140. {
  4141. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4142. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4143. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4144. if ((cLinksTotal - cLinksProcessed) == 0)
  4145. {
  4146. $progressItems.first().text(cLinksAlive)
  4147. .next().text(cLinksDead)
  4148. .next().text(cLinksUnava)
  4149. .next().text(cLinksprem)
  4150. .next().remove();
  4151. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4152. $('#warlc-progressbox div:first-child').remove();
  4153. }
  4154. else
  4155. {
  4156. $progressItems.first().text(cLinksAlive)
  4157. .next().text(cLinksDead)
  4158. .next().text(cLinksUnava)
  4159. .next().text(cLinksprem)
  4160. .next().text(cLinksTotal - cLinksProcessed);
  4161. }
  4162. }
  4163. }
  4164.  
  4165. function check_all_links()
  4166. {
  4167. add_WARLC_style();
  4168.  
  4169. if (Show_progress_stats)
  4170. {
  4171. initProgressBox();
  4172. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4173. }
  4174.  
  4175. startBulkCheck(null);
  4176. start(null);
  4177.  
  4178. if (!containers_processed)
  4179. {
  4180. processContainers();
  4181. }
  4182. }
  4183.  
  4184. //Copies all found dead links to clipboard - right now for Scriptish only
  4185. function copy_dead_to_clipboard()
  4186. {
  4187. initClipBoardTools();
  4188.  
  4189. var deadlinksxpath = "//.[@class='adead_link']";
  4190.  
  4191. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4192. var foundlinkstext = '';
  4193.  
  4194. var foundlinkIdx = foundlinks.snapshotLength;
  4195.  
  4196. while(foundlinkIdx--)
  4197. {
  4198. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4199. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4200. }
  4201.  
  4202. GM_setClipboard(foundlinkstext);
  4203. }
  4204. //Copies all found live links to clipboard
  4205. function copy_live_to_clipboard()
  4206. {
  4207. initClipBoardTools();
  4208.  
  4209. var livelinksxpath = "//.[@class='alive_link']";
  4210.  
  4211. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4212. var foundlinks2text = '';
  4213.  
  4214. var foundlink2Idx = foundlinks2.snapshotLength;
  4215.  
  4216. while(foundlink2Idx--)
  4217. {
  4218. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4219. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4220. }
  4221.  
  4222. GM_setClipboard(foundlinks2text);
  4223. }
  4224.  
  4225. function toggle_autocheck()
  4226. {
  4227. var currentState = GM_getValue("Autocheck", false);
  4228. GM_setValue("Autocheck", !currentState);
  4229.  
  4230. if (currentState == true)
  4231. {
  4232. sendMessage('Autocheck disabled', 'red');
  4233. }
  4234. else
  4235. {
  4236. sendMessage('Autocheck enabled', 'SpringGreen');
  4237. }
  4238. }
  4239. function toggle_Enable_Anonymizer()
  4240. {
  4241. var currentState = GM_getValue("Enable_Anonymizer", false);
  4242. GM_setValue("Enable_Anonymizer", !currentState);
  4243.  
  4244. if (currentState == true)
  4245. {
  4246. GM_setValue("Ref_anonymize_service", "");
  4247. sendMessage('Anonymizer Disabled', 'red');
  4248. }
  4249. else
  4250. {
  4251. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4252. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4253. }
  4254. }
  4255.  
  4256. function KeyDownHandler(event)
  4257. {
  4258. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4259. if (event.ctrlKey && event.altKey)
  4260. {
  4261. switch(kcode)
  4262. {
  4263. case 65 : check_all_links(); break;
  4264. case 67 : configuration(); break;
  4265. case 68 : copy_dead_to_clipboard(); break;
  4266. case 76 : copy_live_to_clipboard(); break;
  4267. case 87 : toggle_autocheck(); break;
  4268. case 90 : toggle_Enable_Anonymizer(); break;
  4269. }
  4270. }
  4271. }
  4272.  
  4273. //
  4274. //
  4275. // SCRIPT EXECUTION START POINT
  4276. //
  4277. //
  4278. // Safari specific GM_getResourceText override
  4279. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4280. {
  4281. GM_getResourceText = function(res) {
  4282. var $cssText = GM_getValue("jquery_css", "");
  4283. if ($cssText == "")
  4284. {
  4285. GM_xmlhttpRequest(
  4286. {
  4287. method: 'GET',
  4288. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4289. onload: function (result)
  4290. {
  4291. GM_setValue("jquery_css", result.responseText);
  4292. window.location.reload();
  4293. }
  4294. });
  4295. }
  4296. else
  4297. {
  4298. return $cssText;
  4299. }
  4300. }
  4301. }
  4302. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4303. GM_addStyle(jQueryUICSS);
  4304. //init the stuff
  4305. setVariables();
  4306. initBulkCheck();
  4307. //init info boxes
  4308. messageBox.style.position = 'fixed';
  4309. messageBox.style.top = '20px';
  4310. messageBox.style.left = '10px';
  4311. messageBox.style.opacity = '0.85';
  4312. messageBox.style.background = 'DimGray';
  4313. messageBox.style.fontSize = '36px';
  4314. document.body.appendChild(messageBox);
  4315.  
  4316. //register GM menu commands & keyboard shortcut event handler
  4317. if (Keyboard_functions)
  4318. {
  4319. $(document).keydown(KeyDownHandler);
  4320. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4321. 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);
  4322. }
  4323. else
  4324. {
  4325. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4326. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4327. }
  4328.  
  4329. //start linkchecking
  4330. if (Autocheck)
  4331. {
  4332. $(document).ready(check_all_links);
  4333. }
  4334.  
  4335. //
  4336. //
  4337. // SCRIPT EXECUTION END POINT
  4338. //
  4339. //
  4340.  
  4341. //shows configuration box
  4342. function configuration()
  4343. {
  4344.  
  4345. //prevent multiple creating of config window
  4346. if ($("#hideshow").length)
  4347. {
  4348. $("#hideshow").show();
  4349. return;
  4350. }
  4351.  
  4352. var configcss = '\
  4353. .popup_block .popup fieldset{\
  4354. padding: 1%;\
  4355. border-style: solid;\
  4356. border-width: 1px;\
  4357. border-color: gray;\
  4358. margin-bottom: 1px;\
  4359. }\
  4360. #h3hideshowtitle{\
  4361. font-size: 2em;\
  4362. }\
  4363. #h3hideshow{\
  4364. font-size: 1.5em;\
  4365. }\
  4366. #imghideshow {\
  4367. border: none;\
  4368. }\
  4369. #plusimage{\
  4370. display:inline;\
  4371. }\
  4372. #hideshow {\
  4373. position: fixed;\
  4374. width: 100%;\
  4375. height: 100%;\
  4376. top: 0;\
  4377. left: 0;\
  4378. font-size:12px;\
  4379. z-index:2147483645;\
  4380. text-align:left;\
  4381. }\
  4382. #fade {\
  4383. background: #000;\
  4384. position: fixed;\
  4385. width: 100%;\
  4386. height: 100%;\
  4387. opacity: .80;\
  4388. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4389. left: 0;\
  4390. z-index: 10;\
  4391. }\
  4392. .popup_block {\
  4393. font-family:verdana;\
  4394. color:black;\
  4395. background: #ddd;\
  4396. padding: 10px 20px;\
  4397. border: 2px solid DarkOrange;\
  4398. float: left;\
  4399. width: 700px;\
  4400. position: absolute;\
  4401. top: 7%;\
  4402. left: 50%;\
  4403. bottom: 7%;\
  4404. margin: 0 0 0 -350px;\
  4405. -moz-border-radius:10px;\
  4406. z-index: 100;\
  4407. \
  4408. }\
  4409. .popup_block .popup {\
  4410. float: left;\
  4411. width: 100%;\
  4412. background: #fff;\
  4413. margin: 10px 0;\
  4414. padding: 0px 0 0px;\
  4415. border-left: 1px solid #bbb;\
  4416. border-top: 1px solid #bbb;\
  4417. border-right: 1px solid #bbb;\
  4418. }\
  4419. #h3hideshow{\
  4420. margin: 1px 0 0px;\
  4421. padding: 1px 10px;\
  4422. border-bottom: 1px solid #bbb;\
  4423. font-size: 1.5em;\
  4424. font-weight: normal;\
  4425. cursor:pointer;\
  4426. background:#DDDDDD none repeat scroll 0 0;\
  4427. }\
  4428. #h3hideshow:hover{\
  4429. background:#C0BEBE none repeat scroll 0 0;\
  4430. }\
  4431. #h3hideshowtitle{\
  4432. margin: 2px 0 0px;\
  4433. padding: 7px 10px;\
  4434. border-bottom: 1px solid #bbb;\
  4435. font-size: 1.5em;\
  4436. font-weight: normal;\
  4437. }\
  4438. .popup_block .popup a {\
  4439. color:DarkSkyBlue;\
  4440. text-decoration:none;\
  4441. }\
  4442. .popup p {\
  4443. padding: 1px 10px;\
  4444. margin: 0px 0;\
  4445. -x-system-font:none;\
  4446. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4447. font-size:10pt;\
  4448. font-size-adjust:none;\
  4449. font-stretch:normal;\
  4450. font-style:normal;\
  4451. font-variant:normal;\
  4452. font-weight:normal;\
  4453. line-height:normal;\
  4454. }\
  4455. #sites {\
  4456. padding: 1px 10px;\
  4457. margin: 0px 0;display:inline-block;width:16em;\
  4458. }\
  4459. #dev_ver {\
  4460. color: #00FF00;\
  4461. background: Black;\
  4462. text-align: right;\
  4463. }\
  4464. #sites_suspended {\
  4465. padding: 1px 10px;\
  4466. margin: 0px 0;display:inline-block;width:16em;\
  4467. text-decoration: line-through;\
  4468. }\
  4469. .popup img.cntrl {\
  4470. position: absolute;\
  4471. right: -15px;\
  4472. top: -15px;\
  4473. }\
  4474. #bulk {\
  4475. font-size:8pt;\
  4476. color:orange;\
  4477. padding: 1px 10px;\
  4478. margin: 0px 0;\
  4479. display:inline-block;\
  4480. width:100px;\
  4481. }\
  4482. #note {\
  4483. font-size:7pt;\
  4484. color:gray;\
  4485. padding: 1px 10px;\
  4486. margin: 0px 0;display:inline-block;\
  4487. min-width:100px;\
  4488. }\
  4489. #rednote {\
  4490. font-size:7pt;\
  4491. color:red;\
  4492. padding: 1px 10px;\
  4493. margin: 0px 0;display:inline-block;\
  4494. }\
  4495. #configinfo {\
  4496. font-size:8pt;\
  4497. color:gray;\
  4498. padding: 1px 10px;\
  4499. margin: 0px 0;display:inline-block;width:60em;\
  4500. }\
  4501. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4502. color:black;\
  4503. border-style: solid;\
  4504. border-width: 1px;\
  4505. border-color: gray;\
  4506. }\
  4507. #h3hideshowcontent {\
  4508. min-height:220px;\
  4509. max-height:220px;\
  4510. overflow:auto;\
  4511. display: none;\
  4512. padding: 10px 10px;\
  4513. }\
  4514. #specinfo{\
  4515. font-size:14px;\
  4516. }\
  4517. .warlc-ui-tab {\
  4518. height:300px;\
  4519. overflow:auto;\
  4520. }\
  4521. #warlcsitelist2, #warlcsitelist1 {\
  4522. height:220px;\
  4523. border-top: 1px solid #ddd;\
  4524. padding-top: 5px;\
  4525. overflow:auto;\
  4526. }\
  4527. input:hover+label {\
  4528. background:#F1F77C;\
  4529. font-size:110%;\
  4530. }\
  4531. ';
  4532.  
  4533. GM_addStyle(configcss);
  4534.  
  4535. var customRulesRefHTML =
  4536. '\
  4537. <br>\
  4538. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4539. <b>@keyword</b> <i>parameter</i>\
  4540. <br><br>\
  4541. 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. \
  4542. <br><br>\
  4543. 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.\
  4544. 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.\
  4545. 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.\
  4546. 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,\
  4547. but all commands until the next valid @customrule are ignored.<br><br>\
  4548. Available forms and types:\
  4549. <ul>\
  4550. <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.\
  4551. <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.\
  4552. <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.\
  4553. <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.\
  4554. </ul>\
  4555. Other available commands:<br>\
  4556. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4557. <ul>\
  4558. <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.\
  4559. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4560. <ul>examples:<br>\
  4561. <li>good: <i>filehost.com/download/</i><br>\
  4562. <li>good: <i>download.filehost.net/?d=</i><br>\
  4563. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4564. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4565. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4566. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4567. <li>bad: <i>filehost.com</i> - no slash<br>\
  4568. </ul>\
  4569. \
  4570. <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.\
  4571. 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 \
  4572. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4573. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4574. 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.)\
  4575. Two spaces again match any whitespace.\
  4576. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4577. Two spaces again match any whitespace.\
  4578. <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. \
  4579. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4580. </ul>\
  4581. \
  4582. ';
  4583.  
  4584. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4585. var configurationinnerHTML =
  4586. '<div id="fade"></div>\
  4587. <div class="popup_block">\
  4588. <div class="popup">\
  4589. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQo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1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4591. <div id="warlc-conf-tabs">\
  4592. <ul>\
  4593. <li><a href="#tabs-1">Filehostings</a></li>\
  4594. <li><a href="#tabs-2">Containers</a></li>\
  4595. <li><a href="#tabs-5">Custom rules</a></li>\
  4596. <li><a href="#tabs-3">Settings</a></li>\
  4597. <li><a href="#tabs-4">About</a></li>\
  4598. </ul>\
  4599. <div id="tabs-1" class="warlc-ui-tab">\
  4600. <div class="warlc-ui-buttonset">\
  4601. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4602. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4603. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4604. </div><br>\
  4605. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4606. <div id="warlcsitelist1"><span>Empty</span></div>\
  4607. </div>\
  4608. <div id="tabs-2" class="warlc-ui-tab">\
  4609. <div class="warlc-ui-buttonset">\
  4610. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4611. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4612. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4613. </div><br>\
  4614. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4615. <div id="warlcsitelist2"><span>Empty</span></div>\
  4616. </div>\
  4617. <div id="tabs-5" class="warlc-ui-tab">\
  4618. <div class="warlcsettings">\
  4619. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4620. <br>\
  4621. <div>Edit custom rules: \
  4622. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4623. <div id="customRulesReference" style="display:none;">'
  4624. + customRulesRefHTML + '\
  4625. </div>\
  4626. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4627. </div>\
  4628. </div>\
  4629. </div>\
  4630. <div id="tabs-3" class="warlc-ui-tab">\
  4631. <div class="warlcsettings">\
  4632. <fieldset>\
  4633. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4634. <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 + '+' + copy_to_live_key + ' = Copy found live 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>\
  4635. </fieldset>\
  4636. <fieldset>\
  4637. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4638. <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>\
  4639. <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>\
  4640. <div id="sites"><label for="inputColorTemp">Temp. unavailable links color</label><input type="text" id="inputColorTemp" style="background:' + Temp_unavailable_links_color + ';" value="' + Temp_unavailable_links_color + '"></div>\
  4641. <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>\
  4642. <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>\
  4643. <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>\
  4644. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4645. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4646. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4647. <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>\
  4648. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4649. <fieldset>\
  4650. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4651. <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>\
  4652. <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>\
  4653. <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>\
  4654. </fieldset>\
  4655. </fieldset>\
  4656. <fieldset>\
  4657. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4658. </fieldset>\
  4659. <fieldset>\
  4660. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4661. </fieldset>\
  4662. <fieldset>\
  4663. <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. (does not work on all links)</div><br>\
  4664. </fieldset>\
  4665. <fieldset>\
  4666. <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: Example: http://hiderefer.com/? or http://hidemyass.com/? or http://anonym.to/?, CTRL+ALT+Z toggles the anonymizer service on or off</div><br>\
  4667. </fieldset>\
  4668. </div>\
  4669. </div>\
  4670. <div id="tabs-4" class="warlc-ui-tab">\
  4671. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4672. <br />\
  4673. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4674. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4675. <br />\
  4676. <p><b>Currently supported:</b><br>\
  4677. Filehostings: ' + allHostNames.length + '<br />\
  4678. Containers: ' + allContainerNames.length + '<br />\
  4679. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4680. <br />\
  4681. <p><b>Based on:</b><br>\
  4682. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4683. <br />\
  4684. <p><b>Uses:</b></p>\
  4685. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4686. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4687. <br />\
  4688. <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>\
  4689. </div>\
  4690. </div>\
  4691. </div>\
  4692. </div>';
  4693. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4694. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4695. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4696. var elmHostList = document.getElementById("warlcsitelist1");
  4697. var elmContainerList = document.getElementById("warlcsitelist2");
  4698. buildSettings();
  4699. buildSitelist("", allHostNames, elmHostList);
  4700. buildSitelist("", allContainerNames, elmContainerList);
  4701. if (DEBUG_MODE)
  4702. {
  4703. //log all sites availability status
  4704. diagSites();
  4705. }
  4706. //handler for checkbox state change
  4707. function changeConfiguration(e)
  4708. {
  4709. var element = e.target;
  4710.  
  4711. if (element.type == 'checkbox')
  4712. {
  4713. if (element.checked == 1)
  4714. {
  4715. GM_setValue(element.id, true);
  4716. }
  4717. else
  4718. {
  4719. GM_setValue(element.id, false);
  4720. }
  4721.  
  4722. }
  4723. setVariables();
  4724. }
  4725.  
  4726. //Selects all filehosting checkboxes
  4727. function selectAll()
  4728. {
  4729. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4730. .each(function(index, element){GM_setValue(this.id, true)});
  4731. }
  4732.  
  4733. //Deselects all filehosting checkboxes
  4734. function selectNone()
  4735. {
  4736. $(":checkbox:visible:checked").prop("checked",false)
  4737. .each(function(index, element){GM_setValue(this.id, false)});
  4738. }
  4739.  
  4740. //Inverts filehosting checkboxes selection
  4741. function selectInvert()
  4742. {
  4743. var $checked = $(":checkbox:visible:checked");
  4744. var $unchecked = $(":checkbox:visible:not(:checked)");
  4745. $unchecked.prop("checked",true)
  4746. .each(function(index, element){GM_setValue(this.id, true)});
  4747. $checked.prop("checked",false)
  4748. .each(function(index, element){GM_setValue(this.id, false)});
  4749. }
  4750. //toggles anonymizer on off
  4751. function Enable_Anonymizer()
  4752. {
  4753. var $checked = $(":checkbox:visible:checked");
  4754. var $unchecked = $(":checkbox:visible:not(:checked)");
  4755. $unchecked.prop("checked",true)
  4756. .each(function(index, element){GM_setValue(this.id, true)});
  4757. $checked.prop("checked",false)
  4758. .each(function(index, element){GM_setValue(this.id, false)});
  4759. }
  4760.  
  4761. function changeRefAnonymizer(){
  4762. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4763. }
  4764.  
  4765. //Sets live links color
  4766. function changeColorLive()
  4767. {
  4768. var inColorLive = document.getElementById("inputColorLive");
  4769. inColorLive.style.background = inColorLive.value;
  4770. GM_setValue("Live_links_color", inColorLive.value);
  4771. }
  4772.  
  4773. //Sets dead links color
  4774. function changeColorDead()
  4775. {
  4776. var inColorDead = document.getElementById("inputColorDead");
  4777. inColorDead.style.background = inColorDead.value;
  4778. GM_setValue("Dead_links_color", inColorDead.value);
  4779. }
  4780.  
  4781. //Sets temp. unavailable links color
  4782. function changeColorTemp()
  4783. {
  4784. var inColorTemp = document.getElementById("inputColorTemp");
  4785. inColorTemp.style.background = inColorTemp.value;
  4786. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4787. }
  4788.  
  4789. //Sets temp. unavailable links color
  4790. function changeColorCont()
  4791. {
  4792. var inColorCont = document.getElementById("inputColorCont");
  4793. inColorCont.style.background = inColorCont.value;
  4794. GM_setValue("Container_links_color", inColorCont.value);
  4795. }
  4796. //Sets premium. links color
  4797. function changeColorprem()
  4798. {
  4799. var inColorprem = document.getElementById("inputColorprem");
  4800. inColorprem.style.background = inColorprem.value;
  4801. GM_setValue("Premium_links_color", inColorprem.value);
  4802. }
  4803.  
  4804. //Diagnose sites for availability
  4805. function diagSites()
  4806. {
  4807. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4808.  
  4809. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4810. {
  4811. if (boxes[i].type == "checkbox")
  4812. {
  4813. checkAvailability(boxes[i]);
  4814. }
  4815. }
  4816.  
  4817. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4818.  
  4819. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4820. {
  4821. if (boxes[i].type == "checkbox")
  4822. {
  4823. checkAvailability(boxes[i]);
  4824. }
  4825. }
  4826.  
  4827. function checkAvailability(cbElm)
  4828. {
  4829. var cb = cbElm;
  4830. GM_xmlhttpRequest(
  4831. {
  4832. method: 'HEAD',
  4833. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4834. headers: {
  4835. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4836. 'Accept': 'text/xml',
  4837. 'Referer': ""
  4838. },
  4839. onload: function (result)
  4840. {
  4841. if (result.status != 200)
  4842. {
  4843. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4844. }
  4845. },
  4846. onerror: function (result)
  4847. {
  4848. if (result.status != 200)
  4849. {
  4850. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4851. }
  4852. }
  4853. });
  4854. }
  4855. }
  4856. function buildSettings()
  4857. {
  4858. $(".warlcsettings :checkbox").each(function(){
  4859. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4860. .click(function(e){
  4861. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4862. setVariables();
  4863. });
  4864. })
  4865. }
  4866. //Dynamic build of host list
  4867. //param search [string] searches for hostnames matching search substring
  4868. //param siteNames [array] array of site names
  4869. //param targetNode [DOM Node] where the list should be built
  4870. // first child node is replaced
  4871. function buildSitelist(search, siteNames, targetNode)
  4872. {
  4873. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4874. var $targetNode = $(targetNode).empty();
  4875. var searchedSite = "";
  4876. $.each(siteNames, function(i, site){
  4877. if (searchedSite = site.match(searchRegex))
  4878. {
  4879. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4880. //ensuring backward compatibility with the rest of code, to be refactored later
  4881. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4882. //
  4883. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4884. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4885. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4886. );
  4887. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4888. .change(changeConfiguration);
  4889. $targetNode.append('<br />');
  4890. }
  4891. });
  4892. $targetNode.append("<hr>");
  4893. //obsolete hosts checkbox
  4894. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4895. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4896. .change(changeConfiguration);
  4897. $targetNode.append('<br />');
  4898. var foundName = "";
  4899. $.each(allObsoleteNames, function(i, site){
  4900. if (foundName = allObsoleteNames[i].match(searchRegex))
  4901. {
  4902. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4903. }
  4904. })
  4905. }
  4906. var hostSearchBox = document.getElementById("hostSearchBox");
  4907. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4908. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4909. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4910. $(".warlc-ui-select-all").click(selectAll).button();
  4911. $(".warlc-ui-select-none").click(selectNone).button();
  4912. $(".warlc-ui-select-invert").click(selectInvert).button();
  4913. $(".warlc-ui-buttonset").buttonset();
  4914. var inColorLive = document.getElementById("inputColorLive");
  4915. inColorLive.addEventListener('keyup', changeColorLive, false);
  4916.  
  4917. var inColorDead = document.getElementById("inputColorDead");
  4918. inColorDead.addEventListener('keyup', changeColorDead, false);
  4919.  
  4920. var inColorTemp = document.getElementById("inputColorTemp");
  4921. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4922.  
  4923. var inColorCont = document.getElementById("inputColorCont");
  4924. inColorCont.addEventListener('keyup', changeColorCont, false);
  4925. var inColorprem = document.getElementById("inputColorprem");
  4926. inColorprem.addEventListener('keyup', changeColorprem, false);
  4927. $("#refAnonymizer").change(changeRefAnonymizer);
  4928. //buttons and edit boxes init end
  4929.  
  4930. //icon sets radio buttons
  4931. var radioButtons = document.getElementsByName("warlciconset");
  4932. radioButtons[Icon_set].checked = "checked";
  4933.  
  4934. radioButtons[0].addEventListener("change", updateIconSet);
  4935. radioButtons[1].addEventListener("change", updateIconSet);
  4936. radioButtons[2].addEventListener("change", updateIconSet);
  4937. radioButtons[3].addEventListener("change", updateIconSet);
  4938. function updateIconSet()
  4939. {
  4940. GM_setValue("Icon_set", this.value * 1);
  4941. }
  4942. //
  4943. $('#showCustomRulesReference').click(function(e){
  4944. e.preventDefault();
  4945. $('#customRulesReference').toggle();
  4946. });
  4947. $('#Custom_rules_text')
  4948. .val(Custom_rules_text)
  4949. .change(saveCustomRules);
  4950. function saveCustomRules(e)
  4951. {
  4952. var cr = parseCustomRules(this.value);
  4953. if (cr.info.length)
  4954. 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, ' '));
  4955. GM_setValue('Custom_rules_text', this.value);
  4956. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4957. }
  4958. }
  4959.  
  4960. //begin standard link checking algorithm
  4961. function start(filterId)
  4962. {
  4963. var doNotLinkify = Do_not_linkify_DL_links;
  4964.  
  4965. // USER SELECTED FILE HOSTS INITIALIZATION START
  4966. var http_file_hosts = new Array(); //standard hostings
  4967. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4968. var http_file_hosts_obsolete = new Array(); //dead hostings
  4969. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4970.  
  4971. initFileHosts();
  4972. initFileHostsHeadersOnly();
  4973. initFileHostsCustom(); //CustomRules
  4974. // USER SELECTED FILE HOSTS INITIALIZATION END
  4975.  
  4976. // LINKIFICATION START
  4977. var totalxpath = '';
  4978. var totalxpathcoded = '';
  4979. var totalxpathobsolete = '';
  4980. var totalxpathheadersonly = '';
  4981. var totalourls = '';
  4982.  
  4983. var filehostLen = http_file_hosts.length;
  4984. var filehostCodedLen = http_file_hosts_coded.length;
  4985. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4986. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4987.  
  4988. var filehostIdx = filehostLen;
  4989. var filehostCodedIdx = filehostCodedLen;
  4990. var filehostObsoleteIdx = filehostObsoleteLen;
  4991. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4992.  
  4993. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4994. return;
  4995.  
  4996. while (filehostIdx--)
  4997. {
  4998. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4999. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5000. }
  5001.  
  5002. while (filehostCodedIdx--)
  5003. {
  5004. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5005. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5006. }
  5007.  
  5008. while (filehostObsoleteIdx--)
  5009. {
  5010. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5011. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5012. }
  5013.  
  5014. while (filehostHeadersOnlyIdx--)
  5015. {
  5016. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5017. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5018. }
  5019.  
  5020. totalourls = totalourls.replace(/\|$/g, "");
  5021. //TODO: further refactoring needed
  5022. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5023. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5024. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5025. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5026. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5027. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5028. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5029. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5030. if (filterId != null) //insert id restriction in the xpath
  5031. {
  5032. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5033. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5034. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5035. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5036. }
  5037. else
  5038. {
  5039. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5040. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5041. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5042. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5043. }
  5044. linkify(totalourls);
  5045. //LINKIFICATION END
  5046. //ENCRYPTED LINKS PROCESSING START
  5047. if (http_file_hosts_coded.length > 0)
  5048. {
  5049. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5050.  
  5051. // decrypt coded links (redirects, link protectors etc.)
  5052. if (linksCoded.snapshotLength > 0)
  5053. {
  5054. var link;
  5055. var reallinkreg;
  5056. var reallinkcorrection;
  5057.  
  5058. if (filterId == null)
  5059. {
  5060. cLinksTotal += linksCoded.snapshotLength;
  5061. }
  5062.  
  5063. var y = linksCoded.snapshotLength - 1;
  5064. do
  5065. {
  5066. // linksCoded.snapshotItem(y).id = 'processing_link';
  5067. link = linksCoded.snapshotItem(y);
  5068. filehostIdx = filehostCodedLen;
  5069. while (filehostIdx--)
  5070. {
  5071. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5072. {
  5073. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5074. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5075. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5076.  
  5077. decurl(link, reallinkreg, reallinkcorrection);
  5078. break;
  5079. }
  5080. }
  5081. }
  5082. while (y--);
  5083. }
  5084. }
  5085. //ENCRYPTED LINKS PROCESSING END
  5086.  
  5087. //STANDARD LINKCHECKING START
  5088. if (http_file_hosts.length > 0)
  5089. {
  5090. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5091.  
  5092. if (filterId == null)
  5093. {
  5094. cLinksTotal += lianks.snapshotLength;
  5095. }
  5096.  
  5097. if (lianks.snapshotLength > 0)
  5098. {
  5099. var link;
  5100.  
  5101. var URL = "";
  5102. var name = "";
  5103. var isAliveRegex = "";
  5104. var isDeadRegex = "";
  5105. var isUnavaRegex = "";
  5106. var ispremRegex = "";
  5107. var tryLoop = false;
  5108.  
  5109. var y = lianks.snapshotLength;
  5110.  
  5111. while (y--)
  5112. {
  5113. link = lianks.snapshotItem(y);
  5114.  
  5115. filehostIdx = filehostLen;
  5116. while (filehostIdx--)
  5117. {
  5118. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5119. {
  5120. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5121. isAliveRegex = http_file_hosts[filehostIdx][1];
  5122. isDeadRegex = http_file_hosts[filehostIdx][2];
  5123. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5124. ispremRegex = http_file_hosts[filehostIdx][6];
  5125. tryLoop = http_file_hosts[filehostIdx][5];
  5126.  
  5127. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5128.  
  5129. break;
  5130. }
  5131. }
  5132. }
  5133. }
  5134. }
  5135. //STANDARD LINKCHECKING END
  5136. //OBSOLETE FILE HOSTS PROCESSING START
  5137. if (filehostObsoleteLen > 0)
  5138. {
  5139. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5140.  
  5141. var obsoleteLink;
  5142.  
  5143. //check links
  5144. if (obsoletelinks.snapshotLength > 0)
  5145. {
  5146. var y = obsoletelinks.snapshotLength;
  5147.  
  5148. if (filterId == null)
  5149. {
  5150. cLinksTotal += y;
  5151. }
  5152.  
  5153. while (y--)
  5154. {
  5155. obsoleteLink = obsoletelinks.snapshotItem(y);
  5156.  
  5157. if (Display_tooltip_info)
  5158. {
  5159. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5160. }
  5161. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5162. }
  5163. }
  5164. }
  5165. //OBSOLETE FILE HOSTS PROCESSING END
  5166.  
  5167. //DIRECT LINKCHECKING START
  5168. if (http_file_hosts_headers_only.length > 0)
  5169. {
  5170. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5171.  
  5172. //check links
  5173. if (links.snapshotLength > 0)
  5174. {
  5175. var link;
  5176. var isAliveRegex;
  5177. var isDeadRegex;
  5178. var ispremRegex;
  5179.  
  5180. var y = links.snapshotLength;
  5181.  
  5182.  
  5183. if (filterId == null)
  5184. {
  5185. cLinksTotal += y;
  5186. }
  5187.  
  5188. while (y--)
  5189. {
  5190. // links.snapshotItem(y).id = 'processing_link';
  5191. link = links.snapshotItem(y);
  5192. filehostIdx = filehostHeadersOnlyLen;
  5193. while (filehostIdx--)
  5194. {
  5195. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5196. {
  5197. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5198. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5199. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5200. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5201.  
  5202. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5203.  
  5204. break;
  5205. }
  5206. }
  5207. }
  5208.  
  5209. }
  5210. }
  5211. //DIRECT LINKCHECKING END
  5212.  
  5213.  
  5214. //finds the real url on the page, replaces link.href with it and calls geturl
  5215. function decurl(link, reallinkreg, reallinkcorrection)
  5216. {
  5217.  
  5218. GM_xmlhttpRequest(
  5219. {
  5220. method: 'GET',
  5221. url: link.href,
  5222. headers: {
  5223. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5224. 'Accept': 'text/xml',
  5225. 'Referer': ""
  5226. },
  5227. onload: function (result)
  5228. {
  5229. // cLinksProcessed++;
  5230.  
  5231. var reallink = result.responseText.match(reallinkreg)[0];
  5232. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5233.  
  5234. link.href = reallink;
  5235.  
  5236. var i = http_file_hosts.length - 1;
  5237. do
  5238. {
  5239. if ((reallink.match(http_file_hosts[i][0])))
  5240. {
  5241. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5242. var isAliveRegex = http_file_hosts[i][1];
  5243. var isDeadRegex = http_file_hosts[i][2];
  5244. var isUnavaRegex = http_file_hosts[i][3];
  5245. var ispremRegex = http_file_hosts[i][4];
  5246.  
  5247. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5248.  
  5249. break;
  5250. }
  5251. }
  5252. while (i--);
  5253. }
  5254. });
  5255. }
  5256.  
  5257. function randUA()
  5258. {
  5259. //TODO
  5260. }
  5261. //Processes link
  5262. //
  5263. // [string] link link URL
  5264. // [string] isAliveRegex alive link regex
  5265. // [string] isDeadRegex dead link regex
  5266. // [string] isUnavaRegex unavailable link regex
  5267. // [string] ispremRegex premium link regex
  5268. // [boolean] tryLoop repeats request until succeeded
  5269. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5270. {
  5271. GM_xmlhttpRequest(
  5272. {
  5273. method: 'GET',
  5274. url: link.href,
  5275. headers: {
  5276. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5277. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5278. 'Referer': ""
  5279. },
  5280. onload: function (result)
  5281. {
  5282. var res = result.responseText;
  5283. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5284. {
  5285. displayTheCheckedLink(link, 'alive_link');
  5286. return;
  5287. }
  5288.  
  5289. if (res.match(isAliveRegex))
  5290. {
  5291. displayTheCheckedLink(link, 'alive_link');
  5292. return;
  5293. }
  5294.  
  5295. if (res.match(isDeadRegex))
  5296. {
  5297. displayTheCheckedLink(link, 'adead_link');
  5298. return;
  5299. }
  5300.  
  5301. if (isUnavaRegex && res.match(isUnavaRegex))
  5302. {
  5303. displayTheCheckedLink(link, 'unava_link');
  5304. return;
  5305. }
  5306. if (res.match(ispremRegex))
  5307. {
  5308. displayTheCheckedLink(link, 'prem_link');
  5309. return;
  5310. }
  5311.  
  5312. var resStatus = result.status;
  5313.  
  5314. if (resStatus == 404)
  5315. {
  5316. displayTheCheckedLink(link, 'adead_link');
  5317. }
  5318. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5319. {
  5320. if (tryLoop)
  5321. {
  5322. //wait 1-5 seconds and repeat the request
  5323. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5324. }
  5325. else
  5326. {
  5327. displayTheCheckedLink(link, 'unava_link');
  5328. }
  5329.  
  5330. return;
  5331. }
  5332. },
  5333. onerror: function ()
  5334. {
  5335. displayTheCheckedLink(link, 'unava_link');
  5336. }
  5337. });
  5338. }
  5339.  
  5340. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5341. {
  5342. GM_xmlhttpRequest(
  5343. {
  5344. method: 'HEAD',
  5345. url: link.href,
  5346. headers: {
  5347. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5348. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5349. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5350. 'Referer': ""
  5351. },
  5352. onload: function (result)
  5353. {
  5354. var resStatus = result.status;
  5355. var resHeaders = "";
  5356. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5357. {
  5358. displayTheCheckedLink(link, 'adead_link');
  5359. return;
  5360. }
  5361.  
  5362. resHeaders = result.responseHeaders;
  5363.  
  5364. if (resHeaders.match(isDeadRegex))
  5365. {
  5366. displayTheCheckedLink(link, 'adead_link');
  5367. return;
  5368. }
  5369.  
  5370. if (resHeaders.match(isAliveRegex))
  5371. {
  5372. displayTheCheckedLink(link, 'alive_link');
  5373. return;
  5374. }
  5375. if (resHeaders.match(ispremRegex))
  5376. {
  5377. displayTheCheckedLink(link, 'prem_link');
  5378. return;
  5379. }
  5380. },
  5381. onerror: function ()
  5382. {
  5383. displayTheCheckedLink(link, 'unava_link');
  5384. }
  5385. });
  5386. }
  5387.  
  5388. //Delinkfifies the <a> element object
  5389. function delinkifyLink(link)
  5390. {
  5391. var spanElm = document.createElement("span");
  5392. spanElm.className = link.className;
  5393. spanElm.innerHTML = link.innerHTML;
  5394.  
  5395. if (Display_tooltip_info)
  5396. {
  5397. spanElm.href = link.href;
  5398. spanElm.warlc_error = link.warlc_error;
  5399. switch (link.className){
  5400. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5401. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5402. case "unava_link": //reserved
  5403. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5404. default:
  5405. }
  5406. }
  5407. link.parentNode.replaceChild(spanElm, link);
  5408. }
  5409.  
  5410. //Assigns result status to the <a> element object and calls delinkifying eventually
  5411. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5412. function displayTheCheckedLink(link, resultStatus)
  5413. {
  5414. link.className = resultStatus;
  5415. link.href = Ref_anonymize_service + link.href;
  5416. if (Display_tooltip_info)
  5417. {
  5418. switch (resultStatus){
  5419. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5420. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5421. case "unava_link": //reserved
  5422. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5423. default:
  5424. }
  5425. }
  5426. if (doNotLinkify)
  5427. {
  5428. delinkifyLink(link);
  5429. }
  5430. cLinksProcessed++;
  5431.  
  5432. if (resultStatus == "alive_link")
  5433. {
  5434. cLinksAlive++;
  5435. return;
  5436. }
  5437.  
  5438. if (resultStatus == "adead_link")
  5439. {
  5440. cLinksDead++;
  5441. return;
  5442. }
  5443.  
  5444. if (resultStatus == "unava_link")
  5445. {
  5446. cLinksUnava++;
  5447. }
  5448. if (resultStatus == "prem_link")
  5449. {
  5450. cLinksprem++;
  5451. return;
  5452. }
  5453. }
  5454.  
  5455.  
  5456. function initFileHosts()
  5457. {
  5458.  
  5459. function addObsoleteHost(linkRegex, xpathEx)
  5460. {
  5461. var host = new Array(2);
  5462. host[0] = linkRegex;
  5463. host[1] = xpathEx;
  5464. http_file_hosts_obsolete.push(host);
  5465. }
  5466.  
  5467. //obsolete file hosts init start
  5468. if (Obsolete_file_hosts)
  5469. {
  5470. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5471. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5472. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5473. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5474. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5475. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5476. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5477. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5478. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5479. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5480. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5481. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5482. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5483. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5484. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5485. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5486. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5487. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5488. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5489. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5490. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5491. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5492. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5493. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5494. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5495. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5496. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5497. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5498. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5499. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5500. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5501. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5502. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5503. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5504. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5505. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5506. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5507. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5508. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5509. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5510. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5511. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5512. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5513. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5514. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5515. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5516. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5517. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5518. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5519. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5520. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5521. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5522. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5523. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5524. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5525. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5526. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5527. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5528. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5529. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5530. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5531. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5532. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5533. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5534. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5535. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5536. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5537. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5538. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5539. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5540. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5541. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5542. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5543. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5544. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5545. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5546. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5547. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5548. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5549. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5550. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5551. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5552. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5553. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5554. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5555. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5556. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5557. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5558. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5559. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5560. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5561. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5562. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5563. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5564. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5565. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5566. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5567. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5568. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5569. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5570. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5571. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5572. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5573. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5574. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5575. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5576. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5577. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5578. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5579. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5580. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5581. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5582. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5583. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5584. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5585. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5586. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5587. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5588. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5589. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5590. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5591. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5592. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5593. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5594. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5595. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5596. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5597. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5598. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5599. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5600. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5601. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5602. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5603. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5604. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5605. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5606. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5607. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5608. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5609. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5610. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5611. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5612. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5613. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5614. 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')]");
  5615. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5616. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5617. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5618. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5619. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5620. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5621. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5622. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5623. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5624. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5625. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5626. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5627. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5628. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5629. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5630. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5631. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5632. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5633. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5634. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5635. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5636. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5637. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5638. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5639. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5640. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5641. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5642. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5643. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5644. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5645. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5646. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5647. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5648. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5649. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5650. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5651. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5652. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5653. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5654. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5655. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5656. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5657. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5658. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5659. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5660. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5661. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5662. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5663. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5664. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5665. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5666. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5667. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5668. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5669. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5670. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5671. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5672. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5673. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5674. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5675. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5676. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5677. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5678. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5679. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5680. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5681. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5682. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5683. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5684. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5685. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5686. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5687. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5688. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5689. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5690. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5691. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5692. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5693. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5694. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5695. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5696. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5697. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5698. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5699. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5700. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5701. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5702. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5703. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5704. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5705. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5706. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5707. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5708. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5709. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5710. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5711. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5712. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5713. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5714. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5715. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5716. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5717. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5718. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5719. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5720. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5721. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5722. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5723. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5724. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5725. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5726. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5727. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5728. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5729. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5730. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5731. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5732. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5733. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5734. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5735. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5736. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5737. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5738. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5739. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5740. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5741. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5742. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5743. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5744. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5745. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5746. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5747. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5748. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5749. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5750. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5751. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5752. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5753. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5754. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5755. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5756. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5757. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5758. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5759. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5760. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5761. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5762. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5763. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5764. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5765. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5766. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5767. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5768. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5769. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5770. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5771. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5772. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5773. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5774. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5775. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5776. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5777. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5778. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5779. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5780. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5781. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5782. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5783. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5784. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5785. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5786. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5787. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5788. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5789. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5790. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5791. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5792. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5793. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5794. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5795. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5796. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5797. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5798. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5799. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5800. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5801. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5802. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5803. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5804. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5805. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5806. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5807. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5808. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5809. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5810. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5811. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5812. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5813. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5814. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5815. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5816. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5817. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5818. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5819. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5820. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5821. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5822. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5823. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5824. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5825. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5826. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5827. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5828. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5829. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5830. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5831. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5832. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5833. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5834. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5835. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5836. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5837. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5838. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5839. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5840. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5841. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5842. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5843. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5844. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5845. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5846. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5847. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5848. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5849. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5850. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5851. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5852. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5853. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5854. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5855. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5856. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5857. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5858. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5859. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5860. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5861. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5862. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5863. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5864. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5865. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5866. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5867. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5868. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5869. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5870. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5871. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5872. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5873. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5874. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5875. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5876. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5877. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5878. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5879. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5880. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5881. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5882. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5883. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5884. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5885. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5886. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5887. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5888. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5889. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5890. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5891. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5892. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5893. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5894. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5895. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5896. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5897. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5898. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5899. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5900. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5901. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5902. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5903. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5904. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5905. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5906. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5907. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5908. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5909. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5910. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5911. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5912. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5913. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5914. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5915. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5916. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5917. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5918. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5919. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5920. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5921. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5922. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5923. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5924. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5925. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5926. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5927. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5928. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5929. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5930. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5931. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5932. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5933. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5934. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5935. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5936. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5937. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5938. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5939. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5940. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5941. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5942. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5943. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5944. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5945. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5946. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5947. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5948. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5949. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5950. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5951. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5952. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5953. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5954. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5955. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5956. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5957. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5958. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm​.to/')]");
  5959. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  5960. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  5961. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  5962. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  5963. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  5964. // obsolete start
  5965. }
  5966. //obsolete file hosts init end
  5967. //Add Host Example
  5968. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5969. {
  5970. addFileHost(
  5971. "datafile\.com\/\\w+",
  5972. 'var captchaPanel|<link href="/css/files_download.css"',
  5973. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5974. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5975. '<style type="text/css">',
  5976. "//a[contains(@href,'datafile.com')]",
  5977. true);
  5978. } */
  5979.  
  5980. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5981. {
  5982. var host = new Array(7);
  5983. host[0] = linkRegex;
  5984. host[1] = isAliveRegex;
  5985. host[2] = isDeadRegex;
  5986. host[3] = isUnavaRegex;
  5987. host[6] = ispremRegex;
  5988. host[4] = xpathEx;
  5989. tryLoop ? host[5] = true : host[5] = false;
  5990. http_file_hosts.push(host);
  5991. }
  5992. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5993. {
  5994. addFileHost(
  5995. "megafileupload\.com\/..\/file\/",
  5996. 'downloadbtn',
  5997. 'is not found',
  5998. 'optional--',
  5999. 'optional2--',
  6000. "//a[contains(@href,'megafileupload.com')]");
  6001. }
  6002. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6003. {
  6004. addFileHost(
  6005. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6006. 'download\\.gif"',
  6007. 'p_point">',
  6008. 'optional--',
  6009. 'optional2--',
  6010. "//a[contains(@href,'demo.ovh.eu')]");
  6011. }
  6012. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  6013. {
  6014. addFileHost(
  6015. "xkeepfile\.com\/\\w+",
  6016. 'File has been found|Click here to download',
  6017. 'File cannot be found|class="error">',
  6018. 'optional--',
  6019. 'optional2--',
  6020. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  6021. }
  6022. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6023. {
  6024. addFileHost(
  6025. "safelinking\\.net\/p\/\\w+",
  6026. 'color:green;"',
  6027. 'color:(?:red|orange);"',
  6028. 'color:(?:grey|brown);"',
  6029. 'optional2--',
  6030. "//a[contains(@href,'safelinking.net/p/')]",
  6031. true);
  6032. }
  6033. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6034. {
  6035. addFileHost(
  6036. "fastshare\\.cz\/\\d+\/\\w*",
  6037. 'dwntable">|speed-low',
  6038. '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',
  6039. 'optional--',
  6040. 'optional2--',
  6041. "//a[contains(@href,'fastshare.cz')]");
  6042. }
  6043. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6044. {
  6045. addFileHost(
  6046. "[fF]ast[sS]hare\\.org\/download",
  6047. 'Download ">',
  6048. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6049. 'optional--',
  6050. 'optional2--',
  6051. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6052. }
  6053. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  6054. {
  6055. addFileHost(
  6056. "partage-facile\.com\/\\w+",
  6057. 'class="title"><strong>|colspan="2"',
  6058. 'Page introuvable|class="alert-message',
  6059. 'optional--',
  6060. 'optional2--',
  6061. "//a[contains(@href,'partage-facile.com')]");
  6062. }
  6063. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6064. {
  6065. addFileHost(
  6066. "rapidgator\\.net\/file\/\\w+",
  6067. '/download/AjaxStartTimer|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|"text-block download-prepare">|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6068. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  6069. 'optional--',
  6070. 'can be downloaded by premium only|files up to 500 MB in free mode|files up to 1 GB in free mode|You can download files up to 2 GB in free mode',
  6071. "//a[contains(@href,'rapidgator.net/file')]",
  6072. true
  6073. );
  6074. }
  6075. if (GM_getValue("Check_rg_dot_to_links", false))
  6076. {
  6077. addFileHost(
  6078. "rg\.to\/\\w+",
  6079. '/download/AjaxStartTimer|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|"text-block download-prepare">|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6080. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6081. 'optional--',
  6082. 'can be downloaded by premium only|files up to 500 MB in free mode|You can download files up to 2 GB in free mode',
  6083. "//a[contains(@href,'rg.to')]");
  6084. }
  6085. if (GM_getValue("Check_relink_dot_us_links", false))
  6086. {
  6087. addFileHost(
  6088. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6089. 'online_detail\\.png" alt="Status',
  6090. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6091. 'unknown_detail\\.png" alt="Status',
  6092. 'optional2--',
  6093. "//a[contains(@href,'relink.us/')]"
  6094. );
  6095. }
  6096. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6097. {
  6098. addFileHost(
  6099. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6100. 'div id="dl"',
  6101. 'Sie haben den Link falsch',
  6102. 'optional--',
  6103. 'optional2--',
  6104. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6105. );
  6106. }
  6107. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6108. {
  6109. addFileHost(
  6110. "flyfiles\\.net\/\\w+",
  6111. 'download_button"|"Download file"',
  6112. 'File not found!|Файл не найден',
  6113. 'optional--',
  6114. 'optional2--',
  6115. "//a[contains(@href,'flyfiles.net/')]"
  6116. );
  6117. }
  6118. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6119. {
  6120. addFileHost(
  6121. "wikiupload\\.com\/\\w+",
  6122. 'download-button">',
  6123. 'Sorry, File not found',
  6124. 'optional--',
  6125. 'optional2--',
  6126. "//a[contains(@href,'wikiupload.com/')]"
  6127. );
  6128. }
  6129. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6130. {
  6131. addFileHost(
  6132. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6133. 'file\\.php">|Pobierz Plik',
  6134. 'Podany plik nie zosta',
  6135. 'optional--',
  6136. 'optional2--',
  6137. "//a[contains(@href,'hostuje.net/file')]"
  6138. );
  6139. }
  6140. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6141. {
  6142. addFileHost(
  6143. "gettyfile\\.ru\/\\d+",
  6144. 'download\\.gif border',
  6145. '<center><font size="3">',
  6146. 'optional--',
  6147. 'optional2--',
  6148. "//a[contains(@href,'gettyfile.ru/')]"
  6149. );
  6150. }
  6151. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6152. {
  6153. addFileHost(
  6154. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6155. 'download\\-file">',
  6156. 'col-1">\\s*<h1>',
  6157. 'optional--',
  6158. 'optional2--',
  6159. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6160. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6161. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6162. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6163. );
  6164. }
  6165. if (GM_getValue("Check_data_dot_hu_links", false))
  6166. {
  6167. addFileHost(
  6168. "data\\.hu\/get\/\\d+\/",
  6169. 'download_box_button',
  6170. 'missing\\.php',
  6171. 'optional--',
  6172. 'optional2--',
  6173. "//a[contains(@href,'data.hu/get')]",
  6174. true
  6175. );
  6176. }
  6177. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6178. {
  6179. addFileHost(
  6180. "filesmelt\\.com\/dl\/\\w+",
  6181. '(Your download is ready|Download File)',
  6182. 'Sorry, but your',
  6183. 'optional--',
  6184. 'optional2--',
  6185. "//a[contains(@href,'filesmelt.com/dl')]"
  6186. );
  6187. }
  6188. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6189. {
  6190. addFileHost(
  6191. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6192. 'premiumBtn"',
  6193. 'errorMessage"',
  6194. 'optional--',
  6195. 'optional2--',
  6196. "//a[contains(@href,'indowebster.com/download')]"
  6197. );
  6198. }
  6199. if (GM_getValue("Check_superload_dot_cz_links", false))
  6200. {
  6201. addFileHost(
  6202. "superload\\.cz\/dl\/\\w+",
  6203. 'icon-download">',
  6204. 'soubor nebyl nalezen',
  6205. 'optional--',
  6206. 'optional2--',
  6207. "//a[contains(@href,'superload.cz/dl')]"
  6208. );
  6209. }
  6210. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6211. {
  6212. addFileHost(
  6213. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6214. 'op" value="download',
  6215. 'class="err">|width:500px;text-align:left;">',
  6216. 'optional--',
  6217. 'optional2--',
  6218. "//a[contains(@href,'hulkfile.')]"
  6219. );
  6220. }
  6221. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6222. {
  6223. addFileHost(
  6224. "easybytez\\.com\/\\w+",
  6225. 'op" value="download',
  6226. 'stop_error\\.gif',
  6227. 'optional--',
  6228. 'optional2--',
  6229. "//a[contains(@href,'easybytez.com/')]"
  6230. );
  6231. }
  6232. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6233. {
  6234. addFileHost(
  6235. "filestore\\.com\\.ua\/\\?d=\\w+",
  6236. 'tdrow1>',
  6237. 'class=warn',
  6238. 'optional--',
  6239. 'optional2--',
  6240. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6241. );
  6242. }
  6243. if (GM_getValue("Check_netkups_dot_com_links", false))
  6244. {
  6245. addFileHost(
  6246. "netkups\\.com\/\\?d=\\w+",
  6247. 'submit">Continue',
  6248. 'page">File not found|deleted due to inactivity',
  6249. 'optional--',
  6250. 'optional2--',
  6251. "//a[contains(@href,'netkups.com/?d=')]"
  6252. );
  6253. }
  6254. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6255. {
  6256. addFileHost(
  6257. "openfile\\.ru\/(?:video\/|)\\d+",
  6258. 'videobox_left">',
  6259. 'blog_title">|not found on this server',
  6260. 'optional--',
  6261. 'optional2--',
  6262. "//a[contains(@href,'openfile.ru/')]"
  6263. );
  6264. }
  6265. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6266. {
  6267. addFileHost(
  6268. "extmatrix\\.com\/files\/\\w+",
  6269. 'div class="success"',
  6270. 'div class="error"',
  6271. 'optional--',
  6272. 'optional2--',
  6273. "//a[contains(@href,'extmatrix.com/files')]"
  6274. );
  6275. }
  6276. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6277. {
  6278. addFileHost(
  6279. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6280. 'content_lnkDownload',
  6281. 'error\\.aspx\\?',
  6282. 'optional--',
  6283. 'optional2--',
  6284. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6285. );
  6286. }
  6287. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6288. {
  6289. addFileHost(
  6290. "yourfilestore\\.com\/download\/\\d+\/",
  6291. 'download_data">',
  6292. 'may have been deleted|<h1>Sorry!<\/h1>',
  6293. 'optional--',
  6294. 'optional2--',
  6295. "//a[contains(@href,'yourfilestore.com/download')]"
  6296. );
  6297. }
  6298. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6299. {
  6300. addFileHost(
  6301. "nekaka\\.com\/d\/[\\w-]+",
  6302. 'downloadForm">',
  6303. 'invalid file link',
  6304. 'optional--',
  6305. 'optional2--',
  6306. "//a[contains(@href,'nekaka.com/d')]"
  6307. );
  6308. }
  6309. if (GM_getValue("Check_filebig_dot_net_links", false))
  6310. {
  6311. addFileHost(
  6312. "filebig\\.net\/files\/\\w+",
  6313. 'downloadFile">',
  6314. '<p>File not found<\/p>',
  6315. 'optional--',
  6316. 'optional2--',
  6317. "//a[contains(@href,'filebig.net/files')]"
  6318. );
  6319. }
  6320. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6321. {
  6322. addFileHost(
  6323. "files\\.filefront\\.com\/\/;\\d+;;",
  6324. 'downloadLink">',
  6325. 'File not found, you',
  6326. 'optional--',
  6327. 'optional2--',
  6328. "//a[contains(@href,'files.filefront.com')]"
  6329. );
  6330.  
  6331. addFileHost(
  6332. "gamefront\\.com\/files\/\\d+",
  6333. 'downloadLink">',
  6334. 'File not found, you',
  6335. 'optional--',
  6336. 'optional2--',
  6337. "//a[contains(@href,'gamefront.com/files')]"
  6338. );
  6339. }
  6340. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6341. {
  6342. addFileHost(
  6343. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6344. 'dnlLnk"',
  6345. 'already been deleted',
  6346. 'optional--',
  6347. 'optional2--',
  6348. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6349. );
  6350. }
  6351. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6352. {
  6353. addFileHost(
  6354. "hellupload\\.com\/\\w+",
  6355. '<h3>Download File<br',
  6356. 'id="podstrona">|AVOID_IE_BUG',
  6357. 'optional--',
  6358. 'optional2--',
  6359. "//a[contains(@href,'hellupload.com/')]"
  6360. );
  6361. }
  6362. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6363. {
  6364. addFileHost(
  6365. "free\\-uploading\\.com\/\\w+",
  6366. 'op" value="download',
  6367. 'class="err">|width:500px;text-align:left;">',
  6368. 'optional--',
  6369. 'optional2--',
  6370. "//a[contains(@href,'free-uploading.com/')]"
  6371. );
  6372. }
  6373. if (GM_getValue("Check_fileape_dot_com_links", false))
  6374. {
  6375. addFileHost(
  6376. "fileape\\.com\/download\\-",
  6377. 'button_dl\\.png',
  6378. 'does not exist\\.',
  6379. 'optional--',
  6380. 'optional2--',
  6381. "//a[contains(@href,'fileape.com/')]"
  6382. );
  6383. }
  6384. if (GM_getValue("Check_uppit_dot_com_links", false))
  6385. {
  6386. addFileHost(
  6387. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6388. 'op" value="download',
  6389. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6390. 'optional--',
  6391. 'optional2--',
  6392. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6393. true
  6394. );
  6395. }
  6396. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6397. {
  6398. addFileHost(
  6399. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6400. 'op" value="download',
  6401. '>File Not Found<',
  6402. 'optional--',
  6403. 'optional2--',
  6404. "//a[contains(@href,'nosupload.com')]",
  6405. true
  6406. );
  6407. }
  6408. if (GM_getValue("Check_filesin_dot_com_links", false))
  6409. {
  6410. addFileHost(
  6411. "filesin\\.com\/\\w+\/download\\.html",
  6412. 'download_area">',
  6413. 'error_note">',
  6414. 'optional--',
  6415. 'optional2--',
  6416. "//a[contains(@href,'filesin.com/')]",
  6417. true
  6418. );
  6419. }
  6420. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6421. {
  6422. addFileHost(
  6423. "nowdownload\\.ch\/dl\/\\w+",
  6424. 'alert-success"',
  6425. 'This file does not exist!',
  6426. 'The file is being transfered',
  6427. 'optional2--',
  6428. "//a[contains(@href,'nowdownload.ch/dl')]"
  6429. );
  6430. }
  6431. if (GM_getValue("Check_axifile_dot_com_links", false))
  6432. {
  6433. addFileHost(
  6434. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6435. 'Dbutton_big"',
  6436. 'download\\-error\\.php',
  6437. 'optional--',
  6438. 'optional2--',
  6439. "//a[contains(@href,'axifile.com/')]"
  6440. );
  6441. }
  6442. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6443. {
  6444. addFileHost(
  6445. "hulkshare\.com\/\\w+",
  6446. 'download\.sam\.png|This is a private file|id="filename',
  6447. 'File does not exist|fingerprint protected copyright',
  6448. 'optional--',
  6449. 'optional2--',
  6450. "//a[contains(@href,'hulkshare.com')]"
  6451. );
  6452. }
  6453. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6454. {
  6455. addFileHost(
  6456. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6457. 'col-1">\\s*<s',
  6458. 'col-1">\\s*<h',
  6459. 'optional--',
  6460. 'optional2--',
  6461. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6462. );
  6463. }
  6464. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6465. {
  6466. addFileHost(
  6467. "turbobit\\.(?:net|pl)",
  6468. 'id="download-gate-info|id="file-list',
  6469. 'afterWait()|no files in this folder',
  6470. 'optional--',
  6471. 'optional2--',
  6472. "//a[contains(@href,'turbobit.net')]"
  6473. );
  6474. }
  6475. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6476. {
  6477. addFileHost(
  6478. "hitfile\\.net\/download\/folder\/\\d+",
  6479. 'content">\\s*<s',
  6480. 'content">\\s*<h',
  6481. 'optional--',
  6482. 'optional2--',
  6483. "//a[contains(@href,'hitfile.net/download/folder')]"
  6484. );
  6485. }
  6486. if (GM_getValue("Check_movshare_dot_net_links", false))
  6487. {
  6488. addFileHost(
  6489. "movshare\\.net\\/video\\/\\w+",
  6490. 'optional--"',
  6491. 'no longer exists',
  6492. 'optional--',
  6493. 'optional2--',
  6494. "//a[contains(@href,'movshare.net/video')]"
  6495. );
  6496. }
  6497. if (GM_getValue("Check_plunder_dot_com_links", false))
  6498. {
  6499. addFileHost(
  6500. "plunder\.com\/\\w+",
  6501. 'x\/download\\.gif',
  6502. '404 - File or directory not found.',
  6503. 'optional--',
  6504. 'optional2--',
  6505. "//a[contains(@href,'plunder.com')]"
  6506. );
  6507. }
  6508. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6509. {
  6510. addFileHost(
  6511. "mafiastorage\\.com\/\\w+",
  6512. 'op" value="download',
  6513. 'class="err">|style="width:500px;text-align:left;"',
  6514. 'optional--',
  6515. 'optional2--',
  6516. "//a[contains(@href,'mafiastorage.com/')]"
  6517. );
  6518. }
  6519. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6520. {
  6521. addFileHost(
  6522. "uploadspace\.pl\/plik\\w+",
  6523. 'Downloading .+? \\|',
  6524. 'Downloading a file',
  6525. 'optional--',
  6526. 'optional2--',
  6527. "//a[contains(@href,'uploadspace.pl/plik')]"
  6528. );
  6529. }
  6530. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6531. {
  6532. addFileHost(
  6533. "uploadingit\\.com\/file\/\\w+",
  6534. 'downloadTitle">',
  6535. 'deleteContent">',
  6536. 'optional--',
  6537. 'optional2--',
  6538. "//a[contains(@href,'uploadingit.com/file')]"
  6539. );
  6540. }
  6541. if (GM_getValue("Check_rghost_dot_net_links", false))
  6542. {
  6543. addFileHost(
  6544. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6545. 'download_link|btn large download',
  6546. 'file is restricted|File is deleted|503 Service Unavailable',
  6547. 'optional--',
  6548. 'optional2--',
  6549. "//a[contains(@href,'rghost.')]"
  6550. );
  6551. }
  6552. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6553. {
  6554. addFileHost(
  6555. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6556. '">Staženo:\\s*<\/span>',
  6557. 'Soubor, který hledáte nenalezen',
  6558. 'optional--',
  6559. 'optional2--',
  6560. "//a[contains(@href,'xdisk.cz/')]"
  6561. );
  6562. }
  6563. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6564. {
  6565. addFileHost(
  6566. "2downloadz\.com\/\\w+",
  6567. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6568. 'color="#006DCC|File error',
  6569. 'optional--',
  6570. 'optional2--',
  6571. "//a[contains(@href,'2downloadz.com')]");
  6572. }
  6573. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6574. {
  6575. addFileHost(
  6576. "mightyupload\.com\/\\w+",
  6577. 'background:#ccc;text-align|CONTENT="Download File"',
  6578. 'style="background:#eee|var rr =|File Not Found',
  6579. 'error-code">1010',
  6580. 'optional2--',
  6581. "//a[contains(@href,'mightyupload.com')]");
  6582. }
  6583. if (GM_getValue("Check_anysend_dot_com_links", false))
  6584. {
  6585. addFileHost(
  6586. "anysend\.com\/\\w+",
  6587. 'var openCalled=false;|content="noindex"',
  6588. '_trackPageview',
  6589. 'optional--',
  6590. 'optional2--',
  6591. "//a[contains(@href,'anysend.com')]");
  6592. }
  6593. if (GM_getValue("Check_datafile_dot_com_links", false))
  6594. {
  6595. addFileHost(
  6596. "datafile\.com\/\\w+",
  6597. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6598. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6599. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6600. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">|only by users with<br />Premium account!', //<style type="text/css">
  6601. "//a[contains(@href,'datafile.com')]",
  6602. true);
  6603. }
  6604. if (GM_getValue("Check_upstore_dot_net_links", false))
  6605. {
  6606. addFileHost(
  6607. "upstore\.net\/\\w+",
  6608. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6609. 'File not found|onload="redirect|class="error">',
  6610. 'optional--',
  6611. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6612. "//a[contains(@href,'upstore.net')]");
  6613. }
  6614. if (GM_getValue("Check_upsto_dot_re_links", false))
  6615. {
  6616. addFileHost(
  6617. "upsto\.re\/\\w+",
  6618. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6619. 'File not found|onload="redirect|class="error">',
  6620. 'optional--',
  6621. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6622. "//a[contains(@href,'upsto.re')]");
  6623. }
  6624. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6625. {
  6626. addFileHost(
  6627. "speedy\.sh\/\\w+",
  6628. 'bgcolor=#eeeeee|class="addthis',
  6629. 'File not found|downloadfilenamenotfound>',
  6630. 'optional--',
  6631. 'optional2--',
  6632. "//a[contains(@href,'speedy.sh')]");
  6633. }
  6634. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6635. {
  6636. addFileHost(
  6637. "sanshare\.com\/\\w+",
  6638. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6639. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6640. 'optional--',
  6641. 'optional2--',
  6642. "//a[contains(@href,'sanshare.com')]");
  6643. }
  6644. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6645. {
  6646. addFileHost(
  6647. "kingfiles\.net\/\\w+",
  6648. 'method_free|images/loading_small.gif"',
  6649. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6650. 'optional--',
  6651. 'optional2--',
  6652. "//a[contains(@href,'kingfiles.net')]");
  6653. }
  6654. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6655. {
  6656. addFileHost(
  6657. "uploadhero\\.co\/dl\/\\w+",
  6658. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6659. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6660. 'optional--',
  6661. 'optional2--',
  6662. "//a[contains(@href,'uploadhero.co/dl')]"
  6663. );
  6664. } */
  6665. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6666. {
  6667. addFileHost(
  6668. "secureupload\\.eu\/\\w+",
  6669. 'Downloading',
  6670. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6671. 'optional--',
  6672. 'optional2--',
  6673. "//a[contains(@href,'secureupload.eu')]"
  6674. );
  6675. }
  6676. if (GM_getValue("Check_ge_dot_tt_links", false))
  6677. {
  6678. addFileHost(
  6679. "ge\.tt\/\\w+",
  6680. 'downloads pic',
  6681. 'is NOT the same as',
  6682. 'optional--',
  6683. 'optional2--',
  6684. "//a[contains(@href,'ge.tt')]");
  6685. }
  6686. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6687. {
  6688. addFileHost(
  6689. "filefactory\.com\/\\w+",
  6690. 'div id="file_holder"|download.css',
  6691. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6692. 'Server Maintenance|temporarily overloaded',
  6693. 'Premium Account Required',
  6694. "//a[contains(@href,'filefactory.com')]");
  6695. }
  6696. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6697. {
  6698. addFileHost(
  6699. "filesflash\.net\/\\w+",
  6700. 'align:right">Filename:',
  6701. 'class="msg">',
  6702. 'optional--',
  6703. 'optional2--',
  6704. "//a[contains(@href,'filesflash.net')]");
  6705. }
  6706. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6707. {
  6708. addFileHost(
  6709. "rapidgator\\.net\/folder\/\\w+",
  6710. 'href="/folder/',
  6711. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6712. 'optional--',
  6713. 'optional2--',
  6714. "//a[contains(@href,'rapidgator.net/folder')]",
  6715. true
  6716. );
  6717. }
  6718. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6719. {
  6720. addFileHost(
  6721. "salefiles\.com\/\\w+",
  6722. 'name="method_free',
  6723. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6724. 'optional--',
  6725. 'optional2--',
  6726. "//a[contains(@href,'salefiles.com')]");
  6727. }
  6728. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6729. {
  6730. addFileHost(
  6731. "megairon\.net\/\\w+",
  6732. 'border: 5px #ffeb90 solid;',
  6733. 'CONTENT="Download File ">|var rr =',
  6734. 'error-code">523',
  6735. 'optional2--',
  6736. "//a[contains(@href,'megairon.net')]",
  6737. true);
  6738. } */
  6739. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6740. {
  6741. addFileHost(
  6742. "datoid\.cz\/\\w+",
  6743. 'btn-download|class="icon-download-large"',
  6744. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6745. 'optional--',
  6746. 'optional2--',
  6747. "//a[contains(@href,'datoid.cz')]");
  6748. }
  6749. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6750. {
  6751. addFileHost(
  6752. "stiahni\.si\/\\w+",
  6753. 'report_icon.png"|slow-download-button',
  6754. 'none.png|deleted|<h2>Error 500</h2>',
  6755. 'optional--',
  6756. 'optional2--',
  6757. "//a[contains(@href,'stiahni.si')]");
  6758. }
  6759. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6760. {
  6761. addFileHost(
  6762. "cloudstor\.es\/\\w+",
  6763. '"btn_download"',
  6764. '404: Page Not Found',
  6765. 'optional--',
  6766. 'optional2--',
  6767. "//a[contains(@href,'cloudstor.es')]");
  6768. }
  6769. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6770. {
  6771. addFileHost(
  6772. "streamfile\.com\/\\w+",
  6773. 'class="btn',
  6774. 'class="green-btn',
  6775. 'optional--',
  6776. 'optional2--',
  6777. "//a[contains(@href,'streamfile.com')]");
  6778. }
  6779. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6780. {
  6781. addFileHost(
  6782. "eyesfile\.ca\/\\w+",
  6783. 'value="Get Link',
  6784. 'var rr =',
  6785. 'optional--',
  6786. 'optional2--',
  6787. "//a[contains(@href,'eyesfile.ca')]");
  6788. }
  6789. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6790. {
  6791. addFileHost(
  6792. "filemoney\.com\/\\w+",
  6793. 'og:title',
  6794. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6795. 'error-code">1010',
  6796. 'optional2--',
  6797. "//a[contains(@href,'filemoney.com')]");
  6798. }
  6799. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6800. {
  6801. addFileHost(
  6802. "uploadboy\.com\/\\w+",
  6803. 'width="740">|method_free',
  6804. 'var rr =|background:#ffffff|not be found|file was removed',
  6805. 'optional--',
  6806. 'optional2--',
  6807. "//a[contains(@href,'uploadboy.com')]");
  6808. }
  6809. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6810. {
  6811. addFileHost(
  6812. "uploadboy\.com\/\\w+",
  6813. 'width="740">|method_free',
  6814. 'var rr =|background:#ffffff|not be found|file was removed',
  6815. 'optional--',
  6816. 'optional2--',
  6817. "//a[contains(@href,'uploadboy.me')]");
  6818. }
  6819. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6820. {
  6821. addFileHost(
  6822. "speedshare\.eu\/\\w+",
  6823. 'favicon.png|color:#3d87c0|cross.png"',
  6824. 'var rr =|File Not Found|style="background:#eee',
  6825. 'optional--',
  6826. 'optional2--',
  6827. "//a[contains(@href,'speedshare.eu')]");
  6828. }
  6829. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6830. {
  6831. addFileHost(
  6832. "unlimitzone\.com\/\\w+",
  6833. 'name="method_free',
  6834. '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',
  6835. 'optional--',
  6836. 'optional2--',
  6837. "//a[contains(@href,'unlimitzone.com')]");
  6838. }
  6839. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6840. {
  6841. addFileHost(
  6842. "rioupload\.com\/\\w+",
  6843. 'sell.jpg',
  6844. 'var rr =',
  6845. 'optional--',
  6846. 'optional2--',
  6847. "//a[contains(@href,'rioupload.com')]");
  6848. }
  6849. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6850. {
  6851. addFileHost(
  6852. "jumbofiles\.org\/\\w+",
  6853. 'H71C5.png|class="downloadtitle">',
  6854. 'var swfu|ViewSourceBIN.png',
  6855. 'optional--',
  6856. 'optional2--',
  6857. "//a[contains(@href,'jumbofiles.org')]");
  6858. }
  6859. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6860. {
  6861. addFileHost(
  6862. "fshare\\.vn\/file\/\\w+",
  6863. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6864. 'không tồn tại|class="color_red m_t_50"',
  6865. 'optional--',
  6866. 'optional2--',
  6867. "//a[contains(@href,'fshare.vn/file')]",
  6868. true
  6869. );
  6870. }
  6871. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6872. {
  6873. addFileHost(
  6874. "spaceforfiles\.com\/\\w+",
  6875. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6876. 'var rr =|AVOID_IE_BUG',
  6877. 'optional--',
  6878. 'optional2--',
  6879. "//a[contains(@href,'spaceforfiles.com')]");
  6880. }
  6881. if (GM_getValue("Check_google_dot_com_links", false))
  6882. {
  6883. addFileHost(
  6884. "google\\.com\/file\/\\w+",
  6885. 'content="!">|color:#2d2d2d',
  6886. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6887. 'optional--',
  6888. 'optional2--',
  6889. "//a[contains(@href,'google.com/file')]",
  6890. true
  6891. );
  6892. }
  6893. if (GM_getValue("Check_google_dot_com_links", false))
  6894. {
  6895. addFileHost(
  6896. "docs.google.com\/\\w+",
  6897. 'content="!">|color:#2d2d2d',
  6898. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6899. 'optional--',
  6900. 'optional2--',
  6901. "//a[contains(@href,'docs.google.com')]",
  6902. true
  6903. );
  6904. }
  6905. if (GM_getValue("Check_google_dot_com_links", false))
  6906. {
  6907. addFileHost(
  6908. "drive.google.com\/\\w+",
  6909. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6910. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6911. 'optional--',
  6912. 'optional2--',
  6913. "//a[contains(@href,'drive.google.com')]",
  6914. true
  6915. );
  6916. }
  6917. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6918. {
  6919. addFileHost(
  6920. "up.media1fire\.com\/\\w+",
  6921. 'class="addthis_|value="download',
  6922. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6923. 'optional--',
  6924. 'optional2--',
  6925. "//a[contains(@href,'up.media1fire.com')]");
  6926. }
  6927. if (GM_getValue("Check_depfile_dot_com_links", false))
  6928. {
  6929. addFileHost(
  6930. "depfile\.com\/\\w+",
  6931. 'logo_0.png|downloads.gif"|verifycode',
  6932. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6933. 'optional--',
  6934. 'available only for Premium users',
  6935. "//a[contains(@href,'depfile.com')]");
  6936. }
  6937. if (GM_getValue("Check_go4up_dot_com_links", false))
  6938. {
  6939. addFileHost(
  6940. "go4up\.com\/\\w+",
  6941. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6942. '<title>GO4UP|dmca',
  6943. 'optional--',
  6944. 'optional2--',
  6945. "//a[contains(@href,'go4up.com')]");
  6946. }
  6947. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6948. {
  6949. addFileHost(
  6950. "redbunker\.net\/\\w+",
  6951. 'name="method_free"',
  6952. 'color="red">Unknow / Bilinmiyor<',
  6953. 'optional--',
  6954. '2.3 GB',
  6955. "//a[contains(@href,'redbunker.net')]");
  6956. }
  6957. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6958. {
  6959. addFileHost(
  6960. "divxpress\.com\/\\w+",
  6961. 'btn_download|logo.png"',
  6962. 'AVOID_IE_BUG|var rr =',
  6963. 'optional--',
  6964. 'optional2--',
  6965. "//a[contains(@href,'divxpress.com')]");
  6966. }
  6967. if (GM_getValue("Check_anafile_dot_com_links", false))
  6968. {
  6969. addFileHost(
  6970. "anafile\.com\/\\w+",
  6971. 'width="881" valign="top|color="#800080"|name="go"',
  6972. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6973. 'optional--',
  6974. 'optional2--',
  6975. "//a[contains(@href,'anafile.com')]");
  6976. }
  6977. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6978. {
  6979. addFileHost(
  6980. "uploadable\\.ch\/file\/\\w+",
  6981. 'captcha.js"|payment.js"|class="btn_download"',
  6982. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6983. 'optional--',
  6984. 'optional2--',
  6985. "//a[contains(@href,'uploadable.ch/file')]",
  6986. true
  6987. );
  6988. }
  6989. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6990. {
  6991. addFileHost(
  6992. "bigfile\\.to\/file\/\\w+",
  6993. 'captcha.js"|payment.js"|class="btn_download"',
  6994. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6995. 'optional--',
  6996. 'optional2--',
  6997. "//a[contains(@href,'bigfile.to/file')]",
  6998. true
  6999. );
  7000. }
  7001. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7002. {
  7003. addFileHost(
  7004. "arabloads\.net\/\\w+",
  7005. 'name="method_free"|name="method_premium"',
  7006. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7007. 'optional--',
  7008. 'optional2--',
  7009. "//a[contains(@href,'arabloads.net')]");
  7010. }
  7011. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7012. {
  7013. addFileHost(
  7014. "sharerepo\.com\/\\w+",
  7015. 'name="method_free"',
  7016. 'var public_on=|The file you were looking for could not be found',
  7017. 'optional--',
  7018. 'optional2--',
  7019. "//a[contains(@href,'sharerepo.com')]");
  7020. }
  7021. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7022. {
  7023. addFileHost(
  7024. "sfshare\.se\/\\w+",
  7025. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7026. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7027. 'optional--',
  7028. 'optional2--',
  7029. "//a[contains(@href,'sfshare.se')]");
  7030. }
  7031. if (GM_getValue("Check_files_dot_fm_links", false))
  7032. {
  7033. addFileHost(
  7034. "files\.fm\/\\w+",
  7035. 'dl.png"|background-color: transparent',
  7036. 'margin: 40px 40px|background: none;',
  7037. 'optional--',
  7038. 'optional2--',
  7039. "//a[contains(@href,'files.fm')]");
  7040. }
  7041. if (GM_getValue("Check_koofile_dot_com_links", false))
  7042. {
  7043. addFileHost(
  7044. "koofile\.com\/\\w+",
  7045. 'value="download1">|name="method_free"',
  7046. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7047. 'optional--',
  7048. 'optional2--',
  7049. "//a[contains(@href,'koofile.com')]");
  7050. }
  7051. if (GM_getValue("Check_vidxden_dot_com_links", false))
  7052. {
  7053. addFileHost(
  7054. "vidxden\\.com\/\\w+",
  7055. 'Continue to Video"',
  7056. 'No such file',
  7057. 'optional--',
  7058. 'optional2--',
  7059. "//a[contains(@href,'vidxden.com')]"
  7060. );
  7061. }
  7062. if (GM_getValue("Check_muchshare_dot_net_links", false))
  7063. {
  7064. addFileHost(
  7065. "muchshare\\.net\/\\w+",
  7066. 'id="btn_download"',
  7067. 'File Not Found|width: 500px; text-align: left;',
  7068. 'optional--',
  7069. 'optional2--',
  7070. "//a[contains(@href,'muchshare.net')]"
  7071. );
  7072. }
  7073. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7074. {
  7075. addFileHost(
  7076. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7077. 'Details zur Datei|Details page',
  7078. 'Jetzt hochladen|upload now',
  7079. 'optional--',
  7080. 'optional2--',
  7081. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7082. );
  7083. }
  7084. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7085. {
  7086. addFileHost(
  7087. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7088. 'downloadbtn"',
  7089. 'DL_FileNotFound',
  7090. 'optional--',
  7091. 'optional2--',
  7092. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7093. );
  7094. }
  7095. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7096. {
  7097. addFileHost(
  7098. "fileflyer\.com\/view\/\\w+",
  7099. '(?:dwl|locked)btn"',
  7100. 'error.gif"|link">Removed|removedlink">',
  7101. 'optional--',
  7102. 'optional2--',
  7103. "//a[contains(@href,'fileflyer.com')]"
  7104. );
  7105. }
  7106. if (GM_getValue("Check_filestore_dot_to_links", false))
  7107. {
  7108. addFileHost(
  7109. "filestore\.to\/\\?d=\\w+",
  7110. '"downloading"',
  7111. 'Datei wurde nicht gefunden',
  7112. 'optional--',
  7113. 'optional2--',
  7114. "//a[contains(@href,'filestore.to')]"
  7115. );
  7116. }
  7117. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7118. {
  7119. addFileHost(
  7120. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7121. 'fz24">Download|class="pl15">',
  7122. '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',
  7123. 'optional--',
  7124. 'optional2--',
  7125. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7126. );
  7127. }
  7128. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  7129. {
  7130. addFileHost(
  7131. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7132. 'File size:',
  7133. 'file is not found',
  7134. 'optional--',
  7135. 'optional2--',
  7136. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7137. );
  7138. } */
  7139. if (GM_getValue("Check_datei_dot_to_links", false))
  7140. {
  7141. addFileHost(
  7142. "datei\\.to\/\\??\\w+",
  7143. 'icon_downloaden\\.png|>Download starten<',
  7144. 'Datei wurde nicht gefunden|icon_deleted.png',
  7145. 'optional--',
  7146. 'optional2--',
  7147. "//a[contains(@href,'datei.to')]"
  7148. );
  7149. }
  7150. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7151. {
  7152. addFileHost(
  7153. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7154. '<body class="body" id="body">|value="Slow Download"',
  7155. '<body class="body" >',
  7156. 'optional--',
  7157. 'optional2--',
  7158. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7159. );
  7160. }
  7161. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7162. {
  7163. addFileHost(
  7164. "uploadhero\\.com\/dl\/\\w+",
  7165. 'content-dl">',
  7166. 'men_file_lost\\.jpg"',
  7167. 'optional--',
  7168. 'optional2--',
  7169. "//a[contains(@href,'uploadhero.com/dl')]"
  7170. );
  7171. } */
  7172. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7173. {
  7174. addFileHost(
  7175. "unibytes\\.com\/[\\w\.]+",
  7176. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7177. 'File not found|Файл не найден|',
  7178. 'optional--',
  7179. 'optional2--',
  7180. "//a[contains(@href,'unibytes.com')]"
  7181. );
  7182. }
  7183. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7184. {
  7185. addFileHost(
  7186. "www\\.hellshare\\.com\/\\d+",
  7187. 'tab\\-details"',
  7188. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7189. 'optional--',
  7190. 'optional2--',
  7191. "//a[contains(@href,'www.hellshare.com')]"
  7192. );
  7193. }
  7194. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7195. {
  7196. addFileHost(
  7197. "www\\.download.cz.hellshare\\.com\/\\w+",
  7198. 'tab\\-details"',
  7199. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7200. 'optional--',
  7201. 'optional2--',
  7202. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7203. );
  7204. }
  7205. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7206. {
  7207. addFileHost(
  7208. "quickshare\\.cz\/slozka-\\d+",
  7209. 'Počet souborů: <strong>[1-9]',
  7210. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7211. 'optional--',
  7212. 'optional2--',
  7213. "//a[contains(@href,'quickshare.cz/slozka')]"
  7214. );
  7215. } */
  7216. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7217. {
  7218. addFileHost(
  7219. "filefactory\\.com\/f\/\\w+",
  7220. 'folderFileList">',
  7221. 'table class="items"|Pointer" class="red">',
  7222. 'optional--',
  7223. 'optional2--',
  7224. "//a[contains(@href,'filefactory.com/f/')]"
  7225. );
  7226. }
  7227. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7228. {
  7229. addFileHost(
  7230. "netfolder\\.in\/\\w+",
  7231. 'list" value="http',
  7232. 'InPage_Error">|list" value=""',
  7233. 'optional--',
  7234. 'optional2--',
  7235. "//a[contains(@href,'netfolder.in')]"
  7236. );
  7237. } */
  7238. if (GM_getValue("Check_load_dot_to_links", false))
  7239. {
  7240. addFileHost(
  7241. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7242. '"download_table_left">Size',
  7243. 'Can\'t find file',
  7244. 'optional--',
  7245. 'optional2--',
  7246. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7247. );
  7248. }
  7249. if (GM_getValue("Check_divshare_dot_com_links", false))
  7250. {
  7251. addFileHost(
  7252. "divshare\\.com\/download\/",
  7253. 'download_new\.png',
  7254. 'have been removed',
  7255. 'optional--',
  7256. 'optional2--',
  7257. "//a[contains(@href,'divshare.com')]"
  7258. );
  7259. }
  7260. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7261. {
  7262. addFileHost(
  7263. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7264. 'class="nazev-souboru',
  7265. '<div class="background margin-top vlevo" style="width: 600px;">',
  7266. 'optional--',
  7267. 'optional2--',
  7268. "//a[contains(@href,'euroshare.eu/file')]"
  7269. );
  7270. }
  7271. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7272. {
  7273. addFileHost(
  7274. 'files\\.mail\\.ru/(?:\\w*)',
  7275. 'fileList',
  7276. 'errorMessage',
  7277. 'optional--',
  7278. 'optional2--',
  7279. "//a[contains(@href,'files.mail.ru')]"
  7280. );
  7281. }
  7282. if (GM_getValue("Check_megashares_dot_com_links", false))
  7283. {
  7284. addFileHost(
  7285. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7286. 'Filesize',
  7287. 'Invalid|deleted|Could not download file',
  7288. 'slots|scheduled maintenance',
  7289. 'optional2--',
  7290. "//a[contains(@href,'megashares.com/')]"
  7291. );
  7292. }
  7293. if (GM_getValue("Check_narod_dot_ru_links", false))
  7294. {
  7295. addFileHost(
  7296. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7297. 'b-submit|action="resource.download"',
  7298. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7299. 'Внутренняя ошибка сервиса',
  7300. 'optional2--',
  7301. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7302. );
  7303. }
  7304. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7305. {
  7306. addFileHost(
  7307. "rayfile\\.com\/",
  7308. 'FILEtitleTXT',
  7309. 'blueRow',
  7310. 'optional--',
  7311. 'optional2--',
  7312. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7313. );
  7314. }
  7315. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7316. {
  7317. addFileHost(
  7318. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7319. 'button_green_body"',
  7320. 'error">',
  7321. 'optional--',
  7322. 'optional2--',
  7323. "//a[contains(@href,'filesmonster.com/download')]"
  7324. );
  7325. }
  7326. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7327. {
  7328. addFileHost(
  7329. 'usaupload\\.net\/d\/(?:\w*)',
  7330. '<strong>File size:</strong>',
  7331. 'is not available',
  7332. 'optional--',
  7333. 'optional2--',
  7334. "//a[contains(@href,'usaupload.net/d/')]"
  7335. );
  7336. }
  7337. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7338. {
  7339. addFileHost(
  7340. 'sendspace\\.com\/file\/\\w+',
  7341. 'file_description',
  7342. 'msg error"',
  7343. 'optional--',
  7344. 'optional2--',
  7345. "//a[contains(@href,'sendspace.com/file')]"
  7346. );
  7347. }
  7348. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7349. {
  7350. addFileHost(
  7351. 'sendspace\\.pl\/file\/\\w+',
  7352. 'download_file"',
  7353. 'Podany plik nie',
  7354. 'optional--',
  7355. 'optional2--',
  7356. "//a[contains(@href,'sendspace.pl/file')]"
  7357. );
  7358. }
  7359. if (GM_getValue("Check_uploading_dot_com_links", false))
  7360. {
  7361. addFileHost(
  7362. 'uploading\\.com\/(?:files\/)?\\w+',
  7363. 'free_method">',
  7364. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7365. 'optional--',
  7366. 'optional2--',
  7367. "//a[contains(@href,'uploading.com')]"
  7368. );
  7369. }
  7370. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7371. {
  7372. addFileHost(
  7373. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7374. 'fileId"',
  7375. 'error">',
  7376. 'optional--',
  7377. 'optional2--',
  7378. "//a[contains(@href,'gigasize.com/get')]"
  7379. );
  7380. }
  7381. if (GM_getValue("Check_good_dot_com_links", false))
  7382. {
  7383. addFileHost(
  7384. 'good\\.net\/(?:_|dl)',
  7385. 'Free Download',
  7386. 'Not Found',
  7387. 'Forbidden',
  7388. 'optional2--',
  7389. "//a[contains(@href,'good.net')]"
  7390. );
  7391. }
  7392. if (GM_getValue("Check_2shared_dot_com_links", false))
  7393. {
  7394. addFileHost(
  7395. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7396. 'File size',
  7397. 'File not found|is not valid|/images/important.gif',
  7398. 'optional--',
  7399. 'optional2--',
  7400. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7401. );
  7402. }
  7403. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7404. {
  7405. addFileHost(
  7406. 'turboupload\\.com\/\\w*',
  7407. 'You have requested',
  7408. 'File Not Found',
  7409. 'optional--',
  7410. 'optional2--',
  7411. "//a[contains(@href,'turboupload.com')]"
  7412. );
  7413. }
  7414. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7415. {
  7416. addFileHost(
  7417. 'gigapeta\\.com\/dl\/',
  7418. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7419. '404|page_error',
  7420. 'optional--',
  7421. 'optional2--',
  7422. "//a[contains(@href,'gigapeta.com/dl')]"
  7423. );
  7424. }
  7425. if (GM_getValue("Check_veehd_dot_com_links", false))
  7426. {
  7427. addFileHost(
  7428. 'veehd\.com\/video\/.*?',
  7429. 'No sound|Download video',
  7430. 'Featured Videos',
  7431. 'optional--',
  7432. 'optional2--',
  7433. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7434. );
  7435. }
  7436. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7437. {
  7438. addFileHost(
  7439. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7440. 'fast_download_form">|submit_sms_download',
  7441. '<p style="text-align:center">',
  7442. 'optional--',
  7443. 'optional2--',
  7444. "//a[contains(@href,'vip-file.com/download')]"
  7445. );
  7446. }
  7447. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7448. {
  7449. addFileHost(
  7450. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7451. 'download\\-pnl ',
  7452. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7453. 'optional--',
  7454. 'optional2--',
  7455. "//a[contains(@href,'letitbit.net/download')]"
  7456. );
  7457. }
  7458. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7459. {
  7460. addFileHost(
  7461. 'ifolder\.ru\/\\d+',
  7462. 'file-info',
  7463. 'ui-state-error',
  7464. 'optional--',
  7465. 'optional2--',
  7466. "//a[contains(@href,'ifolder.ru')]"
  7467. );
  7468. }
  7469. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7470. {
  7471. addFileHost(
  7472. 'fileswap\\.com\/dl\/\\w+',
  7473. 'bttnDownloadLink"',
  7474. 'rounded_block_error"',
  7475. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7476. 'optional2--',
  7477. "//a[contains(@href,'fileswap.com/dl')]"
  7478. );
  7479. }
  7480. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7481. {
  7482. addFileHost(
  7483. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7484. 'var __error = 0|id="recaptchaPanel">',
  7485. 'FILES__DOESNT_EXIST|removed or did not exist',
  7486. 'optional--',
  7487. 'optional2--',
  7488. "//a[contains(@href,'filecloud.io/')]"
  7489. );
  7490. addFileHost(
  7491. 'ifile\\.it\/\\w+',
  7492. 'var __error = 0',
  7493. 'FILES__DOESNT_EXIST',
  7494. 'optional--',
  7495. 'optional2--',
  7496. "//a[contains(@href,'ifile.it/')]"
  7497. );
  7498. }
  7499. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7500. {
  7501. addFileHost(
  7502. 'solidfiles\\.com\/\\w+',
  7503. 'id="download"|content="Download',
  7504. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7505. 'optional--',
  7506. 'optional2--',
  7507. "//a[contains(@href,'solidfiles.com/')]"
  7508. );
  7509. }
  7510. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7511. {
  7512. addFileHost(
  7513. "(?:.\\.|)shareflare\\.net",
  7514. 'download-pnl|<div class="premium-block">',
  7515. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7516. 'optional--',
  7517. 'optional2--',
  7518. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7519. );
  7520. }
  7521. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7522. {
  7523. addFileHost(
  7524. "u18116681.shareflare\\.net",
  7525. 'download-pnl|<div class="premium-block">',
  7526. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7527. 'optional--',
  7528. 'optional2--',
  7529. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7530. );
  7531. }
  7532. if (GM_getValue("Check_uloz_dot_to_links", false))
  7533. {
  7534. addFileHost(
  7535. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7536. 'fileDownload"|fileSize">',
  7537. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7538. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7539. 'optional2--',
  7540. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7541. true
  7542. );
  7543. }
  7544. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7545. {
  7546. addFileHost(
  7547. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7548. 'file\\-list-orderby|section-filedetail">',
  7549. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7550. 'optional--',
  7551. 'optional2--',
  7552. "//a[contains(@href,'hellspy.')]"
  7553. );
  7554. }
  7555. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7556. {
  7557. addFileHost(
  7558. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7559. '<body onload="">',
  7560. 'neexistuje|not exist',
  7561. 'optional--',
  7562. 'optional2--',
  7563. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7564. );
  7565. }
  7566. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7567. {
  7568. addFileHost(
  7569. "stahovanizasms\\.cz\/\\w+",
  7570. 'download\\.png>|font-size:11px><tr>',
  7571. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7572. 'optional--',
  7573. 'optional2--',
  7574. "//a[contains(@href,'stahovanizasms.cz')]"
  7575. );
  7576. }
  7577. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7578. {
  7579. addFileHost(
  7580. "share-links\\.biz\/\\w*",
  7581. 'online\\.gif',
  7582. '(?:offline|parts)\\.gif',
  7583. 'optional--',
  7584. 'optional2--',
  7585. "//a[contains(@href,'share-links.biz')]"
  7586. );
  7587. }
  7588. if (GM_getValue("Check_4shared_dot_com_links", false))
  7589. {
  7590. addFileHost(
  7591. "4shared\\.com\/.+\/",
  7592. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7593. 'class="warn\"|big red"|GetDataBack',
  7594. 'Service Unavailable',
  7595. 'optional2--',
  7596. "//a[contains(@href,'4shared.com')]"
  7597. );
  7598. }
  7599. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7600. {
  7601. addFileHost(
  7602. "(?:www\\d+\.|)zippyshare\.com\/",
  7603. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7604. 'not exist|Status 404',
  7605. 'optional--',
  7606. 'optional2--',
  7607. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7608. );
  7609. }
  7610. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7611. {
  7612. addFileHost(
  7613. "mediafire\.com\/",
  7614. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7615. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7616. 'set to private',
  7617. 'optional2--',
  7618. "//a[contains(@href,'mediafire.com')]"
  7619. );
  7620. }
  7621. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7622. {
  7623. addFileHost(
  7624. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7625. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7626. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7627. 'optional--',
  7628. 'GB</small>',
  7629. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7630. );
  7631. }
  7632. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7633. {
  7634. addFileHost(
  7635. "ulozisko\.sk\/",
  7636. 'Detaily',
  7637. 'neexistuje',
  7638. 'optional--',
  7639. 'optional2--',
  7640. "//a[contains(@href,'ulozisko.sk')]"
  7641. );
  7642. }
  7643. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7644. {
  7645. addFileHost(
  7646. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7647. 'download.php',
  7648. 'notfound|upload\\-suborov\\.php"',
  7649. 'optional--',
  7650. 'optional2--',
  7651. "//a[contains(@href,'upnito.sk')]"
  7652. );
  7653. }
  7654. if (GM_getValue("Check_box_dot_com_links", false))
  7655. {
  7656. addFileHost(
  7657. "box\.com\/\\w+",
  7658. 'download-file-btn|id="download_button|preview-download',
  7659. 'BIyMin.png| <div class="error_message|link has been removed',
  7660. 'optional--',
  7661. 'optional2--',
  7662. "//a[contains(@href,'app.box.com')]");
  7663. }
  7664. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7665. {
  7666. addFileHost(
  7667. "uptobox\\.com\/\\w+",
  7668. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7669. '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|لا يوجد أي ملف',
  7670. 'Maintenance',
  7671. 'optional2--',
  7672. "//a[contains(@href,'uptobox.com')]"
  7673. );
  7674. }
  7675. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7676. {
  7677. addFileHost(
  7678. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7679. 'FILE DOWNLOAD<',
  7680. 'File Does Not Exist',
  7681. 'optional--',
  7682. 'optional2--',
  7683. "//a[contains(@href,'sharecash.org/download.php')]"
  7684. );
  7685. }
  7686. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7687. {
  7688. addFileHost(
  7689. "depositfiles\\.com\/folders\/\\w+",
  7690. '<div class="progressContainer">',
  7691. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7692. 'optional--',
  7693. 'optional2--',
  7694. "//a[contains(@href,'depositfiles.com/folders')]"
  7695. );
  7696. }
  7697. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7698. {
  7699. addFileHost(
  7700. "rapidfileshare\\.net/\\w+",
  7701. '<div id="upload-header-bg">',
  7702. '<div style="width:500px;text-align:left;">',
  7703. 'optional--',
  7704. 'optional2--',
  7705. "//a[contains(@href,'rapidfileshare.net/')]"
  7706. );
  7707. }
  7708. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7709. {
  7710. addFileHost(
  7711. "stiahnito\\.sk/",
  7712. '<span class="filesize right">',
  7713. '<ol class="list-purp-2">',
  7714. 'optional--',
  7715. 'optional2--',
  7716. "//a[contains(@href,'stiahnito.sk/')]"
  7717. );
  7718. }
  7719. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7720. {
  7721. addFileHost(
  7722. "rusfolder\\.(?:com|net)",
  7723. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7724. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7725. 'optional--',
  7726. 'optional2--',
  7727. "//a[contains(@href,'rusfolder')]"
  7728. );
  7729. }
  7730. /* if (GM_getValue("Check_fileover_dot_net_links", false))
  7731. {
  7732. addFileHost(
  7733. "fileover\\.net/\\d+",
  7734. 'id="filesize"',
  7735. 'Not found or deleted|The following file is unavailable',
  7736. 'optional--',
  7737. 'optional2--',
  7738. "//a[contains(@href,'fileover.net/')]"
  7739. );
  7740. } */
  7741. if (GM_getValue("Check_catshare_dot_net_links", false))
  7742. {
  7743. addFileHost(
  7744. "catshare\\.net/\\w+",
  7745. '"icon-share',
  7746. 'alert alert-error',
  7747. 'optional--',
  7748. 'optional2--',
  7749. "//a[contains(@href,'catshare.net/')]"
  7750. );
  7751. }
  7752. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7753. {
  7754. addFileHost(
  7755. "anonfiles\\.com/\\w+",
  7756. '"download_button"',
  7757. '<legend><b>404</b>',
  7758. 'optional--',
  7759. 'optional2--',
  7760. "//a[contains(@href,'anonfiles.com')]"
  7761. );
  7762. }
  7763. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7764. {
  7765. addFileHost(
  7766. "mixturecloud\\.com/media/\\w+",
  7767. '"btn icon i_globe gray share_150',
  7768. '"s_cross_close"></span> 404:',
  7769. 'optional--',
  7770. 'optional2--',
  7771. "//a[contains(@href,'mixturecloud.com/media/')]"
  7772. );
  7773. }
  7774. if (GM_getValue("Check_akafile_dot_com_links", false))
  7775. {
  7776. addFileHost(
  7777. "akafile\\.com\/\\w+",
  7778. 'download1',
  7779. 'File Not Found',
  7780. 'optional--',
  7781. 'optional2--',
  7782. "//a[contains(@href,'akafile.com/')]"
  7783. );
  7784. }
  7785. if (GM_getValue("Check_creafile_dot_net_links", false))
  7786. {
  7787. addFileHost(
  7788. "creafile\\.net\/\\w+",
  7789. 'downloadblock',
  7790. 'errtitle',
  7791. 'optional--',
  7792. 'optional2--',
  7793. "//a[contains(@href,'creafile.net/')]"
  7794. );
  7795. }
  7796. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7797. {
  7798. addFileHost(
  7799. "hugefiles\\.net\/\\w+",
  7800. 'download1|class="btn-create-download" value="Create Download Link">',
  7801. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7802. 'optional--',
  7803. 'optional2--',
  7804. "//a[contains(@href,'hugefiles.net/')]"
  7805. );
  7806. }
  7807. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7808. {
  7809. addFileHost(
  7810. "sendmyway\\.com\/\\w+",
  7811. 'id="btn_download"',
  7812. '500px;text-align:left;"|<center><h3>',
  7813. 'optional--',
  7814. 'optional2--',
  7815. "//a[contains(@href,'sendmyway.com/')]"
  7816. );
  7817. }
  7818. if (GM_getValue("Check_upload_dot_ee_links", false))
  7819. {
  7820. addFileHost(
  7821. "upload\\.ee\/\\w+",
  7822. 'onmouseout="document.dllink.src',
  7823. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7824. 'optional--',
  7825. 'optional2--',
  7826. "//a[contains(@href,'upload.ee/')]"
  7827. );
  7828. }
  7829. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7830. {
  7831. addFileHost(
  7832. "shareplace\\.org\/\\?\\w+",
  7833. 'Download-Link',
  7834. 'Your requested file is not found|Select file to send',
  7835. 'optional--',
  7836. 'optional2--',
  7837. "//a[contains(@href,'shareplace.org/?')]"
  7838. );
  7839. }
  7840. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7841. {
  7842. addFileHost(
  7843. "uploadc\\.com\/\\w+",
  7844. 'id="prebut"',
  7845. 'File Not Found|This file has been removed due',
  7846. 'optional--',
  7847. 'optional2--',
  7848. "//a[contains(@href,'uploadc.com/')]"
  7849. );
  7850. }
  7851. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7852. {
  7853. addFileHost(
  7854. "remixshare\\.com\/\\w+",
  7855. 'id="dl2"',
  7856. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7857. 'optional--',
  7858. 'optional2--',
  7859. "//a[contains(@href,'remixshare.com/')]"
  7860. );
  7861. }
  7862. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7863. {
  7864. addFileHost(
  7865. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7866. 'Last Download :',
  7867. 'img src="\\/404.jpg"',
  7868. 'optional--',
  7869. 'optional2--',
  7870. "//a[contains(@href,'exoshare.com/download.php')]"
  7871. );
  7872. }
  7873. if (GM_getValue("Check_borncash_dot_org_links", false))
  7874. {
  7875. addFileHost(
  7876. "borncash\\.org\/download\/\\?a=\\w+",
  7877. 'class="knop_1"',
  7878. '\/error\/er00',
  7879. 'optional--',
  7880. 'optional2--',
  7881. "//a[contains(@href,'borncash.org/download/')]"
  7882. );
  7883. }
  7884. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7885. {
  7886. addFileHost(
  7887. "vidplay\.net\/\\w+",
  7888. 'solvemedia puzzle widget',
  7889. 'File not found|AVOID_IE_BUG',
  7890. 'optional--',
  7891. 'optional2--',
  7892. "//a[contains(@href,'vidplay.net')]");
  7893. }
  7894. if (GM_getValue("Check_storagon_dot_com_links", false))
  7895. {
  7896. addFileHost(
  7897. "storagon\.com\/\\w+",
  7898. 'class="icon-cloud-download"></i>|content="Download Options',
  7899. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7900. 'optional--',
  7901. 'optional2--',
  7902. "//a[contains(@href,'storagon.com')]");
  7903. }
  7904. if (GM_getValue("Check_filedais_dot_com_links", false))
  7905. {
  7906. addFileHost(
  7907. "filedais\.com\/\\w+",
  7908. 'class="btn btn-info"|name="method_free"',
  7909. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7910. 'optional--',
  7911. 'optional2--',
  7912. "//a[contains(@href,'filedais.com')]");
  7913. }
  7914. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7915. {
  7916. addFileHost(
  7917. "up.4share\.vn\/\\w+",
  7918. '<font size="2" face="Verdana">',
  7919. 'font: 13px Tahoma; color: Brown',
  7920. 'optional--',
  7921. 'optional2--',
  7922. "//a[contains(@href,'up.4share.vn')]");
  7923. }
  7924. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7925. {
  7926. addFileHost(
  7927. "share.vnn\.vn\/\\w+",
  7928. '"index,follow"|<div class="main" id="download-box">',
  7929. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7930. 'optional--',
  7931. 'optional2--',
  7932. "//a[contains(@href,'share.vnn.vn')]");
  7933. }
  7934. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7935. {
  7936. addFileHost(
  7937. "upfile\.vn\/\\w+",
  7938. 'download-timer',
  7939. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7940. 'optional--',
  7941. 'optional2--',
  7942. "//a[contains(@href,'upfile.vn')]");
  7943. }
  7944. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7945. {
  7946. addFileHost(
  7947. "aisfile\.com\/\\w+",
  7948. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7949. '<div style="width:500px;text-align:left;">|File Not Found',
  7950. 'optional--',
  7951. 'optional2--',
  7952. "//a[contains(@href,'aisfile.com')]");
  7953. }
  7954. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7955. {
  7956. addFileHost(
  7957. "usersfiles\.com\/\\w+",
  7958. 'class="btn btn-success|id="btn_download" class="btn"',
  7959. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7960. 'optional--',
  7961. 'optional2--',
  7962. "//a[contains(@href,'usersfiles.com')]");
  7963. }
  7964. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7965. {
  7966. addFileHost(
  7967. "pan.baidu\.com\/\\w+",
  7968. 'target="_blank" title=|share-personal-info',
  7969. 'share_notfound.png|background:#f9f9f9',
  7970. 'optional--',
  7971. 'optional2--',
  7972. "//a[contains(@href,'pan.baidu.com')]");
  7973. }
  7974. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7975. {
  7976. addFileHost(
  7977. "yunpan\.cn\/\\w+",
  7978. 'class="icon icon-download',
  7979. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7980. 'optional--',
  7981. 'optional2--',
  7982. "//a[contains(@href,'yunpan.cn')]");
  7983. }
  7984. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7985. {
  7986. addFileHost(
  7987. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7988. 'getElementById("downbild")|style.display',
  7989. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7990. 'optional--',
  7991. 'optional2--',
  7992. "//a[contains(@href,'file-upload.net')]");
  7993. }
  7994. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7995. {
  7996. addFileHost(
  7997. "gulfup\.com\/",
  7998. '<!-- Downlod template -->|download.gif',
  7999. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  8000. 'optional--',
  8001. 'optional2--',
  8002. "//a[contains(@href,'gulfup.com')]");
  8003. }
  8004. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  8005. {
  8006. addFileHost(
  8007. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  8008. 'dldtable">',
  8009. 'does not exist\\.',
  8010. 'optional--',
  8011. 'optional2--',
  8012. "//a[contains(@href,'datafilehost.com')]");
  8013. }
  8014. if (GM_getValue("Check_dropbox_dot_com_links", false))
  8015. {
  8016. addFileHost(
  8017. "dropbox\.com\/s\/\\w+",
  8018. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  8019. '>Nothing Here<|>Error (404)<',
  8020. 'title>Dropbox - 509|Error (403)|Error: 429',
  8021. 'optional2--',
  8022. "//a[contains(@href,'dropbox.com')]");
  8023. }
  8024. if (GM_getValue("Check_box_dot_net_links", false))
  8025. {
  8026. addFileHost(
  8027. "box\.net\/\\w+",
  8028. 'download-file-btn|id="download_button',
  8029. 'BIyMin.png| <div class="error_message',
  8030. 'optional--',
  8031. 'optional2--',
  8032. "//a[contains(@href,'box.net')]");
  8033. }
  8034. if (GM_getValue("Check_fileband_dot_com_links", false))
  8035. {
  8036. addFileHost(
  8037. "fileband\.com\/\\w+",
  8038. 'value="download1">|name="id" value=',
  8039. '<div style="width:500px;text-align:left;">|not be found',
  8040. 'optional--',
  8041. 'optional2--',
  8042. "//a[contains(@href,'fileband.com')]");
  8043. }
  8044. if (GM_getValue("Check_filedropper_dot_com_links", false))
  8045. {
  8046. addFileHost(
  8047. "filedropper\.com\/\\w+",
  8048. 'background:#ddd;|width:985px; ',
  8049. 'background-color:#FFFFFF;|margin-left: -400px;',
  8050. 'optional--',
  8051. 'optional2--',
  8052. "//a[contains(@href,'filedropper.com')]");
  8053. }
  8054. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  8055. {
  8056. addFileHost(
  8057. "tropicshare\\.com\/files\/\\d+",
  8058. 'MB</span>|GB</span>|KB</span>',
  8059. '>FNF<|size: </span>',
  8060. 'optional--',
  8061. 'optional2--',
  8062. "//a[contains(@href,'tropicshare.com')]");
  8063. }
  8064. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  8065. {
  8066. addFileHost(
  8067. "goldbytez\.com\/\\w+",
  8068. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  8069. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  8070. 'optional--',
  8071. 'optional2--',
  8072. "//a[contains(@href,'goldbytez.com')]");
  8073. }
  8074. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8075. {
  8076. addFileHost(
  8077. "worldbytez\.com\/\\w+",
  8078. '<div class="download_type">',
  8079. '<div style="width:500px;text-align:left;">',
  8080. 'optional--',
  8081. 'optional2--',
  8082. "//a[contains(@href,'worldbytez.com')]");
  8083. }
  8084. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8085. {
  8086. addFileHost(
  8087. "freefilehosting\.net\/\\w+",
  8088. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8089. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8090. 'optional--',
  8091. 'optional2--',
  8092. "//a[contains(@href,'freefilehosting.net')]");
  8093. }
  8094. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8095. {
  8096. addFileHost(
  8097. "ziddu\.com\/\\w+",
  8098. 'downloads.ziddu.com|downloadfilelinkicon',
  8099. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8100. 'optional--',
  8101. 'optional2--',
  8102. "//a[contains(@href,'ziddu.com')]");
  8103. }
  8104. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8105. {
  8106. addFileHost(
  8107. "exclusiveloader\.com\/\\w+",
  8108. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8109. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8110. 'optional--',
  8111. 'optional2--',
  8112. "//a[contains(@href,'exclusiveloader.com')]");
  8113. }
  8114. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8115. {
  8116. addFileHost(
  8117. "sharerapid\.cz\/\\w+",
  8118. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8119. 'error_div">|404 - Not Found',
  8120. 'optional--',
  8121. 'optional2--',
  8122. "//a[contains(@href,'sharerapid.cz')]");
  8123. }
  8124. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8125. {
  8126. addFileHost(
  8127. "sdilej\.cz\/\\w+",
  8128. 'class="page-download"',
  8129. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8130. 'optional--',
  8131. 'optional2--',
  8132. "//a[contains(@href,'sdilej.cz')]");
  8133. }
  8134. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8135. {
  8136. addFileHost(
  8137. "lafiles\.com\/\\w+",
  8138. '<div id="pay_modes">',
  8139. '<b class="err"></b>',
  8140. 'optional--',
  8141. 'optional2--',
  8142. "//a[contains(@href,'lafiles.com')]");
  8143. }
  8144. if (GM_getValue("Check_acefile_dot_net_links", false))
  8145. {
  8146. addFileHost(
  8147. "acefile\.net\/\\w+",
  8148. 'align=right nowrap><b>',
  8149. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8150. 'optional--',
  8151. 'optional2--',
  8152. "//a[contains(@href,'acefile.net')]");
  8153. }
  8154. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8155. {
  8156. addFileHost(
  8157. "megarapid\.cz\/\\w+",
  8158. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8159. 'error_div">|404 - Not Found',
  8160. 'optional--',
  8161. 'optional2--',
  8162. "//a[contains(@href,'megarapid.cz')]");
  8163. }
  8164. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8165. {
  8166. addFileHost(
  8167. "yadi\.sk\/\\w+",
  8168. 'nb-button _nb-small-button',
  8169. 'error code|Nothing found',
  8170. 'optional--',
  8171. 'optional2--',
  8172. "//a[contains(@href,'yadi.sk')]");
  8173. }
  8174. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8175. {
  8176. addFileHost(
  8177. "imdb\.com\/\\w+",
  8178. 'imdb.com',
  8179. '404 Error',
  8180. 'optional--',
  8181. 'optional2--',
  8182. "//a[contains(@href,'imdb.com')]");
  8183. } */
  8184. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8185. {
  8186. addFileHost(
  8187. "hitfile\.net\/\\w+",
  8188. 'class="download-file',
  8189. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8190. 'optional--',
  8191. 'optional2--',
  8192. "//a[contains(@href,'hitfile.net')]");
  8193. }
  8194. /* if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8195. {
  8196. addFileHost(
  8197. "nitroflare\.com\/\\w+",
  8198. 'Report this file</a>|KB</span>',
  8199. 'file has been removed|id="error" style="display|Probably deleted',
  8200. 'optional--',
  8201. 'left;">1.1|left;">1.2|left;">1.3|left;">1.4|left;">1.5|left;">1.6|left;">1.7|left;">1.8|left;">1.9|left;">4.19',
  8202. "//a[contains(@href,'nitroflare.com')]");
  8203. } */
  8204. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8205. {
  8206. addFileHost(
  8207. "up.top4top\.net\/\\w+",
  8208. 'start Downlod template',
  8209. 'start err template',
  8210. 'optional--',
  8211. 'optional2--',
  8212. "//a[contains(@href,'up.top4top.net')]");
  8213. }
  8214. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8215. {
  8216. addFileHost(
  8217. "filejoker\.net\/\\w+",
  8218. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8219. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8220. 'optional--',
  8221. 'id="download" class="premium-only">',
  8222. "//a[contains(@href,'filejoker.net')]");
  8223. }
  8224. if (GM_getValue("Check_free_dot_fr_links", false))
  8225. {
  8226. addFileHost(
  8227. "(?:dl.\\.|)free\\.fr",
  8228. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8229. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8230. 'optional--',
  8231. 'optional2--',
  8232. "//a[contains(@href,'dl.free.fr')]");
  8233. }
  8234. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8235. {
  8236. addFileHost(
  8237. "gboxes\.com\/\\w+",
  8238. 'You have requested|color="red">http://www.gboxes.com',
  8239. 'File Not Found|<div style="width:500px;text-align:left;">',
  8240. 'optional--',
  8241. 'optional2--',
  8242. "//a[contains(@href,'gboxes.com')]");
  8243. }
  8244. if (GM_getValue("Check_led_dot_wf_links", false))
  8245. {
  8246. addFileHost(
  8247. "led\.wf\/\\w+",
  8248. 'logo_0.png|downloads.gif"|verifycode',
  8249. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8250. 'optional--',
  8251. 'available only for Premium users',
  8252. "//a[contains(@href,'led.wf')]");
  8253. }
  8254. if (GM_getValue("Check_lan_dot_wf_links", false))
  8255. {
  8256. addFileHost(
  8257. "lan\.wf\/\\w+",
  8258. 'logo_0.png|downloads.gif"|verifycode',
  8259. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8260. 'optional--',
  8261. 'available only for Premium users',
  8262. "//a[contains(@href,'lan.wf')]");
  8263. }
  8264. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8265. {
  8266. addFileHost(
  8267. "adlink\.wf\/\\w+",
  8268. 'logo_0.png|downloads.gif"|verifycode',
  8269. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8270. 'optional--',
  8271. 'available only for Premium users',
  8272. "//a[contains(@href,'adlink.wf')]");
  8273. }
  8274. if (GM_getValue("Check_click_dot_tf_links", false))
  8275. {
  8276. addFileHost(
  8277. "click\.tf\/\\w+",
  8278. 'logo_0.png|downloads.gif"|verifycode',
  8279. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8280. 'optional--',
  8281. 'available only for Premium users',
  8282. "//a[contains(@href,'click.tf')]");
  8283. }
  8284. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8285. {
  8286. addFileHost(
  8287. "ssh\.tf\/\\w+",
  8288. 'logo_0.png|downloads.gif"|verifycode',
  8289. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8290. 'optional--',
  8291. 'available only for Premium users',
  8292. "//a[contains(@href,'ssh.tf')]");
  8293. }
  8294. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8295. {
  8296. addFileHost(
  8297. "ssh\.yt\/\\w+",
  8298. 'logo_0.png|downloads.gif"|verifycode',
  8299. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8300. 'optional--',
  8301. 'available only for Premium users',
  8302. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8303. }
  8304. if (GM_getValue("Check_yep_dot_pm_links", false))
  8305. {
  8306. addFileHost(
  8307. "yep\.pm\/\\w+",
  8308. 'logo_0.png|downloads.gif"|verifycode',
  8309. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8310. 'optional--',
  8311. 'available only for Premium users',
  8312. "//a[contains(@href,'yep.pm')]");
  8313. }
  8314. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8315. {
  8316. addFileHost(
  8317. "kyc\.pm\/\\w+",
  8318. 'logo_0.png|downloads.gif"|verifycode',
  8319. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8320. 'optional--',
  8321. 'available only for Premium users',
  8322. "//a[contains(@href,'kyc.pm')]");
  8323. }
  8324. if (GM_getValue("Check_brupload_dot_net_links", false))
  8325. {
  8326. addFileHost(
  8327. "brupload\.net\/\\w+",
  8328. 'Download Gratuito',
  8329. '<div style="width:500px;text-align:left;">',
  8330. 'optional--',
  8331. 'optional2--',
  8332. "//a[contains(@href,'brupload.net')]");
  8333. }
  8334. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8335. {
  8336. addFileHost(
  8337. "cloudzilla\.to\/\\w+",
  8338. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8339. 'File not found|/imgs/broken.png',
  8340. 'optional--',
  8341. 'optional2--',
  8342. "//a[contains(@href,'cloudzilla.to')]");
  8343. }
  8344. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8345. {
  8346. addFileHost(
  8347. "fileparadox\.in\/\\w+",
  8348. 'CONTENT="Download File|method_free_file',
  8349. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8350. 'optional--',
  8351. 'optional2--',
  8352. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8353. } */
  8354. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8355. {
  8356. addFileHost(
  8357. "clicknupload\.com\/\\w+",
  8358. 'name="method_free',
  8359. 'File Not Found',
  8360. 'optional--',
  8361. 'optional2--',
  8362. "//a[contains(@href,'clicknupload.com')]");
  8363. }
  8364. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8365. {
  8366. addFileHost(
  8367. "clicknupload\.me\/\\w+",
  8368. 'name="method_free',
  8369. 'File Not Found',
  8370. 'optional--',
  8371. 'optional2--',
  8372. "//a[contains(@href,'clicknupload.me')]");
  8373. }
  8374. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8375. {
  8376. addFileHost(
  8377. "clicknupload\.link\/\\w+",
  8378. 'name="method_free',
  8379. 'File Not Found',
  8380. 'optional--',
  8381. 'optional2--',
  8382. "//a[contains(@href,'clicknupload.link')]");
  8383. }
  8384. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8385. {
  8386. addFileHost(
  8387. "ex-load\.com\/\\w+",
  8388. 'name="method_free|<p>Download File:</p>',
  8389. 'Folder Not Found|File Not Found|Error 404',
  8390. 'optional--',
  8391. 'class="downprem wow bounceInLeft',
  8392. "//a[contains(@href,'ex-load.com')]");
  8393. }
  8394. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8395. {
  8396. addFileHost(
  8397. "hexupload\.com\/\\w+",
  8398. 'button" value="Free|type="submit" value=""',
  8399. 'File Not Found|<div style="width:500px;text-align:left;">',
  8400. 'optional--',
  8401. 'optional2--',
  8402. "//a[contains(@href,'hexupload.com')]");
  8403. }
  8404. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8405. {
  8406. addFileHost(
  8407. "wizupload\.com\/\\w+",
  8408. 'btn_download|class="downloadbtn"',
  8409. '>File Not Found<',
  8410. 'optional--',
  8411. 'optional2--',
  8412. "//a[contains(@href,'wizupload.com')]");
  8413. }
  8414. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8415. {
  8416. addFileHost(
  8417. "filecloud\.cc\/\\w+",
  8418. 'align="center"><input type="submit" name=',
  8419. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8420. 'optional--',
  8421. 'optional2--',
  8422. "//a[contains(@href,'filecloud.cc')]");
  8423. }
  8424. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8425. {
  8426. addFileHost(
  8427. "inclouddrive\.com\/\\w+",
  8428. 'initfreedownload',
  8429. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8430. 'optional--',
  8431. 'optional2--',
  8432. "//a[contains(@href,'inclouddrive.com')]");
  8433. }
  8434. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8435. {
  8436. addFileHost(
  8437. "radicalshare\.com\/\\w+",
  8438. 'value="download1|name="method_free"',
  8439. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8440. 'optional--',
  8441. 'optional2--',
  8442. "//a[contains(@href,'radicalshare.com')]");
  8443. }
  8444. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8445. {
  8446. addFileHost(
  8447. "sharemods\.com\/\\w+",
  8448. 'name="method_free"',
  8449. 'File Not Found<',
  8450. 'optional--',
  8451. 'optional2--',
  8452. "//a[contains(@href,'sharemods.com')]");
  8453. }
  8454. if (GM_getValue("Check_hostr_dot_co_links", false))
  8455. {
  8456. addFileHost(
  8457. "hostr\.co\/\\w+",
  8458. 'method="get"',
  8459. 'File not found<|error-page',
  8460. 'optional--',
  8461. 'optional2--',
  8462. "//a[contains(@href,'hostr.co')]");
  8463. }
  8464. if (GM_getValue("Check_filepi_dot_com_links", false))
  8465. {
  8466. addFileHost(
  8467. "filepi\.com\/\\w+",
  8468. 'id="button_start">',
  8469. 'File not found',
  8470. 'optional--',
  8471. 'optional2--',
  8472. "//a[contains(@href,'filepi.com')]");
  8473. }
  8474. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8475. {
  8476. addFileHost(
  8477. "tikfile\.com\/\\w+",
  8478. 'btn_download',
  8479. 'File Not Found|file was removed|Reason for deletion',
  8480. 'optional--',
  8481. 'optional2--',
  8482. "//a[contains(@href,'tikfile.com')]");
  8483. }
  8484. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8485. {
  8486. addFileHost(
  8487. "cloudsix\.me\/\\w+",
  8488. 'name="method_free"',
  8489. 'File Not Found|width:500px;text-align:left;">',
  8490. 'optional--',
  8491. 'optional2--',
  8492. "//a[contains(@href,'cloudsix.me')]");
  8493. }
  8494. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8495. {
  8496. addFileHost(
  8497. "neodrive\.co\/\\w+",
  8498. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8499. 'File not found|/imgs/broken.png',
  8500. 'optional--',
  8501. 'optional2--',
  8502. "//a[contains(@href,'neodrive.co')]");
  8503. }
  8504. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8505. {
  8506. addFileHost(
  8507. "chayfile\.com\/\\w+",
  8508. 'name="method_free"',
  8509. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8510. 'optional--',
  8511. 'optional2--',
  8512. "//a[contains(@href,'chayfile.com')]");
  8513. }
  8514. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8515. {
  8516. addFileHost(
  8517. "xfileload\.com\/\\w+",
  8518. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8519. '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..|הקובץ שחיפשת לא נמצא.',
  8520. 'optional--',
  8521. 'optional2--',
  8522. "//a[contains(@href,'xfileload.com')]");
  8523. }
  8524. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8525. {
  8526. addFileHost(
  8527. "rockfile\.eu\/\\w+",
  8528. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8529. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8530. 'optional--',
  8531. 'optional2--',
  8532. "//a[contains(@href,'rockfile.eu')]");
  8533. }
  8534. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8535. {
  8536. addFileHost(
  8537. "24uploading\.com\/\\w+",
  8538. 'File:|Download Speed:',
  8539. '<b>File Not Found</b>|file was removed',
  8540. 'optional--',
  8541. 'optional2--',
  8542. "//a[contains(@href,'24uploading.com')]");
  8543. }
  8544. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8545. {
  8546. addFileHost(
  8547. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8548. 'i/icon/dll.png"|>Start download<br',
  8549. 'no longer available<|i/ino.png"',
  8550. 'optional--',
  8551. 'optional2--',
  8552. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8553. }
  8554. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8555. {
  8556. addFileHost(
  8557. "jumbofile\.net\/\\w+",
  8558. 'button" class="" value="Free',
  8559. 'This File Was Deleted',
  8560. 'optional--',
  8561. 'optional2--',
  8562. "//a[contains(@href,'jumbofile.net')]");
  8563. } */
  8564. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8565. {
  8566. addFileHost(
  8567. "ozofiles\.com\/\\w+",
  8568. 'button" value="Free|name="method_free',
  8569. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8570. 'optional--',
  8571. 'optional2--',
  8572. "//a[contains(@href,'ozofiles.com')]");
  8573. }
  8574. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8575. {
  8576. addFileHost(
  8577. "loudupload\.net\/\\w+",
  8578. 'value="Get Links',
  8579. 'File Not Found',
  8580. 'optional--',
  8581. 'optional2--',
  8582. "//a[contains(@href,'loudupload.net')]");
  8583. }
  8584. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8585. {
  8586. addFileHost(
  8587. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8588. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8589. '>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">',
  8590. 'optional--',
  8591. 'optional2--',
  8592. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8593. }
  8594. if (GM_getValue("Check_krotix_dot_net_links", false))
  8595. {
  8596. addFileHost(
  8597. "krotix\.net\/\\w+",
  8598. 'btn btn-warning|btn-free',
  8599. 'pageErrors|This File has been removed',
  8600. 'content="Scheduled Maintenance',
  8601. 'optional2--',
  8602. "//a[contains(@href,'krotix.net')]");
  8603. } */
  8604. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8605. {
  8606. addFileHost(
  8607. "userscloud\.com\/\\w+",
  8608. 'btn_download|class="label label-success">',
  8609. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8610. 'optional--',
  8611. 'optional2--',
  8612. "//a[contains(@href,'userscloud.com')]");
  8613. }
  8614. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8615. {
  8616. addFileHost(
  8617. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8618. 'class="button download',
  8619. 'internal server error',
  8620. 'optional--',
  8621. 'optional2--',
  8622. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8623. }
  8624. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8625. {
  8626. addFileHost(
  8627. "kb.simple-aja\.info\/\\w+",
  8628. 'class="button download',
  8629. 'internal server error|<p>404</p>',
  8630. 'optional--',
  8631. 'optional2--',
  8632. "//a[contains(@href,'kb.simple')]");
  8633. }
  8634. if (GM_getValue("Check_faststore_dot_org_links", false))
  8635. {
  8636. addFileHost(
  8637. "faststore\.org\/\\w+",
  8638. 'name="method_free',
  8639. 'File Not Found',
  8640. 'optional--',
  8641. 'optional2--',
  8642. "//a[contains(@href,'faststore.org')]");
  8643. }
  8644. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8645. {
  8646. addFileHost(
  8647. "prefiles\.com\/\\w+",
  8648. 'id="method_free',
  8649. 'File not Found',
  8650. 'optional--',
  8651. 'optional2--',
  8652. "//a[contains(@href,'prefiles.com')]");
  8653. }
  8654. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8655. {
  8656. addFileHost(
  8657. "doraupload\.com\/\\w+",
  8658. 'btn_download|name="method_free',
  8659. 'class="error-code|Could Not Be Found',
  8660. 'optional--',
  8661. 'optional2--',
  8662. "//a[contains(@href,'doraupload.com')]");
  8663. }
  8664. if (GM_getValue("Check_openload_dot_io_links", false))
  8665. {
  8666. addFileHost(
  8667. "openload\.io\/\\w+",
  8668. 'btn btn-primary|class="count">|secondsleftouter',
  8669. 'class="jumbotron">|We are sorry',
  8670. 'optional--',
  8671. 'optional2--',
  8672. "//a[contains(@href,'openload.io')]");
  8673. }
  8674. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8675. {
  8676. addFileHost(
  8677. "uploads\.xxx\/\\w+",
  8678. 'downoadForFree',
  8679. 'File not found',
  8680. 'optional--',
  8681. 'optional2--',
  8682. "//a[contains(@href,'uploads.xxx')]");
  8683. }
  8684. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8685. {
  8686. addFileHost(
  8687. "zxcfiles\.com\/\\w+",
  8688. 'class="downloadbtn',
  8689. 'File Not Found',
  8690. 'optional--',
  8691. 'optional2--',
  8692. "//a[contains(@href,'zxcfiles.com')]");
  8693. }
  8694. if (GM_getValue("Check_up07_dot_net_links", false))
  8695. {
  8696. addFileHost(
  8697. "up07\.net\/\\w+",
  8698. 'name="method_free',
  8699. 'File Not Found',
  8700. 'optional--',
  8701. 'optional2--',
  8702. "//a[contains(@href,'up07.net')]");
  8703. }
  8704. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8705. {
  8706. addFileHost(
  8707. "fileupload\.pw\/\\w+",
  8708. 'value="Free"',
  8709. 'File Not Found',
  8710. 'optional--',
  8711. 'optional2--',
  8712. "//a[contains(@href,'fileupload.pw')]");
  8713. }
  8714. if (GM_getValue("Check_4upld_dot_com_links", false))
  8715. {
  8716. addFileHost(
  8717. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8718. 'alt="Download Now"|content="Download file">|btn-free-element',
  8719. '<title>Error|content="error|File not found',
  8720. 'optional--',
  8721. 'optional2--',
  8722. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8723. }
  8724. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8725. {
  8726. addFileHost(
  8727. "newfileland\.com\/\\w+",
  8728. 'name="method_free',
  8729. 'File Not Found',
  8730. 'optional--',
  8731. 'optional2--',
  8732. "//a[contains(@href,'newfileland.com')]");
  8733. } */
  8734. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8735. {
  8736. addFileHost(
  8737. "(?:.swoopshare)\\.com\/\\w+",
  8738. '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',
  8739. '<input type="file" name="f"',
  8740. 'optional--',
  8741. 'optional2--',
  8742. "//a[contains(@href,'swoopshare.com')]"
  8743. );
  8744. }
  8745. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8746. {
  8747. addFileHost(
  8748. "cloudshares\.net\/\\w+",
  8749. '"method_free|"Low Speed Download|submit" name="go',
  8750. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8751. 'optional--',
  8752. 'optional2--',
  8753. "//a[contains(@href,'cloudshares.net')]"
  8754. );
  8755. }
  8756. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8757. {
  8758. addFileHost(
  8759. "allmyvideos\.net\/\\w+",
  8760. 'Continue to Video',
  8761. 'File Not Found|class="err">Removed for',
  8762. 'optional--',
  8763. 'optional2--',
  8764. "//a[contains(@href,'allmyvideos.net')]"
  8765. );
  8766. }
  8767. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8768. {
  8769. addFileHost(
  8770. "vodlocker\.com\/\\w+",
  8771. 'Proceed to video',
  8772. 'Not Found',
  8773. 'optional--',
  8774. 'optional2--',
  8775. "//a[contains(@href,'vodlocker.com')]"
  8776. );
  8777. }
  8778. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8779. {
  8780. addFileHost(
  8781. "vidbull\.com\/\\w+",
  8782. 'Verifying Video Request',
  8783. 'File Not Found',
  8784. 'optional--',
  8785. 'optional2--',
  8786. "//a[contains(@href,'vidbull.com')]");
  8787. }
  8788. if (GM_getValue("Check_novamov_dot_com_links", false))
  8789. {
  8790. addFileHost(
  8791. "novamov\.com\/\\w+",
  8792. 'For version detection',
  8793. 'file no longer exists',
  8794. 'optional--',
  8795. 'optional2--',
  8796. "//a[contains(@href,'novamov.com')]"
  8797. );
  8798. }
  8799. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8800. {
  8801. addFileHost(
  8802. "filehoot\.com\/\\w+",
  8803. 'Continue to watch',
  8804. 'File Not Found',
  8805. 'optional--',
  8806. 'optional2--',
  8807. "//a[contains(@href,'filehoot.com')]"
  8808. );
  8809. }
  8810. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8811. {
  8812. addFileHost(
  8813. "stagevu\.com\/\\w+",
  8814. 'Video Info',
  8815. 'No video with the provided',
  8816. 'optional--',
  8817. 'optional2--',
  8818. "//a[contains(@href,'stagevu.com')]"
  8819. );
  8820. }
  8821. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8822. {
  8823. addFileHost(
  8824. "cloudtime\.to\/\\w+",
  8825. 'Download the video',
  8826. 'no longer exists',
  8827. 'optional--',
  8828. 'optional2--',
  8829. "//a[contains(@href,'cloudtime.to')]"
  8830. );
  8831. }
  8832. if (GM_getValue("Check_streamin_dot_to_links", false))
  8833. {
  8834. addFileHost(
  8835. "streamin\.to\/\\w+",
  8836. 'id="btn_download',
  8837. 'Not Found|Copyright Infringement|File Deleted',
  8838. 'optional--',
  8839. 'optional2--',
  8840. "//a[contains(@href,'streamin.to')]"
  8841. );
  8842. }
  8843. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8844. {
  8845. addFileHost(
  8846. "videoweed\.es\/\\w+",
  8847. 'version detection',
  8848. 'no longer exists',
  8849. 'optional--',
  8850. 'optional2--',
  8851. "//a[contains(@href,'videoweed.es')]"
  8852. );
  8853. }
  8854. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8855. {
  8856. addFileHost(
  8857. "nowvideo\.sx\/\\w+",
  8858. 'Download this video|value="submit">Continue',
  8859. 'no longer exists',
  8860. 'optional--',
  8861. 'optional2--',
  8862. "//a[contains(@href,'nowvideo.sx')]"
  8863. );
  8864. }
  8865. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8866. {
  8867. addFileHost(
  8868. "thevideo\.me\/\\w+",
  8869. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8870. 'File Not Found',
  8871. 'optional--',
  8872. 'optional2--',
  8873. "//a[contains(@href,'thevideo.me')]"
  8874. );
  8875. }
  8876. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8877. {
  8878. addFileHost(
  8879. "gorillavid\.in\/\\w+",
  8880. 'Wait 5 seconds',
  8881. 'File Not Found',
  8882. 'optional--',
  8883. 'optional2--',
  8884. "//a[contains(@href,'gorillavid.in')]"
  8885. );
  8886. }
  8887. if (GM_getValue("Check_thefile_dot_me_links", false))
  8888. {
  8889. addFileHost(
  8890. "thefile\.me\/\\w+",
  8891. 'Choose free or',
  8892. '',
  8893. 'optional--',
  8894. 'optional2--',
  8895. "//a[contains(@href,'thefile.me')]"
  8896. );
  8897. }
  8898. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8899. {
  8900. addFileHost(
  8901. "vidzi\.tv\/\\w+",
  8902. 'video-embed-modal row',
  8903. 'File Not Found|file was deleted',
  8904. 'optional--',
  8905. 'optional2--',
  8906. "//a[contains(@href,'vidzi.tv')]"
  8907. );
  8908. }
  8909. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8910. {
  8911. addFileHost(
  8912. "filenuke\.com\/\\w+",
  8913. 'Download File',
  8914. 'Earn with us',
  8915. 'optional--',
  8916. 'optional2--',
  8917. "//a[contains(@href,'filenuke.com')]"
  8918. );
  8919. }
  8920. if (GM_getValue("Check_vidto_dot_me_links", false))
  8921. {
  8922. addFileHost(
  8923. "vidto\.me\/\\w+",
  8924. 'Proceed to video',
  8925. 'Not Found',
  8926. 'optional--',
  8927. 'optional2--',
  8928. "//a[contains(@href,'vidto.me')]"
  8929. );
  8930. }
  8931. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8932. {
  8933. addFileHost(
  8934. "vidspot\.net\/\\w+",
  8935. 'Duration',
  8936. 'Removed for',
  8937. 'optional--',
  8938. 'optional2--',
  8939. "//a[contains(@href,'vidspot.net')]"
  8940. );
  8941. }
  8942. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8943. {
  8944. addFileHost(
  8945. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8946. 'Download File',
  8947. 'File Not Found',
  8948. 'optional--',
  8949. 'optional2--',
  8950. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8951. );
  8952. }
  8953. if (GM_getValue("Check_movpod_dot_in_links", false))
  8954. {
  8955. addFileHost(
  8956. "movpod\.in\/\\w+",
  8957. 'Continue',
  8958. 'File Not Found',
  8959. 'optional--',
  8960. 'optional2--',
  8961. "//a[contains(@href,'movpod.in')]"
  8962. );
  8963. }
  8964. if (GM_getValue("Check_down4files_dot_com_links", false))
  8965. {
  8966. addFileHost(
  8967. "down4files\.com\/\\w+",
  8968. 'down_table.png',
  8969. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8970. 'optional--',
  8971. 'optional2--',
  8972. "//a[contains(@href,'down4files.com')]"
  8973. );
  8974. }
  8975. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8976. {
  8977. addFileHost(
  8978. "storefiles\.co\/\\w+",
  8979. 'btn_download',
  8980. 'No such file|>Error<|mqmaintitle">',
  8981. 'optional--',
  8982. 'optional2--',
  8983. "//a[contains(@href,'storefiles.co')]"
  8984. );
  8985. }
  8986. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8987. {
  8988. addFileHost(
  8989. "filehost\.pw\/\\w+",
  8990. 'name="method_free',
  8991. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8992. 'optional--',
  8993. 'optional2--',
  8994. "//a[contains(@href,'filehost.pw')]"
  8995. );
  8996. }
  8997. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8998. {
  8999. addFileHost(
  9000. "inafile\.com\/\\w+",
  9001. 'value="download1">|<h2>File: <font style="color:darkred">',
  9002. '<div style="width:500px;text-align:left;">|File Not Found',
  9003. 'optional--',
  9004. 'optional2--',
  9005. "//a[contains(@href,'inafile.com')]"
  9006. );
  9007. } */
  9008. if (GM_getValue("Check_uplea_dot_com_links", false))
  9009. {
  9010. addFileHost(
  9011. "uplea\.com\/\\w+",
  9012. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  9013. 'expired link|ou est invalide',
  9014. 'optional--',
  9015. 'optional2--',
  9016. "//a[contains(@href,'uplea.com/dl')]",
  9017. true);
  9018. }
  9019. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  9020. {
  9021. addFileHost(
  9022. "toutbox\.fr\/\\w+",
  9023. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  9024. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  9025. 'Serviço temporariamente indisponível',
  9026. 'optional2--',
  9027. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  9028. );
  9029. }
  9030. if (GM_getValue("Check_openload_dot_co_links", false))
  9031. {
  9032. addFileHost(
  9033. "openload\.co\/\\w+",
  9034. 'id="downloadTimer">|button dlbutton',
  9035. 'jumbotron{color|got deleted|center !important',
  9036. 'optional--',
  9037. 'optional2--',
  9038. "//a[contains(@href,'openload.co')]"
  9039. );
  9040. }
  9041. if (GM_getValue("Check_lolabits_dot_es_links", false))
  9042. {
  9043. addFileHost(
  9044. "lolabits\.es\/\\w+",
  9045. 'Descargar:',
  9046. '<title>Archivos de usuario',
  9047. 'Service Unavailable',
  9048. 'optional2--',
  9049. "//a[contains(@href,'lolabits.es')]"
  9050. );
  9051. }
  9052. if (GM_getValue("Check_alfafile_dot_net_links", false))
  9053. {
  9054. addFileHost(
  9055. "alfafile\.net\/\\w+",
  9056. 'id="slow_download_btn',
  9057. 'class="error-box">',
  9058. 'optional--',
  9059. 'optional2--',
  9060. "//a[contains(@href,'alfafile.net')]"
  9061. );
  9062. }
  9063. if (GM_getValue("Check_multiup_dot_org_links", false))
  9064. {
  9065. addFileHost(
  9066. "multiup\.org\/\\w+",
  9067. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  9068. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  9069. 'optional--',
  9070. 'optional2--',
  9071. "//a[contains(@href,'multiup.org')]"
  9072. );
  9073. }
  9074. if (GM_getValue("Check_file_dot_al_links", false))
  9075. {
  9076. addFileHost(
  9077. "file\.al\/\\w+",
  9078. 'method_free',
  9079. 'style="width:500px;text-align:left;">',
  9080. 'optional--',
  9081. 'optional2--',
  9082. "//a[contains(@href,'file.al')]"
  9083. );
  9084. }
  9085. if (GM_getValue("Check_devilshare_dot_net_links", false))
  9086. {
  9087. addFileHost(
  9088. "devilshare\.net\/\\w+",
  9089. '<div class="large-12" id="download">',
  9090. '(Link: 0 Invalid)|File Not Found',
  9091. 'optional--',
  9092. 'optional2--',
  9093. "//a[contains(@href,'devilshare.net')]"
  9094. );
  9095. }
  9096. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  9097. {
  9098. addFileHost(
  9099. "dailyuploads\.net\/\\w+",
  9100. 'id="downloadBtnClickOrignal',
  9101. '<div style="width:500px;text-align:left;">',
  9102. 'optional--',
  9103. 'optional2--',
  9104. "//a[contains(@href,'dailyuploads.net')]"
  9105. );
  9106. }
  9107. if (GM_getValue("Check_datoteke_dot_com_links", false))
  9108. {
  9109. addFileHost(
  9110. "datoteke\.com\/\\w+",
  9111. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  9112. '&nbsp;File has been removed',
  9113. 'optional--',
  9114. '<title>Error - Datoteke',
  9115. "//a[contains(@href,'datoteke.com')]"
  9116. );
  9117. }
  9118. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  9119. {
  9120. addFileHost(
  9121. "tezfiles\.com\/\\w+",
  9122. 'virtual/low-speed-download',
  9123. 'class="alert alert-block|file is no longer available',
  9124. 'optional--',
  9125. 'This file is available<br>only for premium members',
  9126. "//a[contains(@href,'tezfiles.com')]"
  9127. );
  9128. } */
  9129. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  9130. {
  9131. addFileHost(
  9132. "sharehost\.eu\/\\w+",
  9133. '/?v=download_free&',
  9134. 'Errors occured|Wystąpiły błędy',
  9135. 'optional--',
  9136. 'optional2--',
  9137. "//a[contains(@href,'sharehost.eu')]"
  9138. );
  9139. }
  9140. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9141. {
  9142. addFileHost(
  9143. "pornfile\.cz\/\\w+",
  9144. 'Stáhnout soubor',
  9145. 'Soubor byl smazán',
  9146. 'optional--',
  9147. 'optional2--',
  9148. "//a[contains(@href,'pornfile.cz')]"
  9149. );
  9150. }
  9151. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9152. {
  9153. addFileHost(
  9154. "pornoid\.cz\/\\w+",
  9155. 'class="btn btn-large btn-download',
  9156. 'Soubor byl smazán',
  9157. 'optional--',
  9158. 'optional2--',
  9159. "//a[contains(@href,'pornoid.cz')]"
  9160. );
  9161. }
  9162. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9163. {
  9164. addFileHost(
  9165. "file-share\.top\/\\w+",
  9166. 'btn-success btn-lg download',
  9167. 'Stránka neexistuje|404 Not Found',
  9168. 'optional--',
  9169. 'optional2--',
  9170. "//a[contains(@href,'file-share.top')]"
  9171. );
  9172. }
  9173. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9174. {
  9175. addFileHost(
  9176. "bitster\.cz\/\\w+",
  9177. 'section" content="VIDEO"',
  9178. 'section" content=""',
  9179. 'optional--',
  9180. 'optional2--',
  9181. "//a[contains(@href,'bitster.cz')]"
  9182. );
  9183. }
  9184. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9185. {
  9186. addFileHost(
  9187. "rapidu\.net\/\\w+",
  9188. 'onclick="downloadFreeFile',
  9189. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9190. 'optional--',
  9191. 'optional2--',
  9192. "//a[contains(@href,'rapidu.net')]"
  9193. );
  9194. }
  9195. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9196. {
  9197. addFileHost(
  9198. "dinoshare\.cz\/\\w+",
  9199. 'class="download-button"',
  9200. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9201. 'optional--',
  9202. 'optional2--',
  9203. "//a[contains(@href,'dinoshare.cz')]"
  9204. );
  9205. }
  9206. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9207. {
  9208. addFileHost(
  9209. "bytewhale\.com\/\\w+",
  9210. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9211. 'var rawest = "0 MB',
  9212. 'optional--',
  9213. 'This file is available for premium members only',
  9214. "//a[contains(@href,'bytewhale.com')]"
  9215. );
  9216. }
  9217. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9218. {
  9219. addFileHost(
  9220. "rapidrar\.com\/\\w+",
  9221. 'value="Free Download',
  9222. '<div style="width:500px;text-align:left;">',
  9223. 'optional--',
  9224. 'optional--',
  9225. "//a[contains(@href,'rapidrar.com')]"
  9226. );
  9227. }
  9228. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9229. {
  9230. addFileHost(
  9231. "gigasize\.com\/\\w+",
  9232. 'class="estimate">',
  9233. 'class="error">',
  9234. 'optional--',
  9235. 'optional--',
  9236. "//a[contains(@href,'gigasize.com')]"
  9237. );
  9238. }
  9239. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9240. {
  9241. addFileHost(
  9242. "filesupload\.org\/\\w+",
  9243. '<a href="/download-or-watch/',
  9244. 'File not found',
  9245. 'optional--',
  9246. 'optional--',
  9247. "//a[contains(@href,'filesupload.org')]"
  9248. );
  9249. }
  9250. if (GM_getValue("Check_filecad_dot_com_links", false))
  9251. {
  9252. addFileHost(
  9253. "filecad\.com\/\\w+",
  9254. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9255. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9256. 'optional--',
  9257. 'optional--',
  9258. "//a[contains(@href,'filecad.com')]"
  9259. );
  9260. }
  9261. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9262. {
  9263. addFileHost(
  9264. "file.up09\.com\/\\w+",
  9265. 'name="method_free',
  9266. 'style="width:500px;text-align:left;">',
  9267. 'optional--',
  9268. 'optional--',
  9269. "//a[contains(@href,'file.up09.com')]"
  9270. );
  9271. }
  9272. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9273. {
  9274. addFileHost(
  9275. "lunaticfiles\.com\/\\w+",
  9276. 'name="method_free"',
  9277. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9278. 'optional--',
  9279. 'optional--',
  9280. "//a[contains(@href,'lunaticfiles.com')]"
  9281. );
  9282. }
  9283. if (GM_getValue("Check_upload_dot_af_links", false))
  9284. {
  9285. addFileHost(
  9286. "upload\.af\/\\w+",
  9287. 'id="method_free"',
  9288. '<h1>File Not Found</',
  9289. 'optional--',
  9290. 'optional--',
  9291. "//a[contains(@href,'upload.af')]"
  9292. );
  9293. }
  9294. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9295. {
  9296. addFileHost(
  9297. "filedwon\.info\/\\w+",
  9298. 'name="method_free"',
  9299. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9300. 'optional--',
  9301. 'optional--',
  9302. "//a[contains(@href,'filedwon.info')]"
  9303. );
  9304. }
  9305. if (GM_getValue("Check_uplod_dot_it_links", false))
  9306. {
  9307. addFileHost(
  9308. "uplod\.it\/\\w+",
  9309. 'value="download2">|name="method_free',
  9310. '<Title>Download </Title>',
  9311. 'optional--',
  9312. 'optional--',
  9313. "//a[contains(@href,'uplod.it')]"
  9314. );
  9315. }
  9316. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9317. {
  9318. addFileHost(
  9319. "abelhas\.pt\/\\w+",
  9320. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9321. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9322. 'optional--',
  9323. 'optional--',
  9324. "//a[contains(@href,'abelhas.pt')]"
  9325. );
  9326. }
  9327. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9328. {
  9329. addFileHost(
  9330. "disk.yandex\.com\/\\w+",
  9331. 'nb-button _nb-small-button',
  9332. 'error code|Nothing found',
  9333. 'optional--',
  9334. 'optional2--',
  9335. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9336. }
  9337. /* if (GM_getValue("Check_k2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9338. {
  9339. addFileHost(
  9340. "k2s\.cc\/\\w+",
  9341. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9342. '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',
  9343. 'method="post">Displaying',
  9344. 'optional2--',
  9345. "//a[contains(@href,'k2s.cc')]");
  9346. }
  9347. if (GM_getValue("Check_keep2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9348. {
  9349. addFileHost(
  9350. "keep2s\.cc\/\\w+",
  9351. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9352. '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',
  9353. 'method="post">Displaying',
  9354. 'optional2--',
  9355. "//a[contains(@href,'keep2s.cc')]");
  9356. }
  9357. if (GM_getValue("Check_keep2share_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9358. {
  9359. addFileHost(
  9360. "keep2share\.cc\/\\w+",
  9361. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9362. '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',
  9363. 'method="post">Displaying',
  9364. 'optional2--',
  9365. "//a[contains(@href,'keep2share.cc')]");
  9366. }
  9367. if (GM_getValue("Check_keep2share_dot_com_links", false)) //this is here so host will work past redirect service antiref.com
  9368. {
  9369. addFileHost(
  9370. "keep2share\.com\/\\w+",
  9371. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9372. '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',
  9373. 'method="post">Displaying',
  9374. 'optional2--',
  9375. "//a[contains(@href,'keep2share.com')]");
  9376. } */
  9377. if (GM_getValue("Check_filespace_dot_com_links", false))
  9378. {
  9379. addFileHost(
  9380. "filespace\.com\/\\w+",
  9381. 'name="method_free',
  9382. '<div style="text-align:left;"><ul>|>File not found.<',
  9383. 'optional1--',
  9384. 'optional2--',
  9385. "//a[contains(@href,'filespace.com')]");
  9386. }
  9387. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9388. {
  9389. addFileHost(
  9390. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9391. 'name="downloadFile|id="downloadFile|value="Wait',
  9392. '<title>File not found</title>|>Error:<',
  9393. 'optional1--',
  9394. 'optional2--',
  9395. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9396. }
  9397. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9398. {
  9399. addFileHost(
  9400. "ncrypt\.in\/\\w+",
  9401. 'Sicherheitsabfrage:|Securitycheck:',
  9402. 'does not exist|existiert nicht',
  9403. 'optional1--',
  9404. 'optional2--',
  9405. "//a[contains(@href,'ncrypt.in')]");
  9406. }
  9407.  
  9408. }
  9409. //start here
  9410.  
  9411. //hosts with direct download, so they must be requested for headers only
  9412. function initFileHostsHeadersOnly()
  9413. {
  9414. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9415. {
  9416. var host = new Array(5);
  9417. host[0] = linkRegex;
  9418. host[1] = isAliveRegex;
  9419. host[2] = isDeadRegex;
  9420. host[3] = xpathEx;
  9421. host[4] = ispremRegex;
  9422. http_file_hosts_headers_only.push(host);
  9423. }
  9424. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9425. {
  9426. addFileHostHeadersOnly(
  9427. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9428. 'Connection: Keep-Alive',
  9429. 'Content-Length: 3857',
  9430. "//a[contains(@href,'uloziste.com')]"
  9431. )
  9432. }
  9433. if (GM_getValue("Check_adrive_dot_com_links", false))
  9434. {
  9435. addFileHostHeadersOnly(
  9436. "adrive\\.com\/public\/\\w+",
  9437. 'Connection: keep-alive',
  9438. 'orig_ref=deleted',
  9439. "//a[contains(@href,'adrive.com')]"
  9440. )
  9441. }
  9442. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9443. {
  9444. addFileHostHeadersOnly(
  9445. "myupload\\.dk\/showfile\/\\w+",
  9446. 'Expires:',
  9447. 'squeeze1\\s+Vary',
  9448. "//a[contains(@href,'myupload.dk/showfile')]"
  9449. )
  9450. }
  9451. }
  9452. //CustomRules
  9453. //functions add...Host copied here
  9454. function addObsoleteHost(linkRegex, xpathEx)
  9455. {
  9456. var host = new Array(2);
  9457. host[0] = linkRegex;
  9458. host[1] = xpathEx;
  9459. http_file_hosts_obsolete.push(host);
  9460. }
  9461. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9462. {
  9463. var host = new Array(7);
  9464. host[0] = linkRegex;
  9465. host[1] = isAliveRegex;
  9466. host[2] = isDeadRegex;
  9467. host[3] = isUnavaRegex;
  9468. host[4] = xpathEx;
  9469. tryLoop ? host[5] = true : host[5] = false;
  9470. host[6] = ispremRegex;
  9471. http_file_hosts.push(host);
  9472. }
  9473. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9474. {
  9475. var host = new Array(5);
  9476. host[0] = linkRegex;
  9477. host[1] = isAliveRegex;
  9478. host[2] = isDeadRegex;
  9479. host[3] = xpathEx;
  9480. host[4] = ispremRegex;
  9481. http_file_hosts_headers_only.push(host);
  9482. }
  9483. //takes a fully built rules array and adds the rules to WARLC
  9484. function applyCustomRules(customRules)
  9485. {
  9486. if (!customRules) return;
  9487. var rules, r, i;
  9488. rules = customRules.rules;
  9489. for (i = 0 ; i < rules.length ; i++)
  9490. {
  9491. r = rules[i];
  9492. if (r.enabled)
  9493. {
  9494. switch (r.type)
  9495. {
  9496. case 'single':
  9497. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9498. break;
  9499. case 'headers':
  9500. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9501. break;
  9502. case 'obsolete':
  9503. addObsoleteHost(r.urlregex, r.xpath)
  9504. break;
  9505. }
  9506. }
  9507. }
  9508. }
  9509.  
  9510.  
  9511. function initFileHostsCustom()
  9512. {
  9513. if (Custom_rules && Custom_rules_text)
  9514. {
  9515. var msg = '';
  9516. if (newVersion)
  9517. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9518. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9519. msg = '60 or more days have passed since this notification.\n\n';
  9520. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9521. {
  9522. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9523. msg +=
  9524. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9525. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9526. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9527. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9528. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9529. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9530. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9531. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9532. setTimeout(function(){alert(msg)},0);
  9533. }
  9534. var customRules = parseCustomRules(Custom_rules_text);
  9535. if (customRules.warning || customRules.error)
  9536. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9537. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9538. JSON.stringify(customRules.info, null, ' '));
  9539. applyCustomRules(customRules);
  9540. }
  9541. }
  9542. //end of CustomRules processing
  9543.  
  9544.  
  9545.  
  9546. } //end of function start
  9547.  
  9548.  
  9549.  
  9550. function initClipBoardTools()
  9551. {
  9552. unsafeWindow.copyToClipboard = function(text)
  9553. {
  9554. try
  9555. {
  9556. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9557.  
  9558. var str = Components.classes["@mozilla.org/supports-string;1"].
  9559. createInstance(Components.interfaces.nsISupportsString);
  9560. if (!str) return false;
  9561.  
  9562. str.data = text;
  9563.  
  9564. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9565. createInstance(Components.interfaces.nsITransferable);
  9566. if (!trans) return false;
  9567.  
  9568. trans.addDataFlavor("text/unicode");
  9569. trans.setTransferData("text/unicode", str, text.length * 2);
  9570.  
  9571. var clipid = Components.interfaces.nsIClipboard;
  9572. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9573. if (!clip) return false;
  9574.  
  9575. clip.setData(trans, null, clipid.kGlobalClipboard);
  9576. } catch (e) {
  9577. GM_log("Error copyToClipboard : " + e);
  9578. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9579. }
  9580. }
  9581. }
  9582.  
  9583.  
  9584.  
  9585. //CustomRules
  9586.  
  9587. function escapeRegex(str)
  9588. {
  9589. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9590. }
  9591.  
  9592.  
  9593. //called internally from parseCustomRules.
  9594. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9595. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9596. function makeCustomRule(rule)
  9597. {
  9598. function makeMatchRegex(arrmatch)
  9599. {
  9600. return escapeRegex(arrmatch.join('\n'))
  9601. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9602. .replace(/\n/g,'|'); //join together
  9603. }
  9604. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9605. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9606. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9607. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9608. if (rule.baseurl)
  9609. {
  9610. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9611. for (i = 0 ; i < len ; i++)
  9612. {
  9613. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9614. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9615. {
  9616. 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'])
  9617. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9618. }
  9619. else //baseurl in the form: example.com/xxx
  9620. {
  9621. xpath.push(m[0]);
  9622. urlregex.push(escapeRegex(m[0]) + '.');
  9623. }
  9624. }
  9625. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9626. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9627. }
  9628. return rule;
  9629. } //function makeCustomRule
  9630.  
  9631.  
  9632. /*
  9633. Takes a string containing custom link checking rules.
  9634. Returns an object with fields:
  9635. info - contains notes, warnings and errors found during parsing
  9636. rules - the array of custom rules
  9637. note, warning, error - number of each of them found during parsing
  9638. Format of the input string:
  9639. One command per line. Command format: @keyword parameter
  9640. Keywords:
  9641. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9642. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9643. These keywords can be multiple (any of them will work):
  9644. @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...)
  9645. @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+
  9646. @alivelink, @deadlink - example links
  9647. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9648. Lines starting with // and empty lines are ignored.
  9649. Invalid parameters generate errors and those lines are skipped.
  9650. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9651. Example:
  9652. @customrule filehost
  9653. @baseurl filehost.com/download/
  9654. @baseurl filehost2. com net /d?=
  9655. @alivematch id="download">
  9656. @deadmatch File not found
  9657. @deadmatch File deleted
  9658. */
  9659. function parseCustomRules(rulesStr)
  9660. {
  9661. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9662. function addInfo(type, msg, ln){
  9663. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9664. customRules[type]++;
  9665. }
  9666. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9667. if (!lines) return null;
  9668. lines.push('@#customrule _'); //to save the last rule
  9669. var m, linecount = lines.length;
  9670. var keyword, param, constr, rule, err;
  9671. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9672. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9673. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9674. var constraints = {
  9675. 'baseurl': {
  9676. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9677. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9678. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9679. 'alivematch': {
  9680. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9681. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9682. 'deadmatch': {
  9683. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9684. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9685. 'unavamatch': {
  9686. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9687. 'alivelink': {
  9688. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9689. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9690. 'deadlink': {
  9691. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9692. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9693. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9694. };
  9695. for (linenum = 0 ; linenum < linecount ; linenum++)
  9696. {
  9697. //capturing groups: 1 23 4 5 6
  9698. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9699. if (m)
  9700. {
  9701. if (m[1] || !m[2])
  9702. continue; // ignore empty lines and lines starting with //
  9703. keyword = (m[4] || m[2]).toLowerCase();
  9704. param = m[6];
  9705. if (keyword == 'customrule')
  9706. {
  9707. //save the current rule if all required fields are provided
  9708. if (rule)
  9709. {
  9710. err = false;
  9711. $.each(constraints, function(kw, constraint){
  9712. var l, constr = constraint[rule.type];
  9713. if (constr)
  9714. {
  9715. l = rule[kw] ? rule[kw].length : 0;
  9716. if (l < constr.min || l > constr.max)
  9717. {
  9718. 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);
  9719. err = true;
  9720. }
  9721. }
  9722. });
  9723. if (!err)
  9724. customRules.rules.push(makeCustomRule(rule));
  9725. }
  9726. //start a new rule
  9727. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9728. {
  9729. rule = {
  9730. 'enabled': !m[3],
  9731. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9732. 'name': param
  9733. };
  9734. }
  9735. else
  9736. {
  9737. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9738. rule = null;
  9739. }
  9740. }
  9741. else //good line format, but keyword other than customrule
  9742. {
  9743. if (!rule)
  9744. {
  9745. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9746. continue;
  9747. }
  9748. if (constraints[keyword])
  9749. {
  9750. constr = constraints[keyword][rule.type];
  9751. if (constr)
  9752. {
  9753. if (constr.paramRE && !constr.paramRE.test(param))
  9754. {
  9755. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9756. continue;
  9757. }
  9758. }
  9759. else
  9760. {
  9761. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9762. continue;
  9763. }
  9764. }
  9765. //line OK, save
  9766. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9767. }
  9768. } //if (m)
  9769. else
  9770. addInfo('warning', 'Unknown line format. Line skipped.');
  9771. } //for loop
  9772. return customRules;
  9773. } //function parseCustomRules
  9774.  
  9775.  
  9776. /* ********************UPDATES********************
  9777.  
  9778. april 11, 2016
  9779. Version 1.2.6.9
  9780. changed code for ncrypt.in
  9781.  
  9782. april 07, 2016
  9783. Version 1.2.6.8
  9784. added fileinz.com to obsolete hosts.
  9785.  
  9786. april 06, 2016
  9787. Version 1.2.6.7
  9788. added sharingmaster.com to obsolete hosts.
  9789.  
  9790. april 05, 2016
  9791. Version 1.2.6.6
  9792. added 4upfiles.com & elffiles.com to obsolete hosts
  9793.  
  9794. april 03, 2016
  9795. Version 1.2.6.5
  9796. updates to configuration page
  9797.  
  9798. March 31, 2016
  9799. Version 1.2.6.4
  9800. added code for tampermonkey 4.0 compatibility
  9801.  
  9802. March 31, 2016
  9803. Version 1.2.6.3
  9804. fixed uloz.to
  9805. fixed copy dead links to clipboard feature
  9806. added copy live links to clipboard feature.
  9807.  
  9808. March 24, 2016
  9809. Version 1.2.6.2
  9810. changed made to nitroflare. (yurri)
  9811.  
  9812. March 20, 2016
  9813. Version 1.2.6.1
  9814. fixed rapidgator
  9815. fixed dfiles
  9816. fixed dl.free.fr
  9817. fixed nitroflare.com (Fixed by Yurii)
  9818.  
  9819. March 15, 2016
  9820. Version 1.2.6.0
  9821. fixed rapidgator.net
  9822. fixed uploaded.net
  9823.  
  9824. March 13, 2016
  9825. Version 1.2.5.9
  9826. added
  9827. uploads.ws
  9828. upl.me
  9829. clicknupload.link
  9830. added fileover.net to obsolete hosts
  9831. fixed kingfiles.net
  9832.  
  9833. March 09, 2016
  9834. Version 1.2.5.8
  9835. added kingfiles.net to obsolete hosts
  9836. fixed 4upld.com/expressleech.com
  9837.  
  9838. March 08, 2016
  9839. Version 1.2.5.7
  9840. fixed solidfiles.com
  9841.  
  9842. March 01, 2016
  9843. Version 1.2.5.6
  9844. added filespace.com
  9845. fixed depositfiles (by yurii)
  9846.  
  9847. February 29, 2016
  9848. Version 1.2.5.5
  9849. made change to keep2share
  9850.  
  9851. February 28, 2016
  9852. Version 1.2.5.4
  9853. removed down4files.com from obsolete hosts.
  9854.  
  9855. February 26, 2016
  9856. Version 1.2.5.3
  9857. fixed userscloud.com
  9858.  
  9859. February 24, 2016
  9860. Version 1.2.5.2
  9861. added yandex.com
  9862. fixed datafile.com
  9863.  
  9864. February 22, 2016
  9865. Version 1.2.5.1
  9866. added bigfile.to
  9867.  
  9868. February 20, 2016
  9869. Version 1.2.5.0
  9870. added abelhas.pt
  9871.  
  9872. February 18, 2016
  9873. Version 1.2.4.9
  9874. made change to uptobox
  9875.  
  9876. February 17, 2016
  9877. Version 1.2.4.8
  9878. fixed yadi.sk
  9879.  
  9880. February 16, 2016
  9881. Version 1.2.4.7
  9882. fixed datafile.com
  9883. fixed filecad.com
  9884. added filecore.co & filestorm.to to obsolete hosts
  9885. added upload.af, filedwon.in & uplod.it
  9886.  
  9887. February 15, 2016
  9888. Version 1.2.4.6
  9889. fixed kumpulbagi.id
  9890. added sangfile.com to obsolete hosts
  9891.  
  9892. February 14, 2016
  9893. Version 1.2.4.5
  9894. fixed yandex.ru
  9895.  
  9896. February 13, 2016
  9897. Version 1.2.4.4
  9898. added lunaticfiles.com.
  9899.  
  9900. February 09, 2016
  9901. Version 1.2.4.3
  9902. added file.up09.com.
  9903.  
  9904. February 09, 2016
  9905. Version 1.2.4.2
  9906. tezfiles.com premium links now detected.
  9907.  
  9908. February 09, 2016
  9909. Version 1.2.4.1
  9910. added seenupload.com to obsolete hosts
  9911. fixed 180upload.com to show obsolete
  9912.  
  9913. February 08, 2016
  9914. Version 1.2.4.0
  9915. added tusfiles.com
  9916. added filesupload.org
  9917. added gigasize.com
  9918. added filecad.com
  9919. fixed filecloud.io
  9920. added uploadnet.co to obsolete hosts
  9921.  
  9922. February 07,2016
  9923. Vession 1.2.3.9
  9924. fixed depositfiles.com folders
  9925. fixed turbobit.net folders
  9926.  
  9927. February 06, 2016
  9928. Version 1.2.3.8
  9929. fixed 1fichier false dead links
  9930.  
  9931. February 04, 2106
  9932. Version 1.2.3.7
  9933. added geupload and lenfile to obsolete hosts
  9934. fixed kyc.pm/depfile
  9935.  
  9936. February 03, 2016
  9937. Version 1.2.3.6
  9938. fixed some nitroflare.com dead links not being detected
  9939.  
  9940. February 01, 2016
  9941. Version 1.2.3.5
  9942. script moved to new site
  9943.  
  9944. January 20, 2016
  9945. Version 1.2.3.3
  9946. fixed some rapidgator premium link not being detected
  9947.  
  9948. January 17, 2016
  9949. Version 1.2.3.2
  9950. added bytewhale.com
  9951. added rapidrar.com
  9952.  
  9953. Version 1.2.3.1
  9954. added 180upload.com to obsolete hosts
  9955. fixed hellspy.com
  9956. added dinoshare.cz,
  9957.  
  9958. January 13, 2016
  9959. Version 1.2.3.0
  9960. added rapidu.net
  9961. added uploadboy.me
  9962. fixed euroshare.eu
  9963.  
  9964. January 12, 2016
  9965. Version 1.2.2.9
  9966. added kb.simple-aja.info
  9967.  
  9968. January 10, 2016
  9969. Version 1.2.2.8
  9970. made changes to fastshare.cz
  9971.  
  9972. January 10, 2016
  9973. Version 1.2.2.7
  9974. fixed uptobox.com
  9975.  
  9976. January 09, 2016
  9977. Version 1.2.2.6
  9978. datoteke.com now detects premium links
  9979. fixed turbobit.net
  9980. fixed uptobox.com
  9981. added pornfile.cz
  9982. added pornoid.cz
  9983. added file-share.top
  9984. added bitster.cz
  9985.  
  9986. January 05, 2016
  9987. Version 1.2.2.5
  9988. fixed salefiles.com
  9989. fixed ozofile.com
  9990.  
  9991. January 04, 2016
  9992. Version 1.2.2.4
  9993. added sharehost.eu
  9994.  
  9995. December 30, 2015
  9996. Version 1.2.2.3
  9997. added tezfiles.com
  9998.  
  9999. December 28, 2015
  10000. Version 1.2.2.2
  10001. fixed some k2s & fboom dead link not getting detected
  10002. fixed some k2s premium links not getting detected.
  10003. fixed ssh.yt not detecting some dead links
  10004. fixed ncrypt.in dead links showing yellow
  10005.  
  10006. December 20, 2015
  10007. Version 1.2.2.0
  10008. added datoteke.com
  10009.  
  10010. December 19, 2015
  10011. Version 1.2.1.9
  10012. added secured.in & linksave.in to obsolete hosts
  10013.  
  10014. December 17, 2015
  10015. Version 1.2.1.8
  10016. added german for dead links to secureupload.eu.
  10017.  
  10018. December 17, 2015
  10019. Version 1.2.1.7
  10020. added french for dead links to secureupload.eu.
  10021. fixed problem with tooltip display.
  10022.  
  10023. December 13, 2015
  10024. Version 1.2.1.6
  10025. added netload.me & fileparadox.in to obsolete hosts
  10026.  
  10027. December 09, 2015
  10028. Version 1.2.1.5
  10029. added rapidsonic.com & fileparadox.com to obsolete hosts
  10030.  
  10031. December 04, 2015
  10032. Version 1.2.1.4
  10033. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10034.  
  10035. December 03, 2015
  10036. Version 1.2.1.3
  10037. added dailyuploads.net
  10038.  
  10039. December 02, 2015
  10040. Version 1.2.1.2
  10041. fixed hitfile.net
  10042. fixed kingfiles.net
  10043.  
  10044. November 30, 2015
  10045. Version 1.2.1.1
  10046. added filepost.com to obsolete hosts
  10047. added devilshare.net
  10048.  
  10049. November 28, 2015
  10050. Version 1.2.1.0
  10051. fixed datafile.com not detecting some premium links.
  10052.  
  10053. November 25, 2015
  10054. Version 1.2.0.9
  10055. fixed filejoker.net
  10056. fixed toutbox.fr
  10057. fixed nowvideo.sx
  10058.  
  10059. November 24, 2015
  10060. Version 1.2.0.8
  10061. fixed openload.io
  10062.  
  10063. November 20, 2015
  10064. Version 1.2.0.7
  10065. //added file.al
  10066. //fixed nitroflare.com false live links
  10067. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10068.  
  10069. November 17, 2015
  10070. Version 1.2.0.6
  10071. added clicknupload.me
  10072.  
  10073. November 09, 2015
  10074. Version 1.2.0.5
  10075. fixed some depfile premium links not being detected
  10076.  
  10077. November 08, 2015
  10078. Version 1.2.0.4
  10079. fixed some rapidgator premium links not being detected
  10080. fixed doraupload.com
  10081.  
  10082. November 08, 2015
  10083. Version 1.2.0.3
  10084. fixed uploaded false premium
  10085.  
  10086. November 07, 2015
  10087. Version 1.2.0.2
  10088. fixed redbunker.net
  10089.  
  10090. November 05, 2015
  10091. Version 1.2.0.1
  10092. fixed app.box.com
  10093. added multiup.org (does not detect all dead links)
  10094.  
  10095. November 01, 2015
  10096. Version 1.2.0.0
  10097. added more languages to rockfile and 1fichier
  10098.  
  10099. November 01, 2015
  10100. Version 1.1.9.9
  10101. fixed rockfile.eu
  10102. changed 1fichier code (Thanks yurri)
  10103. added to obsolete hosts... (Thanks Love Buzz)
  10104. burnupload.com
  10105. cramit.in
  10106. cramitin.net
  10107. down4files.com
  10108. edoc.com
  10109. jumbofile.net
  10110. krotix.net
  10111. migahost.com
  10112. movreel.com
  10113. netload.in
  10114. newfileland.com
  10115. quickshare.cz
  10116.  
  10117. October 30, 2015
  10118. Version 1.1.9.8
  10119. added alfafile.net
  10120.  
  10121. October 26, 2015
  10122. Version 1.1.9.7
  10123. changed datafile.com and uplea.com
  10124. added lolabits.es
  10125.  
  10126. October 26, 2015
  10127. Version 1.1.9.6
  10128. added toutbox.fr
  10129.  
  10130. October 25, 2015
  10131. Version 1.1.9.5
  10132. fixed counter error
  10133.  
  10134. October 25, 2015
  10135. Version 1.1.9.4
  10136. changed uptobox.com code
  10137.  
  10138. October 21, 2015
  10139. Version 1.1.9.3
  10140. fixed uptobox.com
  10141.  
  10142. October 20, 2015
  10143. Version 1.1.9.2
  10144. bug fixes and new method of detecting premium links.
  10145.  
  10146. October 15, 2015
  10147. Version 1.1.9.1
  10148. fixed hugefiles.net false premium
  10149. changed uptobox.com code
  10150.  
  10151. October 06, 2015
  10152. Version 1.1.9.0
  10153. fixed filefactory
  10154. fixed rockfile false premium
  10155. keep2share & fileboom now detect premium links (fixed by yurii)
  10156.  
  10157. October 01, 2015
  10158. Version 1.1.8.9
  10159. fixed free.fr false premium
  10160. fixed thevideo.me false premium
  10161.  
  10162. September 28, 2015
  10163. Version 1.1.8.8
  10164. added uplea.com and openload.co
  10165.  
  10166. September 27, 2015
  10167. Version 1.1.8.7
  10168. fixed fileparadox.in false premium
  10169. added kingfiles.net to obsolete hosts
  10170. removed inafile.com from obsolete hosts
  10171.  
  10172. September 22, 2015
  10173. Version 1.1.8.6
  10174. fixed nitroflare false premium
  10175.  
  10176. September 22, 2015
  10177. Version 1.1.8.5
  10178. fixed userscloud.com false premium
  10179. fixed usersfiles.com false premium
  10180. changed arabloads.com to arabloads.net
  10181. changed nowdownloads.eu to nowdownloads.ch
  10182.  
  10183. September 21, 2015
  10184. Version 1.1.8.3
  10185. added ryushare.com to obsolete hosts.
  10186.  
  10187. September 20, 2015
  10188. Version 1.1.8.2
  10189. fixed nitroflare not showing premium links
  10190. added down4files.com,storfiles.co,filehost.pw
  10191.  
  10192. September 16, 2015
  10193. Version 1.1.8.1
  10194. added crisshare.com to obsolete hosts
  10195. fixed filemoney.com false premium
  10196. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10197.  
  10198. September 14, 2015
  10199. Version 1.1.8.0
  10200. added to obsolete hosts...
  10201. sharebeast.com
  10202. tufiles.ru
  10203.  
  10204. September 12, 2015
  10205. Version 1.1.7.9
  10206. fixed rghost.net false premium
  10207. fixed unlimitzone.com false premium
  10208. fixed turbobit.net false live link
  10209.  
  10210. September 11, 2015
  10211. Version 1.1.7.8
  10212. Fixed filefactory.com false premium.
  10213.  
  10214. September 07, 2015
  10215. Version 1.1.7.7
  10216. fixed "depositfiles.com/en/files" links not checking
  10217.  
  10218. September 06, 2015
  10219. Version 1.1.7.6
  10220. added French code for 1fichier
  10221.  
  10222. August 29, 2015
  10223. Version 1.1.7.5
  10224. fixed depositfiles
  10225. fixed mega.co.nz/mega.nz
  10226. (fixed by yurii)
  10227.  
  10228. August 23, 2015
  10229. Version 1.1.7.4
  10230. Fixed uploadrocket (by yurii)
  10231.  
  10232. August 20, 2015
  10233. Version 1.1.7.3
  10234. fixed depfile.com false premium
  10235. fixed 1fichier false premium
  10236. fixed rapidgator false premium
  10237.  
  10238. August 08, 2015
  10239. Version 1.1.7.1
  10240. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10241.  
  10242. August 07, 2015
  10243. Version 1.1.7.0
  10244. fixed...
  10245. streamin.to
  10246. thefile.me
  10247. vidzi.tv
  10248. added...
  10249. filenuke.com
  10250. vidto.me
  10251. vidspot.net
  10252. sharesix.com
  10253. sharesix.net
  10254. movpod.in,
  10255.  
  10256. August 07, 2015
  10257. Version 1.1.6.9 added...
  10258. thefile.me
  10259. vidzi.tv
  10260. videoweed.es
  10261. vodlocker.com
  10262. nowvideo.sx
  10263. cloudtime.to
  10264. thevideo.me
  10265. vidbull.com
  10266. allmyvideos.net
  10267. novamov.com
  10268. filehoot.com
  10269. stagevu.com
  10270. gorillavid.in
  10271. streamin.to
  10272.  
  10273. August 02, 2015
  10274. Version 1.1.6.8
  10275. added cloudshares.net
  10276.  
  10277. August 01, 2015
  10278. Version 1.1.6.7
  10279. fixed depfile redirectors false premium
  10280.  
  10281. July 31, 2015
  10282. Version 1.1.6.6
  10283. fixed depfile.com false premium
  10284. */