W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  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.7
  29. // ==/UserScript==
  30.  
  31. var War_version = "1.2.6.7 April 06, 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. "yandex.com",
  41. "down4files.com",
  42. 'filespace.com',
  43. "uplod.it",
  44. "rapidu.net",
  45. "uploads.ws|upl.me",
  46. "file.up09.com",
  47. "lunaticfiles.com",
  48. "filecad.com",
  49. "filesupload.org",
  50. "gigasize.com",
  51. "bytewhale.com",
  52. "rapidrar.com",
  53. "download.cz.hellshare.com",
  54. "pornfile.cz",
  55. "dinoshare.cz",
  56. "kb.simple-aja.info",
  57. "bitster.cz",
  58. "file-share.top",
  59. "pornoid.cz",
  60. "dailyuploads.net",
  61. "sharehost.eu",
  62. "tezfiles.com",
  63. "devilshare.net",
  64. "alfafile.net",
  65. "openload.co",
  66. "multiup.org",
  67. "uplea.com",
  68. "filenuke.com",
  69. "file.al",
  70. // "inafile.com",
  71. "lolabits.es",
  72. "vidto.me",
  73. "storefiles.co",
  74. "filehost.pw",
  75. "vidspot.net",
  76. "turbobit.ru",
  77. "sharesix.com|sharesix.net",
  78. "movpod.in",
  79. "thefile.me",
  80. "datoteke.com",
  81. "vidzi.tv",
  82. "videoweed.es",
  83. "vodlocker.com",
  84. "nowvideo.sx",
  85. "cloudtime.to",
  86. "thevideo.me",
  87. "vidbull.com",
  88. "allmyvideos.net",
  89. "novamov.com",
  90. "filehoot.com",
  91. "stagevu.com",
  92. "gorillavid.in",
  93. "streamin.to",
  94. "4upld.com|expressleech.com",
  95. "cloudshares.net",
  96. "swoopshare.com",
  97. "2shared.com",
  98. "fileupload.pw",
  99. "zxcfiles.com",
  100. "up07.net",
  101. "4shared.com",
  102. "adrive.com",
  103. "aisfile.com",
  104. "hexupload.com",
  105. "bezvadata.cz",
  106. "xkeepfile.com|Gamesena.com",
  107. "usersfiles.com",
  108. "pan.baidu.com",
  109. "radicalshare.com",
  110. "datei.to",
  111. "daten-hoster.de|filehosting.org|xtraupload.de",
  112. "demo.ovh.eu",
  113. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  114. "divshare.com",
  115. "easy-share.com|crocko.com",
  116. "easybytez.com",
  117. "edisk.cz",
  118. "euroshare.eu",
  119. "file-upload.net",
  120. "yadi.sk",
  121. "wizupload.com",
  122. "fastshare.cz",
  123. "filefactory.com",
  124. "share.vnn.vn",
  125. "yunpan.cn",
  126. "gulfup.com",
  127. "tropicshare.com",
  128. "cloudzilla.to",
  129. "inclouddrive.com",
  130. "fileflyer.com",
  131. "filerio.com|filekeen.com",
  132. "up.4share.vn",
  133. "upfile.vn",
  134. "datafilehost.com",
  135. "fileband.com",
  136. "worldbytez.com",
  137. "files.mail.ru",
  138. "filesflash.com",
  139. "box.com",
  140. "uptobox.com",
  141. "box.net",
  142. "goldbytez.com",
  143. "sdilej.cz",
  144. "ex-load.com",
  145. "filesmonster.com",
  146. "filestore.to",
  147. "hulkload.com",
  148. "filedropper.com",
  149. "free-uploading.com",
  150. "gamefront.com|filefront.com",
  151. "gettyfile.ru",
  152. "gigapeta.com",
  153. "gigasize.com",
  154. "hellshare.com",
  155. "hellspy.com",
  156. "hitfile.net",
  157. "hostuje.net",
  158. "freefilehosting.net",
  159. "free.fr",
  160. "hulkshare.com",
  161. "hyperfileshare.com",
  162. "filecloud.io|ifile.it",
  163. "ifolder.ru",
  164. "jumbofiles.com",
  165. "uploadrocket.net",
  166. "lafiles.com",
  167. "leteckaposta.cz|sharegadget.com",
  168. "letitbit.net",
  169. "load.to",
  170. "mediafire.com",
  171. "megafileupload.com",
  172. "megashares.com",
  173. "movshare.net",
  174. "muchshare.net",
  175. "myupload.dk",
  176. "narod.ru|narod.yandex.ru",
  177. "fboom.me|fileboom.me",
  178. "openfile.ru",
  179. "partage-facile.com",
  180. "plunder.com",
  181. "sharerapid.cz",
  182. "exclusiveloader.com",
  183. "acefile.net",
  184. "queenshare.com",
  185. "rapidgator.net",
  186. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  187. "oboom.com",
  188. "filepi.com",
  189. "neodrive.co",
  190. "rarefile.net",
  191. "rayfile.com",
  192. "rghost.net",
  193. "sendmyway.com",
  194. "clicknupload.com",
  195. "clicknupload.me",
  196. "clicknupload.link",
  197. "sharemods.com",
  198. "hostr.co",
  199. "sendspace.com",
  200. "sharecash.org",
  201. "share-links.biz",
  202. "share-online.biz|egoshare.com",
  203. "megarapid.cz",
  204. "shareflare.net",
  205. "solidfiles.com",
  206. "led.wf",
  207. "lan.wf",
  208. "adlink.wf",
  209. "click.tf",
  210. "kyc.pm",
  211. "ssh.tf",
  212. "ssh.yt",
  213. "yep.pm",
  214. "stahovanizasms.cz",
  215. "turbobit.net",
  216. "filecloud.cc",
  217. "tikfile.com",
  218. "cloudsix.me",
  219. "turboupload.com",
  220. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  221. "ulozisko.sk",
  222. "uloziste.com",
  223. "unibytes.com",
  224. "upload-il.net|przeslij.net",
  225. "uploaded.to|ul.to",
  226. "uploading.com",
  227. "chayfile.com",
  228. "rockfile.eu",
  229. "24uploading.com",
  230. "uploadspace.pl",
  231. "upnito.sk",
  232. "usaupload.net",
  233. "veehd.com",
  234. "videobb.com",
  235. "vip-file.com",
  236. "webshare.cz",
  237. "xdisk.cz",
  238. "yunfile.com|filemarkets.com",
  239. "ziddu.com",
  240. "zippyshare.com",
  241. "rodfile.com",
  242. "wikiupload.com",
  243. "uploadstube.de",
  244. "faststore.org",
  245. "flyfiles.net",
  246. "nowdownload.ch",
  247. "prefiles.com",
  248. "axifile.com",
  249. "hackerbox.org",
  250. "amonshare.com",
  251. "data.hu",
  252. "brupload.net",
  253. "userscloud.com",
  254. "netkups.com",
  255. "xfileload.com",
  256. "kumpulbagi.com|kumpulbagi.id",
  257. "uppit.com|up.ht",
  258. "downloadani.me",
  259. "filesabc.com",
  260. "verzend.be",
  261. "4up.me",
  262. "extmatrix.com",
  263. "sendfiles.nl",
  264. "yourfilestore.com",
  265. "filebig.net",
  266. "nekaka.com",
  267. "file4safe.com",
  268. "tusfiles.net|tusfiles.com",
  269. "filemac.com",
  270. "idup.in",
  271. "fileswap.com",
  272. "ozofiles.com",
  273. "loudupload.net",
  274. "nosupload.com",
  275. "gboxes.com",
  276. "myvdrive.com|fileserving.com",
  277. "filesin.com",
  278. "novafile.com",
  279. "longfiles.com",
  280. // "uploadhero.com",
  281. "uploadbaz.com",
  282. "bitupload.com",
  283. "indowebster.com",
  284. "superload.cz",
  285. "mafiastorage.com",
  286. "filesmelt.com",
  287. "hellupload.com",
  288. "uploadingit.com",
  289. "stiahni.si",
  290. "sendspace.pl",
  291. "fastshare.org",
  292. "filejoker.net",
  293. "filestore.com.ua",
  294. "secureupload.eu",
  295. "rapidfileshare.net",
  296. "stiahnito.sk",
  297. "rusfolder.com",
  298. "catshare.net",
  299. "anonfiles.com",
  300. "mixturecloud.com",
  301. "filedais.com",
  302. // "imdb.com",
  303. "nitroflare.com",
  304. "akafile.com",
  305. "creafile.net",
  306. "hugefiles.net",
  307. "vidxden.com",
  308. "up.top4top.net",
  309. "upload.ee",
  310. "shareplace.org",
  311. "uploadc.com",
  312. "remixshare.com",
  313. "exoshare.com",
  314. "borncash.org",
  315. "junocloud.me",
  316. "2downloadz.com",
  317. "mightyupload.com",
  318. "anysend.com",
  319. "datafile.com",
  320. "upstore.net",
  321. "upsto.re",
  322. "speedy.sh",
  323. "sanshare.com",
  324. // "uploadhero.co",
  325. "ge.tt",
  326. "filesflash.net",
  327. "salefiles.com",
  328. // "megairon.net",
  329. "datoid.cz",
  330. "cloudstor.es",
  331. "streamfile.com",
  332. "eyesfile.ca",
  333. "filemoney.com",
  334. "uploadboy.com",
  335. "uploadboy.me",
  336. "speedshare.eu",
  337. "google.com",
  338. "unlimitzone.com",
  339. "rioupload.com",
  340. "rg.to",
  341. "jumbofiles.org",
  342. "fshare.vn",
  343. "spaceforfiles.com",
  344. "up.media1fire.com",
  345. "depfile.com",
  346. "go4up.com",
  347. "dropbox.com",
  348. "redbunker.net",
  349. "divxpress.com",
  350. "mega.nz|mega.co.nz",
  351. "anafile.com",
  352. "uploadable.ch",
  353. "bigfile.to",
  354. "arabloads.net",
  355. "sharerepo.com",
  356. "sfshare.se",
  357. "files.fm",
  358. "koofile.com",
  359. "vidplay.net",
  360. "storagon.com",
  361. "doraupload.com",
  362. "openload.io",
  363. "uploads.xxx",
  364. "toutbox.fr",
  365. ];
  366.  
  367. try
  368. {
  369. //iframes excluded
  370. if (window.top != window.self)
  371. {
  372. return;
  373. }
  374. //allHostNames sites excluded
  375. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  376. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  377. ")"))
  378. {
  379. return;
  380. }
  381. }
  382. catch (e)
  383. {
  384. return;
  385. }
  386.  
  387. //separate alternative domains with "|" char (first name is considered being main)
  388. var allContainerNames = [
  389. "adf.ly",
  390. "linkcrypt.ws",
  391. "linksafe.me",
  392. // "linksave.in",
  393. "linkto.net",
  394. "madlink.sk",
  395. "multiload.cz",
  396. "mirrorcreator.com",
  397. "ncrypt.in",
  398. "redi.re",
  399. "relink.us",
  400. "safelinking.net",
  401. "theloo.katt.it",
  402. "bit.ly",
  403.  
  404. ];
  405.  
  406. //separate alternative domains with "|" char (first name is considered being main)
  407. var allObsoleteNames = [
  408. "uloz.cz",
  409. "secured.in",
  410. "fileover.net",
  411. "linksave.in",
  412. "seenupload.com",
  413. "sangfile.com",
  414. "filepost.com|fp.io",
  415. "sharingmaster.com ",
  416. "filestorm.to",
  417. "uploadnet.co",
  418. "180upload.com",
  419. "rapidsonic.com",
  420. "fileparadox.com",
  421. "4upfiles.com",
  422. "geupload.com",
  423. "lenfile.com",
  424. "fileparadox.in",
  425. "uploadhero.co",
  426. "uploadhero.com",
  427. "newfileland.com",
  428. "quickshare.cz",
  429. "elffiles.com",
  430. "netload.in",
  431. "netload.me",
  432. "movreel.com",
  433. "migahost.com",
  434. "krotix.net",
  435. "jumbofile.net",
  436. "edoc.com",
  437. "cramit.in|cramitin.net",
  438. "freakshare.com",
  439. "burnupload.com|burnupload.ihiphop.com",
  440. "freakshare.net",
  441. "daj.to",
  442. "bl.st",
  443. "2drive.net",
  444. "ryushare.com",
  445. "crisshare.com",
  446. "tufiles.ru",
  447. "uncapped-downloads.com",
  448. "sockshare.com",
  449. "ddlstorage.com",
  450. "dataport.cz",
  451. "dizzcloud.com",
  452. "sharebeast.com",
  453. "stahovadlo.cz",
  454. "shared.com",
  455. "storage.to",
  456. "putlocker.com",
  457. "lumfile.com",
  458. "lumfile.se",
  459. "lumfile.eu",
  460. "firedrive.com",
  461. "fileshare.in.ua",
  462. "filecore.co.nz",
  463. "filecore.co",
  464. "iskladka.cz",
  465. "file-rack.com",
  466. "fast-load.net",
  467. "subory.sk",
  468. "bigandfree.com",
  469. "fileop.com",
  470. "mujsoubor.cz",
  471. "sendfile.to",
  472. "superfastfile.com",
  473. "quickyshare.com",
  474. "duckload.com",
  475. "uploadstore.net",
  476. "meinupload.com",
  477. "dualshare.com",
  478. "2xupload.to|2xupload.de",
  479. "oxedion.com",
  480. "uploadline.com",
  481. "dll.bz",
  482. "movieshare.in",
  483. "milledrive.com",
  484. "quickupload.net",
  485. "safelink.in",
  486. "metadivx.com",
  487. "divxlink.com",
  488. "uploadrack.com",
  489. "teradepot.com",
  490. "dataup.to",
  491. "upit.to",
  492. "driveway.com",
  493. "eatlime.com",
  494. "a2zuploads.com",
  495. "friendlyfiles.net",
  496. "flyfile.us",
  497. "speedyshare.com",
  498. "uploadspace.eu",
  499. "keepfile.com",
  500. "piggyshare.com",
  501. "uplly.com",
  502. "filecrown.com",
  503. "6giga.com",
  504. "uploadjockey.com",
  505. "bluehost.to",
  506. "filegu.ru",
  507. "filebase.to",
  508. "up-file.com",
  509. "xvideos.com",
  510. "ufox.com",
  511. "filebling.com",
  512. "loaded.it",
  513. "uploadcell.com",
  514. "uploadshare.cz",
  515. "mangoshare.com",
  516. "filestab.com",
  517. "crazyupload.com",
  518. "gaiafile.com",
  519. "sharejunky.com",
  520. "fileho.com",
  521. "bigandfree.com",
  522. "bigfile.in",
  523. "bigshare.eu",
  524. "dahosting.org",
  525. "digisofts.net",
  526. "file4save.com",
  527. "filechip.com",
  528. "filescloud.com",
  529. "saveqube.com",
  530. "turboshare.de",
  531. "z-upload.com",
  532. "youshare.com",
  533. "jiffyupload.com",
  534. "gigeshare.com",
  535. "datenklo.net",
  536. "upload.dj",
  537. "loadfiles.in",
  538. "upit.to",
  539. "dsfileshare.com",
  540. "sharesimple.net",
  541. "4files.net",
  542. "wooupload.com",
  543. "odsiebie.com",
  544. "filenavi.com",
  545. "3oof.com",
  546. "meshwaar.com",
  547. "maxupload.com",
  548. "share.cx",
  549. "atserver.eu",
  550. "hotfiles.ws",
  551. "esnips.com",
  552. "tuxfile.com",
  553. "file2upload.net",
  554. "filebling.com",
  555. "turboshare.com",
  556. "rarhost.com",
  557. "isharehd.com",
  558. "i741.com",
  559. "dataup.de",
  560. "fofly.com",
  561. "shareonall.com",
  562. "sexuploader.com",
  563. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  564. "uploadhyper.com",
  565. "filespawn.com",
  566. "caizzii.com",
  567. "volnyweb.cz",
  568. "usershare.net",
  569. "filescash.net",
  570. "metahyper.com",
  571. "combozip.com",
  572. "x7.to",
  573. "uploadbox.com",
  574. "enterupload.com|flyupload.com",
  575. "filepoint.de",
  576. "mystream.to",
  577. "x-fs.com",
  578. "shareator.com",
  579. "srapid.eu",
  580. "sosame.cz",
  581. "filesdump.com",
  582. "2-klicks.de",
  583. "uploking.com",
  584. "silofiles.com",
  585. "upfile.in",
  586. "filehook.com",
  587. "uploadking.com",
  588. "uploadhere.com",
  589. "kewlshare.com",
  590. "rapidable.com",
  591. "uploadwaste.com",
  592. "filemup.com",
  593. "filesonic.com|sharingmatrix.com",
  594. "fileserve.com",
  595. "wupload.com",
  596. "skipfile.com",
  597. "smartuploader.com",
  598. "dualshare.com",
  599. "storeandserve.com",
  600. "mountfile.com",
  601. "transitfiles.com",
  602. "uploadstation.com",
  603. "filejungle.com",
  604. "shareshared.com",
  605. "quickyshare.com",
  606. "save.am",
  607. "petandrive.com",
  608. "file2box.com",
  609. "flyshare.cz",
  610. "yabadaba.ru",
  611. "cloudcache.cc",
  612. "yourfilehost.com",
  613. "jakfile.com",
  614. "kickload.com",
  615. "pyramidfiles.com",
  616. "refile.net",
  617. "zshare.net",
  618. "ddlani.me|ddlanime.com",
  619. "ftp2share.com",
  620. "fooget.com",
  621. "rapidhide.com",
  622. "gotupload.com",
  623. "mooload.com",
  624. "zupload.com",
  625. "mytempdir.com",
  626. "onionshare.com",
  627. "stahnu.to",
  628. "oron.com",
  629. "badongo.com",
  630. "filereactor.com",
  631. "filegaze.com",
  632. "4bytez.com",
  633. "1hostclick.com",
  634. "anonstream.com",
  635. "batshare.com",
  636. "bitroad.net",
  637. "brontofile.com",
  638. "cloudnxt.net",
  639. "cloudnator.com|shragle.com",
  640. "filesfrog.net",
  641. "coolshare.cz",
  642. "dotavi.com",
  643. "ezyfile.net",
  644. "file-bit.net",
  645. "filecosy.com",
  646. "fileduct.com|fileduct.net",
  647. "filefat.com",
  648. "filelaser.com",
  649. "filemashine.com",
  650. "fileserver.cc",
  651. "filetechnology.com",
  652. "fireuploads.net",
  653. "gigfiles.net",
  654. "holderfile.com",
  655. "ihostia.com",
  656. "k2files.com",
  657. "mojofile.com",
  658. "ovfile.com",
  659. "qshare.com",
  660. "shafiles.me",
  661. "sharefilehost.com",
  662. "shareupload.com",
  663. "stahuj.to",
  664. "ugotfile.com",
  665. "uploadboost.com",
  666. "fileom.com",
  667. "vidhog.com",
  668. "xfileshare.eu",
  669. "bzlink.us",
  670. "bulletupload.com",
  671. "bloggerarticles.com",
  672. "mojedata.sk",
  673. "sharpfile.com",
  674. "upgrand.com",
  675. "nasdilej.cz",
  676. "mediatack.cz",
  677. "share-it.to",
  678. "primeupload.com",
  679. "filebeer.info",
  680. "baberepublic",
  681. "xtu.me",
  682. "sharebase.de",
  683. "luckyshare.net",
  684. "filerobo.com",
  685. "filevelocity.com",
  686. "filezpro.com",
  687. "file4sharing.com",
  688. "cing.be",
  689. "ufile.eu",
  690. "pigsonic.com",
  691. "fileupped.com",
  692. "sharerun.com",
  693. "filesaur.com",
  694. "rapidslnare.com",
  695. "bestsharing.com",
  696. "savefiles.net",
  697. "file2share.biz",
  698. "filecache.de",
  699. "monsteruploads.eu",
  700. "b9bb.com",
  701. "aiotool.net",
  702. "jamber.info",
  703. "megaftp.com",
  704. "desiupload.net",
  705. "file27.com",
  706. "yastorage.com",
  707. "filehost.ws",
  708. "copyload.com",
  709. "venusfile.com",
  710. "aieshare.com",
  711. "terafile.co",
  712. "terafile.com",
  713. "fileza.net",
  714. "filerose.com",
  715. "squillion.com",
  716. "fileprohost.com",
  717. "bitbonus.com",
  718. "warserver.cz",
  719. "uload.to",
  720. "sharedbit.net",
  721. "megaload.it",
  722. "filewinds.com",
  723. "uploadcore.com",
  724. "syfiles.com",
  725. "eyesfile.com",
  726. "hotfile.com",
  727. "superupl.com",
  728. "oteupload.com",
  729. "henchfile.com",
  730. "filegag.com",
  731. "HenchFile.com",
  732. "filedefend.com",
  733. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  734. "megabitshare.com",
  735. "cloudzer.com",
  736. "asfile.com",
  737. "cloudzer.net",
  738. "clz.to",
  739. "extabit.com",
  740. "247upload.com",
  741. "2download.de",
  742. "4fastfile.com",
  743. "asixfiles.com",
  744. "berofile.com",
  745. "bigupload.com",
  746. "cepzo.com",
  747. "clouds.to",
  748. "cobrashare.sk",
  749. "coraldrive.net",
  750. "cyberlocker.ch",
  751. "czshare.com",
  752. "darkport.org",
  753. "dark-uploads.com",
  754. "davvas.com",
  755. "enigmashare.com",
  756. "erofly.cz",
  757. "fastsonic.net",
  758. "filebox.com",
  759. "filecity.net",
  760. "filedap.com",
  761. "filedino.com",
  762. "filedownloads.org",
  763. "filefolks.com",
  764. "fileking.co",
  765. "filemates.com",
  766. "files.to",
  767. "files2k.eu",
  768. "filesector.cc",
  769. "bitshare.com",
  770. "filesega.com",
  771. "filesend.net",
  772. "filestay.com",
  773. "filestrum.com",
  774. "fileuplo.de",
  775. "fileupup.com",
  776. "forunesia.com",
  777. "freeuploads.fr",
  778. "uploa.dk",
  779. "getthebit.com",
  780. "getzilla.net",
  781. "goldfile.eu",
  782. "good.com",
  783. "grupload.com",
  784. "hellfile.com",
  785. "hipfile.com",
  786. "hitfile.com",
  787. "hulkfile.eu|duckfile.net",
  788. "i-filez.com",
  789. "ifile.ws",
  790. "kupload.org",
  791. "packupload.com",
  792. "lemuploads.com",
  793. "limelinx.com",
  794. "maxshare.pl",
  795. "megarelease.org",
  796. "megashare.com",
  797. "minus.com",
  798. "mlfat4arab.com",
  799. "multishare.cz",
  800. "nirafile.com",
  801. "ok2upload.com",
  802. "peejeshare.com",
  803. "premiuns.org",
  804. "przeklej.net",
  805. "qkup.net",
  806. "rapidupload.sk",
  807. "rockdizfile.com",
  808. "rocketfile.net",
  809. "share-now.net",
  810. "share76.com",
  811. "sharebees.com",
  812. "sharefiles.co",
  813. "slingfile.com",
  814. "sms4file.com",
  815. "space4file.com",
  816. "tigershare.net",
  817. "toucansharing.com",
  818. "ubuntuone.com",
  819. "unextfiles.com",
  820. "upaj.pl",
  821. "upfile.biz",
  822. "uploadbin.net",
  823. "uploadic.com",
  824. "uploadinc.com",
  825. "uploading4u.eu",
  826. "uploadjet.net",
  827. "uploadorb.com",
  828. "upthe.net",
  829. "uptorch.com",
  830. "vidbox.yt",
  831. "videozer.com",
  832. "vreer.com",
  833. "wallobit.com",
  834. "zooupload.com",
  835. "privatefiles.com",
  836. "xerver.co",
  837. "BillionUploads.com",
  838. "rapidshare.com",
  839. "rapidshare.ru",
  840. "4savefile.com",
  841. "bayfiles.com",
  842. "bayfiles.net",
  843. "dodane.pl",
  844. "dotsemper.com",
  845. "egofiles.com",
  846. "epicshare.net",
  847. "fiberupload.net",
  848. "filemonkey.in",
  849. "filemonster.net",
  850. "filepom.com",
  851. "filesbb.com",
  852. "fileshareup.com",
  853. "filevice.com",
  854. "gigaup.fr",
  855. "isavelink.com",
  856. "loombo.com",
  857. "megafiles.se",
  858. "migupload.com",
  859. "mydisc.net",
  860. "nitrobits.com",
  861. "potload.com",
  862. "redload.net",
  863. "shareprofi.com",
  864. "sharesuper.info",
  865. "sinhro.net",
  866. "speedfile.cz",
  867. "speedshare.org",
  868. "storage.novoro.net",
  869. "swankshare.com",
  870. "swatupload.com",
  871. "upafile.com",
  872. "uploadmachine.com",
  873. "uploadsat.com",
  874. "upshared.com",
  875. "usefile.com",
  876. "yourfiles.to",
  877. "zomgupload.com",
  878. "ultramegabit.com",
  879. "uploadto.us",
  880. "inafile.com",
  881. "megairon.net",
  882.  
  883. ];
  884. ///////////////////////////////////////////////////////////////////////////////////////
  885. var firstRun = GM_getValue("First_run", true);
  886.  
  887. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  888. //////////////////////////////////////////////////////////////////////////////////////
  889. try
  890. {
  891. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  892. var last_known_version = GM_getValue("last_known_version", "");
  893. if (!last_known_version)
  894. {
  895. last_known_version = thisVersion;
  896. GM_setValue("last_known_version", last_known_version);
  897. }
  898. //var newVersion = !(thisVersion == last_known_version);
  899. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  900. GM_setValue("last_known_version", thisVersion);
  901. }
  902. catch (err)
  903. {
  904. var newVersion = false;
  905. }
  906.  
  907. var now = (new Date()).getTime();
  908. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  909. if (!last_custom_rules_nag)
  910. {
  911. last_custom_rules_nag = now;
  912. GM_setValue('last_custom_rules_nag', ''+now);
  913. }
  914.  
  915.  
  916. allHostNames.sort();
  917. allContainerNames.sort();
  918. allObsoleteNames.sort();
  919.  
  920. var RAND_STRING = "8QyvpOSsRG3QWq";
  921. var DEBUG_MODE = false;
  922.  
  923. var TOOLTIP_MAXWIDTH = 600; //in pixels
  924. var TOOLTIP_THUMBWIDTH = 200;
  925. var containers_processed = false;
  926.  
  927. //settings for keyboard functions start
  928. var CHECK_ALL_LINKS_KEY = "A";
  929. var CONFIGURATION_KEY = "C";
  930. var copy_to_dead_key = "D";
  931. var copy_to_live_key = "L";
  932. var toggle_autocheck_key = "W";
  933. var toggle_Enable_Anonymizer_key = "Z";
  934. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  935. var first_key_keycodename = 'CTRL';
  936. var second_key_keycode = '18';
  937. var second_key_keycodename = 'ALT';
  938. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  939. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  940. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  941. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  942. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  943. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  944. //settings for keyboard functions end
  945.  
  946. //global settings start
  947. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  948. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  949. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  950. var Show_progress_stats, Display_tooltip_info, Icon_set;
  951. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  952. var Progress_box_refresh_rate;
  953. var Obsolete_file_hosts;
  954. var Custom_rules, Custom_rules_text;
  955.  
  956. var messageBox = document.createElement('b'); // top-left message box
  957.  
  958. var cLinksTotal = 0;
  959. var cLinksDead = 0;
  960. var cLinksAlive = 0;
  961. var cLinksUnava = 0;
  962. var cLinksprem = 0;
  963. var cLinksProcessed = 0;
  964.  
  965. var intervalId; //for updateProgress()
  966.  
  967. //icon resources
  968. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7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cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  982.  
  983. //global settings end
  984. if (window.opera && !window.console)
  985. {
  986. window.console = {};
  987.  
  988. function fn()
  989. {
  990. opera.postError(arguments);
  991. };
  992. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  993. {
  994. window.console[name] = fn;
  995. });
  996. }
  997.  
  998. //displays colored text in message box
  999. function sendMessage(text, color)
  1000. {
  1001. var msgDiv = document.createElement('div');
  1002. msgDiv.style.color = color;
  1003. msgDiv.innerHTML = text;
  1004. messageBox.appendChild(msgDiv);
  1005. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1006. }
  1007.  
  1008. function linkify(totalourls)
  1009. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1010. var ikkeTilladteTags;
  1011. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1012. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1013. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1014. allLinksRegex = new RegExp(allLinksRegex, "g");
  1015. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1016.  
  1017. if (Do_not_linkify_DL_links)
  1018. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1019. else
  1020. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1021.  
  1022. var regex = new RegExp(regexy);
  1023. var textNode, muligtLink;
  1024.  
  1025. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1026. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1027.  
  1028. var i = textNodes.snapshotLength;
  1029. while (i--)
  1030. {
  1031. textNode = textNodes.snapshotItem(i);
  1032.  
  1033. muligtLink = textNode.nodeValue; //all links on page
  1034.  
  1035. var myArray = null;
  1036. var span = null;
  1037. var lastLastIndex = 0;
  1038. allLinksRegex.lastIndex = 0;
  1039. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1040. {
  1041. if (textNode.parentNode.className == "adead_link") continue;
  1042. var censoredLink = muligtLink;
  1043. var span = document.createElement('span');
  1044. span.className = "adead_link";
  1045. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1046. $(span).html(censoredLink);
  1047. span.addEventListener("mouseover", displayTooltipError, false);
  1048. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1049. textNode.parentNode.replaceChild(span, textNode);
  1050. continue;
  1051. alert(censoredLink);
  1052. }
  1053. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1054. {
  1055. if (!regex.test(myArray[0])) //this link is not recognized
  1056. {
  1057.  
  1058. continue;
  1059. }
  1060. if (!span)
  1061. span = document.createElement('span');
  1062.  
  1063. var link = myArray[0];
  1064. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1065.  
  1066. var $a = $("<a>" + link + "</a>")
  1067. if (!link.match(/https?:\/\//))
  1068. {
  1069. link = 'http://' + link;
  1070. }
  1071.  
  1072. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1073. .addClass("processing_link")
  1074. .appendTo(span);
  1075. lastLastIndex = allLinksRegex.lastIndex;
  1076. }
  1077. if (span)
  1078. {
  1079. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1080. textNode.parentNode.replaceChild(span, textNode);
  1081. }
  1082. }
  1083. }
  1084.  
  1085. function add_WARLC_style()
  1086. {
  1087. if (!(document.getElementsByTagName('WARLC')[0]))
  1088. {
  1089. var meta_not_to_add_more_style = document.createElement("WARLC");
  1090. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1091. meta_not_to_add_more_style.setAttribute('name', 'description');
  1092. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1093. alive_link_png = "";
  1094. adead_link_png = "";
  1095. unava_link_png = "";
  1096. prem_link_png = "";
  1097. switch(Icon_set)
  1098. {
  1099. //no icons
  1100. case 0: break;
  1101. // cat paws
  1102. case 1: alive_link_png = PAW_ICON_GREEN;
  1103. adead_link_png = PAW_ICON_RED;
  1104. unava_link_png = PAW_ICON_YELLOW;
  1105. prem_link_png = PAW_ICON_PINK;
  1106. break;
  1107. // classic RSLC look
  1108. case 2: alive_link_png = RSLC_ICON_GREEN;
  1109. adead_link_png = RSLC_ICON_RED;
  1110. unava_link_png = RSLC_ICON_YELLOW;
  1111. prem_link_png = RSLC_ICON_PINK;
  1112. break;
  1113. // New Icons
  1114. case 3: alive_link_png = NEW_ICON_GREEN;
  1115. adead_link_png = NEW_ICON_RED;
  1116. unava_link_png = NEW_ICON_YELLOW;
  1117. prem_link_png = NEW_ICON_PINK;
  1118. break;
  1119. // cat paws
  1120. default:alive_link_png = PAW_ICON_GREEN;
  1121. adead_link_png = PAW_ICON_RED;
  1122. unava_link_png = PAW_ICON_YELLOW;
  1123. prem_link_png = PAW_ICON_PINK;
  1124. break;
  1125. }
  1126. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1127. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1128.  
  1129. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1130.  
  1131. if (Color_DL_links)
  1132. {
  1133. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1134. live_color_css = 'color:' + Live_links_color + ' !important;';
  1135. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1136. container_color_css = 'color:' + Container_links_color + ' !important;';
  1137. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1138. }
  1139. else
  1140. {
  1141. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1142. }
  1143.  
  1144. if (Show_black_background_in_DL_links)
  1145. {
  1146. black_background_css = 'background-color: black !important;';
  1147. }
  1148. else
  1149. {
  1150. black_background_css = '';
  1151. }
  1152.  
  1153. if (Show_line_through_in_dead_links)
  1154. {
  1155. line_through_css = 'text-decoration: line-through !important;';
  1156. }
  1157. else
  1158. {
  1159. line_through_css = '';
  1160. }
  1161.  
  1162. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1163. 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 + "}");
  1164. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1165. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1166. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1167. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1168. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1169. }
  1170. }
  1171.  
  1172. var warlcTooltip = null;
  1173. var mouseoverLink = null; //link href with mouse cursor over it
  1174.  
  1175. var lastX = 0;
  1176. var lastY = 0;
  1177.  
  1178. $(document).ready(initTooltip);
  1179. //inits tooltip
  1180. function initTooltip()
  1181. { warlcTooltip = document.createElement("div");
  1182. 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;");
  1183. warlcTooltip.style.visibility = "hidden";
  1184. document.body.appendChild(warlcTooltip);
  1185. }
  1186.  
  1187. //"mousemove" event handler for all links
  1188. function moveTooltip(event)
  1189. {
  1190. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1191. { //no need to reflow if the cursor moved just a little
  1192. return;
  1193. }
  1194. else
  1195. {
  1196. lastX = event.clientX;
  1197. lastY = event.clientY;
  1198. }
  1199.  
  1200. posX = event.clientX + window.pageXOffset + 10;
  1201. posY = event.clientY + window.pageYOffset;
  1202. var ttHeight = warlcTooltip.offsetHeight;
  1203. var ttFreeSpace = window.innerHeight - event.clientY;
  1204. if (ttHeight > ttFreeSpace)
  1205. { //prevents tooltip from getting out of the window
  1206. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1207. }
  1208. else
  1209. {
  1210. posY += 7;
  1211. }
  1212. warlcTooltip.style.top = posY + "px";
  1213. warlcTooltip.style.left = posX + "px";
  1214. }
  1215.  
  1216. //"mouseout" event handler for all links
  1217. function hideTooltip(){
  1218. warlcTooltip.style.visibility = "hidden";
  1219. mouseoverLink = null;
  1220. }
  1221.  
  1222.  
  1223. //"mouseover" event handler for dead links
  1224. //displays tooltip error message on dead links
  1225. function displayTooltipError()
  1226. {
  1227. mouseoverLink = this.href;
  1228. this.addEventListener("mouseout", hideTooltip);
  1229. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1230. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1231. warlcTooltip.style.minWidth = 0;
  1232. warlcTooltip.style.visibility = "visible";
  1233. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1234. {
  1235. warlcTooltip.innerHTML = this.warlc_error;
  1236. }
  1237. else
  1238. {
  1239. loadErrorInfo(this);
  1240. }
  1241. function loadErrorInfo(link)
  1242. {
  1243. var href = link.href;
  1244. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1245. GM_xmlhttpRequest({
  1246. method: 'GET',
  1247. url: href.replace(Ref_anonymize_service, ""),
  1248. headers: {
  1249. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1250. 'Accept': 'text/xml',
  1251. 'Referer': ""
  1252. },
  1253. onload: function(result) {
  1254. var res = result.responseText;
  1255. //TODO: errorRegexs -
  1256. var errorRegexs = [ //generic error messages follow
  1257. /(empty directory)/i,
  1258. /(soubor nebyl nalezen)/i,
  1259. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1260. //server specific error messages follow
  1261. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1262. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1263. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1264. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1265. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1266. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1267. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1268. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1269. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1270. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1271. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1272. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1273. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1274. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1275. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1276. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1277. /(File has been removed due to Copyright Claim)/, //filerio
  1278. ];
  1279. var errorIdx = errorRegexs.length;
  1280. var error = "Cause of error: <b>unknown</b>";
  1281. var errorCandidate = "";
  1282. while(errorIdx--)
  1283. {
  1284. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1285. if (errorCandidate != null)
  1286. {
  1287. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1288. break;
  1289. }
  1290. }
  1291. //link attributes
  1292. link.warlc_error = error;
  1293. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1294. {
  1295. warlcTooltip.innerHTML = error;
  1296. }
  1297. }
  1298. });
  1299. }
  1300. }
  1301.  
  1302. //"mouseover" event handler for alive links
  1303. //displays tooltip info (file size, file name,...) on alive links
  1304. function displayTooltipInfo()
  1305. {
  1306. mouseoverLink = this.href;
  1307. //exclude direct download filehostings
  1308. 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)/))
  1309. {
  1310. return;
  1311. }
  1312. this.addEventListener("mouseout", hideTooltip);
  1313. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1314. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1315. warlcTooltip.style.minWidth = 0;
  1316. warlcTooltip.style.visibility = "visible";
  1317. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1318. {
  1319. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1320. }
  1321. else
  1322. {
  1323. loadInfo(this);
  1324. }
  1325. function loadInfo(link)
  1326. {
  1327. var href = link.href;
  1328. GM_xmlhttpRequest({
  1329. method: 'GET',
  1330. url: href.replace(Ref_anonymize_service, ""),
  1331. headers: {
  1332. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1333. 'Accept': 'text/xml',
  1334. 'Referer': ""
  1335. },
  1336. onload: function(result) {
  1337. var res = result.responseText;
  1338. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1339. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1340. /fl" title="(.+?)">/, //edisk
  1341. /<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
  1342. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1343. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1344. /title="download (.+?)">/, //sendspace
  1345. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1346. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1347. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1348. /d0FileName = "(.+?)";/, //letitbit
  1349. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1350. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1351. /fname" value="(.+?)">/, //syfiles, grupload,
  1352. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1353. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1354. /Complete name : (.+?)<br \/>/, //bezvadata
  1355. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1356. ];
  1357. var nameIdx = nameRegexs.length;
  1358. // [sizeRegexs]
  1359. // / \ \?
  1360. // prefix (size) postfix
  1361. // / \
  1362. // val quant
  1363. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1364. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1365. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1366. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1367. var postSizeRegex = '(?:\\))?';
  1368. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1369. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1370. ];
  1371. var sizeIdx = sizeRegexs.length;
  1372. //
  1373. //
  1374. var tooltip = "File Name: <b>";
  1375. var fileName = "unknown";
  1376. var nameCandidate = "";
  1377. while(nameIdx--)
  1378. {
  1379. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1380. if (nameCandidate != null)
  1381. {
  1382. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1383. break;
  1384. }
  1385. }
  1386. tooltip += fileName + "</b><br>File Size: <b>";
  1387. var fileSize = "unknown";
  1388. var sizeCandidate = "";
  1389. while(sizeIdx--)
  1390. {
  1391. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1392. if (sizeCandidate != null)
  1393. {
  1394. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1395. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1396. {
  1397. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1398. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1399. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1400. }
  1401. break;
  1402. }
  1403. }
  1404. tooltip += fileSize + "</b>";
  1405. // PROTOTYPE
  1406. // video thumbnails
  1407. if (href.match('hellshare'))
  1408. {
  1409. var thumbs;
  1410. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1411. if (thumbs)
  1412. {
  1413. tooltip += '<br>';
  1414. var j = Math.min(thumbs.length, 9);
  1415. for (var i = 0; i < j; i++)
  1416. {
  1417. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1418. }
  1419. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1420. }
  1421. }
  1422. if (href.match('czshare'))
  1423. {
  1424. var thumbs;
  1425. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1426. if (thumbs)
  1427. {
  1428. var thumbsServer = thumbs[1];
  1429. var thumbsId = thumbs[2];
  1430. tooltip += '<br>';
  1431. for (var i = 1; i < 9; i++)
  1432. {
  1433. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1434. }
  1435. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1436. }
  1437. }
  1438. if (href.match('bezvadata'))
  1439. {
  1440. var thumbs;
  1441. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1442. if (thumbs)
  1443. {
  1444. tooltip += '<br>';
  1445. var j = Math.min(thumbs.length, 9);
  1446. for (var i = 0; i < j; i++)
  1447. {
  1448. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1449. }
  1450. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1451. }
  1452. }
  1453. link.warlc_tooltipcache = tooltip;
  1454. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1455. {
  1456. warlcTooltip.innerHTML = tooltip;
  1457. }
  1458. }
  1459. });
  1460. }
  1461. }
  1462.  
  1463. function setVariables()
  1464. {
  1465. if (firstRun)
  1466. {
  1467. GM_log('First run, applying default settings...');
  1468. GM_setValue("Icon_set",1);
  1469. GM_setValue("Display_tooltip_info",true);
  1470. GM_setValue("Show_black_background_in_DL_links",false);
  1471. GM_setValue("Show_line_through_in_dead_links",false);
  1472. GM_setValue("Display_full_links_in_link_containers",false);
  1473. GM_setValue("Allow_spaces_in_DL_links",false);
  1474. GM_setValue("Autocheck",true);
  1475. GM_setValue("Enable_Anonymizer",false);
  1476. GM_setValue("Do_not_linkify_DL_links",false);
  1477. GM_setValue("Show_progress_stats",true);
  1478. GM_setValue("Keyboard_functions",true);
  1479. GM_setValue("Obsolete_file_hosts",false);
  1480. GM_setValue("Color_DL_links",true);
  1481. GM_setValue("Live_links_color","Green");
  1482. GM_setValue("Dead_links_color","#FF3300");
  1483. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1484. GM_setValue("Container_links_color","DarkKhaki");
  1485. GM_setValue("Premium_links_color","DeepPink");
  1486. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1487. GM_setValue("Custom_rules",false);
  1488. GM_setValue("Custom_rules_text","");
  1489. GM_setValue("First_run", false);
  1490. }
  1491. //hidden settings
  1492. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1493. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1494. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1495. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1496. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1497. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1498. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1499. //hidden settings end
  1500.  
  1501. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1502. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1503. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1504. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1505. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1506. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1507. Autocheck = GM_getValue("Autocheck", true);
  1508. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1509. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1510. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1511. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1512. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1513. Color_DL_links = GM_getValue("Color_DL_links", true);
  1514. Live_links_color = GM_getValue("Live_links_color", "Green");
  1515. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1516. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1517. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1518. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1519. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1520. Custom_rules = GM_getValue("Custom_rules", false);
  1521. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1522. }
  1523.  
  1524.  
  1525. // Delinkifies the links
  1526. // params:
  1527. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1528. // e.g. 'uloz.to/xs68skxl8')
  1529. function delinkifySnapshot(snapshot)
  1530. {
  1531. var n = snapshot.snapshotLength;
  1532.  
  1533. while (n--)
  1534. {
  1535. thisLink = snapshot.snapshotItem(n);
  1536.  
  1537. var spanElm = document.createElement("span");
  1538. spanElm.className = thisLink.className;
  1539. spanElm.innerHTML = thisLink.innerHTML;
  1540.  
  1541. if (Display_tooltip_info)
  1542. {
  1543. spanElm.href = thisLink.href;
  1544. switch (thisLink.className){
  1545. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1546. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1547. case "unava_link": //reserved
  1548. default:
  1549. }
  1550. }
  1551. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1552. }
  1553. }
  1554.  
  1555. function processContainers()
  1556. {
  1557. var redirectorTypes = { "HTTP_302": 0,
  1558. "INNER_LINK": 1,
  1559. "THELOO_KATT_IT": 2,
  1560. "CING_BE": 3,
  1561. "ADF_LY": 4};
  1562. var cMultiloadTotal = 0;
  1563. var cMultiloadProcessed = 0;
  1564.  
  1565. var cMirrorcreatorComTotal = 0;
  1566. var cMirrorcreatorComProcessed = 0;
  1567.  
  1568. var hostRestrictionRegex = "";
  1569. var multiloadComRestriction = "";
  1570. var multiloadComRestrictionRegex;
  1571.  
  1572. //
  1573. //HANDLING REDIRECTORS START
  1574. //
  1575.  
  1576. var redirectors = new Array();
  1577. initRedirectors();
  1578.  
  1579. var redirectorsCount = redirectors.length;
  1580.  
  1581. if (redirectorsCount > 0)
  1582. {
  1583. var allRedirectorsRegex = "";
  1584.  
  1585. //linkify redirector links
  1586. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1587. {
  1588. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1589. }
  1590. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1591. linkify(allRedirectorsRegex);
  1592. //
  1593. //process redirector links
  1594. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1595. {
  1596. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1597. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1598.  
  1599. cLinksTotal += redirectors[redirIdx].cTotal;
  1600. var linkIdx = redirectors[redirIdx].cTotal;
  1601.  
  1602. while(linkIdx--)
  1603. {
  1604. switch(redirectors[redirIdx].type)
  1605. {
  1606. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1607. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1608. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1609. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1610. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1611. default:
  1612. }
  1613. }
  1614. }
  1615. //
  1616. }
  1617.  
  1618. //HTTP_302
  1619. function processRedirectorLink(link, redirectorId)
  1620. {
  1621. link.className = 'container_link';
  1622.  
  1623. GM_xmlhttpRequest({
  1624. method: 'HEAD',
  1625. url: link.href,
  1626. headers: {
  1627. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1628. 'Accept': 'text/xml',
  1629. 'Referer': ""
  1630. },
  1631. onload: function(result) {
  1632. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1633. {
  1634. processRedirectorLink(link, redirectorId);
  1635. }
  1636. else
  1637. {
  1638. redirectors[redirectorId].cProcessed++;
  1639. link.href = result.finalUrl;
  1640. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1641. checkLinks('container_link');
  1642. }
  1643. },
  1644. onerror: function(result) { //probably caused by unresponsive filehosting
  1645. redirectors[redirectorId].cProcessed++;
  1646. link.className = 'unava_link';
  1647. cLinksProcessed++;
  1648. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1649. checkLinks('container_link');
  1650. }
  1651. });
  1652. }
  1653. //INNER_LINK
  1654. function processRedirectorLinkEx(link, redirectorId)
  1655. {
  1656. link.className = 'container_link';
  1657. GM_xmlhttpRequest({
  1658. method: 'GET',
  1659. url: link.href,
  1660. headers: {
  1661. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1662. 'Accept': 'text/xml',
  1663. 'Referer': ""
  1664. },
  1665. onload: function(result) {
  1666. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1667. redirectors[redirectorId].cProcessed++;
  1668. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1669. checkLinks('container_link');
  1670. }
  1671. });
  1672. }
  1673. //theloo.katt.it (wrapped safelinking.net)
  1674. function processThelooKattItLink(link, redirectorId)
  1675. {
  1676. link.className = 'container_link';
  1677. GM_xmlhttpRequest({
  1678. method: 'GET',
  1679. url: link.href,
  1680. headers: {
  1681. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1682. 'Accept': 'text/xml',
  1683. 'Referer': ""
  1684. },
  1685. onload: function(result) {
  1686. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1687. redirectors[redirectorId].cProcessed++;
  1688. //the inner links are safelinking.net links, so lets proceed with it
  1689. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1690. {
  1691. processRedirectorLink(link, 0);
  1692. }
  1693. }
  1694. });
  1695. }
  1696. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1697. function processAdfLyLink(link, redirectorId)
  1698. {
  1699. link.className = 'container_link';
  1700. GM_xmlhttpRequest({
  1701. method: 'GET',
  1702. url: link.href,
  1703. headers: {
  1704. 'User-agent': 'Mozilla/4.0',
  1705. 'Accept': 'text/xml',
  1706. 'Referer': ""
  1707. },
  1708. onload: function(result) {
  1709. if (result.finalUrl.match('/locked/'))
  1710. {
  1711. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1712. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1713. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1714. }
  1715. else
  1716. {
  1717. // GM_log('Processing... ' + link.href);
  1718. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1719. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1720. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1721. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1722. //confirm advert
  1723. GM_xmlhttpRequest(
  1724. {
  1725. method: 'POST',
  1726. url: 'http://adf.ly/l.php',
  1727. headers: {
  1728. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1729. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1730. 'Referer': link.href
  1731. },
  1732. data: users + '&lt=' + logToken,
  1733. onload: function(result) {
  1734. //retrieve final url from .../go/... link
  1735. GM_xmlhttpRequest({
  1736. method: 'GET',
  1737. url: directLink,
  1738. headers: {
  1739. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1740. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1741. 'Referer': link.href
  1742. },
  1743. onload: function(result) {
  1744. link.href = result.finalUrl;
  1745. redirectors[redirectorId].cProcessed++;
  1746. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1747. checkLinks('container_link');
  1748. }
  1749. });
  1750. }
  1751. });
  1752. }
  1753. }
  1754. });
  1755. function proceedOK()
  1756. {
  1757. }
  1758. }
  1759. //MULTILOAD.CZ START
  1760. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1761. {
  1762. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1763. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1764.  
  1765. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1766.  
  1767. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1768. hostRestrictionRegex += 'hellshare|';
  1769. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1770. hostRestrictionRegex += 'downloadhellshare|';
  1771. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1772. hostRestrictionRegex += 'share-rapid\\.com|';
  1773. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1774. hostRestrictionRegex += 'quickshare\\.cz|';
  1775. if (GM_getValue("Check_czshare_dot_com_links", false))
  1776. hostRestrictionRegex += 'czshare\\.com|';
  1777. if (GM_getValue("Check_uloz_dot_to_links", false))
  1778. hostRestrictionRegex += 'uloz\\.to|';
  1779. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1780. hostRestrictionRegex += 'hellspy|';
  1781. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1782. hostRestrictionRegex += 'multishare\\.cz|';
  1783.  
  1784. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1785.  
  1786. linkify(mlRegex);
  1787.  
  1788. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1789. var mlCount = mlSnapshot.snapshotLength;
  1790.  
  1791. if (mlCount > 0)
  1792. {
  1793. cMultiloadTotal += mlCount;
  1794.  
  1795. mlIdx = mlCount - 1;
  1796. do
  1797. {
  1798. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1799. }
  1800. while(mlIdx--)
  1801. }
  1802. }
  1803. //MULTILOAD.CZ END
  1804.  
  1805.  
  1806.  
  1807. function processMultiloadLink(mlLink)
  1808. {
  1809. GM_xmlhttpRequest({
  1810. method: 'GET',
  1811. url: mlLink.href,
  1812. headers: {
  1813. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1814. 'Accept': 'text/xml',
  1815. 'Referer': ""
  1816. },
  1817. onload: function(result) {
  1818. var res = result.responseText;
  1819.  
  1820. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1821. 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;
  1822. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1823. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1824.  
  1825. var blocks; // blocks of links
  1826. var blockIdx;
  1827.  
  1828. mlLink.className = '';
  1829.  
  1830. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1831. {
  1832. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1833. return;
  1834. }
  1835.  
  1836. blocks = res.match(innerBlockRegex);
  1837.  
  1838. if (blocks == null) //no links found, cancel further processing
  1839. {
  1840. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1841. cMultiloadProcessed++;
  1842. if (cMultiloadTotal <= cMultiloadProcessed)
  1843. {
  1844. startBulkCheck('container_link');
  1845. start('container_link');
  1846. }
  1847. return;
  1848. }
  1849.  
  1850. blockIdx = blocks.length;
  1851.  
  1852. if (Display_full_links_in_link_containers)
  1853. {
  1854. var ulElm = document.createElement('ul');
  1855. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1856.  
  1857. while(blockIdx--)
  1858. {
  1859. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1860. {
  1861. continue;
  1862. }
  1863.  
  1864. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1865.  
  1866. var linkIdx = innerLinks.length;
  1867. while (linkIdx--)
  1868. {
  1869. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1870.  
  1871. var liElm = document.createElement('li');
  1872.  
  1873. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1874. {
  1875. liElm.appendChild(document.createTextNode(innerLink));
  1876. }
  1877. else
  1878. {
  1879. var aElm = document.createElement('a');
  1880. aElm.innerHTML = innerLink;
  1881. aElm.href = innerLink;
  1882. aElm.className = 'container_link';
  1883.  
  1884. liElm.appendChild(aElm);
  1885. }
  1886.  
  1887. ulElm.appendChild(liElm);
  1888. cLinksTotal++;
  1889. }
  1890. }
  1891.  
  1892. mlLink.parentNode.appendChild(ulElm);
  1893. }
  1894. else //compact view
  1895. {
  1896. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1897.  
  1898. while(blockIdx--)
  1899. {
  1900. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1901. {
  1902. continue;
  1903. }
  1904.  
  1905. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1906.  
  1907. var linkIdx = innerLinks.length;
  1908. while (linkIdx--)
  1909. {
  1910. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1911.  
  1912. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1913. {
  1914. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1915. }
  1916. else
  1917. {
  1918. var aElm = document.createElement('a');
  1919.  
  1920. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1921.  
  1922. //abbreviate host name
  1923. switch(hostName + ""){
  1924.  
  1925. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1926. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1927. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1928. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1929. case 'multishare': aElm.innerHTML = 'MS'; break;
  1930. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1931. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1932. case 'czshare': aElm.innerHTML = 'CS'; break;
  1933. default: aElm.innerHTML = 'xx';
  1934.  
  1935. }
  1936.  
  1937. aElm.href = innerLink;
  1938. aElm.className = 'container_link';
  1939.  
  1940. mlLink.parentNode.appendChild(aElm);
  1941. cLinksTotal++;
  1942. }
  1943. }
  1944.  
  1945. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1946.  
  1947. }
  1948. }
  1949.  
  1950. cMultiloadProcessed++;
  1951. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1952. {
  1953. if (Do_not_linkify_DL_links)
  1954. {
  1955. delinkifySnapshot(mlSnapshot);
  1956. }
  1957. startBulkCheck('container_link');
  1958. start('container_link');
  1959. }
  1960. }
  1961. });
  1962. }
  1963.  
  1964.  
  1965. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1966. {
  1967. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1968. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1969. var mcShortHostNames =
  1970. '?? 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';
  1971. // 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
  1972. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1973. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1974. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1975. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1976.  
  1977. linkify(mcRegex);
  1978.  
  1979. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1980. var mcCount = mcSnapshot.snapshotLength;
  1981.  
  1982. cMirrorcreatorComTotal = mcCount;
  1983.  
  1984. if (mcCount > 0)
  1985. {
  1986. mcShortHostNames = mcShortHostNames.split(' ');
  1987. mcIdx = mcCount;
  1988. while(mcIdx--)
  1989. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1990. }
  1991.  
  1992. }
  1993. //MIRRORCREATOR.CZ END
  1994.  
  1995.  
  1996. //mirrorcreator.com checking works like this:
  1997. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1998. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1999. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2000. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2001. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2002. function processMirrorcreatorLink(mcLink)
  2003. {
  2004. var mcURL = mcLink.href.match(mcRegex);
  2005. if(!mcURL || !mcURL[1]) return;
  2006. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2007. GM_xmlhttpRequest({
  2008. method: 'GET',
  2009. url: mcURL,
  2010. headers: {
  2011. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2012. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2013. 'Referer': ""
  2014. },
  2015. onload: function(mcLinkResult) {
  2016. var mcLinkRes = mcLinkResult.responseText;
  2017.  
  2018. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2019. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2020.  
  2021. var mcRedirectors;
  2022. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2023. var m = mcLinkRes.match(mcLinkBlockRegex);
  2024. if (m)
  2025. mcHostsFound = m.length;
  2026. else
  2027. { //no files inside container
  2028. processMirrorcreatorFoundHosts(mcLink, []);
  2029. return;
  2030. }
  2031.  
  2032. var mcRedirectorURL, idx, timedOut = false;
  2033.  
  2034. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2035. GM_xmlhttpRequest({
  2036. method: 'GET',
  2037. url: mcRedirectorURL,
  2038. headers: {
  2039. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2040. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2041. 'Referer': ""
  2042. },
  2043. onload: function(mcHostResult) {
  2044. if (timedOut) return; //too late, the list is already displayed
  2045. var mcHostRes = mcHostResult.responseText;
  2046. var mcHost = mcHostRes.match(mcHostRegex);
  2047. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2048. if (mcHost && idx!=-1)
  2049. {
  2050. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2051. mcHostsRetrieved++;
  2052. mcHostsToProcess++;
  2053. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2054. {
  2055. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2056. mcHostsToProcess = 0;
  2057. }
  2058. }
  2059. } //end of onload: function
  2060. }); //end of GM_xmlhttpRequest call
  2061. };//end of var gmxhrFunc
  2062.  
  2063. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2064. { //load individual redirector pages
  2065. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2066. mcHostURLs.push(mcRedirectorURL);
  2067. mcRedirectorIDs.push(mcRedirectors[2]);
  2068. gmxhrFunc(mcRedirectorURL);
  2069. } //end of while block
  2070.  
  2071. setTimeout(function(){ //in case the last page fails to load and call the function
  2072. timedOut = true;
  2073. if (mcHostsToProcess)
  2074. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2075. }, 60000);
  2076.  
  2077. } //end of onload function
  2078. }); //end of GM_xmlhttpRequest call
  2079. } //end of function processMirrorcreatorLink
  2080.  
  2081.  
  2082. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2083. {
  2084. var aEl, liEl, docFrag;
  2085. var hostName, mcRedirectorID, trimFilename = false;
  2086. var i = mcHostURLs.length;
  2087. if (i == 0)
  2088. {
  2089. trimFilename = true;
  2090. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2091. }
  2092. else
  2093. {
  2094. if (Display_full_links_in_link_containers)
  2095. { //full view
  2096. var wrapperEl = document.createElement('span');
  2097. wrapperEl.style.display = 'block';
  2098. var ulistEl = document.createElement('ul');
  2099. ulistEl.className = 'container_list';
  2100. while (i--)
  2101. {
  2102. liEl = document.createElement('li');
  2103. aEl = document.createElement('a');
  2104. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2105. aEl.href = mcHostURLs[i];
  2106. aEl.className = 'container_link';
  2107. liEl.appendChild(aEl);
  2108. ulistEl.appendChild(liEl);
  2109. }
  2110. wrapperEl.appendChild(ulistEl);
  2111. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2112. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2113. }
  2114. else
  2115. { //compact view
  2116. trimFilename = true;
  2117. docFrag = document.createDocumentFragment();
  2118. docFrag.appendChild(document.createTextNode(' |'));
  2119. while (i--)
  2120. {
  2121. mcRedirectorID = mcRedirectorIDs[i];
  2122. hostName = mcHostURLs[i];
  2123. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2124. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2125. else
  2126. hostName = mcShortHostNames[mcRedirectorID];
  2127. aEl = document.createElement('a');
  2128. aEl.href = mcHostURLs[i];
  2129. aEl.className = 'container_link';
  2130. aEl.appendChild(document.createTextNode(hostName));
  2131. docFrag.appendChild(aEl);
  2132. docFrag.appendChild(document.createTextNode('|'));
  2133. }
  2134. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2135. } //end of else block
  2136. } //end of else block
  2137. mcLink.className = '';
  2138. if (trimFilename)
  2139. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2140. cMirrorcreatorComProcessed++;
  2141. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2142. {
  2143. if (Do_not_linkify_DL_links)
  2144. delinkifySnapshot(mcSnapshot);
  2145. startBulkCheck('container_link');
  2146. start('container_link');
  2147. }
  2148. } //end of function processMirrorcreatorFoundHosts
  2149.  
  2150. containers_processed = true;
  2151.  
  2152.  
  2153. function initRedirectors()
  2154. {
  2155. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2156. {
  2157. var redirector = new Object();
  2158. redirector.linkRegex = linkRegex;
  2159. redirector.xpath = xpathEx; //xpath expression
  2160. redirector.cProcessed = 0; //processed links count
  2161. redirector.cTotal = 0; //total links count
  2162. redirector.type = redirType; //redirectorTypes enum
  2163. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2164. redirectors.push(redirector);
  2165. }
  2166. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2167. {
  2168. addRedirector(
  2169. 'safelinking\\.net\/d\/\\w+',
  2170. "//a[contains(@href,'safelinking.net/d/')]",
  2171. redirectorTypes.HTTP_302,
  2172. null);
  2173. }
  2174. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2175. {
  2176. addRedirector(
  2177. 'linksafe\\.me\/d\/\\w+',
  2178. "//a[contains(@href,'linksafe.me/d/')]",
  2179. redirectorTypes.HTTP_302,
  2180. null);
  2181. }
  2182. if (GM_getValue("Check_linkto_dot_net_links", false))
  2183. {
  2184. addRedirector(
  2185. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2186. "//a[contains(@href,'linkto.net/?')]",
  2187. redirectorTypes.INNER_LINK,
  2188. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2189. }
  2190. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2191. {
  2192. addRedirector(
  2193. '(?:the)?loo\\.katt\\.it\/\\w+',
  2194. "//a[contains(@href,'loo.katt.it/')]",
  2195. redirectorTypes.THELOO_KATT_IT,
  2196. /Proceed to URL - <a href="(.+?)">/);
  2197. }
  2198. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2199. {
  2200. addRedirector(
  2201. 'madlink\\.sk\/\\w+',
  2202. "//a[contains(@href,'madlink.sk/')]",
  2203. redirectorTypes.INNER_LINK,
  2204. /name="url" value="(.+?)\s*"\/>/);
  2205. }
  2206. if (GM_getValue("Check_adf_dot_ly_links", false))
  2207. {
  2208. addRedirector(
  2209. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2210. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2211. redirectorTypes.ADF_LY,
  2212. null);
  2213. }
  2214. if (GM_getValue("Check_redi_dot_re_links", false))
  2215. {
  2216. addRedirector(
  2217. 'redi\\.re\/\\w+',
  2218. "//a[contains(@href,'redi.re/')]",
  2219. redirectorTypes.HTTP_302,
  2220. null);
  2221. }
  2222. if (GM_getValue("Check_bit_dot_ly_links", false))
  2223. {
  2224. addRedirector(
  2225. 'bit\\.ly\/\\w+',
  2226. "//a[contains(@href,'bit.ly/')]",
  2227. redirectorTypes.HTTP_302,
  2228. null);
  2229. }
  2230. }
  2231.  
  2232. }
  2233.  
  2234. var bulkHosts = new Array();
  2235. var bulkHostNames = new Array();
  2236. function initBulkCheck()
  2237. {
  2238. /////////////////////////////
  2239. // Inits filehost object
  2240. /////////////////////////////
  2241. // params :
  2242. // hostName -- [string] host name (multiple domains separated with coma)
  2243. // linkRegex -- [string] link regex
  2244. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2245. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2246. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2247. // corrReplWhat -- [regex] link correction regex (replace)
  2248. // corrReplWith -- [string]
  2249. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2250. //
  2251. // apiUrl -- [string] web linkchecker or API URL
  2252. // postData -- [string] POSTDATA of xmlhttprequest
  2253. // resLinkRegex -- [regex]
  2254. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2255. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2256. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2257. // func -- [function] bulkcheck handler, genBulkCheck if null
  2258. //
  2259. //////////////////////////////
  2260. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2261. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2262. {
  2263. var fileHost = new Object();
  2264.  
  2265. fileHost.linkRegex = linkRegex;
  2266. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2267. fileHost.xpath = xpath;
  2268. fileHost.cFound = 0; //found links counter
  2269. fileHost.links = new Array(); //found links
  2270. if (blockSize == null)
  2271. {
  2272. fileHost.blockSize = 50;
  2273. }
  2274. else
  2275. {
  2276. fileHost.blockSize = blockSize;
  2277. }
  2278. fileHost.corrMatch = corrMatch;
  2279. fileHost.corrReplWhat = corrReplWhat;
  2280. fileHost.corrReplWith = corrReplWith;
  2281. if (splitSeparator == null)
  2282. {
  2283. fileHost.splitSeparator = "\r\n";
  2284. }
  2285. else
  2286. {
  2287. fileHost.splitSeparator = splitSeparator;
  2288. }
  2289. fileHost.apiUrl = apiUrl;
  2290. fileHost.postData = postData;
  2291. fileHost.resLinkRegex = resLinkRegex;
  2292. fileHost.resLiveRegex = resLiveRegex;
  2293. fileHost.resDeadRegex = resDeadRegex;
  2294. fileHost.resUnavaRegex = resUnavaRegex;
  2295. if (func == null)
  2296. {
  2297. fileHost.func = genBulkCheck;
  2298. }
  2299. else
  2300. {
  2301. fileHost.func = func;
  2302. }
  2303. bulkHosts.push(fileHost);
  2304. var names = hostName.split(',');
  2305. var i = names.length;
  2306. while(i--)
  2307. {
  2308. bulkHostNames[names[i]] = fileHost;
  2309. }
  2310. }
  2311. var genType1 = [
  2312. "rodfile.com", "downloadani.me", //"migahost.com",
  2313. "rarefile.net",
  2314. "filesabc.com",
  2315. "verzend.be",
  2316. // "movreel.com",
  2317. "4up.me",
  2318. "file4safe.com", "filemac.com",
  2319. "idup.in", "novafile.com", "longfiles.com",
  2320. "bitupload.com",
  2321. "uploadbaz.com"
  2322. ];
  2323. var genType2 = [ "queenshare.com",
  2324. "hulkload.com",
  2325. "amonshare.com", //"edoc.com",
  2326. ];
  2327. //xfilesharing 1.0
  2328. function addGenericType1()
  2329. {
  2330. var i = genType1.length;
  2331. while(i--)
  2332. {
  2333. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2334. {
  2335. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2336. addHost(
  2337. genType1[i].match(/[\w-]+/)[0], //hostname
  2338. regexSafe + "\/\\w+", //linkregex
  2339. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2340. null, //blocksize
  2341. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2342. null, //corrreplwhat
  2343. null, //corrreplwith
  2344. null, //separator
  2345. "http://" + genType1[i] + "/checkfiles.html", //api url
  2346. "op=checkfiles&process=Check+URLs&list=", //postdata
  2347. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2348. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2349. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2350. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2351. null //function delegate
  2352. )
  2353. }
  2354. }
  2355. }
  2356. //xfilesharing 2.0
  2357. function addGenericType2()
  2358. {
  2359. var i = genType2.length;
  2360. while(i--)
  2361. {
  2362. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2363. {
  2364. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2365. addHost(
  2366. genType2[i].match(/[\w-]+/)[0], //hostname
  2367. regexSafe + "\/\\w+", //linkregex
  2368. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2369. null, //blocksize
  2370. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2371. null, //corrreplwhat
  2372. null, //corrreplwith
  2373. null, //separator
  2374. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2375. "op=checkfiles&process=Check+URLs&list=", //postdata
  2376. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2377. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2378. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2379. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2380. null //function delegate
  2381. )
  2382. }
  2383. }
  2384. }
  2385. // TEMPLATE
  2386. // if (GM_getValue("Check__dot_com_links", false))
  2387. // {
  2388. // addHost(
  2389. // "", //hostname
  2390. // "", //linkregex
  2391. // "//a[contains(@href,'.com/')]", //xpath
  2392. // null, //blocksize
  2393. // null, //corrmatch
  2394. // null, //corrreplwhat
  2395. // null, //corrreplwith
  2396. // null, //separator
  2397. // "", //api url
  2398. // "", //postdata
  2399. // /()/, //linkregex
  2400. // //liveregex
  2401. // //deadregex
  2402. // //unavaregex
  2403. // null //function delegate
  2404. // )
  2405. // }
  2406. addGenericType1();
  2407. addGenericType2();
  2408.  
  2409. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2410. {
  2411. addHost(
  2412. "myvdrive,fileserving", //hostname
  2413. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2414. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2415. null, //blocksize
  2416. null, //corrmatch
  2417. null, //corrreplwhat
  2418. null, //corrreplwith
  2419. null, //separator
  2420. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2421. "links=", //postdata
  2422. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2423. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2424. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2425. null, //unavaregex
  2426. null //function delegate
  2427. )
  2428. }
  2429. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2430. {
  2431. addHost(
  2432. "hackerbox", //hostname
  2433. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2434. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2435. null, //blocksize
  2436. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2437. null, //corrreplwhat
  2438. null, //corrreplwith
  2439. null, //separator
  2440. "http://host.hackerbox.org/checkfiles.html", //api url
  2441. "op=checkfiles&process=Check+URLs&list=", //postdata
  2442. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2443. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2444. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2445. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2446. null //function delegate
  2447. )
  2448. }
  2449. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2450. {
  2451. addHost(
  2452. "hellshare", //hostname
  2453. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2454. "//a[contains(@href,'hellshare.')]", //xpath
  2455. 48, //blocksize
  2456. null, //corrmatch
  2457. null, //corrreplwhat
  2458. null, //corrreplwith
  2459. null, //separator
  2460. null, //api url
  2461. null, //postdata
  2462. null, //linkregex
  2463. null, //liveregex
  2464. null, //deadregex
  2465. null, //unavaregex
  2466. hellshareBulkCheck //function delegate
  2467. )
  2468. }
  2469. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2470. {
  2471. addHost(
  2472. "ncrypt", //hostname
  2473. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2474. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2475. 100000, //blocksize
  2476. null, //corrmatch
  2477. null, //corrreplwhat
  2478. null, //corrreplwith
  2479. null, //separator
  2480. null,
  2481. null,
  2482. null,
  2483. null,
  2484. null,
  2485. null,
  2486. ncryptBulkCheck //function delegate
  2487. )
  2488. }
  2489. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2490. {
  2491. addHost(
  2492. "uploadrocket", //hostname
  2493. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2494. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2495. null, //blocksize
  2496. null, //corrmatch
  2497. null, //corrreplwhat
  2498. null, //corrreplwith
  2499. "\n", //separator
  2500. 'http://uploadrocket.net/?op=checkfiles',
  2501. 'op=checkfiles&process=Check+URLs&list=',
  2502. /uploadrocket.net\/(\w+)/,
  2503. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2504. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2505. null,
  2506. null //function delegate
  2507. )
  2508. }
  2509. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2510. {
  2511. addHost(
  2512. "k2s,keep2s,keep2share",
  2513. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2514. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2515. 100000, //blocksize
  2516. null, //corrmatch
  2517. null, //corrreplwhat
  2518. null, //corrreplwith
  2519. null, //separator
  2520. null,
  2521. null,
  2522. null,
  2523. null,
  2524. null,
  2525. null,
  2526. k2sBulkCheck //function delegate
  2527. )
  2528. }
  2529. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2530. {
  2531. addHost(
  2532. "tezfiles",
  2533. "(?:tezfiles\\.com)\/\\w+",
  2534. "//a[contains(@href,'tezfiles.com')]",
  2535. 100000, //blocksize
  2536. null, //corrmatch
  2537. null, //corrreplwhat
  2538. null, //corrreplwith
  2539. null, //separator
  2540. null,
  2541. null,
  2542. null,
  2543. null,
  2544. null,
  2545. null,
  2546. k2sBulkCheck //function delegate
  2547. )
  2548. }
  2549. if (GM_getValue("Check_fboom_dot_me_links", false))
  2550. {
  2551. addHost(
  2552. "fboom,fileboom",
  2553. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2554. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2555. 100000, //blocksize
  2556. null, //corrmatch
  2557. null, //corrreplwhat
  2558. null, //corrreplwith
  2559. null, //separator
  2560. null,
  2561. null,
  2562. null,
  2563. null,
  2564. null,
  2565. null,
  2566. fboomBulkCheck //function delegate
  2567. )
  2568. }
  2569. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2570. {
  2571. addHost(
  2572. "1fichier,dl4free",
  2573. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2574. "//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/?')]",
  2575. 100000, //blocksize
  2576. null, //corrmatch
  2577. null, //corrreplwhat
  2578. null, //corrreplwith
  2579. null, //separator
  2580. null,
  2581. null,
  2582. null,
  2583. null,
  2584. null,
  2585. null,
  2586. dl4free_1fichier_BulkCheck //function delegate
  2587. )
  2588. }
  2589. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2590. {
  2591. addHost(
  2592. "nitroflare",
  2593. "nitroflare\\.com\/\\w+",
  2594. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2595. 100000, //blocksize
  2596. null, //corrmatch
  2597. null, //corrreplwhat
  2598. null, //corrreplwith
  2599. null, //separator
  2600. null,
  2601. null,
  2602. null,
  2603. null,
  2604. null,
  2605. null,
  2606. nitroflareBulkCheck //function delegate
  2607. )
  2608. }
  2609. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2610. {
  2611. addHost(
  2612. "depositfiles,dfiles",
  2613. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|(?:en|es|de|ru)/files\/\\w+",
  2614. "//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/')]",
  2615. 100000, //blocksize
  2616. null, //corrmatch
  2617. null, //corrreplwhat
  2618. null, //corrreplwith
  2619. null, //separator
  2620. null,
  2621. null,
  2622. null,
  2623. null,
  2624. null,
  2625. null,
  2626. depositfilesBulkCheck //function delegate
  2627. )
  2628. }
  2629. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2630. {
  2631. addHost(
  2632. "filesflash", //hostname
  2633. "filesflash\\.com\/\\w+", //linkregex
  2634. "//a[contains(@href,'filesflash.com')]", //xpath
  2635. null, //blocksize
  2636. null, //corrmatch
  2637. /http:\/\//, //corrreplwhat
  2638. '', //corrreplwith
  2639. null, //separator
  2640. 'http://filesflash.com/checklinks.php',
  2641. 'submit=Go&links=',
  2642. /filesflash\.com\/(\w+)/,
  2643. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2644. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2645. null,
  2646. null //function delegate
  2647. )
  2648. }
  2649. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2650. {
  2651. addHost(
  2652. "jumbofiles", //hostname
  2653. "jumbofiles\\.com\/\\w+", //linkregex
  2654. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2655. null, //blocksize
  2656. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2657. null, //corrreplwhat
  2658. null, //corrreplwith
  2659. null, //separator
  2660. "http://jumbofiles.com/checkfiles.html", //api url
  2661. "op=checkfiles&process=Check+URLs&list=", //postdata
  2662. /(jumbofiles\.com\/\w+)/, //linkregex
  2663. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2664. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2665. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2666. null //function delegate
  2667. )
  2668. }
  2669. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2670. {
  2671. addHost(
  2672. "edisk", //hostname
  2673. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2674. "//a[contains(@href,'edisk.')]", //xpath
  2675. null, //blocksize
  2676. null, //corrmatch
  2677. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2678. 'edisk.cz/stahni', //corrreplwith
  2679. null, //separator
  2680. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2681. 'submitBtn=Zkontrolovat&checkFiles=',
  2682. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2683. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2684. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2685. null,
  2686. null //function delegate
  2687. )
  2688. }
  2689. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2690. {
  2691. GM_xmlhttpRequest( //age check skip
  2692. {
  2693. method: 'POST',
  2694. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2695. headers: {
  2696. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2697. 'Content-type': 'application/x-www-form-urlencoded',
  2698. 'Referer': ""
  2699. }
  2700. });
  2701. addHost(
  2702. "bezvadata", //hostname
  2703. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2704. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2705. null, //blocksize
  2706. null, //corrmatch
  2707. null, //corrreplwhat
  2708. null, //corrreplwith
  2709. null, //separator
  2710. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2711. 'zkontrolovat=Zkontrolovat&odkazy=',
  2712. /(bezvadata\.cz\/stahnout\/\d+)/,
  2713. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2714. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2715. null,
  2716. null //function delegate
  2717. )
  2718. }
  2719. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2720. {
  2721. addHost(
  2722. "linkcrypt", //hostname
  2723. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2724. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2725. 100000, //blocksize
  2726. null, //corrmatch
  2727. null, //corrreplwhat
  2728. null, //corrreplwith
  2729. null, //separator
  2730. null,
  2731. null,
  2732. null,
  2733. null,
  2734. null,
  2735. null,
  2736. linkcryptBulkCheck //function delegate
  2737. )
  2738. }
  2739. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2740. {
  2741. addHost(
  2742. "linksave", //hostname
  2743. "linksave\\.in\/\\w+", //linkregex
  2744. "//a[contains(@href,'linksave.in')]", //xpath
  2745. 100000, //blocksize
  2746. null, //corrmatch
  2747. null, //corrreplwhat
  2748. null, //corrreplwith
  2749. null, //separator
  2750. null,
  2751. null,
  2752. null,
  2753. null,
  2754. null,
  2755. null,
  2756. linksaveBulkCheck //function delegate
  2757. )
  2758. } */
  2759. if (GM_getValue("Check_videobb_dot_com_links", false))
  2760. {
  2761. addHost(
  2762. "videobb", //hostname
  2763. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2764. "//a[contains(@href,'videobb.com')]", //xpath
  2765. null, //blocksize
  2766. null, //corrmatch
  2767. /watch_video\.php\?v=/, //corrreplwhat
  2768. 'video/', //corrreplwith
  2769. null, //separator
  2770. 'http://www.videobb.com/link_checker.php',
  2771. 'links=',
  2772. /videobb\.com\/video\/(\w+)/,
  2773. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2774. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2775. null,
  2776. null //function delegate
  2777. )
  2778. }
  2779. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2780. {
  2781. addHost(
  2782. "cramit,cramitin", //hostname
  2783. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2784. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2785. null, //blocksize
  2786. null, //corrmatch
  2787. null, //corrreplwhat
  2788. null, //corrreplwith
  2789. null, //separator
  2790. 'http://cramit.in/checkfiles.html',
  2791. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2792. /(cramit(?:\.in|in\.net)\/\w+)/,
  2793. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2794. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2795. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2796. null //function delegate
  2797. )
  2798. }
  2799. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2800. {
  2801. addHost(
  2802. "turbobit", //hostname
  2803. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2804. "//a[contains(@href,'turbobit.')]", //xpath
  2805. null, //blocksize
  2806. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2807. null, //corrreplwhat
  2808. null, //corrreplwith
  2809. "\n", //separator
  2810. 'http://turbobit.net/linkchecker/csv',
  2811. 'links_to_check=',
  2812. /(turbobit\.(?:net|pl)\/\w+)/,
  2813. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2814. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2815. null,
  2816. null //function delegate
  2817. )
  2818. } */
  2819. if (GM_getValue("Check_filerio_dot_com_links", false))
  2820. {
  2821. addHost(
  2822. "filekeen,filerio", //hostname
  2823. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2824. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2825. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2826. null, //blocksize
  2827. null, //corrmatch
  2828. null, //corrreplwhat
  2829. null, //corrreplwith
  2830. null, //separator
  2831. 'http://filerio.in/checkfiles.html',
  2832. 'op=checkfiles&process=Check+URLs&list=',
  2833. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2834. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2835. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2836. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2837. null //function delegate
  2838. )
  2839. }
  2840. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2841. {
  2842. addHost(
  2843. "share-online,egoshare", //hostname
  2844. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2845. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2846. null, //blocksize
  2847. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2848. null, //corrreplwhat
  2849. null, //corrreplwith
  2850. "\n", //separator
  2851. 'http://api.share-online.biz/linkcheck.php',
  2852. 'links=',
  2853. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2854. /\w+;OK/g,
  2855. /\w+;(?:NOTFOUND|DELETED)/g,
  2856. null,
  2857. null //function delegate
  2858. )
  2859. }
  2860. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2861. {
  2862. addHost(
  2863. "quickshare", //hostname
  2864. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2865. "//a[contains(@href,'quickshare.cz')]", //xpath
  2866. null, //blocksize
  2867. null, //corrmatch
  2868. null, //corrreplwhat
  2869. null, //corrreplwith
  2870. null, //separator
  2871. 'http://www.quickshare.cz/nastroje/link-checker',
  2872. 'linky=',
  2873. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2874. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2875. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2876. null,
  2877. null //function delegate
  2878. )
  2879. } */
  2880. if (GM_getValue("Check_oboom_dot_com_links", false))
  2881. {
  2882. addHost(
  2883. "oboom", //hostname
  2884. "oboom\\.com\/#?\\w{8}", //linkregex
  2885. "//a[contains(@href,'oboom.com/')]", //xpath
  2886. null, //blocksize
  2887. /oboom\.com\/#?(\w{8})/, //corrmatch
  2888. null, //corrreplwhat
  2889. null, //corrreplwith
  2890. null, //separator
  2891. null,
  2892. null,
  2893. null,
  2894. null, //liveregex
  2895. null, //deadregex
  2896. null,
  2897. oboomBulk //function delegate
  2898. )
  2899. }
  2900. if (GM_getValue("Check_mega_dot_nz_links", false))
  2901. {
  2902. addHost(
  2903. "mega",
  2904. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2905. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2906. 100000, //blocksize
  2907. null, //corrmatch
  2908. null, //corrreplwhat
  2909. null, //corrreplwith
  2910. null, //separator
  2911. null,
  2912. null,
  2913. null,
  2914. null,
  2915. null,
  2916. null,
  2917. megaBulkCheck //function delegate
  2918. )
  2919. }
  2920.  
  2921. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2922.  
  2923. if (GM_getValue("Check_extabit_dot_com_links", false))
  2924. {
  2925. addHost(
  2926. "extabit", //hostname
  2927. "extabit\\.com\/file\/\\w+", //linkregex
  2928. "//a[contains(@href,'extabit.com')]", //xpath
  2929. null, //blocksize
  2930. null, //corrmatch
  2931. null, //corrreplwhat
  2932. null, //corrreplwith
  2933. "\n", //separator
  2934. "http://extabit.com/linkchecker.jsp", //api url
  2935. "url=", //postdata
  2936. /extabit\.com\/(file\/\w+)/, //linkregex
  2937. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2938. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2939. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2940. extabitBulkCheck //function delegate
  2941. )
  2942. }
  2943. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2944. {
  2945. addHost(
  2946. "junocloud", //hostname
  2947. "junocloud\\.me\/\\w+", //linkregex
  2948. "//a[contains(@href,'junocloud.me')]", //xpath
  2949. null, //blocksize
  2950. null, //corrmatch
  2951. null, //corrreplwhat
  2952. null, //corrreplwith
  2953. "\n", //separator
  2954. "http://junocloud.me/checkfiles.html", //api url
  2955. "op=checkfiles&process=Check+URLs&list=", //postdata
  2956. /(junocloud\.me\/\w+)/, //linkregex
  2957. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2958. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2959. null, //unavaregex
  2960. null //function delegate
  2961. )
  2962. }
  2963. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2964. {
  2965. addHost(
  2966. "webshare", //hostname
  2967. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2968. "//a[contains(@href,'webshare.cz')]", //xpath
  2969. 100000, //blocksize
  2970. null, //corrmatch
  2971. null, //corrreplwhat
  2972. null, //corrreplwith
  2973. null, //separator
  2974. null, //api url
  2975. null, //postdata
  2976. null, //linkregex
  2977. null, //liveregex
  2978. null, //deadregex
  2979. null, //unavaregex
  2980. webshareBulkCheck //function delegate
  2981. )
  2982. }
  2983. /////////////////////////////
  2984. // Common function delegate to send links to get checked by host linkchecker
  2985. /////////////////////////////
  2986. // If you define a new delegate, you may use following properties
  2987. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2988. // this.apiUrl [string] API or web linkchecker URL
  2989. // this.postData [string] POSTDATA for POST request
  2990. // this.resLiveRegex [regex] matches live substrings in the request response
  2991. // this.resDeadRegex [regex] matches dead substrings in the request response
  2992. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2993. //
  2994. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2995. //
  2996. // See the code below for standard bulkcheck handling reference.
  2997. //////////////////////////////
  2998. function genBulkCheck()
  2999. {
  3000. var blockIdx = this.links.length;
  3001. while (blockIdx--)
  3002. {
  3003. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3004. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3005. }
  3006. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3007. {
  3008. GM_xmlhttpRequest(
  3009. {
  3010. method: 'POST',
  3011. url: api,
  3012. headers: {
  3013. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3014. 'Content-type': 'application/x-www-form-urlencoded',
  3015. 'Referer': api,
  3016. 'X-Requested-With': 'XMLHttpRequest'
  3017. },
  3018. data: postData + encodeURIComponent(links),
  3019. onload: function (result)
  3020. {
  3021. var res = result.responseText;
  3022. // GM_log(res);
  3023. var i;
  3024.  
  3025. var livelinks = res.match(liveRegex);
  3026. var deadlinks = res.match(deadRegex);
  3027. // GM_log(livelinks);
  3028. // GM_log(deadlinks);
  3029. if (livelinks != null)
  3030. {
  3031. i = livelinks.length - 1;
  3032. do
  3033. {
  3034. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3035. }
  3036. while (i--);
  3037. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3038. }
  3039.  
  3040. if (deadlinks != null)
  3041. {
  3042. i = deadlinks.length - 1;
  3043. do
  3044. {
  3045. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3046. }
  3047. while (i--);
  3048. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3049. }
  3050.  
  3051. if (unavaRegex != null)
  3052. {
  3053. var unavalinks = res.match(unavaRegex);
  3054. if (unavalinks)
  3055. {
  3056. i = unavalinks.length - 1;
  3057. do
  3058. {
  3059. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3060. }
  3061. while (i--);
  3062. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3063. }
  3064. }
  3065. }
  3066. });
  3067. }
  3068. }
  3069. //specialized bulkchecking handlers follow
  3070. function webshareBulkCheck()
  3071. {
  3072. var arr = this.links[0].split("\r\n");
  3073. var i = arr.length;
  3074. while(i--)
  3075. {
  3076. postRequest(arr[i]);
  3077. }
  3078. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3079. function postRequest(wsLink)
  3080. {
  3081. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3082. GM_xmlhttpRequest(
  3083. {
  3084. method: 'POST',
  3085. url: "http://webshare.cz/api/file_info/",
  3086. headers: {
  3087. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3088. 'Content-type': 'application/x-www-form-urlencoded',
  3089. 'Referer': "",
  3090. },
  3091. data: "wst=&ident=" + id,
  3092. onload: function (result)
  3093. {
  3094. var res = result.responseText;
  3095. if (res.match(/<name>.+?<\/name>/))
  3096. {
  3097. DisplayTheCheckedLinks([id], 'alive_link');
  3098. }
  3099. else
  3100. {
  3101. DisplayTheCheckedLinks([id], 'adead_link');
  3102. }
  3103. }
  3104. });
  3105. }
  3106. }
  3107. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3108. //extabit also doesn't like requests in fast succession, so some delays are added.
  3109. function extabitBulkCheck()
  3110. {
  3111. var timeoutDelay = 0;
  3112. var blockIdx = this.links.length;
  3113. while (blockIdx--)
  3114. {
  3115. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3116. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3117. }
  3118. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3119. {
  3120. GM_xmlhttpRequest(
  3121. {
  3122. method: 'POST',
  3123. url: api,
  3124. headers: {
  3125. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3126. 'Content-type': 'application/x-www-form-urlencoded',
  3127. 'Referer': api,
  3128. 'X-Requested-With': 'XMLHttpRequest'
  3129. },
  3130. data: postData + encodeURIComponent(links),
  3131. onload: function (result)
  3132. {
  3133. var res = result.responseText;
  3134. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3135. {
  3136. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3137. {
  3138. //GM_log(tryID + ': ' + link);
  3139. GM_xmlhttpRequest(
  3140. {
  3141. method: 'GET',
  3142. url: link,
  3143. 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': ""},
  3144. onload: function(result2)
  3145. {
  3146. var res2 = result2.responseText;
  3147. var res2Status = result.status;
  3148. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3149. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3150. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3151. {
  3152. if (tryID < 7)
  3153. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3154. else
  3155. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3156. }
  3157. }
  3158. });
  3159. }
  3160. //split the hrefs and check them one by one
  3161. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3162. links = links.split('\n');
  3163. var i = links.length;
  3164. while (i--)
  3165. {
  3166. if (links[i])
  3167. {
  3168. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3169. timeoutDelay += 500;
  3170. }
  3171. }
  3172. return;
  3173. }
  3174. var i;
  3175.  
  3176. var livelinks = res.match(liveRegex);
  3177. var deadlinks = res.match(deadRegex);
  3178. if (livelinks != null)
  3179. {
  3180. i = livelinks.length - 1;
  3181. do
  3182. {
  3183. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3184. }
  3185. while (i--);
  3186. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3187. }
  3188.  
  3189. if (deadlinks != null)
  3190. {
  3191. i = deadlinks.length - 1;
  3192. do
  3193. {
  3194. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3195. }
  3196. while (i--);
  3197. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3198. }
  3199.  
  3200. if (unavaRegex != null)
  3201. {
  3202. var unavalinks = res.match(unavaRegex);
  3203. if (unavalinks)
  3204. {
  3205. i = unavalinks.length - 1;
  3206. do
  3207. {
  3208. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3209. }
  3210. while (i--);
  3211. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3212. }
  3213. }
  3214. }
  3215. });
  3216. }
  3217. }
  3218. function k2sBulkCheck()
  3219. {
  3220. var arr = this.links[0].split("\r\n");
  3221. var i = arr.length;
  3222. c=0;
  3223. arrIDs=[];
  3224. while(i--)
  3225. {
  3226. id = arr[i].match(/\/file\/(\w+)/)[1];
  3227. if (id=='info')
  3228. {
  3229. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3230. continue;
  3231. }
  3232. k2salreadyexist=false;
  3233. for (j=0;j<arrIDs.length;j++)
  3234. {
  3235. if (arrIDs[j]==id)
  3236. {
  3237. k2salreadyexist=true;
  3238. break;
  3239. }
  3240. }
  3241. if (k2salreadyexist) continue;
  3242. arrIDs.push(id);
  3243. c++;
  3244. setTimeout(k2sRequest,c*500,arr[i]);
  3245. }
  3246. }
  3247. function k2sRequest(K2SLink)
  3248. {
  3249. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3250. GM_xmlhttpRequest(
  3251. {
  3252. method: 'GET',
  3253. url: K2SLink,
  3254. headers: {
  3255. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3256. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3257. 'Referer': ''
  3258. },
  3259. onload: function (result)
  3260. {
  3261. var res = result.responseText;
  3262. K2Dom='k2s.cc';
  3263. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3264. K2SLink2='http://'+K2Dom+'/file/'+id;
  3265.  
  3266. 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'))
  3267. {
  3268. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3269. return;
  3270. }
  3271. if (res.match('method="post">Displaying'))
  3272. {
  3273. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3274. return;
  3275. }
  3276. if (res.match('Premium only'))
  3277. {
  3278. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3279. return;
  3280. }
  3281. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3282. {
  3283. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3284. slID=slow_id.exec(res)[1];
  3285. GM_xmlhttpRequest(
  3286. {
  3287. method: 'POST',
  3288. url: K2SLink2,
  3289. headers: {
  3290. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3291. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3292. 'Content-Type': 'application/x-www-form-urlencoded',
  3293. 'Referer': K2SLink
  3294. },
  3295. data: 'slow_id='+slID+'&yt0=',
  3296. onload: function (result)
  3297. {
  3298. var newres = result.responseText;
  3299. newoversizedtest=new RegExp("Free user can't download large files.");
  3300. if (newoversizedtest.test(newres))
  3301. {
  3302. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3303. return;
  3304. }
  3305. else
  3306. {
  3307. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3308. return;
  3309. }
  3310. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3311. return;
  3312. }
  3313. });
  3314. /////////////////////end additional check for oversized links
  3315. return;
  3316. }
  3317. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3318. return;
  3319. },
  3320. onerror: function ()
  3321. {
  3322. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3323. return;
  3324. }
  3325. });
  3326. }
  3327. function fboomBulkCheck()
  3328. {
  3329. var arr = this.links[0].split("\r\n");
  3330. var i = arr.length;
  3331. c=0;
  3332. arrIDs=[];
  3333. while(i--)
  3334. {
  3335. id = arr[i].match(/\/file\/(\w+)/)[1];
  3336. if (id=='info')
  3337. {
  3338. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3339. continue;
  3340. }
  3341. fbalreadyexist=false;
  3342. for (j=0;j<arrIDs.length;j++)
  3343. {
  3344. if (arrIDs[j]==id)
  3345. {
  3346. fbalreadyexist=true;
  3347. break;
  3348. }
  3349. }
  3350. if (fbalreadyexist) continue;
  3351. arrIDs.push(id);
  3352. c++;
  3353. setTimeout(fboomRequest,c*500,arr[i]);
  3354. }
  3355. }
  3356. function fboomRequest(FBoomLink)
  3357. {
  3358. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3359. FBoomLink2='http://fboom.me/file/'+id;
  3360. GM_xmlhttpRequest(
  3361. {
  3362. method: 'GET',
  3363. url: FBoomLink,
  3364. headers: {
  3365. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3366. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3367. 'Referer': ''
  3368. },
  3369. onload: function (result)
  3370. {
  3371. var res = result.responseText;
  3372. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3373. {
  3374. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3375. return;
  3376. }
  3377. if (res.match('method="post">Displaying'))
  3378. {
  3379. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3380. return;
  3381. }
  3382. if (res.match('only for premium members'))
  3383. {
  3384. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3385. return;
  3386. }
  3387. if (res.match('id="download-free" href="#"'))
  3388. {
  3389. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3390. slID=slow_id.exec(res)[1];
  3391. GM_xmlhttpRequest(
  3392. {
  3393. method: 'POST',
  3394. url: FBoomLink2,
  3395. headers: {
  3396. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3397. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3398. 'Content-Type': 'application/x-www-form-urlencoded',
  3399. 'Referer': FBoomLink
  3400. },
  3401. data: 'slow_id='+slID,
  3402. onload: function (result)
  3403. {
  3404. var newres = result.responseText;
  3405. newoversizedtest=new RegExp("Downloading is not possible");
  3406. if (newoversizedtest.test(newres))
  3407. {
  3408. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3409. return;
  3410. }
  3411. else
  3412. {
  3413. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3414. return;
  3415. }
  3416. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3417. return;
  3418. }
  3419. });
  3420. /////////////////////end additional check for oversized links
  3421. return;
  3422. }
  3423. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3424. return;
  3425. },
  3426. onerror: function ()
  3427. {
  3428. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3429. return;
  3430. }
  3431. });
  3432. }
  3433. function dl4free_1fichier_BulkCheck()
  3434. {
  3435. var arr = this.links[0].split("\r\n");
  3436. var i = arr.length;
  3437. while(i--)
  3438. {
  3439. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3440. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3441. gethead_dl4free_1fichier(arr[i]);
  3442. }
  3443. }
  3444. function gethead_dl4free_1fichier(link)
  3445. {
  3446. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3447. GM_xmlhttpRequest(
  3448. {
  3449. method: 'HEAD',
  3450. url: link,
  3451. headers: {
  3452. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3453. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3454. 'Referer': ''
  3455. },
  3456. onload: function (result)
  3457. {
  3458. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3459. {
  3460. DisplayTheCheckedLinks([id], 'alive_link');
  3461. return;
  3462. }
  3463. else
  3464. {
  3465. getlink_dl4free_1fichier(link);
  3466. }
  3467. return;
  3468. },
  3469. onerror: function ()
  3470. {
  3471. DisplayTheCheckedLinks([id], 'unava_link');
  3472. }
  3473. });
  3474. }
  3475. function getlink_dl4free_1fichier(link)
  3476. {
  3477. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3478. GM_xmlhttpRequest(
  3479. {
  3480. method: 'GET',
  3481. url: link,
  3482. headers: {
  3483. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3484. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3485. 'Referer': ''
  3486. },
  3487. onload: function (result)
  3488. {
  3489. var res = result.responseText;
  3490. 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');
  3491. if (deadRegex.test(res))
  3492. {
  3493. DisplayTheCheckedLinks([id], 'adead_link');
  3494. return;
  3495. }
  3496. premiumRegex=new RegExp('only for premium users');
  3497. if (premiumRegex.test(res))
  3498. {
  3499. DisplayTheCheckedLinks([id], 'prem_link');
  3500. return;
  3501. }
  3502. 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="');
  3503. if (liveRegex.test(res))
  3504. {
  3505. DisplayTheCheckedLinks([id], 'alive_link');
  3506. return;
  3507. }
  3508. DisplayTheCheckedLinks([id], 'unava_link');
  3509. },
  3510. onerror: function ()
  3511. {
  3512. DisplayTheCheckedLinks([id], 'unava_link');
  3513. }
  3514. });
  3515. }
  3516. function nitroflareBulkCheck()
  3517. {
  3518. var arr = this.links[0].split("\r\n");
  3519. var i = arr.length;
  3520. while(i--)
  3521. {
  3522. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3523. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3524. NitroFlareRequest(arr[i]);
  3525. }
  3526. }
  3527. function NitroFlareRequest(NFLink)
  3528. {
  3529. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3530. GM_xmlhttpRequest(
  3531. {
  3532. method: "GET",
  3533. url: NFLink,
  3534. headers: {
  3535. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3536. 'Content-Type': 'application/x-www-form-urlencoded',
  3537. 'Referer': ""
  3538. },
  3539. onload: function (result)
  3540. {
  3541. var res = result.responseText;
  3542. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3543. {
  3544. DisplayTheCheckedLinks([NFID], 'adead_link');
  3545. return;
  3546. }
  3547. if (res.match('Report this file<\/a>'))
  3548. {
  3549. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3550. sizearr=measureRegex.exec(res);
  3551. if (sizearr[2]=='GB')
  3552. {
  3553. if (parseFloat(sizearr[1])>1)
  3554. {
  3555. DisplayTheCheckedLinks([NFID], 'prem_link');
  3556. }
  3557. else
  3558. {
  3559. DisplayTheCheckedLinks([NFID], 'alive_link');
  3560. }
  3561. }
  3562. else
  3563. {
  3564. DisplayTheCheckedLinks([NFID], 'alive_link');
  3565. }
  3566. return;
  3567. }
  3568. DisplayTheCheckedLinks([NFID], 'unava_link');
  3569. }
  3570. });
  3571. }
  3572. function depositfilesBulkCheck()
  3573. {
  3574. var arr = this.links[0].split("\r\n");
  3575. var i = arr.length;
  3576. var seqno = Math.floor(Math.random()*1000000000);
  3577. while(i--)
  3578. {
  3579. DFpostRequest(arr[i]);
  3580. }
  3581. }
  3582. function DFpostRequest(DFLink)
  3583. {
  3584. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3585. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3586. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3587. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3588. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3589. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3590. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3591. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3592. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3593. GM_xmlhttpRequest(
  3594. {
  3595. method: "GET",
  3596. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3597. headers: {
  3598. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3599. 'Content-Type': 'application/x-www-form-urlencoded',
  3600. 'Referer': ""
  3601. },
  3602. onload: function (result)
  3603. {
  3604. var res = result.responseText;
  3605. if (res.match('(?:no_file|file_ban)'))
  3606. {
  3607. DisplayTheCheckedLinks([id], 'adead_link');
  3608. return;
  3609. }
  3610. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3611. {
  3612. DisplayTheCheckedLinks([id], 'alive_link');
  3613. return;
  3614. }
  3615. DisplayTheCheckedLinks([id], 'unava_link');
  3616. }
  3617. });
  3618. }
  3619.  
  3620. function megaBulkCheck()
  3621. {
  3622. var arr = this.links[0].split("\r\n");
  3623. var i = arr.length;
  3624. var seqno = Math.floor(Math.random()*1000000000);
  3625. while(i--)
  3626. {
  3627. postRequest(arr[i]);
  3628. }
  3629. function postRequest(megaLink)
  3630. {
  3631. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3632. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3633. GM_xmlhttpRequest(
  3634. {
  3635. method: "POST",
  3636. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3637. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3638. headers: {
  3639. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3640. 'Content-Type': 'application/xml',
  3641. 'Referer': "https://mega.co.nz/"
  3642. },
  3643. onload: function (result)
  3644. {
  3645. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3646. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3647. {
  3648.  
  3649. DisplayTheCheckedLinks([id], 'adead_link');
  3650. }
  3651. if (res.at)
  3652. {
  3653. DisplayTheCheckedLinks([id], 'alive_link');
  3654. }
  3655. if (res.e == "ETEMPUNAVAIL")
  3656. {
  3657. DisplayTheCheckedLinks([id], 'unava_link');
  3658. }
  3659. }
  3660. });
  3661. }
  3662.  
  3663. }
  3664.  
  3665. function oboomBulk() {
  3666. var a = [], b = [], c = [];
  3667. var array = this.links;
  3668.  
  3669. GM_xmlhttpRequest({
  3670. method: 'GET',
  3671. url: 'https://www.oboom.com/1/guestsession',
  3672. headers: {
  3673. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3674. 'Content-type': 'application/x-www-form-urlencoded',
  3675. 'Referer': 'https://www.oboom.com',
  3676. 'X-Requested-With': 'XMLHttpRequest'
  3677. },
  3678. onload: function(result) {
  3679. var blockIdx = array.length;
  3680. var token = JSON.parse(result.responseText)[1];
  3681. while (blockIdx--) {
  3682. startCheck(array[blockIdx].split('\r\n'), token);
  3683. }
  3684. }
  3685. });
  3686.  
  3687. function startCheck(links, token) {
  3688. GM_xmlhttpRequest({
  3689. method: 'POST',
  3690. url: "https://api.oboom.com/1/info",
  3691. headers: {
  3692. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3693. 'Content-type': 'application/x-www-form-urlencoded',
  3694. 'Referer': 'https://www.oboom.com/',
  3695. 'X-Requested-With': 'XMLHttpRequest'
  3696. },
  3697. data: "token=" + token + "&items=" + links.join(","),
  3698. onload: function(result) {
  3699. var res = JSON.parse(result.responseText)[1];
  3700. var i = res.length, s;
  3701.  
  3702. while (i--) {
  3703. s = res[i].state;
  3704. if (s == 'online') a.push(res[i].id);
  3705. 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);
  3706. else c.push(res[i].id);
  3707. }
  3708.  
  3709. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3710. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3711. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3712. }
  3713. });
  3714. }
  3715. }
  3716. /* function linksaveBulkCheck()
  3717. {
  3718. var arr = this.links[0].split("\r\n");
  3719. var i = arr.length;
  3720. while(i--)
  3721. {
  3722. postRequest(arr[i]);
  3723. }
  3724. function postRequest(lsLink)
  3725. {
  3726. GM_xmlhttpRequest(
  3727. {
  3728. method: "GET",
  3729. url: lsLink + '-t.jpg',
  3730. headers: {
  3731. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3732. 'Accept': 'text/xml',
  3733. 'Referer': ""
  3734. },
  3735. onload: function (result)
  3736. {
  3737. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3738. if (imgLen == 965) //online
  3739. {
  3740. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3741. }
  3742.  
  3743. if (imgLen == 972) //offline
  3744. {
  3745. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3746. }
  3747. if (imgLen == 978) //unava
  3748. {
  3749. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3750. }
  3751. }
  3752. });
  3753. }
  3754.  
  3755. } */
  3756. function linkcryptBulkCheck()
  3757. {
  3758. var arr = this.links[0].split("\r\n");
  3759. var i = arr.length;
  3760. while(i--)
  3761. {
  3762. postRequest(arr[i]);
  3763. }
  3764. function postRequest(lcLink)
  3765. {
  3766. GM_xmlhttpRequest(
  3767. {
  3768. method: "GET",
  3769. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3770. headers: {
  3771. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3772. 'Accept': 'text/xml',
  3773. 'Referer': ""
  3774. },
  3775. onload: function (result)
  3776. {
  3777. var res = result.responseText;
  3778. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3779. {
  3780. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3781. return;
  3782. }
  3783. if (res.match(/folderStatus>1/)) //Online status
  3784. {
  3785. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3786. }
  3787. else
  3788. {
  3789. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3790. }
  3791. }
  3792. });
  3793. }
  3794. }
  3795.  
  3796. function megashareBulkCheck()
  3797. {
  3798. var arr = this.links[0].split("\r\n");
  3799. var i = arr.length;
  3800. while(i--)
  3801. {
  3802. postRequest(arr[i]);
  3803. }
  3804. function postRequest(msLink)
  3805. {
  3806. GM_xmlhttpRequest(
  3807. {
  3808. method: "GET",
  3809. url: msLink,
  3810. headers: {
  3811. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3812. 'Content-Type': 'application/x-www-form-urlencoded',
  3813. 'Referer': ""
  3814. },
  3815. onload: function (result)
  3816. {
  3817. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3818. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3819. if ((prZVal == null) || (btn3Name == null))
  3820. {
  3821. return;
  3822. }
  3823. GM_xmlhttpRequest(
  3824. {
  3825. method: "POST",
  3826. url: msLink,
  3827. headers: {
  3828. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3829. 'Content-Type': 'application/x-www-form-urlencoded',
  3830. 'Referer': ""
  3831. },
  3832. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3833. onload: function (result)
  3834. {
  3835. var res = result.responseText;
  3836. if (res.match(/<div id="err">/))
  3837. {
  3838. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3839. }
  3840. else
  3841. {
  3842. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3843. }
  3844. }
  3845. });
  3846. }
  3847. });
  3848. }
  3849. }
  3850. function ncryptBulkCheck()
  3851. {
  3852. var arr = this.links[0].split("\r\n");
  3853. var i = arr.length;
  3854. while(i--)
  3855. {
  3856. postRequest(arr[i]);
  3857. }
  3858. function postRequest(ncryptLink)
  3859. {
  3860. GM_xmlhttpRequest(
  3861. {
  3862. method: "POST",
  3863. url: 'http://ncrypt.in/api_status.php',
  3864. headers: {
  3865. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3866. 'Content-Type': 'application/x-www-form-urlencoded',
  3867. 'Referer': ""
  3868. },
  3869. data: 'link=' + encodeURI(ncryptLink),
  3870. onload: function (result)
  3871. {
  3872. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3873. switch(foldStatus + ""){
  3874. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3875. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3876. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3877. }
  3878. }
  3879. });
  3880. }
  3881. }
  3882. function hellshareBulkCheck()
  3883. {
  3884. var links = this.links;
  3885. GM_xmlhttpRequest(
  3886. {
  3887. method: "GET",
  3888. url: 'http://www.hellshare.com',
  3889. headers: {
  3890. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3891. 'Accept': 'text/xml',
  3892. 'Referer': ""
  3893. },
  3894. onload: function (result)
  3895. {
  3896. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3897.  
  3898. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3899. if (domain == 'sk')
  3900. loc = 'check=Skontrolova%C5%A5&links=';
  3901. if (domain == 'com')
  3902. loc = 'check=Check+availability&links=';
  3903. if (domain == 'hu')
  3904. loc = 'check=Kontrol%C3%A1lj&links=';
  3905. if (domain == 'pl')
  3906. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3907.  
  3908. genBulkCheck.call({ links: links,
  3909. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3910. postData: loc,
  3911. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3912. 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,
  3913. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3914. resUnavaRegex: null
  3915. });
  3916. }
  3917. });
  3918. }
  3919. /**
  3920. * Displays check result
  3921. * @param {Array} Array of links or link fragments.
  3922. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3923. */
  3924. function DisplayTheCheckedLinks(links, resultStatus)
  3925. {
  3926. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3927. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3928. if (Do_not_linkify_DL_links)
  3929. { //TODO into separate jQuery function
  3930. $links.replaceWith(function(){
  3931. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3932. });
  3933. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3934. }
  3935. $links.removeClass().addClass(resultStatus);
  3936. $links.each(function() {
  3937. this.href = Ref_anonymize_service + $(this).attr("href");
  3938. });
  3939. switch(resultStatus)
  3940. {
  3941. case "alive_link": cLinksAlive += $links.length;
  3942. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3943. break;
  3944. case "adead_link": cLinksDead += $links.length;
  3945. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3946. break;
  3947. case "prem_link": cLinksprem += $links.length;
  3948. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3949. break;
  3950. case "unava_link": cLinksUnava += $links.length; break;
  3951. default:
  3952. }
  3953. cLinksProcessed += $links.length;
  3954. }
  3955. }
  3956. // starts bulkchecking
  3957. //
  3958. // params
  3959. // filterId [string] restricts link detection with passed id attribute
  3960. function startBulkCheck(filterId)
  3961. {
  3962. var cHosts = bulkHosts.length;
  3963. if (cHosts == 0) //no filehostings selected
  3964. return;
  3965. // STEP 1 linkify the links
  3966. var linkifyRegex = '';
  3967. var hostIdx = cHosts;
  3968. while(hostIdx--)
  3969. {
  3970. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3971. }
  3972. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3973. linkify(linkifyRegex);
  3974. //
  3975. //STEP 2 detect link objects
  3976. var xpathAll = '';
  3977. var hostIdx = cHosts;
  3978. while(hostIdx--)
  3979. {
  3980. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3981. }
  3982. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3983. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3984. if (filterId != null) //insert id restriction in the xpath
  3985. {
  3986. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3987. }
  3988. else
  3989. {
  3990. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3991. }
  3992. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3993. if (filterId == null)
  3994. {
  3995. cLinksTotal += links.snapshotLength;
  3996. }
  3997. //
  3998. //STEP 3 bind links with hostings
  3999. var linkIdx = links.snapshotLength;
  4000. var href = null;
  4001. if (linkIdx == 0) // no links found
  4002. return;
  4003. var name;
  4004. while (linkIdx--)
  4005. {
  4006. href = links.snapshotItem(linkIdx).href;
  4007. try // DO NOT REMOVE, filters crap that went through xpath detection
  4008. {
  4009. name = gimmeHostName(href);
  4010. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4011. bulkHostNames[name].links.push(href);
  4012. }
  4013. catch(e)
  4014. {
  4015.  
  4016. }
  4017. }
  4018. //
  4019. //STEP 4 process the links for each filehosting
  4020. var hostIdx = cHosts;
  4021. var host;
  4022. var m,n;
  4023. var arr;
  4024. while (hostIdx--)
  4025. {
  4026. host = bulkHosts[hostIdx];
  4027. arr = host.links;
  4028. if (arr.length == 0) //no links for this hosting, skip
  4029. {
  4030. continue;
  4031. }
  4032. //links match corrections
  4033. if (host.corrMatch != null)
  4034. {
  4035. var idx = arr.length;
  4036. while (idx--)
  4037. {
  4038. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4039. }
  4040. }
  4041. //links replace corrections
  4042. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4043. {
  4044. var idx = arr.length;
  4045. while (idx--)
  4046. {
  4047. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4048. }
  4049. }
  4050. m = arr.length;
  4051. n = host.blockSize;
  4052. if (m > n)
  4053. {
  4054. //insert block separators (RAND_STRING) into the array
  4055. for(var i = n; i < m; i += n + 1)
  4056. {
  4057. arr.splice(i, 0, RAND_STRING);
  4058. }
  4059. }
  4060.  
  4061. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4062. apiUrl: host.apiUrl,
  4063. postData: host.postData,
  4064. resLinkRegex: host.resLinkRegex,
  4065. resLiveRegex: host.resLiveRegex,
  4066. resDeadRegex: host.resDeadRegex,
  4067. resUnavaRegex: host.resUnavaRegex
  4068. });
  4069. //clean up
  4070. arr.length = 0;
  4071. }
  4072. //
  4073.  
  4074. function gimmeHostName(link)
  4075. {
  4076. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4077. }
  4078. }
  4079. function checkLinks(filterId)
  4080. {
  4081. startBulkCheck(filterId);
  4082. start(filterId);
  4083. }
  4084.  
  4085. /**
  4086. * Initialises progress box including event binding and CSS
  4087. */
  4088. function initProgressBox()
  4089. {
  4090. if ($("#warlc-progressbox").length > 0)
  4091. return;
  4092. //progressbox css change size and color of progress box
  4093. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4094. "; opacity:" + (Progress_box_opacity / 100) +
  4095. "; bottom:" + Progress_box_pos_bottom +
  4096. "px; right:" + Progress_box_pos_right +
  4097. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4098. \
  4099. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4100. \
  4101. .warlc-progressitem {}\
  4102. \
  4103. .alive {color:#00FF7F; " + Live_links_color +
  4104. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4105. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4106. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4107. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4108. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4109. );
  4110. //
  4111. $('body').append(' <div id="warlc-progressbox">\
  4112. <div class="warlc-progressbar"></div>\
  4113. <span class="warlc-progressitem alive"></span> - \
  4114. <span class="warlc-progressitem dead"></span> - \
  4115. <span class="warlc-progressitem unava"></span> - \
  4116. <span class="warlc-progressitem prem"></span> - \
  4117. <span class="warlc-progressitem processing"></span>\
  4118. </div>');
  4119. $('#warlc-progressbox').hide().click(function(){
  4120. clearInterval(intervalId);
  4121. $(this).hide();
  4122. return false;
  4123. });
  4124. $(".warlc-progressbar").progressbar({complete: function(){
  4125. $(this).fadeOut();
  4126. clearInterval(intervalId); //stop refreshing the stats
  4127. }
  4128. })
  4129. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4130. }
  4131. /**
  4132. * Updates progress data in progress box
  4133. */
  4134. function updateProgress()
  4135. {
  4136. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4137. if (cLinksTotal) // some links were detected on page
  4138. {
  4139. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4140. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4141. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4142. if ((cLinksTotal - cLinksProcessed) == 0)
  4143. {
  4144. $progressItems.first().text(cLinksAlive)
  4145. .next().text(cLinksDead)
  4146. .next().text(cLinksUnava)
  4147. .next().text(cLinksprem)
  4148. .next().remove();
  4149. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4150. $('#warlc-progressbox div:first-child').remove();
  4151. }
  4152. else
  4153. {
  4154. $progressItems.first().text(cLinksAlive)
  4155. .next().text(cLinksDead)
  4156. .next().text(cLinksUnava)
  4157. .next().text(cLinksprem)
  4158. .next().text(cLinksTotal - cLinksProcessed);
  4159. }
  4160. }
  4161. }
  4162.  
  4163. function check_all_links()
  4164. {
  4165. add_WARLC_style();
  4166.  
  4167. if (Show_progress_stats)
  4168. {
  4169. initProgressBox();
  4170. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4171. }
  4172.  
  4173. startBulkCheck(null);
  4174. start(null);
  4175.  
  4176. if (!containers_processed)
  4177. {
  4178. processContainers();
  4179. }
  4180. }
  4181.  
  4182. //Copies all found dead links to clipboard - right now for Scriptish only
  4183. function copy_dead_to_clipboard()
  4184. {
  4185. initClipBoardTools();
  4186.  
  4187. var deadlinksxpath = "//.[@class='adead_link']";
  4188.  
  4189. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4190. var foundlinkstext = '';
  4191.  
  4192. var foundlinkIdx = foundlinks.snapshotLength;
  4193.  
  4194. while(foundlinkIdx--)
  4195. {
  4196. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4197. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4198. }
  4199.  
  4200. GM_setClipboard(foundlinkstext);
  4201. }
  4202. //Copies all found live links to clipboard
  4203. function copy_live_to_clipboard()
  4204. {
  4205. initClipBoardTools();
  4206.  
  4207. var livelinksxpath = "//.[@class='alive_link']";
  4208.  
  4209. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4210. var foundlinks2text = '';
  4211.  
  4212. var foundlink2Idx = foundlinks2.snapshotLength;
  4213.  
  4214. while(foundlink2Idx--)
  4215. {
  4216. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4217. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4218. }
  4219.  
  4220. GM_setClipboard(foundlinks2text);
  4221. }
  4222.  
  4223. function toggle_autocheck()
  4224. {
  4225. var currentState = GM_getValue("Autocheck", false);
  4226. GM_setValue("Autocheck", !currentState);
  4227.  
  4228. if (currentState == true)
  4229. {
  4230. sendMessage('Autocheck disabled', 'red');
  4231. }
  4232. else
  4233. {
  4234. sendMessage('Autocheck enabled', 'SpringGreen');
  4235. }
  4236. }
  4237. function toggle_Enable_Anonymizer()
  4238. {
  4239. var currentState = GM_getValue("Enable_Anonymizer", false);
  4240. GM_setValue("Enable_Anonymizer", !currentState);
  4241.  
  4242. if (currentState == true)
  4243. {
  4244. GM_setValue("Ref_anonymize_service", "");
  4245. sendMessage('Anonymizer Disabled', 'red');
  4246. }
  4247. else
  4248. {
  4249. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4250. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4251. }
  4252. }
  4253.  
  4254. function KeyDownHandler(event)
  4255. {
  4256. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4257. if (event.ctrlKey && event.altKey)
  4258. {
  4259. switch(kcode)
  4260. {
  4261. case 65 : check_all_links(); break;
  4262. case 67 : configuration(); break;
  4263. case 68 : copy_dead_to_clipboard(); break;
  4264. case 76 : copy_live_to_clipboard(); break;
  4265. case 87 : toggle_autocheck(); break;
  4266. case 90 : toggle_Enable_Anonymizer(); break;
  4267. }
  4268. }
  4269. }
  4270.  
  4271. //
  4272. //
  4273. // SCRIPT EXECUTION START POINT
  4274. //
  4275. //
  4276. // Safari specific GM_getResourceText override
  4277. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4278. {
  4279. GM_getResourceText = function(res) {
  4280. var $cssText = GM_getValue("jquery_css", "");
  4281. if ($cssText == "")
  4282. {
  4283. GM_xmlhttpRequest(
  4284. {
  4285. method: 'GET',
  4286. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4287. onload: function (result)
  4288. {
  4289. GM_setValue("jquery_css", result.responseText);
  4290. window.location.reload();
  4291. }
  4292. });
  4293. }
  4294. else
  4295. {
  4296. return $cssText;
  4297. }
  4298. }
  4299. }
  4300. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4301. GM_addStyle(jQueryUICSS);
  4302. //init the stuff
  4303. setVariables();
  4304. initBulkCheck();
  4305. //init info boxes
  4306. messageBox.style.position = 'fixed';
  4307. messageBox.style.top = '20px';
  4308. messageBox.style.left = '10px';
  4309. messageBox.style.opacity = '0.85';
  4310. messageBox.style.background = 'DimGray';
  4311. messageBox.style.fontSize = '36px';
  4312. document.body.appendChild(messageBox);
  4313.  
  4314. //register GM menu commands & keyboard shortcut event handler
  4315. if (Keyboard_functions)
  4316. {
  4317. $(document).keydown(KeyDownHandler);
  4318. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4319. 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);
  4320. }
  4321. else
  4322. {
  4323. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4324. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4325. }
  4326.  
  4327. //start linkchecking
  4328. if (Autocheck)
  4329. {
  4330. $(document).ready(check_all_links);
  4331. }
  4332.  
  4333. //
  4334. //
  4335. // SCRIPT EXECUTION END POINT
  4336. //
  4337. //
  4338.  
  4339. //shows configuration box
  4340. function configuration()
  4341. {
  4342.  
  4343. //prevent multiple creating of config window
  4344. if ($("#hideshow").length)
  4345. {
  4346. $("#hideshow").show();
  4347. return;
  4348. }
  4349.  
  4350. var configcss = '\
  4351. .popup_block .popup fieldset{\
  4352. padding: 1%;\
  4353. border-style: solid;\
  4354. border-width: 1px;\
  4355. border-color: gray;\
  4356. margin-bottom: 1px;\
  4357. }\
  4358. #h3hideshowtitle{\
  4359. font-size: 2em;\
  4360. }\
  4361. #h3hideshow{\
  4362. font-size: 1.5em;\
  4363. }\
  4364. #imghideshow {\
  4365. border: none;\
  4366. }\
  4367. #plusimage{\
  4368. display:inline;\
  4369. }\
  4370. #hideshow {\
  4371. position: fixed;\
  4372. width: 100%;\
  4373. height: 100%;\
  4374. top: 0;\
  4375. left: 0;\
  4376. font-size:12px;\
  4377. z-index:2147483645;\
  4378. text-align:left;\
  4379. }\
  4380. #fade {\
  4381. background: #000;\
  4382. position: fixed;\
  4383. width: 100%;\
  4384. height: 100%;\
  4385. opacity: .80;\
  4386. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4387. left: 0;\
  4388. z-index: 10;\
  4389. }\
  4390. .popup_block {\
  4391. font-family:verdana;\
  4392. color:black;\
  4393. background: #ddd;\
  4394. padding: 10px 20px;\
  4395. border: 2px solid DarkOrange;\
  4396. float: left;\
  4397. width: 700px;\
  4398. position: absolute;\
  4399. top: 7%;\
  4400. left: 50%;\
  4401. bottom: 7%;\
  4402. margin: 0 0 0 -350px;\
  4403. -moz-border-radius:10px;\
  4404. z-index: 100;\
  4405. \
  4406. }\
  4407. .popup_block .popup {\
  4408. float: left;\
  4409. width: 100%;\
  4410. background: #fff;\
  4411. margin: 10px 0;\
  4412. padding: 0px 0 0px;\
  4413. border-left: 1px solid #bbb;\
  4414. border-top: 1px solid #bbb;\
  4415. border-right: 1px solid #bbb;\
  4416. }\
  4417. #h3hideshow{\
  4418. margin: 1px 0 0px;\
  4419. padding: 1px 10px;\
  4420. border-bottom: 1px solid #bbb;\
  4421. font-size: 1.5em;\
  4422. font-weight: normal;\
  4423. cursor:pointer;\
  4424. background:#DDDDDD none repeat scroll 0 0;\
  4425. }\
  4426. #h3hideshow:hover{\
  4427. background:#C0BEBE none repeat scroll 0 0;\
  4428. }\
  4429. #h3hideshowtitle{\
  4430. margin: 2px 0 0px;\
  4431. padding: 7px 10px;\
  4432. border-bottom: 1px solid #bbb;\
  4433. font-size: 1.5em;\
  4434. font-weight: normal;\
  4435. }\
  4436. .popup_block .popup a {\
  4437. color:DarkSkyBlue;\
  4438. text-decoration:none;\
  4439. }\
  4440. .popup p {\
  4441. padding: 1px 10px;\
  4442. margin: 0px 0;\
  4443. -x-system-font:none;\
  4444. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4445. font-size:10pt;\
  4446. font-size-adjust:none;\
  4447. font-stretch:normal;\
  4448. font-style:normal;\
  4449. font-variant:normal;\
  4450. font-weight:normal;\
  4451. line-height:normal;\
  4452. }\
  4453. #sites {\
  4454. padding: 1px 10px;\
  4455. margin: 0px 0;display:inline-block;width:16em;\
  4456. }\
  4457. #dev_ver {\
  4458. color: #00FF00;\
  4459. background: Black;\
  4460. text-align: right;\
  4461. }\
  4462. #sites_suspended {\
  4463. padding: 1px 10px;\
  4464. margin: 0px 0;display:inline-block;width:16em;\
  4465. text-decoration: line-through;\
  4466. }\
  4467. .popup img.cntrl {\
  4468. position: absolute;\
  4469. right: -15px;\
  4470. top: -15px;\
  4471. }\
  4472. #bulk {\
  4473. font-size:8pt;\
  4474. color:orange;\
  4475. padding: 1px 10px;\
  4476. margin: 0px 0;\
  4477. display:inline-block;\
  4478. width:100px;\
  4479. }\
  4480. #note {\
  4481. font-size:7pt;\
  4482. color:gray;\
  4483. padding: 1px 10px;\
  4484. margin: 0px 0;display:inline-block;\
  4485. min-width:100px;\
  4486. }\
  4487. #rednote {\
  4488. font-size:7pt;\
  4489. color:red;\
  4490. padding: 1px 10px;\
  4491. margin: 0px 0;display:inline-block;\
  4492. }\
  4493. #configinfo {\
  4494. font-size:8pt;\
  4495. color:gray;\
  4496. padding: 1px 10px;\
  4497. margin: 0px 0;display:inline-block;width:60em;\
  4498. }\
  4499. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4500. color:black;\
  4501. border-style: solid;\
  4502. border-width: 1px;\
  4503. border-color: gray;\
  4504. }\
  4505. #h3hideshowcontent {\
  4506. min-height:220px;\
  4507. max-height:220px;\
  4508. overflow:auto;\
  4509. display: none;\
  4510. padding: 10px 10px;\
  4511. }\
  4512. #specinfo{\
  4513. font-size:14px;\
  4514. }\
  4515. .warlc-ui-tab {\
  4516. height:300px;\
  4517. overflow:auto;\
  4518. }\
  4519. #warlcsitelist2, #warlcsitelist1 {\
  4520. height:220px;\
  4521. border-top: 1px solid #ddd;\
  4522. padding-top: 5px;\
  4523. overflow:auto;\
  4524. }\
  4525. input:hover+label {\
  4526. background:#F1F77C;\
  4527. font-size:110%;\
  4528. }\
  4529. ';
  4530.  
  4531. GM_addStyle(configcss);
  4532.  
  4533. var customRulesRefHTML =
  4534. '\
  4535. <br>\
  4536. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4537. <b>@keyword</b> <i>parameter</i>\
  4538. <br><br>\
  4539. 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. \
  4540. <br><br>\
  4541. 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.\
  4542. 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.\
  4543. 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.\
  4544. 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,\
  4545. but all commands until the next valid @customrule are ignored.<br><br>\
  4546. Available forms and types:\
  4547. <ul>\
  4548. <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.\
  4549. <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.\
  4550. <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.\
  4551. <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.\
  4552. </ul>\
  4553. Other available commands:<br>\
  4554. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4555. <ul>\
  4556. <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.\
  4557. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4558. <ul>examples:<br>\
  4559. <li>good: <i>filehost.com/download/</i><br>\
  4560. <li>good: <i>download.filehost.net/?d=</i><br>\
  4561. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4562. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4563. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4564. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4565. <li>bad: <i>filehost.com</i> - no slash<br>\
  4566. </ul>\
  4567. \
  4568. <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.\
  4569. 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 \
  4570. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4571. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4572. 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.)\
  4573. Two spaces again match any whitespace.\
  4574. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4575. Two spaces again match any whitespace.\
  4576. <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. \
  4577. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4578. </ul>\
  4579. \
  4580. ';
  4581.  
  4582. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4583. var configurationinnerHTML =
  4584. '<div id="fade"></div>\
  4585. <div class="popup_block">\
  4586. <div class="popup">\
  4587. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggH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CFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4589. <div id="warlc-conf-tabs">\
  4590. <ul>\
  4591. <li><a href="#tabs-1">Filehostings</a></li>\
  4592. <li><a href="#tabs-2">Containers</a></li>\
  4593. <li><a href="#tabs-5">Custom rules</a></li>\
  4594. <li><a href="#tabs-3">Settings</a></li>\
  4595. <li><a href="#tabs-4">About</a></li>\
  4596. </ul>\
  4597. <div id="tabs-1" class="warlc-ui-tab">\
  4598. <div class="warlc-ui-buttonset">\
  4599. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4600. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4601. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4602. </div><br>\
  4603. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4604. <div id="warlcsitelist1"><span>Empty</span></div>\
  4605. </div>\
  4606. <div id="tabs-2" class="warlc-ui-tab">\
  4607. <div class="warlc-ui-buttonset">\
  4608. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4609. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4610. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4611. </div><br>\
  4612. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4613. <div id="warlcsitelist2"><span>Empty</span></div>\
  4614. </div>\
  4615. <div id="tabs-5" class="warlc-ui-tab">\
  4616. <div class="warlcsettings">\
  4617. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4618. <br>\
  4619. <div>Edit custom rules: \
  4620. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4621. <div id="customRulesReference" style="display:none;">'
  4622. + customRulesRefHTML + '\
  4623. </div>\
  4624. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4625. </div>\
  4626. </div>\
  4627. </div>\
  4628. <div id="tabs-3" class="warlc-ui-tab">\
  4629. <div class="warlcsettings">\
  4630. <fieldset>\
  4631. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4632. <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>\
  4633. </fieldset>\
  4634. <fieldset>\
  4635. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4636. <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>\
  4637. <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>\
  4638. <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>\
  4639. <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>\
  4640. <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>\
  4641. <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>\
  4642. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4643. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4644. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4645. <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>\
  4646. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4647. <fieldset>\
  4648. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4649. <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>\
  4650. <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>\
  4651. <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>\
  4652. </fieldset>\
  4653. </fieldset>\
  4654. <fieldset>\
  4655. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4656. </fieldset>\
  4657. <fieldset>\
  4658. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4659. </fieldset>\
  4660. <fieldset>\
  4661. <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>\
  4662. </fieldset>\
  4663. <fieldset>\
  4664. <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>\
  4665. </fieldset>\
  4666. </div>\
  4667. </div>\
  4668. <div id="tabs-4" class="warlc-ui-tab">\
  4669. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4670. <br />\
  4671. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4672. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4673. <br />\
  4674. <p><b>Currently supported:</b><br>\
  4675. Filehostings: ' + allHostNames.length + '<br />\
  4676. Containers: ' + allContainerNames.length + '<br />\
  4677. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4678. <br />\
  4679. <p><b>Based on:</b><br>\
  4680. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4681. <br />\
  4682. <p><b>Uses:</b></p>\
  4683. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4684. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4685. <br />\
  4686. <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>\
  4687. </div>\
  4688. </div>\
  4689. </div>\
  4690. </div>';
  4691. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4692. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4693. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4694. var elmHostList = document.getElementById("warlcsitelist1");
  4695. var elmContainerList = document.getElementById("warlcsitelist2");
  4696. buildSettings();
  4697. buildSitelist("", allHostNames, elmHostList);
  4698. buildSitelist("", allContainerNames, elmContainerList);
  4699. if (DEBUG_MODE)
  4700. {
  4701. //log all sites availability status
  4702. diagSites();
  4703. }
  4704. //handler for checkbox state change
  4705. function changeConfiguration(e)
  4706. {
  4707. var element = e.target;
  4708.  
  4709. if (element.type == 'checkbox')
  4710. {
  4711. if (element.checked == 1)
  4712. {
  4713. GM_setValue(element.id, true);
  4714. }
  4715. else
  4716. {
  4717. GM_setValue(element.id, false);
  4718. }
  4719.  
  4720. }
  4721. setVariables();
  4722. }
  4723.  
  4724. //Selects all filehosting checkboxes
  4725. function selectAll()
  4726. {
  4727. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4728. .each(function(index, element){GM_setValue(this.id, true)});
  4729. }
  4730.  
  4731. //Deselects all filehosting checkboxes
  4732. function selectNone()
  4733. {
  4734. $(":checkbox:visible:checked").prop("checked",false)
  4735. .each(function(index, element){GM_setValue(this.id, false)});
  4736. }
  4737.  
  4738. //Inverts filehosting checkboxes selection
  4739. function selectInvert()
  4740. {
  4741. var $checked = $(":checkbox:visible:checked");
  4742. var $unchecked = $(":checkbox:visible:not(:checked)");
  4743. $unchecked.prop("checked",true)
  4744. .each(function(index, element){GM_setValue(this.id, true)});
  4745. $checked.prop("checked",false)
  4746. .each(function(index, element){GM_setValue(this.id, false)});
  4747. }
  4748. //toggles anonymizer on off
  4749. function Enable_Anonymizer()
  4750. {
  4751. var $checked = $(":checkbox:visible:checked");
  4752. var $unchecked = $(":checkbox:visible:not(:checked)");
  4753. $unchecked.prop("checked",true)
  4754. .each(function(index, element){GM_setValue(this.id, true)});
  4755. $checked.prop("checked",false)
  4756. .each(function(index, element){GM_setValue(this.id, false)});
  4757. }
  4758.  
  4759. function changeRefAnonymizer(){
  4760. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4761. }
  4762.  
  4763. //Sets live links color
  4764. function changeColorLive()
  4765. {
  4766. var inColorLive = document.getElementById("inputColorLive");
  4767. inColorLive.style.background = inColorLive.value;
  4768. GM_setValue("Live_links_color", inColorLive.value);
  4769. }
  4770.  
  4771. //Sets dead links color
  4772. function changeColorDead()
  4773. {
  4774. var inColorDead = document.getElementById("inputColorDead");
  4775. inColorDead.style.background = inColorDead.value;
  4776. GM_setValue("Dead_links_color", inColorDead.value);
  4777. }
  4778.  
  4779. //Sets temp. unavailable links color
  4780. function changeColorTemp()
  4781. {
  4782. var inColorTemp = document.getElementById("inputColorTemp");
  4783. inColorTemp.style.background = inColorTemp.value;
  4784. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4785. }
  4786.  
  4787. //Sets temp. unavailable links color
  4788. function changeColorCont()
  4789. {
  4790. var inColorCont = document.getElementById("inputColorCont");
  4791. inColorCont.style.background = inColorCont.value;
  4792. GM_setValue("Container_links_color", inColorCont.value);
  4793. }
  4794. //Sets premium. links color
  4795. function changeColorprem()
  4796. {
  4797. var inColorprem = document.getElementById("inputColorprem");
  4798. inColorprem.style.background = inColorprem.value;
  4799. GM_setValue("Premium_links_color", inColorprem.value);
  4800. }
  4801.  
  4802. //Diagnose sites for availability
  4803. function diagSites()
  4804. {
  4805. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4806.  
  4807. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4808. {
  4809. if (boxes[i].type == "checkbox")
  4810. {
  4811. checkAvailability(boxes[i]);
  4812. }
  4813. }
  4814.  
  4815. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4816.  
  4817. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4818. {
  4819. if (boxes[i].type == "checkbox")
  4820. {
  4821. checkAvailability(boxes[i]);
  4822. }
  4823. }
  4824.  
  4825. function checkAvailability(cbElm)
  4826. {
  4827. var cb = cbElm;
  4828. GM_xmlhttpRequest(
  4829. {
  4830. method: 'HEAD',
  4831. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4832. headers: {
  4833. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4834. 'Accept': 'text/xml',
  4835. 'Referer': ""
  4836. },
  4837. onload: function (result)
  4838. {
  4839. if (result.status != 200)
  4840. {
  4841. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4842. }
  4843. },
  4844. onerror: function (result)
  4845. {
  4846. if (result.status != 200)
  4847. {
  4848. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4849. }
  4850. }
  4851. });
  4852. }
  4853. }
  4854. function buildSettings()
  4855. {
  4856. $(".warlcsettings :checkbox").each(function(){
  4857. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4858. .click(function(e){
  4859. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4860. setVariables();
  4861. });
  4862. })
  4863. }
  4864. //Dynamic build of host list
  4865. //param search [string] searches for hostnames matching search substring
  4866. //param siteNames [array] array of site names
  4867. //param targetNode [DOM Node] where the list should be built
  4868. // first child node is replaced
  4869. function buildSitelist(search, siteNames, targetNode)
  4870. {
  4871. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4872. var $targetNode = $(targetNode).empty();
  4873. var searchedSite = "";
  4874. $.each(siteNames, function(i, site){
  4875. if (searchedSite = site.match(searchRegex))
  4876. {
  4877. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4878. //ensuring backward compatibility with the rest of code, to be refactored later
  4879. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4880. //
  4881. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4882. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4883. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4884. );
  4885. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4886. .change(changeConfiguration);
  4887. $targetNode.append('<br />');
  4888. }
  4889. });
  4890. $targetNode.append("<hr>");
  4891. //obsolete hosts checkbox
  4892. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4893. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4894. .change(changeConfiguration);
  4895. $targetNode.append('<br />');
  4896. var foundName = "";
  4897. $.each(allObsoleteNames, function(i, site){
  4898. if (foundName = allObsoleteNames[i].match(searchRegex))
  4899. {
  4900. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4901. }
  4902. })
  4903. }
  4904. var hostSearchBox = document.getElementById("hostSearchBox");
  4905. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4906. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4907. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4908. $(".warlc-ui-select-all").click(selectAll).button();
  4909. $(".warlc-ui-select-none").click(selectNone).button();
  4910. $(".warlc-ui-select-invert").click(selectInvert).button();
  4911. $(".warlc-ui-buttonset").buttonset();
  4912. var inColorLive = document.getElementById("inputColorLive");
  4913. inColorLive.addEventListener('keyup', changeColorLive, false);
  4914.  
  4915. var inColorDead = document.getElementById("inputColorDead");
  4916. inColorDead.addEventListener('keyup', changeColorDead, false);
  4917.  
  4918. var inColorTemp = document.getElementById("inputColorTemp");
  4919. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4920.  
  4921. var inColorCont = document.getElementById("inputColorCont");
  4922. inColorCont.addEventListener('keyup', changeColorCont, false);
  4923. var inColorprem = document.getElementById("inputColorprem");
  4924. inColorprem.addEventListener('keyup', changeColorprem, false);
  4925. $("#refAnonymizer").change(changeRefAnonymizer);
  4926. //buttons and edit boxes init end
  4927.  
  4928. //icon sets radio buttons
  4929. var radioButtons = document.getElementsByName("warlciconset");
  4930. radioButtons[Icon_set].checked = "checked";
  4931.  
  4932. radioButtons[0].addEventListener("change", updateIconSet);
  4933. radioButtons[1].addEventListener("change", updateIconSet);
  4934. radioButtons[2].addEventListener("change", updateIconSet);
  4935. radioButtons[3].addEventListener("change", updateIconSet);
  4936. function updateIconSet()
  4937. {
  4938. GM_setValue("Icon_set", this.value * 1);
  4939. }
  4940. //
  4941. $('#showCustomRulesReference').click(function(e){
  4942. e.preventDefault();
  4943. $('#customRulesReference').toggle();
  4944. });
  4945. $('#Custom_rules_text')
  4946. .val(Custom_rules_text)
  4947. .change(saveCustomRules);
  4948. function saveCustomRules(e)
  4949. {
  4950. var cr = parseCustomRules(this.value);
  4951. if (cr.info.length)
  4952. 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, ' '));
  4953. GM_setValue('Custom_rules_text', this.value);
  4954. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4955. }
  4956. }
  4957.  
  4958. //begin standard link checking algorithm
  4959. function start(filterId)
  4960. {
  4961. var doNotLinkify = Do_not_linkify_DL_links;
  4962.  
  4963. // USER SELECTED FILE HOSTS INITIALIZATION START
  4964. var http_file_hosts = new Array(); //standard hostings
  4965. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4966. var http_file_hosts_obsolete = new Array(); //dead hostings
  4967. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4968.  
  4969. initFileHosts();
  4970. initFileHostsHeadersOnly();
  4971. initFileHostsCustom(); //CustomRules
  4972. // USER SELECTED FILE HOSTS INITIALIZATION END
  4973.  
  4974. // LINKIFICATION START
  4975. var totalxpath = '';
  4976. var totalxpathcoded = '';
  4977. var totalxpathobsolete = '';
  4978. var totalxpathheadersonly = '';
  4979. var totalourls = '';
  4980.  
  4981. var filehostLen = http_file_hosts.length;
  4982. var filehostCodedLen = http_file_hosts_coded.length;
  4983. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4984. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4985.  
  4986. var filehostIdx = filehostLen;
  4987. var filehostCodedIdx = filehostCodedLen;
  4988. var filehostObsoleteIdx = filehostObsoleteLen;
  4989. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4990.  
  4991. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4992. return;
  4993.  
  4994. while (filehostIdx--)
  4995. {
  4996. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4997. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4998. }
  4999.  
  5000. while (filehostCodedIdx--)
  5001. {
  5002. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5003. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5004. }
  5005.  
  5006. while (filehostObsoleteIdx--)
  5007. {
  5008. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5009. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5010. }
  5011.  
  5012. while (filehostHeadersOnlyIdx--)
  5013. {
  5014. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5015. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5016. }
  5017.  
  5018. totalourls = totalourls.replace(/\|$/g, "");
  5019. //TODO: further refactoring needed
  5020. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5021. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5022. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5023. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5024. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5025. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5026. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5027. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5028. if (filterId != null) //insert id restriction in the xpath
  5029. {
  5030. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5031. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5032. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5033. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5034. }
  5035. else
  5036. {
  5037. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5038. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5039. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5040. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5041. }
  5042. linkify(totalourls);
  5043. //LINKIFICATION END
  5044. //ENCRYPTED LINKS PROCESSING START
  5045. if (http_file_hosts_coded.length > 0)
  5046. {
  5047. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5048.  
  5049. // decrypt coded links (redirects, link protectors etc.)
  5050. if (linksCoded.snapshotLength > 0)
  5051. {
  5052. var link;
  5053. var reallinkreg;
  5054. var reallinkcorrection;
  5055.  
  5056. if (filterId == null)
  5057. {
  5058. cLinksTotal += linksCoded.snapshotLength;
  5059. }
  5060.  
  5061. var y = linksCoded.snapshotLength - 1;
  5062. do
  5063. {
  5064. // linksCoded.snapshotItem(y).id = 'processing_link';
  5065. link = linksCoded.snapshotItem(y);
  5066. filehostIdx = filehostCodedLen;
  5067. while (filehostIdx--)
  5068. {
  5069. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5070. {
  5071. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5072. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5073. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5074.  
  5075. decurl(link, reallinkreg, reallinkcorrection);
  5076. break;
  5077. }
  5078. }
  5079. }
  5080. while (y--);
  5081. }
  5082. }
  5083. //ENCRYPTED LINKS PROCESSING END
  5084.  
  5085. //STANDARD LINKCHECKING START
  5086. if (http_file_hosts.length > 0)
  5087. {
  5088. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5089.  
  5090. if (filterId == null)
  5091. {
  5092. cLinksTotal += lianks.snapshotLength;
  5093. }
  5094.  
  5095. if (lianks.snapshotLength > 0)
  5096. {
  5097. var link;
  5098.  
  5099. var URL = "";
  5100. var name = "";
  5101. var isAliveRegex = "";
  5102. var isDeadRegex = "";
  5103. var isUnavaRegex = "";
  5104. var ispremRegex = "";
  5105. var tryLoop = false;
  5106.  
  5107. var y = lianks.snapshotLength;
  5108.  
  5109. while (y--)
  5110. {
  5111. link = lianks.snapshotItem(y);
  5112.  
  5113. filehostIdx = filehostLen;
  5114. while (filehostIdx--)
  5115. {
  5116. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5117. {
  5118. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5119. isAliveRegex = http_file_hosts[filehostIdx][1];
  5120. isDeadRegex = http_file_hosts[filehostIdx][2];
  5121. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5122. ispremRegex = http_file_hosts[filehostIdx][6];
  5123. tryLoop = http_file_hosts[filehostIdx][5];
  5124.  
  5125. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5126.  
  5127. break;
  5128. }
  5129. }
  5130. }
  5131. }
  5132. }
  5133. //STANDARD LINKCHECKING END
  5134. //OBSOLETE FILE HOSTS PROCESSING START
  5135. if (filehostObsoleteLen > 0)
  5136. {
  5137. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5138.  
  5139. var obsoleteLink;
  5140.  
  5141. //check links
  5142. if (obsoletelinks.snapshotLength > 0)
  5143. {
  5144. var y = obsoletelinks.snapshotLength;
  5145.  
  5146. if (filterId == null)
  5147. {
  5148. cLinksTotal += y;
  5149. }
  5150.  
  5151. while (y--)
  5152. {
  5153. obsoleteLink = obsoletelinks.snapshotItem(y);
  5154.  
  5155. if (Display_tooltip_info)
  5156. {
  5157. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5158. }
  5159. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5160. }
  5161. }
  5162. }
  5163. //OBSOLETE FILE HOSTS PROCESSING END
  5164.  
  5165. //DIRECT LINKCHECKING START
  5166. if (http_file_hosts_headers_only.length > 0)
  5167. {
  5168. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5169.  
  5170. //check links
  5171. if (links.snapshotLength > 0)
  5172. {
  5173. var link;
  5174. var isAliveRegex;
  5175. var isDeadRegex;
  5176. var ispremRegex;
  5177.  
  5178. var y = links.snapshotLength;
  5179.  
  5180.  
  5181. if (filterId == null)
  5182. {
  5183. cLinksTotal += y;
  5184. }
  5185.  
  5186. while (y--)
  5187. {
  5188. // links.snapshotItem(y).id = 'processing_link';
  5189. link = links.snapshotItem(y);
  5190. filehostIdx = filehostHeadersOnlyLen;
  5191. while (filehostIdx--)
  5192. {
  5193. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5194. {
  5195. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5196. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5197. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5198. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5199.  
  5200. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5201.  
  5202. break;
  5203. }
  5204. }
  5205. }
  5206.  
  5207. }
  5208. }
  5209. //DIRECT LINKCHECKING END
  5210.  
  5211.  
  5212. //finds the real url on the page, replaces link.href with it and calls geturl
  5213. function decurl(link, reallinkreg, reallinkcorrection)
  5214. {
  5215.  
  5216. GM_xmlhttpRequest(
  5217. {
  5218. method: 'GET',
  5219. url: link.href,
  5220. headers: {
  5221. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5222. 'Accept': 'text/xml',
  5223. 'Referer': ""
  5224. },
  5225. onload: function (result)
  5226. {
  5227. // cLinksProcessed++;
  5228.  
  5229. var reallink = result.responseText.match(reallinkreg)[0];
  5230. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5231.  
  5232. link.href = reallink;
  5233.  
  5234. var i = http_file_hosts.length - 1;
  5235. do
  5236. {
  5237. if ((reallink.match(http_file_hosts[i][0])))
  5238. {
  5239. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5240. var isAliveRegex = http_file_hosts[i][1];
  5241. var isDeadRegex = http_file_hosts[i][2];
  5242. var isUnavaRegex = http_file_hosts[i][3];
  5243. var ispremRegex = http_file_hosts[i][4];
  5244.  
  5245. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5246.  
  5247. break;
  5248. }
  5249. }
  5250. while (i--);
  5251. }
  5252. });
  5253. }
  5254.  
  5255. function randUA()
  5256. {
  5257. //TODO
  5258. }
  5259. //Processes link
  5260. //
  5261. // [string] link link URL
  5262. // [string] isAliveRegex alive link regex
  5263. // [string] isDeadRegex dead link regex
  5264. // [string] isUnavaRegex unavailable link regex
  5265. // [string] ispremRegex premium link regex
  5266. // [boolean] tryLoop repeats request until succeeded
  5267. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5268. {
  5269. GM_xmlhttpRequest(
  5270. {
  5271. method: 'GET',
  5272. url: link.href,
  5273. headers: {
  5274. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5275. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5276. 'Referer': ""
  5277. },
  5278. onload: function (result)
  5279. {
  5280. var res = result.responseText;
  5281. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5282. {
  5283. displayTheCheckedLink(link, 'alive_link');
  5284. return;
  5285. }
  5286.  
  5287. if (res.match(isAliveRegex))
  5288. {
  5289. displayTheCheckedLink(link, 'alive_link');
  5290. return;
  5291. }
  5292.  
  5293. if (res.match(isDeadRegex))
  5294. {
  5295. displayTheCheckedLink(link, 'adead_link');
  5296. return;
  5297. }
  5298.  
  5299. if (isUnavaRegex && res.match(isUnavaRegex))
  5300. {
  5301. displayTheCheckedLink(link, 'unava_link');
  5302. return;
  5303. }
  5304. if (res.match(ispremRegex))
  5305. {
  5306. displayTheCheckedLink(link, 'prem_link');
  5307. return;
  5308. }
  5309.  
  5310. var resStatus = result.status;
  5311.  
  5312. if (resStatus == 404)
  5313. {
  5314. displayTheCheckedLink(link, 'adead_link');
  5315. }
  5316. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5317. {
  5318. if (tryLoop)
  5319. {
  5320. //wait 1-5 seconds and repeat the request
  5321. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5322. }
  5323. else
  5324. {
  5325. displayTheCheckedLink(link, 'unava_link');
  5326. }
  5327.  
  5328. return;
  5329. }
  5330. },
  5331. onerror: function ()
  5332. {
  5333. displayTheCheckedLink(link, 'unava_link');
  5334. }
  5335. });
  5336. }
  5337.  
  5338. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5339. {
  5340. GM_xmlhttpRequest(
  5341. {
  5342. method: 'HEAD',
  5343. url: link.href,
  5344. headers: {
  5345. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5346. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5347. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5348. 'Referer': ""
  5349. },
  5350. onload: function (result)
  5351. {
  5352. var resStatus = result.status;
  5353. var resHeaders = "";
  5354. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5355. {
  5356. displayTheCheckedLink(link, 'adead_link');
  5357. return;
  5358. }
  5359.  
  5360. resHeaders = result.responseHeaders;
  5361.  
  5362. if (resHeaders.match(isDeadRegex))
  5363. {
  5364. displayTheCheckedLink(link, 'adead_link');
  5365. return;
  5366. }
  5367.  
  5368. if (resHeaders.match(isAliveRegex))
  5369. {
  5370. displayTheCheckedLink(link, 'alive_link');
  5371. return;
  5372. }
  5373. if (resHeaders.match(ispremRegex))
  5374. {
  5375. displayTheCheckedLink(link, 'prem_link');
  5376. return;
  5377. }
  5378. },
  5379. onerror: function ()
  5380. {
  5381. displayTheCheckedLink(link, 'unava_link');
  5382. }
  5383. });
  5384. }
  5385.  
  5386. //Delinkfifies the <a> element object
  5387. function delinkifyLink(link)
  5388. {
  5389. var spanElm = document.createElement("span");
  5390. spanElm.className = link.className;
  5391. spanElm.innerHTML = link.innerHTML;
  5392.  
  5393. if (Display_tooltip_info)
  5394. {
  5395. spanElm.href = link.href;
  5396. spanElm.warlc_error = link.warlc_error;
  5397. switch (link.className){
  5398. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5399. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5400. case "unava_link": //reserved
  5401. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5402. default:
  5403. }
  5404. }
  5405. link.parentNode.replaceChild(spanElm, link);
  5406. }
  5407.  
  5408. //Assigns result status to the <a> element object and calls delinkifying eventually
  5409. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5410. function displayTheCheckedLink(link, resultStatus)
  5411. {
  5412. link.className = resultStatus;
  5413. link.href = Ref_anonymize_service + link.href;
  5414. if (Display_tooltip_info)
  5415. {
  5416. switch (resultStatus){
  5417. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5418. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5419. case "unava_link": //reserved
  5420. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5421. default:
  5422. }
  5423. }
  5424. if (doNotLinkify)
  5425. {
  5426. delinkifyLink(link);
  5427. }
  5428. cLinksProcessed++;
  5429.  
  5430. if (resultStatus == "alive_link")
  5431. {
  5432. cLinksAlive++;
  5433. return;
  5434. }
  5435.  
  5436. if (resultStatus == "adead_link")
  5437. {
  5438. cLinksDead++;
  5439. return;
  5440. }
  5441.  
  5442. if (resultStatus == "unava_link")
  5443. {
  5444. cLinksUnava++;
  5445. }
  5446. if (resultStatus == "prem_link")
  5447. {
  5448. cLinksprem++;
  5449. return;
  5450. }
  5451. }
  5452.  
  5453.  
  5454. function initFileHosts()
  5455. {
  5456.  
  5457. function addObsoleteHost(linkRegex, xpathEx)
  5458. {
  5459. var host = new Array(2);
  5460. host[0] = linkRegex;
  5461. host[1] = xpathEx;
  5462. http_file_hosts_obsolete.push(host);
  5463. }
  5464.  
  5465. //obsolete file hosts init start
  5466. if (Obsolete_file_hosts)
  5467. {
  5468. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5469. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5470. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5471. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5472. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5473. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5474. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5475. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5476. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5477. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5478. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5479. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5480. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5481. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5482. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5483. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5484. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5485. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5486. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5487. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5488. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5489. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5490. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5491. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5492. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5493. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5494. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5495. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5496. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5497. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5498. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5499. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5500. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5501. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5502. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5503. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5504. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5505. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5506. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5507. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5508. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5509. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5510. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5511. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5512. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5513. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5514. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5515. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5516. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5517. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5518. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5519. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5520. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5521. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5522. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5523. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5524. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5525. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5526. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5527. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5528. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5529. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5530. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5531. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5532. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5533. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5534. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5535. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5536. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5537. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5538. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5539. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5540. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5541. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5542. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5543. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5544. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5545. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5546. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5547. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5548. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5549. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5550. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5551. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5552. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5553. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5554. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5555. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5556. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5557. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5558. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5559. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5560. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5561. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5562. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5563. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5564. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5565. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5566. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5567. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5568. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5569. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5570. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5571. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5572. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5573. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5574. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5575. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5576. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5577. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5578. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5579. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5580. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5581. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5582. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5583. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5584. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5585. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5586. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5587. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5588. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5589. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5590. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5591. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5592. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5593. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5594. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5595. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5596. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5597. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5598. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5599. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5600. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5601. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5602. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5603. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5604. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5605. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5606. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5607. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5608. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5609. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5610. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5611. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5612. 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')]");
  5613. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5614. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5615. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5616. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5617. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5618. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5619. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5620. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5621. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5622. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5623. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5624. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5625. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5626. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5627. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5628. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5629. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5630. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5631. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5632. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5633. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5634. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5635. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5636. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5637. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5638. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5639. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5640. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5641. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5642. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5643. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5644. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5645. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5646. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5647. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5648. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5649. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5650. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5651. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5652. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5653. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5654. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5655. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5656. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5657. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5658. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5659. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5660. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5661. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5662. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5663. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5664. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5665. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5666. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5667. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5668. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5669. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5670. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5671. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5672. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5673. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5674. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5675. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5676. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5677. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5678. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5679. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5680. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5681. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5682. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5683. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5684. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5685. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5686. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5687. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5688. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5689. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5690. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5691. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5692. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5693. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5694. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5695. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5696. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5697. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5698. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5699. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5700. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5701. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5702. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5703. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5704. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5705. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5706. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5707. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5708. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5709. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5710. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5711. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5712. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5713. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5714. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5715. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5716. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5717. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5718. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5719. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5720. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5721. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5722. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5723. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5724. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5725. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5726. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5727. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5728. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5729. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5730. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5731. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5732. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5733. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5734. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5735. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5736. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5737. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5738. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5739. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5740. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5741. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5742. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5743. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5744. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5745. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5746. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5747. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5748. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5749. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5750. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5751. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5752. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5753. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5754. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5755. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5756. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5757. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5758. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5759. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5760. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5761. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5762. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5763. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5764. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5765. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5766. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5767. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5768. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5769. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5770. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5771. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5772. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5773. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5774. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5775. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5776. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5777. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5778. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5779. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5780. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5781. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5782. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5783. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5784. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5785. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5786. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5787. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5788. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5789. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5790. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5791. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5792. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5793. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5794. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5795. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5796. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5797. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5798. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5799. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5800. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5801. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5802. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5803. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5804. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5805. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5806. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5807. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5808. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5809. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5810. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5811. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5812. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5813. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5814. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5815. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5816. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5817. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5818. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5819. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5820. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5821. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5822. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5823. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5824. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5825. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5826. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5827. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5828. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5829. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5830. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5831. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5832. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5833. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5834. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5835. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5836. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5837. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5838. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5839. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5840. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5841. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5842. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5843. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5844. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5845. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5846. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5847. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5848. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5849. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5850. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5851. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5852. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5853. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5854. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5855. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5856. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5857. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5858. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5859. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5860. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5861. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5862. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5863. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5864. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5865. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5866. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5867. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5868. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5869. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5870. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5871. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5872. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5873. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5874. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5875. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5876. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5877. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5878. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5879. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5880. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5881. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5882. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5883. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5884. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5885. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5886. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5887. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5888. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5889. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5890. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5891. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5892. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5893. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5894. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5895. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5896. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5897. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5898. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5899. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5900. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5901. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5902. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5903. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5904. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5905. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5906. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5907. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5908. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5909. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5910. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5911. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5912. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5913. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5914. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5915. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5916. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5917. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5918. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5919. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5920. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5921. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5922. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5923. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5924. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5925. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5926. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5927. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5928. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5929. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5930. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5931. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5932. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5933. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5934. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5935. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5936. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5937. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5938. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5939. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5940. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5941. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5942. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5943. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5944. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5945. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5946. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5947. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5948. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5949. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5950. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5951. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5952. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5953. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5954. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5955. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5956. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm​.to/')]");
  5957. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  5958. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  5959. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  5960. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  5961. // obsolete start
  5962. }
  5963. //obsolete file hosts init end
  5964. //Add Host Example
  5965. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5966. {
  5967. addFileHost(
  5968. "datafile\.com\/\\w+",
  5969. 'var captchaPanel|<link href="/css/files_download.css"',
  5970. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5971. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5972. '<style type="text/css">',
  5973. "//a[contains(@href,'datafile.com')]",
  5974. true);
  5975. } */
  5976.  
  5977. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5978. {
  5979. var host = new Array(7);
  5980. host[0] = linkRegex;
  5981. host[1] = isAliveRegex;
  5982. host[2] = isDeadRegex;
  5983. host[3] = isUnavaRegex;
  5984. host[6] = ispremRegex;
  5985. host[4] = xpathEx;
  5986. tryLoop ? host[5] = true : host[5] = false;
  5987. http_file_hosts.push(host);
  5988. }
  5989. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5990. {
  5991. addFileHost(
  5992. "megafileupload\.com\/..\/file\/",
  5993. 'downloadbtn',
  5994. 'is not found',
  5995. 'optional--',
  5996. 'optional2--',
  5997. "//a[contains(@href,'megafileupload.com')]");
  5998. }
  5999. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6000. {
  6001. addFileHost(
  6002. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6003. 'download\\.gif"',
  6004. 'p_point">',
  6005. 'optional--',
  6006. 'optional2--',
  6007. "//a[contains(@href,'demo.ovh.eu')]");
  6008. }
  6009. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  6010. {
  6011. addFileHost(
  6012. "xkeepfile\.com\/\\w+",
  6013. 'File has been found|Click here to download',
  6014. 'File cannot be found|class="error">',
  6015. 'optional--',
  6016. 'optional2--',
  6017. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  6018. }
  6019. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6020. {
  6021. addFileHost(
  6022. "safelinking\\.net\/p\/\\w+",
  6023. 'color:green;"',
  6024. 'color:(?:red|orange);"',
  6025. 'color:(?:grey|brown);"',
  6026. 'optional2--',
  6027. "//a[contains(@href,'safelinking.net/p/')]",
  6028. true);
  6029. }
  6030. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6031. {
  6032. addFileHost(
  6033. "fastshare\\.cz\/\\d+\/\\w*",
  6034. 'dwntable">|speed-low',
  6035. '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',
  6036. 'optional--',
  6037. 'optional2--',
  6038. "//a[contains(@href,'fastshare.cz')]");
  6039. }
  6040. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6041. {
  6042. addFileHost(
  6043. "[fF]ast[sS]hare\\.org\/download",
  6044. 'Download ">',
  6045. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6046. 'optional--',
  6047. 'optional2--',
  6048. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6049. }
  6050. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  6051. {
  6052. addFileHost(
  6053. "partage-facile\.com\/\\w+",
  6054. 'class="title"><strong>|colspan="2"',
  6055. 'Page introuvable|class="alert-message',
  6056. 'optional--',
  6057. 'optional2--',
  6058. "//a[contains(@href,'partage-facile.com')]");
  6059. }
  6060. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6061. {
  6062. addFileHost(
  6063. "rapidgator\\.net\/file\/\\w+",
  6064. '/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',
  6065. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  6066. 'optional--',
  6067. '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',
  6068. "//a[contains(@href,'rapidgator.net/file')]",
  6069. true
  6070. );
  6071. }
  6072. if (GM_getValue("Check_rg_dot_to_links", false))
  6073. {
  6074. addFileHost(
  6075. "rg\.to\/\\w+",
  6076. '/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',
  6077. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6078. 'optional--',
  6079. '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',
  6080. "//a[contains(@href,'rg.to')]");
  6081. }
  6082. if (GM_getValue("Check_relink_dot_us_links", false))
  6083. {
  6084. addFileHost(
  6085. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6086. 'online_detail\\.png" alt="Status',
  6087. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6088. 'unknown_detail\\.png" alt="Status',
  6089. 'optional2--',
  6090. "//a[contains(@href,'relink.us/')]"
  6091. );
  6092. }
  6093. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6094. {
  6095. addFileHost(
  6096. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6097. 'div id="dl"',
  6098. 'Sie haben den Link falsch',
  6099. 'optional--',
  6100. 'optional2--',
  6101. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6102. );
  6103. }
  6104. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6105. {
  6106. addFileHost(
  6107. "flyfiles\\.net\/\\w+",
  6108. 'download_button"|"Download file"',
  6109. 'File not found!|Файл не найден',
  6110. 'optional--',
  6111. 'optional2--',
  6112. "//a[contains(@href,'flyfiles.net/')]"
  6113. );
  6114. }
  6115. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6116. {
  6117. addFileHost(
  6118. "wikiupload\\.com\/\\w+",
  6119. 'download-button">',
  6120. 'Sorry, File not found',
  6121. 'optional--',
  6122. 'optional2--',
  6123. "//a[contains(@href,'wikiupload.com/')]"
  6124. );
  6125. }
  6126. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6127. {
  6128. addFileHost(
  6129. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6130. 'file\\.php">|Pobierz Plik',
  6131. 'Podany plik nie zosta',
  6132. 'optional--',
  6133. 'optional2--',
  6134. "//a[contains(@href,'hostuje.net/file')]"
  6135. );
  6136. }
  6137. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6138. {
  6139. addFileHost(
  6140. "gettyfile\\.ru\/\\d+",
  6141. 'download\\.gif border',
  6142. '<center><font size="3">',
  6143. 'optional--',
  6144. 'optional2--',
  6145. "//a[contains(@href,'gettyfile.ru/')]"
  6146. );
  6147. }
  6148. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6149. {
  6150. addFileHost(
  6151. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6152. 'download\\-file">',
  6153. 'col-1">\\s*<h1>',
  6154. 'optional--',
  6155. 'optional2--',
  6156. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6157. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6158. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6159. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6160. );
  6161. }
  6162. if (GM_getValue("Check_data_dot_hu_links", false))
  6163. {
  6164. addFileHost(
  6165. "data\\.hu\/get\/\\d+\/",
  6166. 'download_box_button',
  6167. 'missing\\.php',
  6168. 'optional--',
  6169. 'optional2--',
  6170. "//a[contains(@href,'data.hu/get')]",
  6171. true
  6172. );
  6173. }
  6174. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6175. {
  6176. addFileHost(
  6177. "filesmelt\\.com\/dl\/\\w+",
  6178. '(Your download is ready|Download File)',
  6179. 'Sorry, but your',
  6180. 'optional--',
  6181. 'optional2--',
  6182. "//a[contains(@href,'filesmelt.com/dl')]"
  6183. );
  6184. }
  6185. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6186. {
  6187. addFileHost(
  6188. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6189. 'premiumBtn"',
  6190. 'errorMessage"',
  6191. 'optional--',
  6192. 'optional2--',
  6193. "//a[contains(@href,'indowebster.com/download')]"
  6194. );
  6195. }
  6196. if (GM_getValue("Check_superload_dot_cz_links", false))
  6197. {
  6198. addFileHost(
  6199. "superload\\.cz\/dl\/\\w+",
  6200. 'icon-download">',
  6201. 'soubor nebyl nalezen',
  6202. 'optional--',
  6203. 'optional2--',
  6204. "//a[contains(@href,'superload.cz/dl')]"
  6205. );
  6206. }
  6207. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6208. {
  6209. addFileHost(
  6210. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6211. 'op" value="download',
  6212. 'class="err">|width:500px;text-align:left;">',
  6213. 'optional--',
  6214. 'optional2--',
  6215. "//a[contains(@href,'hulkfile.')]"
  6216. );
  6217. }
  6218. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6219. {
  6220. addFileHost(
  6221. "easybytez\\.com\/\\w+",
  6222. 'op" value="download',
  6223. 'stop_error\\.gif',
  6224. 'optional--',
  6225. 'optional2--',
  6226. "//a[contains(@href,'easybytez.com/')]"
  6227. );
  6228. }
  6229. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6230. {
  6231. addFileHost(
  6232. "filestore\\.com\\.ua\/\\?d=\\w+",
  6233. 'tdrow1>',
  6234. 'class=warn',
  6235. 'optional--',
  6236. 'optional2--',
  6237. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6238. );
  6239. }
  6240. if (GM_getValue("Check_netkups_dot_com_links", false))
  6241. {
  6242. addFileHost(
  6243. "netkups\\.com\/\\?d=\\w+",
  6244. 'submit">Continue',
  6245. 'page">File not found|deleted due to inactivity',
  6246. 'optional--',
  6247. 'optional2--',
  6248. "//a[contains(@href,'netkups.com/?d=')]"
  6249. );
  6250. }
  6251. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6252. {
  6253. addFileHost(
  6254. "openfile\\.ru\/(?:video\/|)\\d+",
  6255. 'videobox_left">',
  6256. 'blog_title">|not found on this server',
  6257. 'optional--',
  6258. 'optional2--',
  6259. "//a[contains(@href,'openfile.ru/')]"
  6260. );
  6261. }
  6262. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6263. {
  6264. addFileHost(
  6265. "extmatrix\\.com\/files\/\\w+",
  6266. 'div class="success"',
  6267. 'div class="error"',
  6268. 'optional--',
  6269. 'optional2--',
  6270. "//a[contains(@href,'extmatrix.com/files')]"
  6271. );
  6272. }
  6273. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6274. {
  6275. addFileHost(
  6276. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6277. 'content_lnkDownload',
  6278. 'error\\.aspx\\?',
  6279. 'optional--',
  6280. 'optional2--',
  6281. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6282. );
  6283. }
  6284. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6285. {
  6286. addFileHost(
  6287. "yourfilestore\\.com\/download\/\\d+\/",
  6288. 'download_data">',
  6289. 'may have been deleted|<h1>Sorry!<\/h1>',
  6290. 'optional--',
  6291. 'optional2--',
  6292. "//a[contains(@href,'yourfilestore.com/download')]"
  6293. );
  6294. }
  6295. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6296. {
  6297. addFileHost(
  6298. "nekaka\\.com\/d\/[\\w-]+",
  6299. 'downloadForm">',
  6300. 'invalid file link',
  6301. 'optional--',
  6302. 'optional2--',
  6303. "//a[contains(@href,'nekaka.com/d')]"
  6304. );
  6305. }
  6306. if (GM_getValue("Check_filebig_dot_net_links", false))
  6307. {
  6308. addFileHost(
  6309. "filebig\\.net\/files\/\\w+",
  6310. 'downloadFile">',
  6311. '<p>File not found<\/p>',
  6312. 'optional--',
  6313. 'optional2--',
  6314. "//a[contains(@href,'filebig.net/files')]"
  6315. );
  6316. }
  6317. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6318. {
  6319. addFileHost(
  6320. "files\\.filefront\\.com\/\/;\\d+;;",
  6321. 'downloadLink">',
  6322. 'File not found, you',
  6323. 'optional--',
  6324. 'optional2--',
  6325. "//a[contains(@href,'files.filefront.com')]"
  6326. );
  6327.  
  6328. addFileHost(
  6329. "gamefront\\.com\/files\/\\d+",
  6330. 'downloadLink">',
  6331. 'File not found, you',
  6332. 'optional--',
  6333. 'optional2--',
  6334. "//a[contains(@href,'gamefront.com/files')]"
  6335. );
  6336. }
  6337. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6338. {
  6339. addFileHost(
  6340. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6341. 'dnlLnk"',
  6342. 'already been deleted',
  6343. 'optional--',
  6344. 'optional2--',
  6345. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6346. );
  6347. }
  6348. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6349. {
  6350. addFileHost(
  6351. "hellupload\\.com\/\\w+",
  6352. '<h3>Download File<br',
  6353. 'id="podstrona">|AVOID_IE_BUG',
  6354. 'optional--',
  6355. 'optional2--',
  6356. "//a[contains(@href,'hellupload.com/')]"
  6357. );
  6358. }
  6359. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6360. {
  6361. addFileHost(
  6362. "free\\-uploading\\.com\/\\w+",
  6363. 'op" value="download',
  6364. 'class="err">|width:500px;text-align:left;">',
  6365. 'optional--',
  6366. 'optional2--',
  6367. "//a[contains(@href,'free-uploading.com/')]"
  6368. );
  6369. }
  6370. if (GM_getValue("Check_fileape_dot_com_links", false))
  6371. {
  6372. addFileHost(
  6373. "fileape\\.com\/download\\-",
  6374. 'button_dl\\.png',
  6375. 'does not exist\\.',
  6376. 'optional--',
  6377. 'optional2--',
  6378. "//a[contains(@href,'fileape.com/')]"
  6379. );
  6380. }
  6381. if (GM_getValue("Check_uppit_dot_com_links", false))
  6382. {
  6383. addFileHost(
  6384. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6385. 'op" value="download',
  6386. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6387. 'optional--',
  6388. 'optional2--',
  6389. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6390. true
  6391. );
  6392. }
  6393. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6394. {
  6395. addFileHost(
  6396. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6397. 'op" value="download',
  6398. '>File Not Found<',
  6399. 'optional--',
  6400. 'optional2--',
  6401. "//a[contains(@href,'nosupload.com')]",
  6402. true
  6403. );
  6404. }
  6405. if (GM_getValue("Check_filesin_dot_com_links", false))
  6406. {
  6407. addFileHost(
  6408. "filesin\\.com\/\\w+\/download\\.html",
  6409. 'download_area">',
  6410. 'error_note">',
  6411. 'optional--',
  6412. 'optional2--',
  6413. "//a[contains(@href,'filesin.com/')]",
  6414. true
  6415. );
  6416. }
  6417. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6418. {
  6419. addFileHost(
  6420. "nowdownload\\.ch\/dl\/\\w+",
  6421. 'alert-success"',
  6422. 'This file does not exist!',
  6423. 'The file is being transfered',
  6424. 'optional2--',
  6425. "//a[contains(@href,'nowdownload.ch/dl')]"
  6426. );
  6427. }
  6428. if (GM_getValue("Check_axifile_dot_com_links", false))
  6429. {
  6430. addFileHost(
  6431. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6432. 'Dbutton_big"',
  6433. 'download\\-error\\.php',
  6434. 'optional--',
  6435. 'optional2--',
  6436. "//a[contains(@href,'axifile.com/')]"
  6437. );
  6438. }
  6439. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6440. {
  6441. addFileHost(
  6442. "hulkshare\.com\/\\w+",
  6443. 'download\.sam\.png|This is a private file|id="filename',
  6444. 'File does not exist|fingerprint protected copyright',
  6445. 'optional--',
  6446. 'optional2--',
  6447. "//a[contains(@href,'hulkshare.com')]"
  6448. );
  6449. }
  6450. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6451. {
  6452. addFileHost(
  6453. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6454. 'col-1">\\s*<s',
  6455. 'col-1">\\s*<h',
  6456. 'optional--',
  6457. 'optional2--',
  6458. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6459. );
  6460. }
  6461. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6462. {
  6463. addFileHost(
  6464. "turbobit\\.(?:net|pl)",
  6465. 'id="download-gate-info|id="file-list',
  6466. 'afterWait()|no files in this folder',
  6467. 'optional--',
  6468. 'optional2--',
  6469. "//a[contains(@href,'turbobit.net')]"
  6470. );
  6471. }
  6472. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6473. {
  6474. addFileHost(
  6475. "hitfile\\.net\/download\/folder\/\\d+",
  6476. 'content">\\s*<s',
  6477. 'content">\\s*<h',
  6478. 'optional--',
  6479. 'optional2--',
  6480. "//a[contains(@href,'hitfile.net/download/folder')]"
  6481. );
  6482. }
  6483. if (GM_getValue("Check_movshare_dot_net_links", false))
  6484. {
  6485. addFileHost(
  6486. "movshare\\.net\\/video\\/\\w+",
  6487. 'optional--"',
  6488. 'no longer exists',
  6489. 'optional--',
  6490. 'optional2--',
  6491. "//a[contains(@href,'movshare.net/video')]"
  6492. );
  6493. }
  6494. if (GM_getValue("Check_plunder_dot_com_links", false))
  6495. {
  6496. addFileHost(
  6497. "plunder\.com\/\\w+",
  6498. 'x\/download\\.gif',
  6499. '404 - File or directory not found.',
  6500. 'optional--',
  6501. 'optional2--',
  6502. "//a[contains(@href,'plunder.com')]"
  6503. );
  6504. }
  6505. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6506. {
  6507. addFileHost(
  6508. "mafiastorage\\.com\/\\w+",
  6509. 'op" value="download',
  6510. 'class="err">|style="width:500px;text-align:left;"',
  6511. 'optional--',
  6512. 'optional2--',
  6513. "//a[contains(@href,'mafiastorage.com/')]"
  6514. );
  6515. }
  6516. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6517. {
  6518. addFileHost(
  6519. "uploadspace\.pl\/plik\\w+",
  6520. 'Downloading .+? \\|',
  6521. 'Downloading a file',
  6522. 'optional--',
  6523. 'optional2--',
  6524. "//a[contains(@href,'uploadspace.pl/plik')]"
  6525. );
  6526. }
  6527. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6528. {
  6529. addFileHost(
  6530. "uploadingit\\.com\/file\/\\w+",
  6531. 'downloadTitle">',
  6532. 'deleteContent">',
  6533. 'optional--',
  6534. 'optional2--',
  6535. "//a[contains(@href,'uploadingit.com/file')]"
  6536. );
  6537. }
  6538. if (GM_getValue("Check_rghost_dot_net_links", false))
  6539. {
  6540. addFileHost(
  6541. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6542. 'download_link|btn large download',
  6543. 'file is restricted|File is deleted|503 Service Unavailable',
  6544. 'optional--',
  6545. 'optional2--',
  6546. "//a[contains(@href,'rghost.')]"
  6547. );
  6548. }
  6549. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6550. {
  6551. addFileHost(
  6552. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6553. '">Staženo:\\s*<\/span>',
  6554. 'Soubor, který hledáte nenalezen',
  6555. 'optional--',
  6556. 'optional2--',
  6557. "//a[contains(@href,'xdisk.cz/')]"
  6558. );
  6559. }
  6560. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6561. {
  6562. addFileHost(
  6563. "2downloadz\.com\/\\w+",
  6564. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6565. 'color="#006DCC|File error',
  6566. 'optional--',
  6567. 'optional2--',
  6568. "//a[contains(@href,'2downloadz.com')]");
  6569. }
  6570. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6571. {
  6572. addFileHost(
  6573. "mightyupload\.com\/\\w+",
  6574. 'background:#ccc;text-align|CONTENT="Download File"',
  6575. 'style="background:#eee|var rr =|File Not Found',
  6576. 'error-code">1010',
  6577. 'optional2--',
  6578. "//a[contains(@href,'mightyupload.com')]");
  6579. }
  6580. if (GM_getValue("Check_anysend_dot_com_links", false))
  6581. {
  6582. addFileHost(
  6583. "anysend\.com\/\\w+",
  6584. 'var openCalled=false;|content="noindex"',
  6585. '_trackPageview',
  6586. 'optional--',
  6587. 'optional2--',
  6588. "//a[contains(@href,'anysend.com')]");
  6589. }
  6590. if (GM_getValue("Check_datafile_dot_com_links", false))
  6591. {
  6592. addFileHost(
  6593. "datafile\.com\/\\w+",
  6594. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6595. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6596. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6597. '; 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">
  6598. "//a[contains(@href,'datafile.com')]",
  6599. true);
  6600. }
  6601. if (GM_getValue("Check_upstore_dot_net_links", false))
  6602. {
  6603. addFileHost(
  6604. "upstore\.net\/\\w+",
  6605. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6606. 'File not found|onload="redirect|class="error">',
  6607. 'optional--',
  6608. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6609. "//a[contains(@href,'upstore.net')]");
  6610. }
  6611. if (GM_getValue("Check_upsto_dot_re_links", false))
  6612. {
  6613. addFileHost(
  6614. "upsto\.re\/\\w+",
  6615. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6616. 'File not found|onload="redirect|class="error">',
  6617. 'optional--',
  6618. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6619. "//a[contains(@href,'upsto.re')]");
  6620. }
  6621. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6622. {
  6623. addFileHost(
  6624. "speedy\.sh\/\\w+",
  6625. 'bgcolor=#eeeeee|class="addthis',
  6626. 'File not found|downloadfilenamenotfound>',
  6627. 'optional--',
  6628. 'optional2--',
  6629. "//a[contains(@href,'speedy.sh')]");
  6630. }
  6631. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6632. {
  6633. addFileHost(
  6634. "sanshare\.com\/\\w+",
  6635. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6636. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6637. 'optional--',
  6638. 'optional2--',
  6639. "//a[contains(@href,'sanshare.com')]");
  6640. }
  6641. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6642. {
  6643. addFileHost(
  6644. "kingfiles\.net\/\\w+",
  6645. 'method_free|images/loading_small.gif"',
  6646. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6647. 'optional--',
  6648. 'optional2--',
  6649. "//a[contains(@href,'kingfiles.net')]");
  6650. }
  6651. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6652. {
  6653. addFileHost(
  6654. "uploadhero\\.co\/dl\/\\w+",
  6655. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6656. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6657. 'optional--',
  6658. 'optional2--',
  6659. "//a[contains(@href,'uploadhero.co/dl')]"
  6660. );
  6661. } */
  6662. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6663. {
  6664. addFileHost(
  6665. "secureupload\\.eu\/\\w+",
  6666. 'Downloading',
  6667. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6668. 'optional--',
  6669. 'optional2--',
  6670. "//a[contains(@href,'secureupload.eu')]"
  6671. );
  6672. }
  6673. if (GM_getValue("Check_ge_dot_tt_links", false))
  6674. {
  6675. addFileHost(
  6676. "ge\.tt\/\\w+",
  6677. 'downloads pic',
  6678. 'is NOT the same as',
  6679. 'optional--',
  6680. 'optional2--',
  6681. "//a[contains(@href,'ge.tt')]");
  6682. }
  6683. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6684. {
  6685. addFileHost(
  6686. "filefactory\.com\/\\w+",
  6687. 'div id="file_holder"|download.css',
  6688. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6689. 'Server Maintenance|temporarily overloaded',
  6690. 'Premium Account Required',
  6691. "//a[contains(@href,'filefactory.com')]");
  6692. }
  6693. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6694. {
  6695. addFileHost(
  6696. "filesflash\.net\/\\w+",
  6697. 'align:right">Filename:',
  6698. 'class="msg">',
  6699. 'optional--',
  6700. 'optional2--',
  6701. "//a[contains(@href,'filesflash.net')]");
  6702. }
  6703. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6704. {
  6705. addFileHost(
  6706. "rapidgator\\.net\/folder\/\\w+",
  6707. 'href="/folder/',
  6708. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6709. 'optional--',
  6710. 'optional2--',
  6711. "//a[contains(@href,'rapidgator.net/folder')]",
  6712. true
  6713. );
  6714. }
  6715. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6716. {
  6717. addFileHost(
  6718. "salefiles\.com\/\\w+",
  6719. 'name="method_free',
  6720. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6721. 'optional--',
  6722. 'optional2--',
  6723. "//a[contains(@href,'salefiles.com')]");
  6724. }
  6725. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6726. {
  6727. addFileHost(
  6728. "megairon\.net\/\\w+",
  6729. 'border: 5px #ffeb90 solid;',
  6730. 'CONTENT="Download File ">|var rr =',
  6731. 'error-code">523',
  6732. 'optional2--',
  6733. "//a[contains(@href,'megairon.net')]",
  6734. true);
  6735. } */
  6736. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6737. {
  6738. addFileHost(
  6739. "datoid\.cz\/\\w+",
  6740. 'btn-download|class="icon-download-large"',
  6741. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6742. 'optional--',
  6743. 'optional2--',
  6744. "//a[contains(@href,'datoid.cz')]");
  6745. }
  6746. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6747. {
  6748. addFileHost(
  6749. "stiahni\.si\/\\w+",
  6750. 'report_icon.png"|slow-download-button',
  6751. 'none.png|deleted|<h2>Error 500</h2>',
  6752. 'optional--',
  6753. 'optional2--',
  6754. "//a[contains(@href,'stiahni.si')]");
  6755. }
  6756. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6757. {
  6758. addFileHost(
  6759. "cloudstor\.es\/\\w+",
  6760. '"btn_download"',
  6761. '404: Page Not Found',
  6762. 'optional--',
  6763. 'optional2--',
  6764. "//a[contains(@href,'cloudstor.es')]");
  6765. }
  6766. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6767. {
  6768. addFileHost(
  6769. "streamfile\.com\/\\w+",
  6770. 'class="btn',
  6771. 'class="green-btn',
  6772. 'optional--',
  6773. 'optional2--',
  6774. "//a[contains(@href,'streamfile.com')]");
  6775. }
  6776. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6777. {
  6778. addFileHost(
  6779. "eyesfile\.ca\/\\w+",
  6780. 'value="Get Link',
  6781. 'var rr =',
  6782. 'optional--',
  6783. 'optional2--',
  6784. "//a[contains(@href,'eyesfile.ca')]");
  6785. }
  6786. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6787. {
  6788. addFileHost(
  6789. "filemoney\.com\/\\w+",
  6790. 'og:title',
  6791. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6792. 'error-code">1010',
  6793. 'optional2--',
  6794. "//a[contains(@href,'filemoney.com')]");
  6795. }
  6796. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6797. {
  6798. addFileHost(
  6799. "uploadboy\.com\/\\w+",
  6800. 'width="740">|method_free',
  6801. 'var rr =|background:#ffffff|not be found|file was removed',
  6802. 'optional--',
  6803. 'optional2--',
  6804. "//a[contains(@href,'uploadboy.com')]");
  6805. }
  6806. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6807. {
  6808. addFileHost(
  6809. "uploadboy\.com\/\\w+",
  6810. 'width="740">|method_free',
  6811. 'var rr =|background:#ffffff|not be found|file was removed',
  6812. 'optional--',
  6813. 'optional2--',
  6814. "//a[contains(@href,'uploadboy.me')]");
  6815. }
  6816. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6817. {
  6818. addFileHost(
  6819. "speedshare\.eu\/\\w+",
  6820. 'favicon.png|color:#3d87c0|cross.png"',
  6821. 'var rr =|File Not Found|style="background:#eee',
  6822. 'optional--',
  6823. 'optional2--',
  6824. "//a[contains(@href,'speedshare.eu')]");
  6825. }
  6826. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6827. {
  6828. addFileHost(
  6829. "unlimitzone\.com\/\\w+",
  6830. 'name="method_free',
  6831. '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',
  6832. 'optional--',
  6833. 'optional2--',
  6834. "//a[contains(@href,'unlimitzone.com')]");
  6835. }
  6836. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6837. {
  6838. addFileHost(
  6839. "rioupload\.com\/\\w+",
  6840. 'sell.jpg',
  6841. 'var rr =',
  6842. 'optional--',
  6843. 'optional2--',
  6844. "//a[contains(@href,'rioupload.com')]");
  6845. }
  6846. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6847. {
  6848. addFileHost(
  6849. "jumbofiles\.org\/\\w+",
  6850. 'H71C5.png|class="downloadtitle">',
  6851. 'var swfu|ViewSourceBIN.png',
  6852. 'optional--',
  6853. 'optional2--',
  6854. "//a[contains(@href,'jumbofiles.org')]");
  6855. }
  6856. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6857. {
  6858. addFileHost(
  6859. "fshare\\.vn\/file\/\\w+",
  6860. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6861. 'không tồn tại|class="color_red m_t_50"',
  6862. 'optional--',
  6863. 'optional2--',
  6864. "//a[contains(@href,'fshare.vn/file')]",
  6865. true
  6866. );
  6867. }
  6868. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6869. {
  6870. addFileHost(
  6871. "spaceforfiles\.com\/\\w+",
  6872. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6873. 'var rr =|AVOID_IE_BUG',
  6874. 'optional--',
  6875. 'optional2--',
  6876. "//a[contains(@href,'spaceforfiles.com')]");
  6877. }
  6878. if (GM_getValue("Check_google_dot_com_links", false))
  6879. {
  6880. addFileHost(
  6881. "google\\.com\/file\/\\w+",
  6882. 'content="!">|color:#2d2d2d',
  6883. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6884. 'optional--',
  6885. 'optional2--',
  6886. "//a[contains(@href,'google.com/file')]",
  6887. true
  6888. );
  6889. }
  6890. if (GM_getValue("Check_google_dot_com_links", false))
  6891. {
  6892. addFileHost(
  6893. "docs.google.com\/\\w+",
  6894. 'content="!">|color:#2d2d2d',
  6895. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6896. 'optional--',
  6897. 'optional2--',
  6898. "//a[contains(@href,'docs.google.com')]",
  6899. true
  6900. );
  6901. }
  6902. if (GM_getValue("Check_google_dot_com_links", false))
  6903. {
  6904. addFileHost(
  6905. "drive.google.com\/\\w+",
  6906. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6907. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6908. 'optional--',
  6909. 'optional2--',
  6910. "//a[contains(@href,'drive.google.com')]",
  6911. true
  6912. );
  6913. }
  6914. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6915. {
  6916. addFileHost(
  6917. "up.media1fire\.com\/\\w+",
  6918. 'class="addthis_|value="download',
  6919. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6920. 'optional--',
  6921. 'optional2--',
  6922. "//a[contains(@href,'up.media1fire.com')]");
  6923. }
  6924. if (GM_getValue("Check_depfile_dot_com_links", false))
  6925. {
  6926. addFileHost(
  6927. "depfile\.com\/\\w+",
  6928. 'logo_0.png|downloads.gif"|verifycode',
  6929. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6930. 'optional--',
  6931. 'available only for Premium users',
  6932. "//a[contains(@href,'depfile.com')]");
  6933. }
  6934. if (GM_getValue("Check_go4up_dot_com_links", false))
  6935. {
  6936. addFileHost(
  6937. "go4up\.com\/\\w+",
  6938. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6939. '<title>GO4UP|dmca',
  6940. 'optional--',
  6941. 'optional2--',
  6942. "//a[contains(@href,'go4up.com')]");
  6943. }
  6944. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6945. {
  6946. addFileHost(
  6947. "redbunker\.net\/\\w+",
  6948. 'name="method_free"',
  6949. 'color="red">Unknow / Bilinmiyor<',
  6950. 'optional--',
  6951. '2.3 GB',
  6952. "//a[contains(@href,'redbunker.net')]");
  6953. }
  6954. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6955. {
  6956. addFileHost(
  6957. "divxpress\.com\/\\w+",
  6958. 'btn_download|logo.png"',
  6959. 'AVOID_IE_BUG|var rr =',
  6960. 'optional--',
  6961. 'optional2--',
  6962. "//a[contains(@href,'divxpress.com')]");
  6963. }
  6964. if (GM_getValue("Check_anafile_dot_com_links", false))
  6965. {
  6966. addFileHost(
  6967. "anafile\.com\/\\w+",
  6968. 'width="881" valign="top|color="#800080"|name="go"',
  6969. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6970. 'optional--',
  6971. 'optional2--',
  6972. "//a[contains(@href,'anafile.com')]");
  6973. }
  6974. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6975. {
  6976. addFileHost(
  6977. "uploadable\\.ch\/file\/\\w+",
  6978. 'captcha.js"|payment.js"|class="btn_download"',
  6979. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6980. 'optional--',
  6981. 'optional2--',
  6982. "//a[contains(@href,'uploadable.ch/file')]",
  6983. true
  6984. );
  6985. }
  6986. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6987. {
  6988. addFileHost(
  6989. "bigfile\\.to\/file\/\\w+",
  6990. 'captcha.js"|payment.js"|class="btn_download"',
  6991. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6992. 'optional--',
  6993. 'optional2--',
  6994. "//a[contains(@href,'bigfile.to/file')]",
  6995. true
  6996. );
  6997. }
  6998. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6999. {
  7000. addFileHost(
  7001. "arabloads\.net\/\\w+",
  7002. 'name="method_free"|name="method_premium"',
  7003. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7004. 'optional--',
  7005. 'optional2--',
  7006. "//a[contains(@href,'arabloads.net')]");
  7007. }
  7008. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7009. {
  7010. addFileHost(
  7011. "sharerepo\.com\/\\w+",
  7012. 'name="method_free"',
  7013. 'var public_on=|The file you were looking for could not be found',
  7014. 'optional--',
  7015. 'optional2--',
  7016. "//a[contains(@href,'sharerepo.com')]");
  7017. }
  7018. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7019. {
  7020. addFileHost(
  7021. "sfshare\.se\/\\w+",
  7022. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7023. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7024. 'optional--',
  7025. 'optional2--',
  7026. "//a[contains(@href,'sfshare.se')]");
  7027. }
  7028. if (GM_getValue("Check_files_dot_fm_links", false))
  7029. {
  7030. addFileHost(
  7031. "files\.fm\/\\w+",
  7032. 'dl.png"|background-color: transparent',
  7033. 'margin: 40px 40px|background: none;',
  7034. 'optional--',
  7035. 'optional2--',
  7036. "//a[contains(@href,'files.fm')]");
  7037. }
  7038. if (GM_getValue("Check_koofile_dot_com_links", false))
  7039. {
  7040. addFileHost(
  7041. "koofile\.com\/\\w+",
  7042. 'value="download1">|name="method_free"',
  7043. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7044. 'optional--',
  7045. 'optional2--',
  7046. "//a[contains(@href,'koofile.com')]");
  7047. }
  7048. if (GM_getValue("Check_vidxden_dot_com_links", false))
  7049. {
  7050. addFileHost(
  7051. "vidxden\\.com\/\\w+",
  7052. 'Continue to Video"',
  7053. 'No such file',
  7054. 'optional--',
  7055. 'optional2--',
  7056. "//a[contains(@href,'vidxden.com')]"
  7057. );
  7058. }
  7059. if (GM_getValue("Check_muchshare_dot_net_links", false))
  7060. {
  7061. addFileHost(
  7062. "muchshare\\.net\/\\w+",
  7063. 'id="btn_download"',
  7064. 'File Not Found|width: 500px; text-align: left;',
  7065. 'optional--',
  7066. 'optional2--',
  7067. "//a[contains(@href,'muchshare.net')]"
  7068. );
  7069. }
  7070. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7071. {
  7072. addFileHost(
  7073. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7074. 'Details zur Datei|Details page',
  7075. 'Jetzt hochladen|upload now',
  7076. 'optional--',
  7077. 'optional2--',
  7078. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7079. );
  7080. }
  7081. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7082. {
  7083. addFileHost(
  7084. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7085. 'downloadbtn"',
  7086. 'DL_FileNotFound',
  7087. 'optional--',
  7088. 'optional2--',
  7089. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7090. );
  7091. }
  7092. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7093. {
  7094. addFileHost(
  7095. "fileflyer\.com\/view\/\\w+",
  7096. '(?:dwl|locked)btn"',
  7097. 'error.gif"|link">Removed|removedlink">',
  7098. 'optional--',
  7099. 'optional2--',
  7100. "//a[contains(@href,'fileflyer.com')]"
  7101. );
  7102. }
  7103. if (GM_getValue("Check_filestore_dot_to_links", false))
  7104. {
  7105. addFileHost(
  7106. "filestore\.to\/\\?d=\\w+",
  7107. '"downloading"',
  7108. 'Datei wurde nicht gefunden',
  7109. 'optional--',
  7110. 'optional2--',
  7111. "//a[contains(@href,'filestore.to')]"
  7112. );
  7113. }
  7114. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7115. {
  7116. addFileHost(
  7117. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7118. 'fz24">Download|class="pl15">',
  7119. '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',
  7120. 'optional--',
  7121. 'optional2--',
  7122. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7123. );
  7124. }
  7125. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  7126. {
  7127. addFileHost(
  7128. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7129. 'File size:',
  7130. 'file is not found',
  7131. 'optional--',
  7132. 'optional2--',
  7133. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7134. );
  7135. } */
  7136. if (GM_getValue("Check_datei_dot_to_links", false))
  7137. {
  7138. addFileHost(
  7139. "datei\\.to\/\\??\\w+",
  7140. 'icon_downloaden\\.png|>Download starten<',
  7141. 'Datei wurde nicht gefunden|icon_deleted.png',
  7142. 'optional--',
  7143. 'optional2--',
  7144. "//a[contains(@href,'datei.to')]"
  7145. );
  7146. }
  7147. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7148. {
  7149. addFileHost(
  7150. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7151. '<body class="body" id="body">|value="Slow Download"',
  7152. '<body class="body" >',
  7153. 'optional--',
  7154. 'optional2--',
  7155. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7156. );
  7157. }
  7158. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7159. {
  7160. addFileHost(
  7161. "uploadhero\\.com\/dl\/\\w+",
  7162. 'content-dl">',
  7163. 'men_file_lost\\.jpg"',
  7164. 'optional--',
  7165. 'optional2--',
  7166. "//a[contains(@href,'uploadhero.com/dl')]"
  7167. );
  7168. } */
  7169. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7170. {
  7171. addFileHost(
  7172. "unibytes\\.com\/[\\w\.]+",
  7173. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7174. 'File not found|Файл не найден|',
  7175. 'optional--',
  7176. 'optional2--',
  7177. "//a[contains(@href,'unibytes.com')]"
  7178. );
  7179. }
  7180. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7181. {
  7182. addFileHost(
  7183. "www\\.hellshare\\.com\/\\d+",
  7184. 'tab\\-details"',
  7185. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7186. 'optional--',
  7187. 'optional2--',
  7188. "//a[contains(@href,'www.hellshare.com')]"
  7189. );
  7190. }
  7191. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7192. {
  7193. addFileHost(
  7194. "www\\.download.cz.hellshare\\.com\/\\w+",
  7195. 'tab\\-details"',
  7196. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7197. 'optional--',
  7198. 'optional2--',
  7199. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7200. );
  7201. }
  7202. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7203. {
  7204. addFileHost(
  7205. "quickshare\\.cz\/slozka-\\d+",
  7206. 'Počet souborů: <strong>[1-9]',
  7207. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7208. 'optional--',
  7209. 'optional2--',
  7210. "//a[contains(@href,'quickshare.cz/slozka')]"
  7211. );
  7212. } */
  7213. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7214. {
  7215. addFileHost(
  7216. "filefactory\\.com\/f\/\\w+",
  7217. 'folderFileList">',
  7218. 'table class="items"|Pointer" class="red">',
  7219. 'optional--',
  7220. 'optional2--',
  7221. "//a[contains(@href,'filefactory.com/f/')]"
  7222. );
  7223. }
  7224. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7225. {
  7226. addFileHost(
  7227. "netfolder\\.in\/\\w+",
  7228. 'list" value="http',
  7229. 'InPage_Error">|list" value=""',
  7230. 'optional--',
  7231. 'optional2--',
  7232. "//a[contains(@href,'netfolder.in')]"
  7233. );
  7234. } */
  7235. if (GM_getValue("Check_load_dot_to_links", false))
  7236. {
  7237. addFileHost(
  7238. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7239. '"download_table_left">Size',
  7240. 'Can\'t find file',
  7241. 'optional--',
  7242. 'optional2--',
  7243. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7244. );
  7245. }
  7246. if (GM_getValue("Check_divshare_dot_com_links", false))
  7247. {
  7248. addFileHost(
  7249. "divshare\\.com\/download\/",
  7250. 'download_new\.png',
  7251. 'have been removed',
  7252. 'optional--',
  7253. 'optional2--',
  7254. "//a[contains(@href,'divshare.com')]"
  7255. );
  7256. }
  7257. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7258. {
  7259. addFileHost(
  7260. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7261. 'class="nazev-souboru',
  7262. '<div class="background margin-top vlevo" style="width: 600px;">',
  7263. 'optional--',
  7264. 'optional2--',
  7265. "//a[contains(@href,'euroshare.eu/file')]"
  7266. );
  7267. }
  7268. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7269. {
  7270. addFileHost(
  7271. 'files\\.mail\\.ru/(?:\\w*)',
  7272. 'fileList',
  7273. 'errorMessage',
  7274. 'optional--',
  7275. 'optional2--',
  7276. "//a[contains(@href,'files.mail.ru')]"
  7277. );
  7278. }
  7279. if (GM_getValue("Check_megashares_dot_com_links", false))
  7280. {
  7281. addFileHost(
  7282. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7283. 'Filesize',
  7284. 'Invalid|deleted|Could not download file',
  7285. 'slots|scheduled maintenance',
  7286. 'optional2--',
  7287. "//a[contains(@href,'megashares.com/')]"
  7288. );
  7289. }
  7290. if (GM_getValue("Check_narod_dot_ru_links", false))
  7291. {
  7292. addFileHost(
  7293. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7294. 'b-submit|action="resource.download"',
  7295. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7296. 'Внутренняя ошибка сервиса',
  7297. 'optional2--',
  7298. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7299. );
  7300. }
  7301. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7302. {
  7303. addFileHost(
  7304. "rayfile\\.com\/",
  7305. 'FILEtitleTXT',
  7306. 'blueRow',
  7307. 'optional--',
  7308. 'optional2--',
  7309. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7310. );
  7311. }
  7312. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7313. {
  7314. addFileHost(
  7315. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7316. 'button_green_body"',
  7317. 'error">',
  7318. 'optional--',
  7319. 'optional2--',
  7320. "//a[contains(@href,'filesmonster.com/download')]"
  7321. );
  7322. }
  7323. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7324. {
  7325. addFileHost(
  7326. 'usaupload\\.net\/d\/(?:\w*)',
  7327. '<strong>File size:</strong>',
  7328. 'is not available',
  7329. 'optional--',
  7330. 'optional2--',
  7331. "//a[contains(@href,'usaupload.net/d/')]"
  7332. );
  7333. }
  7334. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7335. {
  7336. addFileHost(
  7337. 'sendspace\\.com\/file\/\\w+',
  7338. 'file_description',
  7339. 'msg error"',
  7340. 'optional--',
  7341. 'optional2--',
  7342. "//a[contains(@href,'sendspace.com/file')]"
  7343. );
  7344. }
  7345. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7346. {
  7347. addFileHost(
  7348. 'sendspace\\.pl\/file\/\\w+',
  7349. 'download_file"',
  7350. 'Podany plik nie',
  7351. 'optional--',
  7352. 'optional2--',
  7353. "//a[contains(@href,'sendspace.pl/file')]"
  7354. );
  7355. }
  7356. if (GM_getValue("Check_uploading_dot_com_links", false))
  7357. {
  7358. addFileHost(
  7359. 'uploading\\.com\/(?:files\/)?\\w+',
  7360. 'free_method">',
  7361. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7362. 'optional--',
  7363. 'optional2--',
  7364. "//a[contains(@href,'uploading.com')]"
  7365. );
  7366. }
  7367. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7368. {
  7369. addFileHost(
  7370. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7371. 'fileId"',
  7372. 'error">',
  7373. 'optional--',
  7374. 'optional2--',
  7375. "//a[contains(@href,'gigasize.com/get')]"
  7376. );
  7377. }
  7378. if (GM_getValue("Check_good_dot_com_links", false))
  7379. {
  7380. addFileHost(
  7381. 'good\\.net\/(?:_|dl)',
  7382. 'Free Download',
  7383. 'Not Found',
  7384. 'Forbidden',
  7385. 'optional2--',
  7386. "//a[contains(@href,'good.net')]"
  7387. );
  7388. }
  7389. if (GM_getValue("Check_2shared_dot_com_links", false))
  7390. {
  7391. addFileHost(
  7392. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7393. 'File size',
  7394. 'File not found|is not valid|/images/important.gif',
  7395. 'optional--',
  7396. 'optional2--',
  7397. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7398. );
  7399. }
  7400. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7401. {
  7402. addFileHost(
  7403. 'turboupload\\.com\/\\w*',
  7404. 'You have requested',
  7405. 'File Not Found',
  7406. 'optional--',
  7407. 'optional2--',
  7408. "//a[contains(@href,'turboupload.com')]"
  7409. );
  7410. }
  7411. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7412. {
  7413. addFileHost(
  7414. 'gigapeta\\.com\/dl\/',
  7415. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7416. '404|page_error',
  7417. 'optional--',
  7418. 'optional2--',
  7419. "//a[contains(@href,'gigapeta.com/dl')]"
  7420. );
  7421. }
  7422. if (GM_getValue("Check_veehd_dot_com_links", false))
  7423. {
  7424. addFileHost(
  7425. 'veehd\.com\/video\/.*?',
  7426. 'No sound|Download video',
  7427. 'Featured Videos',
  7428. 'optional--',
  7429. 'optional2--',
  7430. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7431. );
  7432. }
  7433. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7434. {
  7435. addFileHost(
  7436. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7437. 'fast_download_form">|submit_sms_download',
  7438. '<p style="text-align:center">',
  7439. 'optional--',
  7440. 'optional2--',
  7441. "//a[contains(@href,'vip-file.com/download')]"
  7442. );
  7443. }
  7444. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7445. {
  7446. addFileHost(
  7447. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7448. 'download\\-pnl ',
  7449. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7450. 'optional--',
  7451. 'optional2--',
  7452. "//a[contains(@href,'letitbit.net/download')]"
  7453. );
  7454. }
  7455. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7456. {
  7457. addFileHost(
  7458. 'ifolder\.ru\/\\d+',
  7459. 'file-info',
  7460. 'ui-state-error',
  7461. 'optional--',
  7462. 'optional2--',
  7463. "//a[contains(@href,'ifolder.ru')]"
  7464. );
  7465. }
  7466. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7467. {
  7468. addFileHost(
  7469. 'fileswap\\.com\/dl\/\\w+',
  7470. 'bttnDownloadLink"',
  7471. 'rounded_block_error"',
  7472. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7473. 'optional2--',
  7474. "//a[contains(@href,'fileswap.com/dl')]"
  7475. );
  7476. }
  7477. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7478. {
  7479. addFileHost(
  7480. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7481. 'var __error = 0|id="recaptchaPanel">',
  7482. 'FILES__DOESNT_EXIST|removed or did not exist',
  7483. 'optional--',
  7484. 'optional2--',
  7485. "//a[contains(@href,'filecloud.io/')]"
  7486. );
  7487. addFileHost(
  7488. 'ifile\\.it\/\\w+',
  7489. 'var __error = 0',
  7490. 'FILES__DOESNT_EXIST',
  7491. 'optional--',
  7492. 'optional2--',
  7493. "//a[contains(@href,'ifile.it/')]"
  7494. );
  7495. }
  7496. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7497. {
  7498. addFileHost(
  7499. 'solidfiles\\.com\/\\w+',
  7500. 'id="download"|content="Download',
  7501. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7502. 'optional--',
  7503. 'optional2--',
  7504. "//a[contains(@href,'solidfiles.com/')]"
  7505. );
  7506. }
  7507. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7508. {
  7509. addFileHost(
  7510. "(?:.\\.|)shareflare\\.net",
  7511. 'download-pnl|<div class="premium-block">',
  7512. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7513. 'optional--',
  7514. 'optional2--',
  7515. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7516. );
  7517. }
  7518. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7519. {
  7520. addFileHost(
  7521. "u18116681.shareflare\\.net",
  7522. 'download-pnl|<div class="premium-block">',
  7523. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7524. 'optional--',
  7525. 'optional2--',
  7526. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7527. );
  7528. }
  7529. if (GM_getValue("Check_uloz_dot_to_links", false))
  7530. {
  7531. addFileHost(
  7532. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7533. 'fileDownload"|fileSize">',
  7534. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7535. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7536. 'optional2--',
  7537. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7538. true
  7539. );
  7540. }
  7541. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7542. {
  7543. addFileHost(
  7544. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7545. 'file\\-list-orderby|section-filedetail">',
  7546. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7547. 'optional--',
  7548. 'optional2--',
  7549. "//a[contains(@href,'hellspy.')]"
  7550. );
  7551. }
  7552. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7553. {
  7554. addFileHost(
  7555. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7556. '<body onload="">',
  7557. 'neexistuje|not exist',
  7558. 'optional--',
  7559. 'optional2--',
  7560. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7561. );
  7562. }
  7563. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7564. {
  7565. addFileHost(
  7566. "stahovanizasms\\.cz\/\\w+",
  7567. 'download\\.png>|font-size:11px><tr>',
  7568. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7569. 'optional--',
  7570. 'optional2--',
  7571. "//a[contains(@href,'stahovanizasms.cz')]"
  7572. );
  7573. }
  7574. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7575. {
  7576. addFileHost(
  7577. "share-links\\.biz\/\\w*",
  7578. 'online\\.gif',
  7579. '(?:offline|parts)\\.gif',
  7580. 'optional--',
  7581. 'optional2--',
  7582. "//a[contains(@href,'share-links.biz')]"
  7583. );
  7584. }
  7585. if (GM_getValue("Check_4shared_dot_com_links", false))
  7586. {
  7587. addFileHost(
  7588. "4shared\\.com\/.+\/",
  7589. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7590. 'class="warn\"|big red"|GetDataBack',
  7591. 'Service Unavailable',
  7592. 'optional2--',
  7593. "//a[contains(@href,'4shared.com')]"
  7594. );
  7595. }
  7596. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7597. {
  7598. addFileHost(
  7599. "(?:www\\d+\.|)zippyshare\.com\/",
  7600. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7601. 'not exist|Status 404',
  7602. 'optional--',
  7603. 'optional2--',
  7604. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7605. );
  7606. }
  7607. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7608. {
  7609. addFileHost(
  7610. "mediafire\.com\/",
  7611. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7612. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7613. 'set to private',
  7614. 'optional2--',
  7615. "//a[contains(@href,'mediafire.com')]"
  7616. );
  7617. }
  7618. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7619. {
  7620. addFileHost(
  7621. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7622. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7623. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7624. 'optional--',
  7625. 'GB</small>',
  7626. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7627. );
  7628. }
  7629. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7630. {
  7631. addFileHost(
  7632. "ulozisko\.sk\/",
  7633. 'Detaily',
  7634. 'neexistuje',
  7635. 'optional--',
  7636. 'optional2--',
  7637. "//a[contains(@href,'ulozisko.sk')]"
  7638. );
  7639. }
  7640. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7641. {
  7642. addFileHost(
  7643. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7644. 'download.php',
  7645. 'notfound|upload\\-suborov\\.php"',
  7646. 'optional--',
  7647. 'optional2--',
  7648. "//a[contains(@href,'upnito.sk')]"
  7649. );
  7650. }
  7651. if (GM_getValue("Check_box_dot_com_links", false))
  7652. {
  7653. addFileHost(
  7654. "box\.com\/\\w+",
  7655. 'download-file-btn|id="download_button|preview-download',
  7656. 'BIyMin.png| <div class="error_message|link has been removed',
  7657. 'optional--',
  7658. 'optional2--',
  7659. "//a[contains(@href,'app.box.com')]");
  7660. }
  7661. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7662. {
  7663. addFileHost(
  7664. "uptobox\\.com\/\\w+",
  7665. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7666. '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|لا يوجد أي ملف',
  7667. 'Maintenance',
  7668. 'optional2--',
  7669. "//a[contains(@href,'uptobox.com')]"
  7670. );
  7671. }
  7672. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7673. {
  7674. addFileHost(
  7675. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7676. 'FILE DOWNLOAD<',
  7677. 'File Does Not Exist',
  7678. 'optional--',
  7679. 'optional2--',
  7680. "//a[contains(@href,'sharecash.org/download.php')]"
  7681. );
  7682. }
  7683. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7684. {
  7685. addFileHost(
  7686. "depositfiles\\.com\/folders\/\\w+",
  7687. '<div class="progressContainer">',
  7688. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7689. 'optional--',
  7690. 'optional2--',
  7691. "//a[contains(@href,'depositfiles.com/folders')]"
  7692. );
  7693. }
  7694. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7695. {
  7696. addFileHost(
  7697. "rapidfileshare\\.net/\\w+",
  7698. '<div id="upload-header-bg">',
  7699. '<div style="width:500px;text-align:left;">',
  7700. 'optional--',
  7701. 'optional2--',
  7702. "//a[contains(@href,'rapidfileshare.net/')]"
  7703. );
  7704. }
  7705. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7706. {
  7707. addFileHost(
  7708. "stiahnito\\.sk/",
  7709. '<span class="filesize right">',
  7710. '<ol class="list-purp-2">',
  7711. 'optional--',
  7712. 'optional2--',
  7713. "//a[contains(@href,'stiahnito.sk/')]"
  7714. );
  7715. }
  7716. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7717. {
  7718. addFileHost(
  7719. "rusfolder\\.(?:com|net)",
  7720. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7721. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7722. 'optional--',
  7723. 'optional2--',
  7724. "//a[contains(@href,'rusfolder')]"
  7725. );
  7726. }
  7727. /* if (GM_getValue("Check_fileover_dot_net_links", false))
  7728. {
  7729. addFileHost(
  7730. "fileover\\.net/\\d+",
  7731. 'id="filesize"',
  7732. 'Not found or deleted|The following file is unavailable',
  7733. 'optional--',
  7734. 'optional2--',
  7735. "//a[contains(@href,'fileover.net/')]"
  7736. );
  7737. } */
  7738. if (GM_getValue("Check_catshare_dot_net_links", false))
  7739. {
  7740. addFileHost(
  7741. "catshare\\.net/\\w+",
  7742. '"icon-share',
  7743. 'alert alert-error',
  7744. 'optional--',
  7745. 'optional2--',
  7746. "//a[contains(@href,'catshare.net/')]"
  7747. );
  7748. }
  7749. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7750. {
  7751. addFileHost(
  7752. "anonfiles\\.com/\\w+",
  7753. '"download_button"',
  7754. '<legend><b>404</b>',
  7755. 'optional--',
  7756. 'optional2--',
  7757. "//a[contains(@href,'anonfiles.com')]"
  7758. );
  7759. }
  7760. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7761. {
  7762. addFileHost(
  7763. "mixturecloud\\.com/media/\\w+",
  7764. '"btn icon i_globe gray share_150',
  7765. '"s_cross_close"></span> 404:',
  7766. 'optional--',
  7767. 'optional2--',
  7768. "//a[contains(@href,'mixturecloud.com/media/')]"
  7769. );
  7770. }
  7771. if (GM_getValue("Check_akafile_dot_com_links", false))
  7772. {
  7773. addFileHost(
  7774. "akafile\\.com\/\\w+",
  7775. 'download1',
  7776. 'File Not Found',
  7777. 'optional--',
  7778. 'optional2--',
  7779. "//a[contains(@href,'akafile.com/')]"
  7780. );
  7781. }
  7782. if (GM_getValue("Check_creafile_dot_net_links", false))
  7783. {
  7784. addFileHost(
  7785. "creafile\\.net\/\\w+",
  7786. 'downloadblock',
  7787. 'errtitle',
  7788. 'optional--',
  7789. 'optional2--',
  7790. "//a[contains(@href,'creafile.net/')]"
  7791. );
  7792. }
  7793. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7794. {
  7795. addFileHost(
  7796. "hugefiles\\.net\/\\w+",
  7797. 'download1|class="btn-create-download" value="Create Download Link">',
  7798. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7799. 'optional--',
  7800. 'optional2--',
  7801. "//a[contains(@href,'hugefiles.net/')]"
  7802. );
  7803. }
  7804. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7805. {
  7806. addFileHost(
  7807. "sendmyway\\.com\/\\w+",
  7808. 'id="btn_download"',
  7809. '500px;text-align:left;"|<center><h3>',
  7810. 'optional--',
  7811. 'optional2--',
  7812. "//a[contains(@href,'sendmyway.com/')]"
  7813. );
  7814. }
  7815. if (GM_getValue("Check_upload_dot_ee_links", false))
  7816. {
  7817. addFileHost(
  7818. "upload\\.ee\/\\w+",
  7819. 'onmouseout="document.dllink.src',
  7820. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7821. 'optional--',
  7822. 'optional2--',
  7823. "//a[contains(@href,'upload.ee/')]"
  7824. );
  7825. }
  7826. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7827. {
  7828. addFileHost(
  7829. "shareplace\\.org\/\\?\\w+",
  7830. 'Download-Link',
  7831. 'Your requested file is not found|Select file to send',
  7832. 'optional--',
  7833. 'optional2--',
  7834. "//a[contains(@href,'shareplace.org/?')]"
  7835. );
  7836. }
  7837. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7838. {
  7839. addFileHost(
  7840. "uploadc\\.com\/\\w+",
  7841. 'id="prebut"',
  7842. 'File Not Found|This file has been removed due',
  7843. 'optional--',
  7844. 'optional2--',
  7845. "//a[contains(@href,'uploadc.com/')]"
  7846. );
  7847. }
  7848. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7849. {
  7850. addFileHost(
  7851. "remixshare\\.com\/\\w+",
  7852. 'id="dl2"',
  7853. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7854. 'optional--',
  7855. 'optional2--',
  7856. "//a[contains(@href,'remixshare.com/')]"
  7857. );
  7858. }
  7859. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7860. {
  7861. addFileHost(
  7862. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7863. 'Last Download :',
  7864. 'img src="\\/404.jpg"',
  7865. 'optional--',
  7866. 'optional2--',
  7867. "//a[contains(@href,'exoshare.com/download.php')]"
  7868. );
  7869. }
  7870. if (GM_getValue("Check_borncash_dot_org_links", false))
  7871. {
  7872. addFileHost(
  7873. "borncash\\.org\/download\/\\?a=\\w+",
  7874. 'class="knop_1"',
  7875. '\/error\/er00',
  7876. 'optional--',
  7877. 'optional2--',
  7878. "//a[contains(@href,'borncash.org/download/')]"
  7879. );
  7880. }
  7881. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7882. {
  7883. addFileHost(
  7884. "vidplay\.net\/\\w+",
  7885. 'solvemedia puzzle widget',
  7886. 'File not found|AVOID_IE_BUG',
  7887. 'optional--',
  7888. 'optional2--',
  7889. "//a[contains(@href,'vidplay.net')]");
  7890. }
  7891. if (GM_getValue("Check_storagon_dot_com_links", false))
  7892. {
  7893. addFileHost(
  7894. "storagon\.com\/\\w+",
  7895. 'class="icon-cloud-download"></i>|content="Download Options',
  7896. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7897. 'optional--',
  7898. 'optional2--',
  7899. "//a[contains(@href,'storagon.com')]");
  7900. }
  7901. if (GM_getValue("Check_filedais_dot_com_links", false))
  7902. {
  7903. addFileHost(
  7904. "filedais\.com\/\\w+",
  7905. 'class="btn btn-info"|name="method_free"',
  7906. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7907. 'optional--',
  7908. 'optional2--',
  7909. "//a[contains(@href,'filedais.com')]");
  7910. }
  7911. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7912. {
  7913. addFileHost(
  7914. "up.4share\.vn\/\\w+",
  7915. '<font size="2" face="Verdana">',
  7916. 'font: 13px Tahoma; color: Brown',
  7917. 'optional--',
  7918. 'optional2--',
  7919. "//a[contains(@href,'up.4share.vn')]");
  7920. }
  7921. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7922. {
  7923. addFileHost(
  7924. "share.vnn\.vn\/\\w+",
  7925. '"index,follow"|<div class="main" id="download-box">',
  7926. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7927. 'optional--',
  7928. 'optional2--',
  7929. "//a[contains(@href,'share.vnn.vn')]");
  7930. }
  7931. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7932. {
  7933. addFileHost(
  7934. "upfile\.vn\/\\w+",
  7935. 'download-timer',
  7936. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7937. 'optional--',
  7938. 'optional2--',
  7939. "//a[contains(@href,'upfile.vn')]");
  7940. }
  7941. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7942. {
  7943. addFileHost(
  7944. "aisfile\.com\/\\w+",
  7945. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7946. '<div style="width:500px;text-align:left;">|File Not Found',
  7947. 'optional--',
  7948. 'optional2--',
  7949. "//a[contains(@href,'aisfile.com')]");
  7950. }
  7951. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7952. {
  7953. addFileHost(
  7954. "usersfiles\.com\/\\w+",
  7955. 'class="btn btn-success|id="btn_download" class="btn"',
  7956. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7957. 'optional--',
  7958. 'optional2--',
  7959. "//a[contains(@href,'usersfiles.com')]");
  7960. }
  7961. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7962. {
  7963. addFileHost(
  7964. "pan.baidu\.com\/\\w+",
  7965. 'target="_blank" title=|share-personal-info',
  7966. 'share_notfound.png|background:#f9f9f9',
  7967. 'optional--',
  7968. 'optional2--',
  7969. "//a[contains(@href,'pan.baidu.com')]");
  7970. }
  7971. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7972. {
  7973. addFileHost(
  7974. "yunpan\.cn\/\\w+",
  7975. 'class="icon icon-download',
  7976. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7977. 'optional--',
  7978. 'optional2--',
  7979. "//a[contains(@href,'yunpan.cn')]");
  7980. }
  7981. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7982. {
  7983. addFileHost(
  7984. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7985. 'getElementById("downbild")|style.display',
  7986. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7987. 'optional--',
  7988. 'optional2--',
  7989. "//a[contains(@href,'file-upload.net')]");
  7990. }
  7991. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7992. {
  7993. addFileHost(
  7994. "gulfup\.com\/",
  7995. '<!-- Downlod template -->|download.gif',
  7996. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7997. 'optional--',
  7998. 'optional2--',
  7999. "//a[contains(@href,'gulfup.com')]");
  8000. }
  8001. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  8002. {
  8003. addFileHost(
  8004. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  8005. 'dldtable">',
  8006. 'does not exist\\.',
  8007. 'optional--',
  8008. 'optional2--',
  8009. "//a[contains(@href,'datafilehost.com')]");
  8010. }
  8011. if (GM_getValue("Check_dropbox_dot_com_links", false))
  8012. {
  8013. addFileHost(
  8014. "dropbox\.com\/s\/\\w+",
  8015. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  8016. '>Nothing Here<|>Error (404)<',
  8017. 'title>Dropbox - 509|Error (403)|Error: 429',
  8018. 'optional2--',
  8019. "//a[contains(@href,'dropbox.com')]");
  8020. }
  8021. if (GM_getValue("Check_box_dot_net_links", false))
  8022. {
  8023. addFileHost(
  8024. "box\.net\/\\w+",
  8025. 'download-file-btn|id="download_button',
  8026. 'BIyMin.png| <div class="error_message',
  8027. 'optional--',
  8028. 'optional2--',
  8029. "//a[contains(@href,'box.net')]");
  8030. }
  8031. if (GM_getValue("Check_fileband_dot_com_links", false))
  8032. {
  8033. addFileHost(
  8034. "fileband\.com\/\\w+",
  8035. 'value="download1">|name="id" value=',
  8036. '<div style="width:500px;text-align:left;">|not be found',
  8037. 'optional--',
  8038. 'optional2--',
  8039. "//a[contains(@href,'fileband.com')]");
  8040. }
  8041. if (GM_getValue("Check_filedropper_dot_com_links", false))
  8042. {
  8043. addFileHost(
  8044. "filedropper\.com\/\\w+",
  8045. 'background:#ddd;|width:985px; ',
  8046. 'background-color:#FFFFFF;|margin-left: -400px;',
  8047. 'optional--',
  8048. 'optional2--',
  8049. "//a[contains(@href,'filedropper.com')]");
  8050. }
  8051. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  8052. {
  8053. addFileHost(
  8054. "tropicshare\\.com\/files\/\\d+",
  8055. 'MB</span>|GB</span>|KB</span>',
  8056. '>FNF<|size: </span>',
  8057. 'optional--',
  8058. 'optional2--',
  8059. "//a[contains(@href,'tropicshare.com')]");
  8060. }
  8061. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  8062. {
  8063. addFileHost(
  8064. "goldbytez\.com\/\\w+",
  8065. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  8066. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  8067. 'optional--',
  8068. 'optional2--',
  8069. "//a[contains(@href,'goldbytez.com')]");
  8070. }
  8071. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8072. {
  8073. addFileHost(
  8074. "worldbytez\.com\/\\w+",
  8075. '<div class="download_type">',
  8076. '<div style="width:500px;text-align:left;">',
  8077. 'optional--',
  8078. 'optional2--',
  8079. "//a[contains(@href,'worldbytez.com')]");
  8080. }
  8081. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8082. {
  8083. addFileHost(
  8084. "freefilehosting\.net\/\\w+",
  8085. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8086. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8087. 'optional--',
  8088. 'optional2--',
  8089. "//a[contains(@href,'freefilehosting.net')]");
  8090. }
  8091. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8092. {
  8093. addFileHost(
  8094. "ziddu\.com\/\\w+",
  8095. 'downloads.ziddu.com|downloadfilelinkicon',
  8096. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8097. 'optional--',
  8098. 'optional2--',
  8099. "//a[contains(@href,'ziddu.com')]");
  8100. }
  8101. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8102. {
  8103. addFileHost(
  8104. "exclusiveloader\.com\/\\w+",
  8105. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8106. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8107. 'optional--',
  8108. 'optional2--',
  8109. "//a[contains(@href,'exclusiveloader.com')]");
  8110. }
  8111. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8112. {
  8113. addFileHost(
  8114. "sharerapid\.cz\/\\w+",
  8115. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8116. 'error_div">|404 - Not Found',
  8117. 'optional--',
  8118. 'optional2--',
  8119. "//a[contains(@href,'sharerapid.cz')]");
  8120. }
  8121. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8122. {
  8123. addFileHost(
  8124. "sdilej\.cz\/\\w+",
  8125. 'class="page-download"',
  8126. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8127. 'optional--',
  8128. 'optional2--',
  8129. "//a[contains(@href,'sdilej.cz')]");
  8130. }
  8131. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8132. {
  8133. addFileHost(
  8134. "lafiles\.com\/\\w+",
  8135. '<div id="pay_modes">',
  8136. '<b class="err"></b>',
  8137. 'optional--',
  8138. 'optional2--',
  8139. "//a[contains(@href,'lafiles.com')]");
  8140. }
  8141. if (GM_getValue("Check_acefile_dot_net_links", false))
  8142. {
  8143. addFileHost(
  8144. "acefile\.net\/\\w+",
  8145. 'align=right nowrap><b>',
  8146. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8147. 'optional--',
  8148. 'optional2--',
  8149. "//a[contains(@href,'acefile.net')]");
  8150. }
  8151. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8152. {
  8153. addFileHost(
  8154. "megarapid\.cz\/\\w+",
  8155. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8156. 'error_div">|404 - Not Found',
  8157. 'optional--',
  8158. 'optional2--',
  8159. "//a[contains(@href,'megarapid.cz')]");
  8160. }
  8161. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8162. {
  8163. addFileHost(
  8164. "yadi\.sk\/\\w+",
  8165. 'nb-button _nb-small-button',
  8166. 'error code|Nothing found',
  8167. 'optional--',
  8168. 'optional2--',
  8169. "//a[contains(@href,'yadi.sk')]");
  8170. }
  8171. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8172. {
  8173. addFileHost(
  8174. "imdb\.com\/\\w+",
  8175. 'imdb.com',
  8176. '404 Error',
  8177. 'optional--',
  8178. 'optional2--',
  8179. "//a[contains(@href,'imdb.com')]");
  8180. } */
  8181. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8182. {
  8183. addFileHost(
  8184. "hitfile\.net\/\\w+",
  8185. 'class="download-file',
  8186. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8187. 'optional--',
  8188. 'optional2--',
  8189. "//a[contains(@href,'hitfile.net')]");
  8190. }
  8191. /* if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8192. {
  8193. addFileHost(
  8194. "nitroflare\.com\/\\w+",
  8195. 'Report this file</a>|KB</span>',
  8196. 'file has been removed|id="error" style="display|Probably deleted',
  8197. 'optional--',
  8198. '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',
  8199. "//a[contains(@href,'nitroflare.com')]");
  8200. } */
  8201. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8202. {
  8203. addFileHost(
  8204. "up.top4top\.net\/\\w+",
  8205. 'start Downlod template',
  8206. 'start err template',
  8207. 'optional--',
  8208. 'optional2--',
  8209. "//a[contains(@href,'up.top4top.net')]");
  8210. }
  8211. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8212. {
  8213. addFileHost(
  8214. "filejoker\.net\/\\w+",
  8215. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8216. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8217. 'optional--',
  8218. 'id="download" class="premium-only">',
  8219. "//a[contains(@href,'filejoker.net')]");
  8220. }
  8221. if (GM_getValue("Check_free_dot_fr_links", false))
  8222. {
  8223. addFileHost(
  8224. "(?:dl.\\.|)free\\.fr",
  8225. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8226. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8227. 'optional--',
  8228. 'optional2--',
  8229. "//a[contains(@href,'dl.free.fr')]");
  8230. }
  8231. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8232. {
  8233. addFileHost(
  8234. "gboxes\.com\/\\w+",
  8235. 'You have requested|color="red">http://www.gboxes.com',
  8236. 'File Not Found|<div style="width:500px;text-align:left;">',
  8237. 'optional--',
  8238. 'optional2--',
  8239. "//a[contains(@href,'gboxes.com')]");
  8240. }
  8241. if (GM_getValue("Check_led_dot_wf_links", false))
  8242. {
  8243. addFileHost(
  8244. "led\.wf\/\\w+",
  8245. 'logo_0.png|downloads.gif"|verifycode',
  8246. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8247. 'optional--',
  8248. 'available only for Premium users',
  8249. "//a[contains(@href,'led.wf')]");
  8250. }
  8251. if (GM_getValue("Check_lan_dot_wf_links", false))
  8252. {
  8253. addFileHost(
  8254. "lan\.wf\/\\w+",
  8255. 'logo_0.png|downloads.gif"|verifycode',
  8256. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8257. 'optional--',
  8258. 'available only for Premium users',
  8259. "//a[contains(@href,'lan.wf')]");
  8260. }
  8261. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8262. {
  8263. addFileHost(
  8264. "adlink\.wf\/\\w+",
  8265. 'logo_0.png|downloads.gif"|verifycode',
  8266. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8267. 'optional--',
  8268. 'available only for Premium users',
  8269. "//a[contains(@href,'adlink.wf')]");
  8270. }
  8271. if (GM_getValue("Check_click_dot_tf_links", false))
  8272. {
  8273. addFileHost(
  8274. "click\.tf\/\\w+",
  8275. 'logo_0.png|downloads.gif"|verifycode',
  8276. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8277. 'optional--',
  8278. 'available only for Premium users',
  8279. "//a[contains(@href,'click.tf')]");
  8280. }
  8281. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8282. {
  8283. addFileHost(
  8284. "ssh\.tf\/\\w+",
  8285. 'logo_0.png|downloads.gif"|verifycode',
  8286. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8287. 'optional--',
  8288. 'available only for Premium users',
  8289. "//a[contains(@href,'ssh.tf')]");
  8290. }
  8291. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8292. {
  8293. addFileHost(
  8294. "ssh\.yt\/\\w+",
  8295. 'logo_0.png|downloads.gif"|verifycode',
  8296. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8297. 'optional--',
  8298. 'available only for Premium users',
  8299. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8300. }
  8301. if (GM_getValue("Check_yep_dot_pm_links", false))
  8302. {
  8303. addFileHost(
  8304. "yep\.pm\/\\w+",
  8305. 'logo_0.png|downloads.gif"|verifycode',
  8306. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8307. 'optional--',
  8308. 'available only for Premium users',
  8309. "//a[contains(@href,'yep.pm')]");
  8310. }
  8311. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8312. {
  8313. addFileHost(
  8314. "kyc\.pm\/\\w+",
  8315. 'logo_0.png|downloads.gif"|verifycode',
  8316. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8317. 'optional--',
  8318. 'available only for Premium users',
  8319. "//a[contains(@href,'kyc.pm')]");
  8320. }
  8321. if (GM_getValue("Check_brupload_dot_net_links", false))
  8322. {
  8323. addFileHost(
  8324. "brupload\.net\/\\w+",
  8325. 'Download Gratuito',
  8326. '<div style="width:500px;text-align:left;">',
  8327. 'optional--',
  8328. 'optional2--',
  8329. "//a[contains(@href,'brupload.net')]");
  8330. }
  8331. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8332. {
  8333. addFileHost(
  8334. "cloudzilla\.to\/\\w+",
  8335. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8336. 'File not found|/imgs/broken.png',
  8337. 'optional--',
  8338. 'optional2--',
  8339. "//a[contains(@href,'cloudzilla.to')]");
  8340. }
  8341. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8342. {
  8343. addFileHost(
  8344. "fileparadox\.in\/\\w+",
  8345. 'CONTENT="Download File|method_free_file',
  8346. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8347. 'optional--',
  8348. 'optional2--',
  8349. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8350. } */
  8351. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8352. {
  8353. addFileHost(
  8354. "clicknupload\.com\/\\w+",
  8355. 'name="method_free',
  8356. 'File Not Found',
  8357. 'optional--',
  8358. 'optional2--',
  8359. "//a[contains(@href,'clicknupload.com')]");
  8360. }
  8361. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8362. {
  8363. addFileHost(
  8364. "clicknupload\.me\/\\w+",
  8365. 'name="method_free',
  8366. 'File Not Found',
  8367. 'optional--',
  8368. 'optional2--',
  8369. "//a[contains(@href,'clicknupload.me')]");
  8370. }
  8371. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8372. {
  8373. addFileHost(
  8374. "clicknupload\.link\/\\w+",
  8375. 'name="method_free',
  8376. 'File Not Found',
  8377. 'optional--',
  8378. 'optional2--',
  8379. "//a[contains(@href,'clicknupload.link')]");
  8380. }
  8381. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8382. {
  8383. addFileHost(
  8384. "ex-load\.com\/\\w+",
  8385. 'name="method_free|<p>Download File:</p>',
  8386. 'Folder Not Found|File Not Found|Error 404',
  8387. 'optional--',
  8388. 'class="downprem wow bounceInLeft',
  8389. "//a[contains(@href,'ex-load.com')]");
  8390. }
  8391. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8392. {
  8393. addFileHost(
  8394. "hexupload\.com\/\\w+",
  8395. 'button" value="Free|type="submit" value=""',
  8396. 'File Not Found|<div style="width:500px;text-align:left;">',
  8397. 'optional--',
  8398. 'optional2--',
  8399. "//a[contains(@href,'hexupload.com')]");
  8400. }
  8401. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8402. {
  8403. addFileHost(
  8404. "wizupload\.com\/\\w+",
  8405. 'btn_download|class="downloadbtn"',
  8406. '>File Not Found<',
  8407. 'optional--',
  8408. 'optional2--',
  8409. "//a[contains(@href,'wizupload.com')]");
  8410. }
  8411. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8412. {
  8413. addFileHost(
  8414. "filecloud\.cc\/\\w+",
  8415. 'align="center"><input type="submit" name=',
  8416. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8417. 'optional--',
  8418. 'optional2--',
  8419. "//a[contains(@href,'filecloud.cc')]");
  8420. }
  8421. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8422. {
  8423. addFileHost(
  8424. "inclouddrive\.com\/\\w+",
  8425. 'initfreedownload',
  8426. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8427. 'optional--',
  8428. 'optional2--',
  8429. "//a[contains(@href,'inclouddrive.com')]");
  8430. }
  8431. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8432. {
  8433. addFileHost(
  8434. "radicalshare\.com\/\\w+",
  8435. 'value="download1|name="method_free"',
  8436. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8437. 'optional--',
  8438. 'optional2--',
  8439. "//a[contains(@href,'radicalshare.com')]");
  8440. }
  8441. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8442. {
  8443. addFileHost(
  8444. "sharemods\.com\/\\w+",
  8445. 'name="method_free"',
  8446. 'File Not Found<',
  8447. 'optional--',
  8448. 'optional2--',
  8449. "//a[contains(@href,'sharemods.com')]");
  8450. }
  8451. if (GM_getValue("Check_hostr_dot_co_links", false))
  8452. {
  8453. addFileHost(
  8454. "hostr\.co\/\\w+",
  8455. 'method="get"',
  8456. 'File not found<|error-page',
  8457. 'optional--',
  8458. 'optional2--',
  8459. "//a[contains(@href,'hostr.co')]");
  8460. }
  8461. if (GM_getValue("Check_filepi_dot_com_links", false))
  8462. {
  8463. addFileHost(
  8464. "filepi\.com\/\\w+",
  8465. 'id="button_start">',
  8466. 'File not found',
  8467. 'optional--',
  8468. 'optional2--',
  8469. "//a[contains(@href,'filepi.com')]");
  8470. }
  8471. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8472. {
  8473. addFileHost(
  8474. "tikfile\.com\/\\w+",
  8475. 'btn_download',
  8476. 'File Not Found|file was removed|Reason for deletion',
  8477. 'optional--',
  8478. 'optional2--',
  8479. "//a[contains(@href,'tikfile.com')]");
  8480. }
  8481. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8482. {
  8483. addFileHost(
  8484. "cloudsix\.me\/\\w+",
  8485. 'name="method_free"',
  8486. 'File Not Found|width:500px;text-align:left;">',
  8487. 'optional--',
  8488. 'optional2--',
  8489. "//a[contains(@href,'cloudsix.me')]");
  8490. }
  8491. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8492. {
  8493. addFileHost(
  8494. "neodrive\.co\/\\w+",
  8495. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8496. 'File not found|/imgs/broken.png',
  8497. 'optional--',
  8498. 'optional2--',
  8499. "//a[contains(@href,'neodrive.co')]");
  8500. }
  8501. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8502. {
  8503. addFileHost(
  8504. "chayfile\.com\/\\w+",
  8505. 'name="method_free"',
  8506. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8507. 'optional--',
  8508. 'optional2--',
  8509. "//a[contains(@href,'chayfile.com')]");
  8510. }
  8511. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8512. {
  8513. addFileHost(
  8514. "xfileload\.com\/\\w+",
  8515. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8516. '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..|הקובץ שחיפשת לא נמצא.',
  8517. 'optional--',
  8518. 'optional2--',
  8519. "//a[contains(@href,'xfileload.com')]");
  8520. }
  8521. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8522. {
  8523. addFileHost(
  8524. "rockfile\.eu\/\\w+",
  8525. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8526. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8527. 'optional--',
  8528. 'optional2--',
  8529. "//a[contains(@href,'rockfile.eu')]");
  8530. }
  8531. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8532. {
  8533. addFileHost(
  8534. "24uploading\.com\/\\w+",
  8535. 'File:|Download Speed:',
  8536. '<b>File Not Found</b>|file was removed',
  8537. 'optional--',
  8538. 'optional2--',
  8539. "//a[contains(@href,'24uploading.com')]");
  8540. }
  8541. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8542. {
  8543. addFileHost(
  8544. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8545. 'i/icon/dll.png"|>Start download<br',
  8546. 'no longer available<|i/ino.png"',
  8547. 'optional--',
  8548. 'optional2--',
  8549. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8550. }
  8551. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8552. {
  8553. addFileHost(
  8554. "jumbofile\.net\/\\w+",
  8555. 'button" class="" value="Free',
  8556. 'This File Was Deleted',
  8557. 'optional--',
  8558. 'optional2--',
  8559. "//a[contains(@href,'jumbofile.net')]");
  8560. } */
  8561. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8562. {
  8563. addFileHost(
  8564. "ozofiles\.com\/\\w+",
  8565. 'button" value="Free|name="method_free',
  8566. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8567. 'optional--',
  8568. 'optional2--',
  8569. "//a[contains(@href,'ozofiles.com')]");
  8570. }
  8571. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8572. {
  8573. addFileHost(
  8574. "loudupload\.net\/\\w+",
  8575. 'value="Get Links',
  8576. 'File Not Found',
  8577. 'optional--',
  8578. 'optional2--',
  8579. "//a[contains(@href,'loudupload.net')]");
  8580. }
  8581. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8582. {
  8583. addFileHost(
  8584. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8585. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8586. '>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">',
  8587. 'optional--',
  8588. 'optional2--',
  8589. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8590. }
  8591. if (GM_getValue("Check_krotix_dot_net_links", false))
  8592. {
  8593. addFileHost(
  8594. "krotix\.net\/\\w+",
  8595. 'btn btn-warning|btn-free',
  8596. 'pageErrors|This File has been removed',
  8597. 'content="Scheduled Maintenance',
  8598. 'optional2--',
  8599. "//a[contains(@href,'krotix.net')]");
  8600. } */
  8601. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8602. {
  8603. addFileHost(
  8604. "userscloud\.com\/\\w+",
  8605. 'btn_download|class="label label-success">',
  8606. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8607. 'optional--',
  8608. 'optional2--',
  8609. "//a[contains(@href,'userscloud.com')]");
  8610. }
  8611. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8612. {
  8613. addFileHost(
  8614. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8615. 'class="button download',
  8616. 'internal server error',
  8617. 'optional--',
  8618. 'optional2--',
  8619. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8620. }
  8621. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8622. {
  8623. addFileHost(
  8624. "kb.simple-aja\.info\/\\w+",
  8625. 'class="button download',
  8626. 'internal server error|<p>404</p>',
  8627. 'optional--',
  8628. 'optional2--',
  8629. "//a[contains(@href,'kb.simple')]");
  8630. }
  8631. if (GM_getValue("Check_faststore_dot_org_links", false))
  8632. {
  8633. addFileHost(
  8634. "faststore\.org\/\\w+",
  8635. 'name="method_free',
  8636. 'File Not Found',
  8637. 'optional--',
  8638. 'optional2--',
  8639. "//a[contains(@href,'faststore.org')]");
  8640. }
  8641. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8642. {
  8643. addFileHost(
  8644. "prefiles\.com\/\\w+",
  8645. 'id="method_free',
  8646. 'File not Found',
  8647. 'optional--',
  8648. 'optional2--',
  8649. "//a[contains(@href,'prefiles.com')]");
  8650. }
  8651. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8652. {
  8653. addFileHost(
  8654. "doraupload\.com\/\\w+",
  8655. 'btn_download|name="method_free',
  8656. 'class="error-code|Could Not Be Found',
  8657. 'optional--',
  8658. 'optional2--',
  8659. "//a[contains(@href,'doraupload.com')]");
  8660. }
  8661. if (GM_getValue("Check_openload_dot_io_links", false))
  8662. {
  8663. addFileHost(
  8664. "openload\.io\/\\w+",
  8665. 'btn btn-primary|class="count">|secondsleftouter',
  8666. 'class="jumbotron">|We are sorry',
  8667. 'optional--',
  8668. 'optional2--',
  8669. "//a[contains(@href,'openload.io')]");
  8670. }
  8671. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8672. {
  8673. addFileHost(
  8674. "uploads\.xxx\/\\w+",
  8675. 'downoadForFree',
  8676. 'File not found',
  8677. 'optional--',
  8678. 'optional2--',
  8679. "//a[contains(@href,'uploads.xxx')]");
  8680. }
  8681. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8682. {
  8683. addFileHost(
  8684. "zxcfiles\.com\/\\w+",
  8685. 'class="downloadbtn',
  8686. 'File Not Found',
  8687. 'optional--',
  8688. 'optional2--',
  8689. "//a[contains(@href,'zxcfiles.com')]");
  8690. }
  8691. if (GM_getValue("Check_up07_dot_net_links", false))
  8692. {
  8693. addFileHost(
  8694. "up07\.net\/\\w+",
  8695. 'name="method_free',
  8696. 'File Not Found',
  8697. 'optional--',
  8698. 'optional2--',
  8699. "//a[contains(@href,'up07.net')]");
  8700. }
  8701. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8702. {
  8703. addFileHost(
  8704. "fileupload\.pw\/\\w+",
  8705. 'value="Free"',
  8706. 'File Not Found',
  8707. 'optional--',
  8708. 'optional2--',
  8709. "//a[contains(@href,'fileupload.pw')]");
  8710. }
  8711. if (GM_getValue("Check_4upld_dot_com_links", false))
  8712. {
  8713. addFileHost(
  8714. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8715. 'alt="Download Now"|content="Download file">|btn-free-element',
  8716. '<title>Error|content="error|File not found',
  8717. 'optional--',
  8718. 'optional2--',
  8719. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8720. }
  8721. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8722. {
  8723. addFileHost(
  8724. "newfileland\.com\/\\w+",
  8725. 'name="method_free',
  8726. 'File Not Found',
  8727. 'optional--',
  8728. 'optional2--',
  8729. "//a[contains(@href,'newfileland.com')]");
  8730. } */
  8731. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8732. {
  8733. addFileHost(
  8734. "(?:.swoopshare)\\.com\/\\w+",
  8735. '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',
  8736. '<input type="file" name="f"',
  8737. 'optional--',
  8738. 'optional2--',
  8739. "//a[contains(@href,'swoopshare.com')]"
  8740. );
  8741. }
  8742. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8743. {
  8744. addFileHost(
  8745. "cloudshares\.net\/\\w+",
  8746. '"method_free|"Low Speed Download|submit" name="go',
  8747. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8748. 'optional--',
  8749. 'optional2--',
  8750. "//a[contains(@href,'cloudshares.net')]"
  8751. );
  8752. }
  8753. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8754. {
  8755. addFileHost(
  8756. "allmyvideos\.net\/\\w+",
  8757. 'Continue to Video',
  8758. 'File Not Found|class="err">Removed for',
  8759. 'optional--',
  8760. 'optional2--',
  8761. "//a[contains(@href,'allmyvideos.net')]"
  8762. );
  8763. }
  8764. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8765. {
  8766. addFileHost(
  8767. "vodlocker\.com\/\\w+",
  8768. 'Proceed to video',
  8769. 'Not Found',
  8770. 'optional--',
  8771. 'optional2--',
  8772. "//a[contains(@href,'vodlocker.com')]"
  8773. );
  8774. }
  8775. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8776. {
  8777. addFileHost(
  8778. "vidbull\.com\/\\w+",
  8779. 'Verifying Video Request',
  8780. 'File Not Found',
  8781. 'optional--',
  8782. 'optional2--',
  8783. "//a[contains(@href,'vidbull.com')]");
  8784. }
  8785. if (GM_getValue("Check_novamov_dot_com_links", false))
  8786. {
  8787. addFileHost(
  8788. "novamov\.com\/\\w+",
  8789. 'For version detection',
  8790. 'file no longer exists',
  8791. 'optional--',
  8792. 'optional2--',
  8793. "//a[contains(@href,'novamov.com')]"
  8794. );
  8795. }
  8796. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8797. {
  8798. addFileHost(
  8799. "filehoot\.com\/\\w+",
  8800. 'Continue to watch',
  8801. 'File Not Found',
  8802. 'optional--',
  8803. 'optional2--',
  8804. "//a[contains(@href,'filehoot.com')]"
  8805. );
  8806. }
  8807. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8808. {
  8809. addFileHost(
  8810. "stagevu\.com\/\\w+",
  8811. 'Video Info',
  8812. 'No video with the provided',
  8813. 'optional--',
  8814. 'optional2--',
  8815. "//a[contains(@href,'stagevu.com')]"
  8816. );
  8817. }
  8818. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8819. {
  8820. addFileHost(
  8821. "cloudtime\.to\/\\w+",
  8822. 'Download the video',
  8823. 'no longer exists',
  8824. 'optional--',
  8825. 'optional2--',
  8826. "//a[contains(@href,'cloudtime.to')]"
  8827. );
  8828. }
  8829. if (GM_getValue("Check_streamin_dot_to_links", false))
  8830. {
  8831. addFileHost(
  8832. "streamin\.to\/\\w+",
  8833. 'id="btn_download',
  8834. 'Not Found|Copyright Infringement|File Deleted',
  8835. 'optional--',
  8836. 'optional2--',
  8837. "//a[contains(@href,'streamin.to')]"
  8838. );
  8839. }
  8840. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8841. {
  8842. addFileHost(
  8843. "videoweed\.es\/\\w+",
  8844. 'version detection',
  8845. 'no longer exists',
  8846. 'optional--',
  8847. 'optional2--',
  8848. "//a[contains(@href,'videoweed.es')]"
  8849. );
  8850. }
  8851. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8852. {
  8853. addFileHost(
  8854. "nowvideo\.sx\/\\w+",
  8855. 'Download this video|value="submit">Continue',
  8856. 'no longer exists',
  8857. 'optional--',
  8858. 'optional2--',
  8859. "//a[contains(@href,'nowvideo.sx')]"
  8860. );
  8861. }
  8862. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8863. {
  8864. addFileHost(
  8865. "thevideo\.me\/\\w+",
  8866. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8867. 'File Not Found',
  8868. 'optional--',
  8869. 'optional2--',
  8870. "//a[contains(@href,'thevideo.me')]"
  8871. );
  8872. }
  8873. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8874. {
  8875. addFileHost(
  8876. "gorillavid\.in\/\\w+",
  8877. 'Wait 5 seconds',
  8878. 'File Not Found',
  8879. 'optional--',
  8880. 'optional2--',
  8881. "//a[contains(@href,'gorillavid.in')]"
  8882. );
  8883. }
  8884. if (GM_getValue("Check_thefile_dot_me_links", false))
  8885. {
  8886. addFileHost(
  8887. "thefile\.me\/\\w+",
  8888. 'Choose free or',
  8889. '',
  8890. 'optional--',
  8891. 'optional2--',
  8892. "//a[contains(@href,'thefile.me')]"
  8893. );
  8894. }
  8895. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8896. {
  8897. addFileHost(
  8898. "vidzi\.tv\/\\w+",
  8899. 'video-embed-modal row',
  8900. 'File Not Found|file was deleted',
  8901. 'optional--',
  8902. 'optional2--',
  8903. "//a[contains(@href,'vidzi.tv')]"
  8904. );
  8905. }
  8906. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8907. {
  8908. addFileHost(
  8909. "filenuke\.com\/\\w+",
  8910. 'Download File',
  8911. 'Earn with us',
  8912. 'optional--',
  8913. 'optional2--',
  8914. "//a[contains(@href,'filenuke.com')]"
  8915. );
  8916. }
  8917. if (GM_getValue("Check_vidto_dot_me_links", false))
  8918. {
  8919. addFileHost(
  8920. "vidto\.me\/\\w+",
  8921. 'Proceed to video',
  8922. 'Not Found',
  8923. 'optional--',
  8924. 'optional2--',
  8925. "//a[contains(@href,'vidto.me')]"
  8926. );
  8927. }
  8928. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8929. {
  8930. addFileHost(
  8931. "vidspot\.net\/\\w+",
  8932. 'Duration',
  8933. 'Removed for',
  8934. 'optional--',
  8935. 'optional2--',
  8936. "//a[contains(@href,'vidspot.net')]"
  8937. );
  8938. }
  8939. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8940. {
  8941. addFileHost(
  8942. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8943. 'Download File',
  8944. 'File Not Found',
  8945. 'optional--',
  8946. 'optional2--',
  8947. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8948. );
  8949. }
  8950. if (GM_getValue("Check_movpod_dot_in_links", false))
  8951. {
  8952. addFileHost(
  8953. "movpod\.in\/\\w+",
  8954. 'Continue',
  8955. 'File Not Found',
  8956. 'optional--',
  8957. 'optional2--',
  8958. "//a[contains(@href,'movpod.in')]"
  8959. );
  8960. }
  8961. if (GM_getValue("Check_down4files_dot_com_links", false))
  8962. {
  8963. addFileHost(
  8964. "down4files\.com\/\\w+",
  8965. 'down_table.png',
  8966. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8967. 'optional--',
  8968. 'optional2--',
  8969. "//a[contains(@href,'down4files.com')]"
  8970. );
  8971. }
  8972. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8973. {
  8974. addFileHost(
  8975. "storefiles\.co\/\\w+",
  8976. 'btn_download',
  8977. 'No such file|>Error<|mqmaintitle">',
  8978. 'optional--',
  8979. 'optional2--',
  8980. "//a[contains(@href,'storefiles.co')]"
  8981. );
  8982. }
  8983. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8984. {
  8985. addFileHost(
  8986. "filehost\.pw\/\\w+",
  8987. 'name="method_free',
  8988. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8989. 'optional--',
  8990. 'optional2--',
  8991. "//a[contains(@href,'filehost.pw')]"
  8992. );
  8993. }
  8994. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8995. {
  8996. addFileHost(
  8997. "inafile\.com\/\\w+",
  8998. 'value="download1">|<h2>File: <font style="color:darkred">',
  8999. '<div style="width:500px;text-align:left;">|File Not Found',
  9000. 'optional--',
  9001. 'optional2--',
  9002. "//a[contains(@href,'inafile.com')]"
  9003. );
  9004. } */
  9005. if (GM_getValue("Check_uplea_dot_com_links", false))
  9006. {
  9007. addFileHost(
  9008. "uplea\.com\/\\w+",
  9009. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  9010. 'expired link|ou est invalide',
  9011. 'optional--',
  9012. 'optional2--',
  9013. "//a[contains(@href,'uplea.com/dl')]",
  9014. true);
  9015. }
  9016. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  9017. {
  9018. addFileHost(
  9019. "toutbox\.fr\/\\w+",
  9020. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  9021. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  9022. 'Serviço temporariamente indisponível',
  9023. 'optional2--',
  9024. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  9025. );
  9026. }
  9027. if (GM_getValue("Check_openload_dot_co_links", false))
  9028. {
  9029. addFileHost(
  9030. "openload\.co\/\\w+",
  9031. 'id="downloadTimer">|button dlbutton',
  9032. 'jumbotron{color|got deleted|center !important',
  9033. 'optional--',
  9034. 'optional2--',
  9035. "//a[contains(@href,'openload.co')]"
  9036. );
  9037. }
  9038. if (GM_getValue("Check_lolabits_dot_es_links", false))
  9039. {
  9040. addFileHost(
  9041. "lolabits\.es\/\\w+",
  9042. 'Descargar:',
  9043. '<title>Archivos de usuario',
  9044. 'Service Unavailable',
  9045. 'optional2--',
  9046. "//a[contains(@href,'lolabits.es')]"
  9047. );
  9048. }
  9049. if (GM_getValue("Check_alfafile_dot_net_links", false))
  9050. {
  9051. addFileHost(
  9052. "alfafile\.net\/\\w+",
  9053. 'id="slow_download_btn',
  9054. 'class="error-box">',
  9055. 'optional--',
  9056. 'optional2--',
  9057. "//a[contains(@href,'alfafile.net')]"
  9058. );
  9059. }
  9060. if (GM_getValue("Check_multiup_dot_org_links", false))
  9061. {
  9062. addFileHost(
  9063. "multiup\.org\/\\w+",
  9064. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  9065. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  9066. 'optional--',
  9067. 'optional2--',
  9068. "//a[contains(@href,'multiup.org')]"
  9069. );
  9070. }
  9071. if (GM_getValue("Check_file_dot_al_links", false))
  9072. {
  9073. addFileHost(
  9074. "file\.al\/\\w+",
  9075. 'method_free',
  9076. 'style="width:500px;text-align:left;">',
  9077. 'optional--',
  9078. 'optional2--',
  9079. "//a[contains(@href,'file.al')]"
  9080. );
  9081. }
  9082. if (GM_getValue("Check_devilshare_dot_net_links", false))
  9083. {
  9084. addFileHost(
  9085. "devilshare\.net\/\\w+",
  9086. '<div class="large-12" id="download">',
  9087. '(Link: 0 Invalid)|File Not Found',
  9088. 'optional--',
  9089. 'optional2--',
  9090. "//a[contains(@href,'devilshare.net')]"
  9091. );
  9092. }
  9093. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  9094. {
  9095. addFileHost(
  9096. "dailyuploads\.net\/\\w+",
  9097. 'id="downloadBtnClickOrignal',
  9098. '<div style="width:500px;text-align:left;">',
  9099. 'optional--',
  9100. 'optional2--',
  9101. "//a[contains(@href,'dailyuploads.net')]"
  9102. );
  9103. }
  9104. if (GM_getValue("Check_datoteke_dot_com_links", false))
  9105. {
  9106. addFileHost(
  9107. "datoteke\.com\/\\w+",
  9108. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  9109. '&nbsp;File has been removed',
  9110. 'optional--',
  9111. '<title>Error - Datoteke',
  9112. "//a[contains(@href,'datoteke.com')]"
  9113. );
  9114. }
  9115. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  9116. {
  9117. addFileHost(
  9118. "tezfiles\.com\/\\w+",
  9119. 'virtual/low-speed-download',
  9120. 'class="alert alert-block|file is no longer available',
  9121. 'optional--',
  9122. 'This file is available<br>only for premium members',
  9123. "//a[contains(@href,'tezfiles.com')]"
  9124. );
  9125. } */
  9126. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  9127. {
  9128. addFileHost(
  9129. "sharehost\.eu\/\\w+",
  9130. '/?v=download_free&',
  9131. 'Errors occured|Wystąpiły błędy',
  9132. 'optional--',
  9133. 'optional2--',
  9134. "//a[contains(@href,'sharehost.eu')]"
  9135. );
  9136. }
  9137. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9138. {
  9139. addFileHost(
  9140. "pornfile\.cz\/\\w+",
  9141. 'Stáhnout soubor',
  9142. 'Soubor byl smazán',
  9143. 'optional--',
  9144. 'optional2--',
  9145. "//a[contains(@href,'pornfile.cz')]"
  9146. );
  9147. }
  9148. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9149. {
  9150. addFileHost(
  9151. "pornoid\.cz\/\\w+",
  9152. 'class="btn btn-large btn-download',
  9153. 'Soubor byl smazán',
  9154. 'optional--',
  9155. 'optional2--',
  9156. "//a[contains(@href,'pornoid.cz')]"
  9157. );
  9158. }
  9159. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9160. {
  9161. addFileHost(
  9162. "file-share\.top\/\\w+",
  9163. 'btn-success btn-lg download',
  9164. 'Stránka neexistuje|404 Not Found',
  9165. 'optional--',
  9166. 'optional2--',
  9167. "//a[contains(@href,'file-share.top')]"
  9168. );
  9169. }
  9170. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9171. {
  9172. addFileHost(
  9173. "bitster\.cz\/\\w+",
  9174. 'section" content="VIDEO"',
  9175. 'section" content=""',
  9176. 'optional--',
  9177. 'optional2--',
  9178. "//a[contains(@href,'bitster.cz')]"
  9179. );
  9180. }
  9181. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9182. {
  9183. addFileHost(
  9184. "rapidu\.net\/\\w+",
  9185. 'onclick="downloadFreeFile',
  9186. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9187. 'optional--',
  9188. 'optional2--',
  9189. "//a[contains(@href,'rapidu.net')]"
  9190. );
  9191. }
  9192. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9193. {
  9194. addFileHost(
  9195. "dinoshare\.cz\/\\w+",
  9196. 'class="download-button"',
  9197. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9198. 'optional--',
  9199. 'optional2--',
  9200. "//a[contains(@href,'dinoshare.cz')]"
  9201. );
  9202. }
  9203. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9204. {
  9205. addFileHost(
  9206. "bytewhale\.com\/\\w+",
  9207. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9208. 'var rawest = "0 MB',
  9209. 'optional--',
  9210. 'optional--',
  9211. "//a[contains(@href,'bytewhale.com')]"
  9212. );
  9213. }
  9214. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9215. {
  9216. addFileHost(
  9217. "rapidrar\.com\/\\w+",
  9218. 'value="Free Download',
  9219. '<div style="width:500px;text-align:left;">',
  9220. 'optional--',
  9221. 'optional--',
  9222. "//a[contains(@href,'rapidrar.com')]"
  9223. );
  9224. }
  9225. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9226. {
  9227. addFileHost(
  9228. "gigasize\.com\/\\w+",
  9229. 'class="estimate">',
  9230. 'class="error">',
  9231. 'optional--',
  9232. 'optional--',
  9233. "//a[contains(@href,'gigasize.com')]"
  9234. );
  9235. }
  9236. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9237. {
  9238. addFileHost(
  9239. "filesupload\.org\/\\w+",
  9240. '<a href="/download-or-watch/',
  9241. 'File not found',
  9242. 'optional--',
  9243. 'optional--',
  9244. "//a[contains(@href,'filesupload.org')]"
  9245. );
  9246. }
  9247. if (GM_getValue("Check_filecad_dot_com_links", false))
  9248. {
  9249. addFileHost(
  9250. "filecad\.com\/\\w+",
  9251. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9252. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9253. 'optional--',
  9254. 'optional--',
  9255. "//a[contains(@href,'filecad.com')]"
  9256. );
  9257. }
  9258. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9259. {
  9260. addFileHost(
  9261. "file.up09\.com\/\\w+",
  9262. 'name="method_free',
  9263. 'style="width:500px;text-align:left;">',
  9264. 'optional--',
  9265. 'optional--',
  9266. "//a[contains(@href,'file.up09.com')]"
  9267. );
  9268. }
  9269. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9270. {
  9271. addFileHost(
  9272. "lunaticfiles\.com\/\\w+",
  9273. 'name="method_free"',
  9274. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9275. 'optional--',
  9276. 'optional--',
  9277. "//a[contains(@href,'lunaticfiles.com')]"
  9278. );
  9279. }
  9280. if (GM_getValue("Check_upload_dot_af_links", false))
  9281. {
  9282. addFileHost(
  9283. "upload\.af\/\\w+",
  9284. 'id="method_free"',
  9285. '<h1>File Not Found</',
  9286. 'optional--',
  9287. 'optional--',
  9288. "//a[contains(@href,'upload.af')]"
  9289. );
  9290. }
  9291. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9292. {
  9293. addFileHost(
  9294. "filedwon\.info\/\\w+",
  9295. 'name="method_free"',
  9296. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9297. 'optional--',
  9298. 'optional--',
  9299. "//a[contains(@href,'filedwon.info')]"
  9300. );
  9301. }
  9302. if (GM_getValue("Check_uplod_dot_it_links", false))
  9303. {
  9304. addFileHost(
  9305. "uplod\.it\/\\w+",
  9306. 'value="download2">|name="method_free',
  9307. '<Title>Download </Title>',
  9308. 'optional--',
  9309. 'optional--',
  9310. "//a[contains(@href,'uplod.it')]"
  9311. );
  9312. }
  9313. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9314. {
  9315. addFileHost(
  9316. "abelhas\.pt\/\\w+",
  9317. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9318. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9319. 'optional--',
  9320. 'optional--',
  9321. "//a[contains(@href,'abelhas.pt')]"
  9322. );
  9323. }
  9324. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9325. {
  9326. addFileHost(
  9327. "disk.yandex\.com\/\\w+",
  9328. 'nb-button _nb-small-button',
  9329. 'error code|Nothing found',
  9330. 'optional--',
  9331. 'optional2--',
  9332. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9333. }
  9334. /* if (GM_getValue("Check_k2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9335. {
  9336. addFileHost(
  9337. "k2s\.cc\/\\w+",
  9338. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9339. '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',
  9340. 'method="post">Displaying',
  9341. 'optional2--',
  9342. "//a[contains(@href,'k2s.cc')]");
  9343. }
  9344. if (GM_getValue("Check_keep2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9345. {
  9346. addFileHost(
  9347. "keep2s\.cc\/\\w+",
  9348. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9349. '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',
  9350. 'method="post">Displaying',
  9351. 'optional2--',
  9352. "//a[contains(@href,'keep2s.cc')]");
  9353. }
  9354. if (GM_getValue("Check_keep2share_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9355. {
  9356. addFileHost(
  9357. "keep2share\.cc\/\\w+",
  9358. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9359. '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',
  9360. 'method="post">Displaying',
  9361. 'optional2--',
  9362. "//a[contains(@href,'keep2share.cc')]");
  9363. }
  9364. if (GM_getValue("Check_keep2share_dot_com_links", false)) //this is here so host will work past redirect service antiref.com
  9365. {
  9366. addFileHost(
  9367. "keep2share\.com\/\\w+",
  9368. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9369. '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',
  9370. 'method="post">Displaying',
  9371. 'optional2--',
  9372. "//a[contains(@href,'keep2share.com')]");
  9373. } */
  9374. if (GM_getValue("Check_filespace_dot_com_links", false))
  9375. {
  9376. addFileHost(
  9377. "filespace\.com\/\\w+",
  9378. 'name="method_free',
  9379. '<div style="text-align:left;"><ul>|>File not found.<',
  9380. 'optional1--',
  9381. 'optional2--',
  9382. "//a[contains(@href,'filespace.com')]");
  9383. }
  9384. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9385. {
  9386. addFileHost(
  9387. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9388. 'name="downloadFile|id="downloadFile|value="Wait',
  9389. '<title>File not found</title>|>Error:<',
  9390. 'optional1--',
  9391. 'optional2--',
  9392. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9393. }
  9394.  
  9395. }
  9396. //start here
  9397.  
  9398. //hosts with direct download, so they must be requested for headers only
  9399. function initFileHostsHeadersOnly()
  9400. {
  9401. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9402. {
  9403. var host = new Array(5);
  9404. host[0] = linkRegex;
  9405. host[1] = isAliveRegex;
  9406. host[2] = isDeadRegex;
  9407. host[3] = xpathEx;
  9408. host[4] = ispremRegex;
  9409. http_file_hosts_headers_only.push(host);
  9410. }
  9411. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9412. {
  9413. addFileHostHeadersOnly(
  9414. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9415. 'Connection: Keep-Alive',
  9416. 'Content-Length: 3857',
  9417. "//a[contains(@href,'uloziste.com')]"
  9418. )
  9419. }
  9420. if (GM_getValue("Check_adrive_dot_com_links", false))
  9421. {
  9422. addFileHostHeadersOnly(
  9423. "adrive\\.com\/public\/\\w+",
  9424. 'Connection: keep-alive',
  9425. 'orig_ref=deleted',
  9426. "//a[contains(@href,'adrive.com')]"
  9427. )
  9428. }
  9429. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9430. {
  9431. addFileHostHeadersOnly(
  9432. "myupload\\.dk\/showfile\/\\w+",
  9433. 'Expires:',
  9434. 'squeeze1\\s+Vary',
  9435. "//a[contains(@href,'myupload.dk/showfile')]"
  9436. )
  9437. }
  9438. }
  9439. //CustomRules
  9440. //functions add...Host copied here
  9441. function addObsoleteHost(linkRegex, xpathEx)
  9442. {
  9443. var host = new Array(2);
  9444. host[0] = linkRegex;
  9445. host[1] = xpathEx;
  9446. http_file_hosts_obsolete.push(host);
  9447. }
  9448. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9449. {
  9450. var host = new Array(7);
  9451. host[0] = linkRegex;
  9452. host[1] = isAliveRegex;
  9453. host[2] = isDeadRegex;
  9454. host[3] = isUnavaRegex;
  9455. host[4] = xpathEx;
  9456. tryLoop ? host[5] = true : host[5] = false;
  9457. host[6] = ispremRegex;
  9458. http_file_hosts.push(host);
  9459. }
  9460. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9461. {
  9462. var host = new Array(5);
  9463. host[0] = linkRegex;
  9464. host[1] = isAliveRegex;
  9465. host[2] = isDeadRegex;
  9466. host[3] = xpathEx;
  9467. host[4] = ispremRegex;
  9468. http_file_hosts_headers_only.push(host);
  9469. }
  9470. //takes a fully built rules array and adds the rules to WARLC
  9471. function applyCustomRules(customRules)
  9472. {
  9473. if (!customRules) return;
  9474. var rules, r, i;
  9475. rules = customRules.rules;
  9476. for (i = 0 ; i < rules.length ; i++)
  9477. {
  9478. r = rules[i];
  9479. if (r.enabled)
  9480. {
  9481. switch (r.type)
  9482. {
  9483. case 'single':
  9484. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9485. break;
  9486. case 'headers':
  9487. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9488. break;
  9489. case 'obsolete':
  9490. addObsoleteHost(r.urlregex, r.xpath)
  9491. break;
  9492. }
  9493. }
  9494. }
  9495. }
  9496.  
  9497.  
  9498. function initFileHostsCustom()
  9499. {
  9500. if (Custom_rules && Custom_rules_text)
  9501. {
  9502. var msg = '';
  9503. if (newVersion)
  9504. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9505. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9506. msg = '60 or more days have passed since this notification.\n\n';
  9507. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9508. {
  9509. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9510. msg +=
  9511. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9512. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9513. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9514. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9515. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9516. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9517. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9518. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9519. setTimeout(function(){alert(msg)},0);
  9520. }
  9521. var customRules = parseCustomRules(Custom_rules_text);
  9522. if (customRules.warning || customRules.error)
  9523. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9524. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9525. JSON.stringify(customRules.info, null, ' '));
  9526. applyCustomRules(customRules);
  9527. }
  9528. }
  9529. //end of CustomRules processing
  9530.  
  9531.  
  9532.  
  9533. } //end of function start
  9534.  
  9535.  
  9536.  
  9537. function initClipBoardTools()
  9538. {
  9539. unsafeWindow.copyToClipboard = function(text)
  9540. {
  9541. try
  9542. {
  9543. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9544.  
  9545. var str = Components.classes["@mozilla.org/supports-string;1"].
  9546. createInstance(Components.interfaces.nsISupportsString);
  9547. if (!str) return false;
  9548.  
  9549. str.data = text;
  9550.  
  9551. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9552. createInstance(Components.interfaces.nsITransferable);
  9553. if (!trans) return false;
  9554.  
  9555. trans.addDataFlavor("text/unicode");
  9556. trans.setTransferData("text/unicode", str, text.length * 2);
  9557.  
  9558. var clipid = Components.interfaces.nsIClipboard;
  9559. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9560. if (!clip) return false;
  9561.  
  9562. clip.setData(trans, null, clipid.kGlobalClipboard);
  9563. } catch (e) {
  9564. GM_log("Error copyToClipboard : " + e);
  9565. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9566. }
  9567. }
  9568. }
  9569.  
  9570.  
  9571.  
  9572. //CustomRules
  9573.  
  9574. function escapeRegex(str)
  9575. {
  9576. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9577. }
  9578.  
  9579.  
  9580. //called internally from parseCustomRules.
  9581. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9582. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9583. function makeCustomRule(rule)
  9584. {
  9585. function makeMatchRegex(arrmatch)
  9586. {
  9587. return escapeRegex(arrmatch.join('\n'))
  9588. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9589. .replace(/\n/g,'|'); //join together
  9590. }
  9591. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9592. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9593. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9594. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9595. if (rule.baseurl)
  9596. {
  9597. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9598. for (i = 0 ; i < len ; i++)
  9599. {
  9600. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9601. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9602. {
  9603. 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'])
  9604. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9605. }
  9606. else //baseurl in the form: example.com/xxx
  9607. {
  9608. xpath.push(m[0]);
  9609. urlregex.push(escapeRegex(m[0]) + '.');
  9610. }
  9611. }
  9612. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9613. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9614. }
  9615. return rule;
  9616. } //function makeCustomRule
  9617.  
  9618.  
  9619. /*
  9620. Takes a string containing custom link checking rules.
  9621. Returns an object with fields:
  9622. info - contains notes, warnings and errors found during parsing
  9623. rules - the array of custom rules
  9624. note, warning, error - number of each of them found during parsing
  9625. Format of the input string:
  9626. One command per line. Command format: @keyword parameter
  9627. Keywords:
  9628. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9629. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9630. These keywords can be multiple (any of them will work):
  9631. @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...)
  9632. @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+
  9633. @alivelink, @deadlink - example links
  9634. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9635. Lines starting with // and empty lines are ignored.
  9636. Invalid parameters generate errors and those lines are skipped.
  9637. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9638. Example:
  9639. @customrule filehost
  9640. @baseurl filehost.com/download/
  9641. @baseurl filehost2. com net /d?=
  9642. @alivematch id="download">
  9643. @deadmatch File not found
  9644. @deadmatch File deleted
  9645. */
  9646. function parseCustomRules(rulesStr)
  9647. {
  9648. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9649. function addInfo(type, msg, ln){
  9650. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9651. customRules[type]++;
  9652. }
  9653. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9654. if (!lines) return null;
  9655. lines.push('@#customrule _'); //to save the last rule
  9656. var m, linecount = lines.length;
  9657. var keyword, param, constr, rule, err;
  9658. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9659. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9660. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9661. var constraints = {
  9662. 'baseurl': {
  9663. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9664. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9665. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9666. 'alivematch': {
  9667. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9668. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9669. 'deadmatch': {
  9670. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9671. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9672. 'unavamatch': {
  9673. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9674. 'alivelink': {
  9675. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9676. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9677. 'deadlink': {
  9678. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9679. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9680. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9681. };
  9682. for (linenum = 0 ; linenum < linecount ; linenum++)
  9683. {
  9684. //capturing groups: 1 23 4 5 6
  9685. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9686. if (m)
  9687. {
  9688. if (m[1] || !m[2])
  9689. continue; // ignore empty lines and lines starting with //
  9690. keyword = (m[4] || m[2]).toLowerCase();
  9691. param = m[6];
  9692. if (keyword == 'customrule')
  9693. {
  9694. //save the current rule if all required fields are provided
  9695. if (rule)
  9696. {
  9697. err = false;
  9698. $.each(constraints, function(kw, constraint){
  9699. var l, constr = constraint[rule.type];
  9700. if (constr)
  9701. {
  9702. l = rule[kw] ? rule[kw].length : 0;
  9703. if (l < constr.min || l > constr.max)
  9704. {
  9705. 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);
  9706. err = true;
  9707. }
  9708. }
  9709. });
  9710. if (!err)
  9711. customRules.rules.push(makeCustomRule(rule));
  9712. }
  9713. //start a new rule
  9714. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9715. {
  9716. rule = {
  9717. 'enabled': !m[3],
  9718. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9719. 'name': param
  9720. };
  9721. }
  9722. else
  9723. {
  9724. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9725. rule = null;
  9726. }
  9727. }
  9728. else //good line format, but keyword other than customrule
  9729. {
  9730. if (!rule)
  9731. {
  9732. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9733. continue;
  9734. }
  9735. if (constraints[keyword])
  9736. {
  9737. constr = constraints[keyword][rule.type];
  9738. if (constr)
  9739. {
  9740. if (constr.paramRE && !constr.paramRE.test(param))
  9741. {
  9742. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9743. continue;
  9744. }
  9745. }
  9746. else
  9747. {
  9748. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9749. continue;
  9750. }
  9751. }
  9752. //line OK, save
  9753. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9754. }
  9755. } //if (m)
  9756. else
  9757. addInfo('warning', 'Unknown line format. Line skipped.');
  9758. } //for loop
  9759. return customRules;
  9760. } //function parseCustomRules
  9761.  
  9762.  
  9763. /* ********************UPDATES********************
  9764.  
  9765. april 06, 2016
  9766. Version 1.2.6.7
  9767. added sharingmaster.com to obsolete hosts.
  9768.  
  9769. april 05, 2016
  9770. Version 1.2.6.6
  9771. added 4upfiles.com & elffiles.com to obsolete hosts
  9772.  
  9773. april 03, 2016
  9774. Version 1.2.6.5
  9775. updates to configuration page
  9776.  
  9777. March 31, 2016
  9778. Version 1.2.6.4
  9779. added code for tampermonkey 4.0 compatibility
  9780.  
  9781. March 31, 2016
  9782. Version 1.2.6.3
  9783. fixed uloz.to
  9784. fixed copy dead links to clipboard feature
  9785. added copy live links to clipboard feature.
  9786.  
  9787. March 24, 2016
  9788. Version 1.2.6.2
  9789. changed made to nitroflare. (yurri)
  9790.  
  9791. March 20, 2016
  9792. Version 1.2.6.1
  9793. fixed rapidgator
  9794. fixed dfiles
  9795. fixed dl.free.fr
  9796. fixed nitroflare.com (Fixed by Yurii)
  9797.  
  9798. March 15, 2016
  9799. Version 1.2.6.0
  9800. fixed rapidgator.net
  9801. fixed uploaded.net
  9802.  
  9803. March 13, 2016
  9804. Version 1.2.5.9
  9805. added
  9806. uploads.ws
  9807. upl.me
  9808. clicknupload.link
  9809. added fileover.net to obsolete hosts
  9810. fixed kingfiles.net
  9811.  
  9812. March 09, 2016
  9813. Version 1.2.5.8
  9814. added kingfiles.net to obsolete hosts
  9815. fixed 4upld.com/expressleech.com
  9816.  
  9817. March 08, 2016
  9818. Version 1.2.5.7
  9819. fixed solidfiles.com
  9820.  
  9821. March 01, 2016
  9822. Version 1.2.5.6
  9823. added filespace.com
  9824. fixed depositfiles (by yurii)
  9825.  
  9826. February 29, 2016
  9827. Version 1.2.5.5
  9828. made change to keep2share
  9829.  
  9830. February 28, 2016
  9831. Version 1.2.5.4
  9832. removed down4files.com from obsolete hosts.
  9833.  
  9834. February 26, 2016
  9835. Version 1.2.5.3
  9836. fixed userscloud.com
  9837.  
  9838. February 24, 2016
  9839. Version 1.2.5.2
  9840. added yandex.com
  9841. fixed datafile.com
  9842.  
  9843. February 22, 2016
  9844. Version 1.2.5.1
  9845. added bigfile.to
  9846.  
  9847. February 20, 2016
  9848. Version 1.2.5.0
  9849. added abelhas.pt
  9850.  
  9851. February 18, 2016
  9852. Version 1.2.4.9
  9853. made change to uptobox
  9854.  
  9855. February 17, 2016
  9856. Version 1.2.4.8
  9857. fixed yadi.sk
  9858.  
  9859. February 16, 2016
  9860. Version 1.2.4.7
  9861. fixed datafile.com
  9862. fixed filecad.com
  9863. added filecore.co & filestorm.to to obsolete hosts
  9864. added upload.af, filedwon.in & uplod.it
  9865.  
  9866. February 15, 2016
  9867. Version 1.2.4.6
  9868. fixed kumpulbagi.id
  9869. added sangfile.com to obsolete hosts
  9870.  
  9871. February 14, 2016
  9872. Version 1.2.4.5
  9873. fixed yandex.ru
  9874.  
  9875. February 13, 2016
  9876. Version 1.2.4.4
  9877. added lunaticfiles.com.
  9878.  
  9879. February 09, 2016
  9880. Version 1.2.4.3
  9881. added file.up09.com.
  9882.  
  9883. February 09, 2016
  9884. Version 1.2.4.2
  9885. tezfiles.com premium links now detected.
  9886.  
  9887. February 09, 2016
  9888. Version 1.2.4.1
  9889. added seenupload.com to obsolete hosts
  9890. fixed 180upload.com to show obsolete
  9891.  
  9892. February 08, 2016
  9893. Version 1.2.4.0
  9894. added tusfiles.com
  9895. added filesupload.org
  9896. added gigasize.com
  9897. added filecad.com
  9898. fixed filecloud.io
  9899. added uploadnet.co to obsolete hosts
  9900.  
  9901. February 07,2016
  9902. Vession 1.2.3.9
  9903. fixed depositfiles.com folders
  9904. fixed turbobit.net folders
  9905.  
  9906. February 06, 2016
  9907. Version 1.2.3.8
  9908. fixed 1fichier false dead links
  9909.  
  9910. February 04, 2106
  9911. Version 1.2.3.7
  9912. added geupload and lenfile to obsolete hosts
  9913. fixed kyc.pm/depfile
  9914.  
  9915. February 03, 2016
  9916. Version 1.2.3.6
  9917. fixed some nitroflare.com dead links not being detected
  9918.  
  9919. February 01, 2016
  9920. Version 1.2.3.5
  9921. script moved to new site
  9922.  
  9923. January 20, 2016
  9924. Version 1.2.3.3
  9925. fixed some rapidgator premium link not being detected
  9926.  
  9927. January 17, 2016
  9928. Version 1.2.3.2
  9929. added bytewhale.com
  9930. added rapidrar.com
  9931.  
  9932. Version 1.2.3.1
  9933. added 180upload.com to obsolete hosts
  9934. fixed hellspy.com
  9935. added dinoshare.cz,
  9936.  
  9937. January 13, 2016
  9938. Version 1.2.3.0
  9939. added rapidu.net
  9940. added uploadboy.me
  9941. fixed euroshare.eu
  9942.  
  9943. January 12, 2016
  9944. Version 1.2.2.9
  9945. added kb.simple-aja.info
  9946.  
  9947. January 10, 2016
  9948. Version 1.2.2.8
  9949. made changes to fastshare.cz
  9950.  
  9951. January 10, 2016
  9952. Version 1.2.2.7
  9953. fixed uptobox.com
  9954.  
  9955. January 09, 2016
  9956. Version 1.2.2.6
  9957. datoteke.com now detects premium links
  9958. fixed turbobit.net
  9959. fixed uptobox.com
  9960. added pornfile.cz
  9961. added pornoid.cz
  9962. added file-share.top
  9963. added bitster.cz
  9964.  
  9965. January 05, 2016
  9966. Version 1.2.2.5
  9967. fixed salefiles.com
  9968. fixed ozofile.com
  9969.  
  9970. January 04, 2016
  9971. Version 1.2.2.4
  9972. added sharehost.eu
  9973.  
  9974. December 30, 2015
  9975. Version 1.2.2.3
  9976. added tezfiles.com
  9977.  
  9978. December 28, 2015
  9979. Version 1.2.2.2
  9980. fixed some k2s & fboom dead link not getting detected
  9981. fixed some k2s premium links not getting detected.
  9982. fixed ssh.yt not detecting some dead links
  9983. fixed ncrypt.in dead links showing yellow
  9984.  
  9985. December 20, 2015
  9986. Version 1.2.2.0
  9987. added datoteke.com
  9988.  
  9989. December 19, 2015
  9990. Version 1.2.1.9
  9991. added secured.in & linksave.in to obsolete hosts
  9992.  
  9993. December 17, 2015
  9994. Version 1.2.1.8
  9995. added german for dead links to secureupload.eu.
  9996.  
  9997. December 17, 2015
  9998. Version 1.2.1.7
  9999. added french for dead links to secureupload.eu.
  10000. fixed problem with tooltip display.
  10001.  
  10002. December 13, 2015
  10003. Version 1.2.1.6
  10004. added netload.me & fileparadox.in to obsolete hosts
  10005.  
  10006. December 09, 2015
  10007. Version 1.2.1.5
  10008. added rapidsonic.com & fileparadox.com to obsolete hosts
  10009.  
  10010. December 04, 2015
  10011. Version 1.2.1.4
  10012. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10013.  
  10014. December 03, 2015
  10015. Version 1.2.1.3
  10016. added dailyuploads.net
  10017.  
  10018. December 02, 2015
  10019. Version 1.2.1.2
  10020. fixed hitfile.net
  10021. fixed kingfiles.net
  10022.  
  10023. November 30, 2015
  10024. Version 1.2.1.1
  10025. added filepost.com to obsolete hosts
  10026. added devilshare.net
  10027.  
  10028. November 28, 2015
  10029. Version 1.2.1.0
  10030. fixed datafile.com not detecting some premium links.
  10031.  
  10032. November 25, 2015
  10033. Version 1.2.0.9
  10034. fixed filejoker.net
  10035. fixed toutbox.fr
  10036. fixed nowvideo.sx
  10037.  
  10038. November 24, 2015
  10039. Version 1.2.0.8
  10040. fixed openload.io
  10041.  
  10042. November 20, 2015
  10043. Version 1.2.0.7
  10044. //added file.al
  10045. //fixed nitroflare.com false live links
  10046. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10047.  
  10048. November 17, 2015
  10049. Version 1.2.0.6
  10050. added clicknupload.me
  10051.  
  10052. November 09, 2015
  10053. Version 1.2.0.5
  10054. fixed some depfile premium links not being detected
  10055.  
  10056. November 08, 2015
  10057. Version 1.2.0.4
  10058. fixed some rapidgator premium links not being detected
  10059. fixed doraupload.com
  10060.  
  10061. November 08, 2015
  10062. Version 1.2.0.3
  10063. fixed uploaded false premium
  10064.  
  10065. November 07, 2015
  10066. Version 1.2.0.2
  10067. fixed redbunker.net
  10068.  
  10069. November 05, 2015
  10070. Version 1.2.0.1
  10071. fixed app.box.com
  10072. added multiup.org (does not detect all dead links)
  10073.  
  10074. November 01, 2015
  10075. Version 1.2.0.0
  10076. added more languages to rockfile and 1fichier
  10077.  
  10078. November 01, 2015
  10079. Version 1.1.9.9
  10080. fixed rockfile.eu
  10081. changed 1fichier code (Thanks yurri)
  10082. added to obsolete hosts... (Thanks Love Buzz)
  10083. burnupload.com
  10084. cramit.in
  10085. cramitin.net
  10086. down4files.com
  10087. edoc.com
  10088. jumbofile.net
  10089. krotix.net
  10090. migahost.com
  10091. movreel.com
  10092. netload.in
  10093. newfileland.com
  10094. quickshare.cz
  10095.  
  10096. October 30, 2015
  10097. Version 1.1.9.8
  10098. added alfafile.net
  10099.  
  10100. October 26, 2015
  10101. Version 1.1.9.7
  10102. changed datafile.com and uplea.com
  10103. added lolabits.es
  10104.  
  10105. October 26, 2015
  10106. Version 1.1.9.6
  10107. added toutbox.fr
  10108.  
  10109. October 25, 2015
  10110. Version 1.1.9.5
  10111. fixed counter error
  10112.  
  10113. October 25, 2015
  10114. Version 1.1.9.4
  10115. changed uptobox.com code
  10116.  
  10117. October 21, 2015
  10118. Version 1.1.9.3
  10119. fixed uptobox.com
  10120.  
  10121. October 20, 2015
  10122. Version 1.1.9.2
  10123. bug fixes and new method of detecting premium links.
  10124.  
  10125. October 15, 2015
  10126. Version 1.1.9.1
  10127. fixed hugefiles.net false premium
  10128. changed uptobox.com code
  10129.  
  10130. October 06, 2015
  10131. Version 1.1.9.0
  10132. fixed filefactory
  10133. fixed rockfile false premium
  10134. keep2share & fileboom now detect premium links (fixed by yurii)
  10135.  
  10136. October 01, 2015
  10137. Version 1.1.8.9
  10138. fixed free.fr false premium
  10139. fixed thevideo.me false premium
  10140.  
  10141. September 28, 2015
  10142. Version 1.1.8.8
  10143. added uplea.com and openload.co
  10144.  
  10145. September 27, 2015
  10146. Version 1.1.8.7
  10147. fixed fileparadox.in false premium
  10148. added kingfiles.net to obsolete hosts
  10149. removed inafile.com from obsolete hosts
  10150.  
  10151. September 22, 2015
  10152. Version 1.1.8.6
  10153. fixed nitroflare false premium
  10154.  
  10155. September 22, 2015
  10156. Version 1.1.8.5
  10157. fixed userscloud.com false premium
  10158. fixed usersfiles.com false premium
  10159. changed arabloads.com to arabloads.net
  10160. changed nowdownloads.eu to nowdownloads.ch
  10161.  
  10162. September 21, 2015
  10163. Version 1.1.8.3
  10164. added ryushare.com to obsolete hosts.
  10165.  
  10166. September 20, 2015
  10167. Version 1.1.8.2
  10168. fixed nitroflare not showing premium links
  10169. added down4files.com,storfiles.co,filehost.pw
  10170.  
  10171. September 16, 2015
  10172. Version 1.1.8.1
  10173. added crisshare.com to obsolete hosts
  10174. fixed filemoney.com false premium
  10175. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10176.  
  10177. September 14, 2015
  10178. Version 1.1.8.0
  10179. added to obsolete hosts...
  10180. sharebeast.com
  10181. tufiles.ru
  10182.  
  10183. September 12, 2015
  10184. Version 1.1.7.9
  10185. fixed rghost.net false premium
  10186. fixed unlimitzone.com false premium
  10187. fixed turbobit.net false live link
  10188.  
  10189. September 11, 2015
  10190. Version 1.1.7.8
  10191. Fixed filefactory.com false premium.
  10192.  
  10193. September 07, 2015
  10194. Version 1.1.7.7
  10195. fixed "depositfiles.com/en/files" links not checking
  10196.  
  10197. September 06, 2015
  10198. Version 1.1.7.6
  10199. added French code for 1fichier
  10200.  
  10201. August 29, 2015
  10202. Version 1.1.7.5
  10203. fixed depositfiles
  10204. fixed mega.co.nz/mega.nz
  10205. (fixed by yurii)
  10206.  
  10207. August 23, 2015
  10208. Version 1.1.7.4
  10209. Fixed uploadrocket (by yurii)
  10210.  
  10211. August 20, 2015
  10212. Version 1.1.7.3
  10213. fixed depfile.com false premium
  10214. fixed 1fichier false premium
  10215. fixed rapidgator false premium
  10216.  
  10217. August 08, 2015
  10218. Version 1.1.7.1
  10219. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10220.  
  10221. August 07, 2015
  10222. Version 1.1.7.0
  10223. fixed...
  10224. streamin.to
  10225. thefile.me
  10226. vidzi.tv
  10227. added...
  10228. filenuke.com
  10229. vidto.me
  10230. vidspot.net
  10231. sharesix.com
  10232. sharesix.net
  10233. movpod.in,
  10234.  
  10235. August 07, 2015
  10236. Version 1.1.6.9 added...
  10237. thefile.me
  10238. vidzi.tv
  10239. videoweed.es
  10240. vodlocker.com
  10241. nowvideo.sx
  10242. cloudtime.to
  10243. thevideo.me
  10244. vidbull.com
  10245. allmyvideos.net
  10246. novamov.com
  10247. filehoot.com
  10248. stagevu.com
  10249. gorillavid.in
  10250. streamin.to
  10251.  
  10252. August 02, 2015
  10253. Version 1.1.6.8
  10254. added cloudshares.net
  10255.  
  10256. August 01, 2015
  10257. Version 1.1.6.7
  10258. fixed depfile redirectors false premium
  10259.  
  10260. July 31, 2015
  10261. Version 1.1.6.6
  10262. fixed depfile.com false premium
  10263. */