W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  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.5
  29. // ==/UserScript==
  30.  
  31. var War_version = "1.2.6.5 April 03, 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. "4upfiles.com",
  287. "filesmelt.com",
  288. "hellupload.com",
  289. "uploadingit.com",
  290. "stiahni.si",
  291. "sendspace.pl",
  292. "fastshare.org",
  293. "filejoker.net",
  294. "filestore.com.ua",
  295. "secureupload.eu",
  296. "rapidfileshare.net",
  297. "stiahnito.sk",
  298. "rusfolder.com",
  299. "catshare.net",
  300. "anonfiles.com",
  301. "mixturecloud.com",
  302. "filedais.com",
  303. // "imdb.com",
  304. "nitroflare.com",
  305. "akafile.com",
  306. "creafile.net",
  307. "hugefiles.net",
  308. "vidxden.com",
  309. "up.top4top.net",
  310. "upload.ee",
  311. "shareplace.org",
  312. "uploadc.com",
  313. "remixshare.com",
  314. "exoshare.com",
  315. "borncash.org",
  316. "junocloud.me",
  317. "2downloadz.com",
  318. "mightyupload.com",
  319. "anysend.com",
  320. "datafile.com",
  321. "upstore.net",
  322. "upsto.re",
  323. "speedy.sh",
  324. "sanshare.com",
  325. // "uploadhero.co",
  326. "ge.tt",
  327. "filesflash.net",
  328. "salefiles.com",
  329. // "megairon.net",
  330. "datoid.cz",
  331. "cloudstor.es",
  332. "streamfile.com",
  333. "eyesfile.ca",
  334. "filemoney.com",
  335. "uploadboy.com",
  336. "uploadboy.me",
  337. "speedshare.eu",
  338. "google.com",
  339. "unlimitzone.com",
  340. "rioupload.com",
  341. "rg.to",
  342. "jumbofiles.org",
  343. "fshare.vn",
  344. "spaceforfiles.com",
  345. "up.media1fire.com",
  346. "depfile.com",
  347. "go4up.com",
  348. "dropbox.com",
  349. "redbunker.net",
  350. "divxpress.com",
  351. "mega.nz|mega.co.nz",
  352. "anafile.com",
  353. "uploadable.ch",
  354. "bigfile.to",
  355. "arabloads.net",
  356. "sharerepo.com",
  357. "sfshare.se",
  358. "files.fm",
  359. "koofile.com",
  360. "vidplay.net",
  361. "storagon.com",
  362. "doraupload.com",
  363. "openload.io",
  364. "uploads.xxx",
  365. "toutbox.fr",
  366. ];
  367.  
  368. try
  369. {
  370. //iframes excluded
  371. if (window.top != window.self)
  372. {
  373. return;
  374. }
  375. //allHostNames sites excluded
  376. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  377. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  378. ")"))
  379. {
  380. return;
  381. }
  382. }
  383. catch (e)
  384. {
  385. return;
  386. }
  387.  
  388. //separate alternative domains with "|" char (first name is considered being main)
  389. var allContainerNames = [
  390. "adf.ly",
  391. "linkcrypt.ws",
  392. "linksafe.me",
  393. // "linksave.in",
  394. "linkto.net",
  395. "madlink.sk",
  396. "multiload.cz",
  397. "mirrorcreator.com",
  398. "ncrypt.in",
  399. "redi.re",
  400. "relink.us",
  401. "safelinking.net",
  402. "theloo.katt.it",
  403. "bit.ly",
  404.  
  405. ];
  406.  
  407. //separate alternative domains with "|" char (first name is considered being main)
  408. var allObsoleteNames = [
  409. "uloz.cz",
  410. "secured.in",
  411. "fileover.net",
  412. "linksave.in",
  413. "seenupload.com",
  414. "sangfile.com",
  415. "filepost.com|fp.io",
  416. "filestorm.to",
  417. "uploadnet.co",
  418. "180upload.com",
  419. "rapidsonic.com",
  420. "fileparadox.com",
  421. "geupload.com",
  422. "lenfile.com",
  423. "fileparadox.in",
  424. "uploadhero.co",
  425. "uploadhero.com",
  426. "newfileland.com",
  427. "quickshare.cz",
  428. "netload.in",
  429. "netload.me",
  430. "movreel.com",
  431. "migahost.com",
  432. "krotix.net",
  433. "jumbofile.net",
  434. "edoc.com",
  435. "cramit.in|cramitin.net",
  436. "freakshare.com",
  437. "burnupload.com|burnupload.ihiphop.com",
  438. "freakshare.net",
  439. "daj.to",
  440. "bl.st",
  441. "2drive.net",
  442. "ryushare.com",
  443. "crisshare.com",
  444. "tufiles.ru",
  445. "uncapped-downloads.com",
  446. "sockshare.com",
  447. "ddlstorage.com",
  448. "dataport.cz",
  449. "dizzcloud.com",
  450. "sharebeast.com",
  451. "stahovadlo.cz",
  452. "shared.com",
  453. "storage.to",
  454. "putlocker.com",
  455. "lumfile.com",
  456. "lumfile.se",
  457. "lumfile.eu",
  458. "firedrive.com",
  459. "fileshare.in.ua",
  460. "filecore.co.nz",
  461. "filecore.co",
  462. "iskladka.cz",
  463. "file-rack.com",
  464. "fast-load.net",
  465. "subory.sk",
  466. "bigandfree.com",
  467. "fileop.com",
  468. "mujsoubor.cz",
  469. "sendfile.to",
  470. "superfastfile.com",
  471. "quickyshare.com",
  472. "duckload.com",
  473. "uploadstore.net",
  474. "meinupload.com",
  475. "dualshare.com",
  476. "2xupload.to|2xupload.de",
  477. "oxedion.com",
  478. "uploadline.com",
  479. "dll.bz",
  480. "movieshare.in",
  481. "milledrive.com",
  482. "quickupload.net",
  483. "safelink.in",
  484. "metadivx.com",
  485. "divxlink.com",
  486. "uploadrack.com",
  487. "teradepot.com",
  488. "dataup.to",
  489. "upit.to",
  490. "driveway.com",
  491. "eatlime.com",
  492. "a2zuploads.com",
  493. "friendlyfiles.net",
  494. "flyfile.us",
  495. "speedyshare.com",
  496. "uploadspace.eu",
  497. "keepfile.com",
  498. "piggyshare.com",
  499. "uplly.com",
  500. "filecrown.com",
  501. "6giga.com",
  502. "uploadjockey.com",
  503. "bluehost.to",
  504. "filegu.ru",
  505. "filebase.to",
  506. "up-file.com",
  507. "xvideos.com",
  508. "ufox.com",
  509. "filebling.com",
  510. "loaded.it",
  511. "uploadcell.com",
  512. "uploadshare.cz",
  513. "mangoshare.com",
  514. "filestab.com",
  515. "crazyupload.com",
  516. "gaiafile.com",
  517. "sharejunky.com",
  518. "fileho.com",
  519. "bigandfree.com",
  520. "bigfile.in",
  521. "bigshare.eu",
  522. "dahosting.org",
  523. "digisofts.net",
  524. "file4save.com",
  525. "filechip.com",
  526. "filescloud.com",
  527. "saveqube.com",
  528. "turboshare.de",
  529. "z-upload.com",
  530. "youshare.com",
  531. "jiffyupload.com",
  532. "gigeshare.com",
  533. "datenklo.net",
  534. "upload.dj",
  535. "loadfiles.in",
  536. "upit.to",
  537. "dsfileshare.com",
  538. "sharesimple.net",
  539. "4files.net",
  540. "wooupload.com",
  541. "odsiebie.com",
  542. "filenavi.com",
  543. "3oof.com",
  544. "meshwaar.com",
  545. "maxupload.com",
  546. "share.cx",
  547. "atserver.eu",
  548. "hotfiles.ws",
  549. "esnips.com",
  550. "tuxfile.com",
  551. "file2upload.net",
  552. "filebling.com",
  553. "turboshare.com",
  554. "rarhost.com",
  555. "isharehd.com",
  556. "i741.com",
  557. "dataup.de",
  558. "fofly.com",
  559. "shareonall.com",
  560. "sexuploader.com",
  561. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  562. "uploadhyper.com",
  563. "filespawn.com",
  564. "caizzii.com",
  565. "volnyweb.cz",
  566. "usershare.net",
  567. "filescash.net",
  568. "metahyper.com",
  569. "combozip.com",
  570. "x7.to",
  571. "uploadbox.com",
  572. "enterupload.com|flyupload.com",
  573. "filepoint.de",
  574. "mystream.to",
  575. "x-fs.com",
  576. "shareator.com",
  577. "srapid.eu",
  578. "sosame.cz",
  579. "filesdump.com",
  580. "2-klicks.de",
  581. "uploking.com",
  582. "silofiles.com",
  583. "upfile.in",
  584. "filehook.com",
  585. "uploadking.com",
  586. "uploadhere.com",
  587. "kewlshare.com",
  588. "rapidable.com",
  589. "uploadwaste.com",
  590. "filemup.com",
  591. "filesonic.com|sharingmatrix.com",
  592. "fileserve.com",
  593. "wupload.com",
  594. "skipfile.com",
  595. "smartuploader.com",
  596. "dualshare.com",
  597. "storeandserve.com",
  598. "mountfile.com",
  599. "transitfiles.com",
  600. "uploadstation.com",
  601. "filejungle.com",
  602. "shareshared.com",
  603. "quickyshare.com",
  604. "save.am",
  605. "petandrive.com",
  606. "file2box.com",
  607. "flyshare.cz",
  608. "yabadaba.ru",
  609. "cloudcache.cc",
  610. "yourfilehost.com",
  611. "jakfile.com",
  612. "kickload.com",
  613. "pyramidfiles.com",
  614. "refile.net",
  615. "zshare.net",
  616. "ddlani.me|ddlanime.com",
  617. "ftp2share.com",
  618. "fooget.com",
  619. "rapidhide.com",
  620. "gotupload.com",
  621. "mooload.com",
  622. "zupload.com",
  623. "mytempdir.com",
  624. "onionshare.com",
  625. "stahnu.to",
  626. "oron.com",
  627. "badongo.com",
  628. "filereactor.com",
  629. "filegaze.com",
  630. "4bytez.com",
  631. "1hostclick.com",
  632. "anonstream.com",
  633. "batshare.com",
  634. "bitroad.net",
  635. "brontofile.com",
  636. "cloudnxt.net",
  637. "cloudnator.com|shragle.com",
  638. "filesfrog.net",
  639. "coolshare.cz",
  640. "dotavi.com",
  641. "ezyfile.net",
  642. "file-bit.net",
  643. "filecosy.com",
  644. "fileduct.com|fileduct.net",
  645. "filefat.com",
  646. "filelaser.com",
  647. "filemashine.com",
  648. "fileserver.cc",
  649. "filetechnology.com",
  650. "fireuploads.net",
  651. "gigfiles.net",
  652. "holderfile.com",
  653. "ihostia.com",
  654. "k2files.com",
  655. "mojofile.com",
  656. "ovfile.com",
  657. "qshare.com",
  658. "shafiles.me",
  659. "sharefilehost.com",
  660. "shareupload.com",
  661. "stahuj.to",
  662. "ugotfile.com",
  663. "uploadboost.com",
  664. "fileom.com",
  665. "vidhog.com",
  666. "xfileshare.eu",
  667. "bzlink.us",
  668. "bulletupload.com",
  669. "bloggerarticles.com",
  670. "mojedata.sk",
  671. "sharpfile.com",
  672. "upgrand.com",
  673. "nasdilej.cz",
  674. "mediatack.cz",
  675. "share-it.to",
  676. "primeupload.com",
  677. "filebeer.info",
  678. "baberepublic",
  679. "xtu.me",
  680. "sharebase.de",
  681. "luckyshare.net",
  682. "filerobo.com",
  683. "filevelocity.com",
  684. "filezpro.com",
  685. "file4sharing.com",
  686. "cing.be",
  687. "ufile.eu",
  688. "pigsonic.com",
  689. "fileupped.com",
  690. "sharerun.com",
  691. "filesaur.com",
  692. "rapidslnare.com",
  693. "bestsharing.com",
  694. "savefiles.net",
  695. "file2share.biz",
  696. "filecache.de",
  697. "monsteruploads.eu",
  698. "b9bb.com",
  699. "aiotool.net",
  700. "jamber.info",
  701. "megaftp.com",
  702. "desiupload.net",
  703. "file27.com",
  704. "yastorage.com",
  705. "filehost.ws",
  706. "copyload.com",
  707. "venusfile.com",
  708. "aieshare.com",
  709. "terafile.co",
  710. "terafile.com",
  711. "fileza.net",
  712. "filerose.com",
  713. "squillion.com",
  714. "fileprohost.com",
  715. "bitbonus.com",
  716. "warserver.cz",
  717. "uload.to",
  718. "sharedbit.net",
  719. "megaload.it",
  720. "filewinds.com",
  721. "uploadcore.com",
  722. "syfiles.com",
  723. "eyesfile.com",
  724. "hotfile.com",
  725. "superupl.com",
  726. "oteupload.com",
  727. "henchfile.com",
  728. "filegag.com",
  729. "HenchFile.com",
  730. "filedefend.com",
  731. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  732. "megabitshare.com",
  733. "cloudzer.com",
  734. "asfile.com",
  735. "cloudzer.net",
  736. "clz.to",
  737. "extabit.com",
  738. "247upload.com",
  739. "2download.de",
  740. "4fastfile.com",
  741. "asixfiles.com",
  742. "berofile.com",
  743. "bigupload.com",
  744. "cepzo.com",
  745. "clouds.to",
  746. "cobrashare.sk",
  747. "coraldrive.net",
  748. "cyberlocker.ch",
  749. "czshare.com",
  750. "darkport.org",
  751. "dark-uploads.com",
  752. "davvas.com",
  753. "enigmashare.com",
  754. "erofly.cz",
  755. "fastsonic.net",
  756. "filebox.com",
  757. "filecity.net",
  758. "filedap.com",
  759. "filedino.com",
  760. "filedownloads.org",
  761. "filefolks.com",
  762. "fileking.co",
  763. "filemates.com",
  764. "files.to",
  765. "files2k.eu",
  766. "filesector.cc",
  767. "bitshare.com",
  768. "filesega.com",
  769. "filesend.net",
  770. "filestay.com",
  771. "filestrum.com",
  772. "fileuplo.de",
  773. "fileupup.com",
  774. "forunesia.com",
  775. "freeuploads.fr",
  776. "uploa.dk",
  777. "getthebit.com",
  778. "getzilla.net",
  779. "goldfile.eu",
  780. "good.com",
  781. "grupload.com",
  782. "hellfile.com",
  783. "hipfile.com",
  784. "hitfile.com",
  785. "hulkfile.eu|duckfile.net",
  786. "i-filez.com",
  787. "ifile.ws",
  788. "kupload.org",
  789. "packupload.com",
  790. "lemuploads.com",
  791. "limelinx.com",
  792. "maxshare.pl",
  793. "megarelease.org",
  794. "megashare.com",
  795. "minus.com",
  796. "mlfat4arab.com",
  797. "multishare.cz",
  798. "nirafile.com",
  799. "ok2upload.com",
  800. "peejeshare.com",
  801. "premiuns.org",
  802. "przeklej.net",
  803. "qkup.net",
  804. "rapidupload.sk",
  805. "rockdizfile.com",
  806. "rocketfile.net",
  807. "share-now.net",
  808. "share76.com",
  809. "sharebees.com",
  810. "sharefiles.co",
  811. "slingfile.com",
  812. "sms4file.com",
  813. "space4file.com",
  814. "tigershare.net",
  815. "toucansharing.com",
  816. "ubuntuone.com",
  817. "unextfiles.com",
  818. "upaj.pl",
  819. "upfile.biz",
  820. "uploadbin.net",
  821. "uploadic.com",
  822. "uploadinc.com",
  823. "uploading4u.eu",
  824. "uploadjet.net",
  825. "uploadorb.com",
  826. "upthe.net",
  827. "uptorch.com",
  828. "vidbox.yt",
  829. "videozer.com",
  830. "vreer.com",
  831. "wallobit.com",
  832. "zooupload.com",
  833. "privatefiles.com",
  834. "xerver.co",
  835. "BillionUploads.com",
  836. "rapidshare.com",
  837. "rapidshare.ru",
  838. "4savefile.com",
  839. "bayfiles.com",
  840. "bayfiles.net",
  841. "dodane.pl",
  842. "dotsemper.com",
  843. "egofiles.com",
  844. "epicshare.net",
  845. "fiberupload.net",
  846. "filemonkey.in",
  847. "filemonster.net",
  848. "filepom.com",
  849. "filesbb.com",
  850. "fileshareup.com",
  851. "filevice.com",
  852. "gigaup.fr",
  853. "isavelink.com",
  854. "loombo.com",
  855. "megafiles.se",
  856. "migupload.com",
  857. "mydisc.net",
  858. "nitrobits.com",
  859. "potload.com",
  860. "redload.net",
  861. "shareprofi.com",
  862. "sharesuper.info",
  863. "sinhro.net",
  864. "speedfile.cz",
  865. "speedshare.org",
  866. "storage.novoro.net",
  867. "swankshare.com",
  868. "swatupload.com",
  869. "upafile.com",
  870. "uploadmachine.com",
  871. "uploadsat.com",
  872. "upshared.com",
  873. "usefile.com",
  874. "yourfiles.to",
  875. "zomgupload.com",
  876. "ultramegabit.com",
  877. "uploadto.us",
  878. "inafile.com",
  879. "megairon.net",
  880.  
  881. ];
  882. ///////////////////////////////////////////////////////////////////////////////////////
  883. var firstRun = GM_getValue("First_run", true);
  884.  
  885. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  886. //////////////////////////////////////////////////////////////////////////////////////
  887. try
  888. {
  889. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  890. var last_known_version = GM_getValue("last_known_version", "");
  891. if (!last_known_version)
  892. {
  893. last_known_version = thisVersion;
  894. GM_setValue("last_known_version", last_known_version);
  895. }
  896. //var newVersion = !(thisVersion == last_known_version);
  897. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  898. GM_setValue("last_known_version", thisVersion);
  899. }
  900. catch (err)
  901. {
  902. var newVersion = false;
  903. }
  904.  
  905. var now = (new Date()).getTime();
  906. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  907. if (!last_custom_rules_nag)
  908. {
  909. last_custom_rules_nag = now;
  910. GM_setValue('last_custom_rules_nag', ''+now);
  911. }
  912.  
  913.  
  914. allHostNames.sort();
  915. allContainerNames.sort();
  916. allObsoleteNames.sort();
  917.  
  918. var RAND_STRING = "8QyvpOSsRG3QWq";
  919. var DEBUG_MODE = false;
  920.  
  921. var TOOLTIP_MAXWIDTH = 600; //in pixels
  922. var TOOLTIP_THUMBWIDTH = 200;
  923. var containers_processed = false;
  924.  
  925. //settings for keyboard functions start
  926. var CHECK_ALL_LINKS_KEY = "A";
  927. var CONFIGURATION_KEY = "C";
  928. var copy_to_dead_key = "D";
  929. var copy_to_live_key = "L";
  930. var toggle_autocheck_key = "W";
  931. var toggle_Enable_Anonymizer_key = "Z";
  932. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  933. var first_key_keycodename = 'CTRL';
  934. var second_key_keycode = '18';
  935. var second_key_keycodename = 'ALT';
  936. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  937. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  938. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  939. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  940. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  941. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  942. //settings for keyboard functions end
  943.  
  944. //global settings start
  945. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  946. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  947. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  948. var Show_progress_stats, Display_tooltip_info, Icon_set;
  949. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  950. var Progress_box_refresh_rate;
  951. var Obsolete_file_hosts;
  952. var Custom_rules, Custom_rules_text;
  953.  
  954. var messageBox = document.createElement('b'); // top-left message box
  955.  
  956. var cLinksTotal = 0;
  957. var cLinksDead = 0;
  958. var cLinksAlive = 0;
  959. var cLinksUnava = 0;
  960. var cLinksprem = 0;
  961. var cLinksProcessed = 0;
  962.  
  963. var intervalId; //for updateProgress()
  964.  
  965. //icon resources
  966. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEA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APjlNNvwYbLINOgfQ5q6yCTqBzjv7qbMgoYl6PTTerSY+Di4ANqBrSDz0z1D2nXPtHr+STPNgFcN6mLm6EjAEfPKTea0Y74V5yHmEm8/6d23aRu7M1KOf4afTMAjWa0e6lUua7JDzNEtceATGoWWHx3a7wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  975.  
  976. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVR42mNkIBcwMWQwsDMrMZKhlZmRi2mCWYtE9st1bx+SagAPlwTLCt+pot6vrv/8t7/mnQcpBsjI6jNvDp4uZvDuMw/D8uA7U39/+Z9DrAGG5r5Mmz06pKQ//BVnWJl89daL0z8MgeLfiDHAN6SAaZlhjjzP+x8SDAcX3P1zuueVDVD8JEiSkVOcZbWAJKPi8wu/q4H8nSgBzcyQl9jN1ifvp8z8+acQw50brxk2Rd1u+fvzfy1MDaN7DOO7ohnSgqe2Pf0/rYJh1/N7/0uB4tdYuRknJMzgzZYyV2L89pub4c3Xbwwb4q+de3/9pwVQ/jfcAGYWhrJ5x207ZdSFGB59Ockwb+L3vydX/7oRPYFPW05DnuHbb1aGD79+MRyZev/H9TlvTIB6riK7EhQGbNr2rJe714eq/fjLwPD8x22GO5/eM/CzijN8BdoD0nz3/FuG/an3Sv7/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  977. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAA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/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  980.  
  981. //global settings end
  982. if (window.opera && !window.console)
  983. {
  984. window.console = {};
  985.  
  986. function fn()
  987. {
  988. opera.postError(arguments);
  989. };
  990. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  991. {
  992. window.console[name] = fn;
  993. });
  994. }
  995.  
  996. //displays colored text in message box
  997. function sendMessage(text, color)
  998. {
  999. var msgDiv = document.createElement('div');
  1000. msgDiv.style.color = color;
  1001. msgDiv.innerHTML = text;
  1002. messageBox.appendChild(msgDiv);
  1003. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1004. }
  1005.  
  1006. function linkify(totalourls)
  1007. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1008. var ikkeTilladteTags;
  1009. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1010. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1011. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1012. allLinksRegex = new RegExp(allLinksRegex, "g");
  1013. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1014.  
  1015. if (Do_not_linkify_DL_links)
  1016. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1017. else
  1018. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1019.  
  1020. var regex = new RegExp(regexy);
  1021. var textNode, muligtLink;
  1022.  
  1023. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1024. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1025.  
  1026. var i = textNodes.snapshotLength;
  1027. while (i--)
  1028. {
  1029. textNode = textNodes.snapshotItem(i);
  1030.  
  1031. muligtLink = textNode.nodeValue; //all links on page
  1032.  
  1033. var myArray = null;
  1034. var span = null;
  1035. var lastLastIndex = 0;
  1036. allLinksRegex.lastIndex = 0;
  1037. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1038. {
  1039. if (textNode.parentNode.className == "adead_link") continue;
  1040. var censoredLink = muligtLink;
  1041. var span = document.createElement('span');
  1042. span.className = "adead_link";
  1043. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1044. $(span).html(censoredLink);
  1045. span.addEventListener("mouseover", displayTooltipError, false);
  1046. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1047. textNode.parentNode.replaceChild(span, textNode);
  1048. continue;
  1049. alert(censoredLink);
  1050. }
  1051. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1052. {
  1053. if (!regex.test(myArray[0])) //this link is not recognized
  1054. {
  1055.  
  1056. continue;
  1057. }
  1058. if (!span)
  1059. span = document.createElement('span');
  1060.  
  1061. var link = myArray[0];
  1062. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1063.  
  1064. var $a = $("<a>" + link + "</a>")
  1065. if (!link.match(/https?:\/\//))
  1066. {
  1067. link = 'http://' + link;
  1068. }
  1069.  
  1070. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1071. .addClass("processing_link")
  1072. .appendTo(span);
  1073. lastLastIndex = allLinksRegex.lastIndex;
  1074. }
  1075. if (span)
  1076. {
  1077. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1078. textNode.parentNode.replaceChild(span, textNode);
  1079. }
  1080. }
  1081. }
  1082.  
  1083. function add_WARLC_style()
  1084. {
  1085. if (!(document.getElementsByTagName('WARLC')[0]))
  1086. {
  1087. var meta_not_to_add_more_style = document.createElement("WARLC");
  1088. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1089. meta_not_to_add_more_style.setAttribute('name', 'description');
  1090. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1091. alive_link_png = "";
  1092. adead_link_png = "";
  1093. unava_link_png = "";
  1094. prem_link_png = "";
  1095. switch(Icon_set)
  1096. {
  1097. //no icons
  1098. case 0: break;
  1099. // cat paws
  1100. case 1: alive_link_png = PAW_ICON_GREEN;
  1101. adead_link_png = PAW_ICON_RED;
  1102. unava_link_png = PAW_ICON_YELLOW;
  1103. prem_link_png = PAW_ICON_PINK;
  1104. break;
  1105. // classic RSLC look
  1106. case 2: alive_link_png = RSLC_ICON_GREEN;
  1107. adead_link_png = RSLC_ICON_RED;
  1108. unava_link_png = RSLC_ICON_YELLOW;
  1109. prem_link_png = RSLC_ICON_PINK;
  1110. break;
  1111. // New Icons
  1112. case 3: alive_link_png = NEW_ICON_GREEN;
  1113. adead_link_png = NEW_ICON_RED;
  1114. unava_link_png = NEW_ICON_YELLOW;
  1115. prem_link_png = NEW_ICON_PINK;
  1116. break;
  1117. // cat paws
  1118. default:alive_link_png = PAW_ICON_GREEN;
  1119. adead_link_png = PAW_ICON_RED;
  1120. unava_link_png = PAW_ICON_YELLOW;
  1121. prem_link_png = PAW_ICON_PINK;
  1122. break;
  1123. }
  1124. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1125. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1126.  
  1127. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1128.  
  1129. if (Color_DL_links)
  1130. {
  1131. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1132. live_color_css = 'color:' + Live_links_color + ' !important;';
  1133. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1134. container_color_css = 'color:' + Container_links_color + ' !important;';
  1135. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1136. }
  1137. else
  1138. {
  1139. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1140. }
  1141.  
  1142. if (Show_black_background_in_DL_links)
  1143. {
  1144. black_background_css = 'background-color: black !important;';
  1145. }
  1146. else
  1147. {
  1148. black_background_css = '';
  1149. }
  1150.  
  1151. if (Show_line_through_in_dead_links)
  1152. {
  1153. line_through_css = 'text-decoration: line-through !important;';
  1154. }
  1155. else
  1156. {
  1157. line_through_css = '';
  1158. }
  1159.  
  1160. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1161. 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 + "}");
  1162. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1163. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1164. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1165. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1166. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1167. }
  1168. }
  1169.  
  1170. var warlcTooltip = null;
  1171. var mouseoverLink = null; //link href with mouse cursor over it
  1172.  
  1173. var lastX = 0;
  1174. var lastY = 0;
  1175.  
  1176. $(document).ready(initTooltip);
  1177. //inits tooltip
  1178. function initTooltip()
  1179. { warlcTooltip = document.createElement("div");
  1180. 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;");
  1181. warlcTooltip.style.visibility = "hidden";
  1182. document.body.appendChild(warlcTooltip);
  1183. }
  1184.  
  1185. //"mousemove" event handler for all links
  1186. function moveTooltip(event)
  1187. {
  1188. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1189. { //no need to reflow if the cursor moved just a little
  1190. return;
  1191. }
  1192. else
  1193. {
  1194. lastX = event.clientX;
  1195. lastY = event.clientY;
  1196. }
  1197.  
  1198. posX = event.clientX + window.pageXOffset + 10;
  1199. posY = event.clientY + window.pageYOffset;
  1200. var ttHeight = warlcTooltip.offsetHeight;
  1201. var ttFreeSpace = window.innerHeight - event.clientY;
  1202. if (ttHeight > ttFreeSpace)
  1203. { //prevents tooltip from getting out of the window
  1204. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1205. }
  1206. else
  1207. {
  1208. posY += 7;
  1209. }
  1210. warlcTooltip.style.top = posY + "px";
  1211. warlcTooltip.style.left = posX + "px";
  1212. }
  1213.  
  1214. //"mouseout" event handler for all links
  1215. function hideTooltip(){
  1216. warlcTooltip.style.visibility = "hidden";
  1217. mouseoverLink = null;
  1218. }
  1219.  
  1220.  
  1221. //"mouseover" event handler for dead links
  1222. //displays tooltip error message on dead links
  1223. function displayTooltipError()
  1224. {
  1225. mouseoverLink = this.href;
  1226. this.addEventListener("mouseout", hideTooltip);
  1227. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1228. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1229. warlcTooltip.style.minWidth = 0;
  1230. warlcTooltip.style.visibility = "visible";
  1231. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1232. {
  1233. warlcTooltip.innerHTML = this.warlc_error;
  1234. }
  1235. else
  1236. {
  1237. loadErrorInfo(this);
  1238. }
  1239. function loadErrorInfo(link)
  1240. {
  1241. var href = link.href;
  1242. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1243. GM_xmlhttpRequest({
  1244. method: 'GET',
  1245. url: href.replace(Ref_anonymize_service, ""),
  1246. headers: {
  1247. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1248. 'Accept': 'text/xml',
  1249. 'Referer': ""
  1250. },
  1251. onload: function(result) {
  1252. var res = result.responseText;
  1253. //TODO: errorRegexs -
  1254. var errorRegexs = [ //generic error messages follow
  1255. /(empty directory)/i,
  1256. /(soubor nebyl nalezen)/i,
  1257. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1258. //server specific error messages follow
  1259. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1260. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1261. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1262. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1263. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1264. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1265. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1266. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1267. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1268. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1269. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1270. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1271. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1272. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1273. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1274. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1275. /(File has been removed due to Copyright Claim)/, //filerio
  1276. ];
  1277. var errorIdx = errorRegexs.length;
  1278. var error = "Cause of error: <b>unknown</b>";
  1279. var errorCandidate = "";
  1280. while(errorIdx--)
  1281. {
  1282. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1283. if (errorCandidate != null)
  1284. {
  1285. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1286. break;
  1287. }
  1288. }
  1289. //link attributes
  1290. link.warlc_error = error;
  1291. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1292. {
  1293. warlcTooltip.innerHTML = error;
  1294. }
  1295. }
  1296. });
  1297. }
  1298. }
  1299.  
  1300. //"mouseover" event handler for alive links
  1301. //displays tooltip info (file size, file name,...) on alive links
  1302. function displayTooltipInfo()
  1303. {
  1304. mouseoverLink = this.href;
  1305. //exclude direct download filehostings
  1306. 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)/))
  1307. {
  1308. return;
  1309. }
  1310. this.addEventListener("mouseout", hideTooltip);
  1311. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1312. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1313. warlcTooltip.style.minWidth = 0;
  1314. warlcTooltip.style.visibility = "visible";
  1315. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1316. {
  1317. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1318. }
  1319. else
  1320. {
  1321. loadInfo(this);
  1322. }
  1323. function loadInfo(link)
  1324. {
  1325. var href = link.href;
  1326. GM_xmlhttpRequest({
  1327. method: 'GET',
  1328. url: href.replace(Ref_anonymize_service, ""),
  1329. headers: {
  1330. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1331. 'Accept': 'text/xml',
  1332. 'Referer': ""
  1333. },
  1334. onload: function(result) {
  1335. var res = result.responseText;
  1336. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1337. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1338. /fl" title="(.+?)">/, //edisk
  1339. /<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
  1340. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1341. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1342. /title="download (.+?)">/, //sendspace
  1343. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1344. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1345. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1346. /d0FileName = "(.+?)";/, //letitbit
  1347. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1348. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1349. /fname" value="(.+?)">/, //syfiles, grupload,
  1350. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1351. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1352. /Complete name : (.+?)<br \/>/, //bezvadata
  1353. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1354. ];
  1355. var nameIdx = nameRegexs.length;
  1356. // [sizeRegexs]
  1357. // / \ \?
  1358. // prefix (size) postfix
  1359. // / \
  1360. // val quant
  1361. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1362. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1363. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1364. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1365. var postSizeRegex = '(?:\\))?';
  1366. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1367. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1368. ];
  1369. var sizeIdx = sizeRegexs.length;
  1370. //
  1371. //
  1372. var tooltip = "File Name: <b>";
  1373. var fileName = "unknown";
  1374. var nameCandidate = "";
  1375. while(nameIdx--)
  1376. {
  1377. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1378. if (nameCandidate != null)
  1379. {
  1380. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1381. break;
  1382. }
  1383. }
  1384. tooltip += fileName + "</b><br>File Size: <b>";
  1385. var fileSize = "unknown";
  1386. var sizeCandidate = "";
  1387. while(sizeIdx--)
  1388. {
  1389. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1390. if (sizeCandidate != null)
  1391. {
  1392. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1393. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1394. {
  1395. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1396. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1397. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1398. }
  1399. break;
  1400. }
  1401. }
  1402. tooltip += fileSize + "</b>";
  1403. // PROTOTYPE
  1404. // video thumbnails
  1405. if (href.match('hellshare'))
  1406. {
  1407. var thumbs;
  1408. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1409. if (thumbs)
  1410. {
  1411. tooltip += '<br>';
  1412. var j = Math.min(thumbs.length, 9);
  1413. for (var i = 0; i < j; i++)
  1414. {
  1415. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1416. }
  1417. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1418. }
  1419. }
  1420. if (href.match('czshare'))
  1421. {
  1422. var thumbs;
  1423. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1424. if (thumbs)
  1425. {
  1426. var thumbsServer = thumbs[1];
  1427. var thumbsId = thumbs[2];
  1428. tooltip += '<br>';
  1429. for (var i = 1; i < 9; i++)
  1430. {
  1431. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1432. }
  1433. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1434. }
  1435. }
  1436. if (href.match('bezvadata'))
  1437. {
  1438. var thumbs;
  1439. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1440. if (thumbs)
  1441. {
  1442. tooltip += '<br>';
  1443. var j = Math.min(thumbs.length, 9);
  1444. for (var i = 0; i < j; i++)
  1445. {
  1446. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1447. }
  1448. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1449. }
  1450. }
  1451. link.warlc_tooltipcache = tooltip;
  1452. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1453. {
  1454. warlcTooltip.innerHTML = tooltip;
  1455. }
  1456. }
  1457. });
  1458. }
  1459. }
  1460.  
  1461. function setVariables()
  1462. {
  1463. if (firstRun)
  1464. {
  1465. GM_log('First run, applying default settings...');
  1466. GM_setValue("Icon_set",1);
  1467. GM_setValue("Display_tooltip_info",true);
  1468. GM_setValue("Show_black_background_in_DL_links",false);
  1469. GM_setValue("Show_line_through_in_dead_links",false);
  1470. GM_setValue("Display_full_links_in_link_containers",false);
  1471. GM_setValue("Allow_spaces_in_DL_links",false);
  1472. GM_setValue("Autocheck",true);
  1473. GM_setValue("Enable_Anonymizer",false);
  1474. GM_setValue("Do_not_linkify_DL_links",false);
  1475. GM_setValue("Show_progress_stats",true);
  1476. GM_setValue("Keyboard_functions",true);
  1477. GM_setValue("Obsolete_file_hosts",false);
  1478. GM_setValue("Color_DL_links",true);
  1479. GM_setValue("Live_links_color","Green");
  1480. GM_setValue("Dead_links_color","#FF3300");
  1481. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1482. GM_setValue("Container_links_color","DarkKhaki");
  1483. GM_setValue("Premium_links_color","DeepPink");
  1484. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1485. GM_setValue("Custom_rules",false);
  1486. GM_setValue("Custom_rules_text","");
  1487. GM_setValue("First_run", false);
  1488. }
  1489. //hidden settings
  1490. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1491. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1492. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1493. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1494. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1495. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1496. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1497. //hidden settings end
  1498.  
  1499. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1500. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1501. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1502. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1503. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1504. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1505. Autocheck = GM_getValue("Autocheck", true);
  1506. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1507. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1508. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1509. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1510. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1511. Color_DL_links = GM_getValue("Color_DL_links", true);
  1512. Live_links_color = GM_getValue("Live_links_color", "Green");
  1513. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1514. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1515. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1516. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1517. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1518. Custom_rules = GM_getValue("Custom_rules", false);
  1519. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1520. }
  1521.  
  1522.  
  1523. // Delinkifies the links
  1524. // params:
  1525. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1526. // e.g. 'uloz.to/xs68skxl8')
  1527. function delinkifySnapshot(snapshot)
  1528. {
  1529. var n = snapshot.snapshotLength;
  1530.  
  1531. while (n--)
  1532. {
  1533. thisLink = snapshot.snapshotItem(n);
  1534.  
  1535. var spanElm = document.createElement("span");
  1536. spanElm.className = thisLink.className;
  1537. spanElm.innerHTML = thisLink.innerHTML;
  1538.  
  1539. if (Display_tooltip_info)
  1540. {
  1541. spanElm.href = thisLink.href;
  1542. switch (thisLink.className){
  1543. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1544. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1545. case "unava_link": //reserved
  1546. default:
  1547. }
  1548. }
  1549. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1550. }
  1551. }
  1552.  
  1553. function processContainers()
  1554. {
  1555. var redirectorTypes = { "HTTP_302": 0,
  1556. "INNER_LINK": 1,
  1557. "THELOO_KATT_IT": 2,
  1558. "CING_BE": 3,
  1559. "ADF_LY": 4};
  1560. var cMultiloadTotal = 0;
  1561. var cMultiloadProcessed = 0;
  1562.  
  1563. var cMirrorcreatorComTotal = 0;
  1564. var cMirrorcreatorComProcessed = 0;
  1565.  
  1566. var hostRestrictionRegex = "";
  1567. var multiloadComRestriction = "";
  1568. var multiloadComRestrictionRegex;
  1569.  
  1570. //
  1571. //HANDLING REDIRECTORS START
  1572. //
  1573.  
  1574. var redirectors = new Array();
  1575. initRedirectors();
  1576.  
  1577. var redirectorsCount = redirectors.length;
  1578.  
  1579. if (redirectorsCount > 0)
  1580. {
  1581. var allRedirectorsRegex = "";
  1582.  
  1583. //linkify redirector links
  1584. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1585. {
  1586. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1587. }
  1588. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1589. linkify(allRedirectorsRegex);
  1590. //
  1591. //process redirector links
  1592. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1593. {
  1594. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1595. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1596.  
  1597. cLinksTotal += redirectors[redirIdx].cTotal;
  1598. var linkIdx = redirectors[redirIdx].cTotal;
  1599.  
  1600. while(linkIdx--)
  1601. {
  1602. switch(redirectors[redirIdx].type)
  1603. {
  1604. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1605. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1606. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1607. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1608. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1609. default:
  1610. }
  1611. }
  1612. }
  1613. //
  1614. }
  1615.  
  1616. //HTTP_302
  1617. function processRedirectorLink(link, redirectorId)
  1618. {
  1619. link.className = 'container_link';
  1620.  
  1621. GM_xmlhttpRequest({
  1622. method: 'HEAD',
  1623. url: link.href,
  1624. headers: {
  1625. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1626. 'Accept': 'text/xml',
  1627. 'Referer': ""
  1628. },
  1629. onload: function(result) {
  1630. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1631. {
  1632. processRedirectorLink(link, redirectorId);
  1633. }
  1634. else
  1635. {
  1636. redirectors[redirectorId].cProcessed++;
  1637. link.href = result.finalUrl;
  1638. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1639. checkLinks('container_link');
  1640. }
  1641. },
  1642. onerror: function(result) { //probably caused by unresponsive filehosting
  1643. redirectors[redirectorId].cProcessed++;
  1644. link.className = 'unava_link';
  1645. cLinksProcessed++;
  1646. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1647. checkLinks('container_link');
  1648. }
  1649. });
  1650. }
  1651. //INNER_LINK
  1652. function processRedirectorLinkEx(link, redirectorId)
  1653. {
  1654. link.className = 'container_link';
  1655. GM_xmlhttpRequest({
  1656. method: 'GET',
  1657. url: link.href,
  1658. headers: {
  1659. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1660. 'Accept': 'text/xml',
  1661. 'Referer': ""
  1662. },
  1663. onload: function(result) {
  1664. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1665. redirectors[redirectorId].cProcessed++;
  1666. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1667. checkLinks('container_link');
  1668. }
  1669. });
  1670. }
  1671. //theloo.katt.it (wrapped safelinking.net)
  1672. function processThelooKattItLink(link, redirectorId)
  1673. {
  1674. link.className = 'container_link';
  1675. GM_xmlhttpRequest({
  1676. method: 'GET',
  1677. url: link.href,
  1678. headers: {
  1679. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1680. 'Accept': 'text/xml',
  1681. 'Referer': ""
  1682. },
  1683. onload: function(result) {
  1684. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1685. redirectors[redirectorId].cProcessed++;
  1686. //the inner links are safelinking.net links, so lets proceed with it
  1687. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1688. {
  1689. processRedirectorLink(link, 0);
  1690. }
  1691. }
  1692. });
  1693. }
  1694. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1695. function processAdfLyLink(link, redirectorId)
  1696. {
  1697. link.className = 'container_link';
  1698. GM_xmlhttpRequest({
  1699. method: 'GET',
  1700. url: link.href,
  1701. headers: {
  1702. 'User-agent': 'Mozilla/4.0',
  1703. 'Accept': 'text/xml',
  1704. 'Referer': ""
  1705. },
  1706. onload: function(result) {
  1707. if (result.finalUrl.match('/locked/'))
  1708. {
  1709. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1710. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1711. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1712. }
  1713. else
  1714. {
  1715. // GM_log('Processing... ' + link.href);
  1716. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1717. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1718. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1719. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1720. //confirm advert
  1721. GM_xmlhttpRequest(
  1722. {
  1723. method: 'POST',
  1724. url: 'http://adf.ly/l.php',
  1725. headers: {
  1726. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1727. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1728. 'Referer': link.href
  1729. },
  1730. data: users + '&lt=' + logToken,
  1731. onload: function(result) {
  1732. //retrieve final url from .../go/... link
  1733. GM_xmlhttpRequest({
  1734. method: 'GET',
  1735. url: directLink,
  1736. headers: {
  1737. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1738. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1739. 'Referer': link.href
  1740. },
  1741. onload: function(result) {
  1742. link.href = result.finalUrl;
  1743. redirectors[redirectorId].cProcessed++;
  1744. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1745. checkLinks('container_link');
  1746. }
  1747. });
  1748. }
  1749. });
  1750. }
  1751. }
  1752. });
  1753. function proceedOK()
  1754. {
  1755. }
  1756. }
  1757. //MULTILOAD.CZ START
  1758. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1759. {
  1760. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1761. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1762.  
  1763. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1764.  
  1765. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1766. hostRestrictionRegex += 'hellshare|';
  1767. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1768. hostRestrictionRegex += 'downloadhellshare|';
  1769. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1770. hostRestrictionRegex += 'share-rapid\\.com|';
  1771. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1772. hostRestrictionRegex += 'quickshare\\.cz|';
  1773. if (GM_getValue("Check_czshare_dot_com_links", false))
  1774. hostRestrictionRegex += 'czshare\\.com|';
  1775. if (GM_getValue("Check_uloz_dot_to_links", false))
  1776. hostRestrictionRegex += 'uloz\\.to|';
  1777. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1778. hostRestrictionRegex += 'hellspy|';
  1779. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1780. hostRestrictionRegex += 'multishare\\.cz|';
  1781.  
  1782. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1783.  
  1784. linkify(mlRegex);
  1785.  
  1786. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1787. var mlCount = mlSnapshot.snapshotLength;
  1788.  
  1789. if (mlCount > 0)
  1790. {
  1791. cMultiloadTotal += mlCount;
  1792.  
  1793. mlIdx = mlCount - 1;
  1794. do
  1795. {
  1796. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1797. }
  1798. while(mlIdx--)
  1799. }
  1800. }
  1801. //MULTILOAD.CZ END
  1802.  
  1803.  
  1804.  
  1805. function processMultiloadLink(mlLink)
  1806. {
  1807. GM_xmlhttpRequest({
  1808. method: 'GET',
  1809. url: mlLink.href,
  1810. headers: {
  1811. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1812. 'Accept': 'text/xml',
  1813. 'Referer': ""
  1814. },
  1815. onload: function(result) {
  1816. var res = result.responseText;
  1817.  
  1818. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1819. 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;
  1820. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1821. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1822.  
  1823. var blocks; // blocks of links
  1824. var blockIdx;
  1825.  
  1826. mlLink.className = '';
  1827.  
  1828. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1829. {
  1830. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1831. return;
  1832. }
  1833.  
  1834. blocks = res.match(innerBlockRegex);
  1835.  
  1836. if (blocks == null) //no links found, cancel further processing
  1837. {
  1838. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1839. cMultiloadProcessed++;
  1840. if (cMultiloadTotal <= cMultiloadProcessed)
  1841. {
  1842. startBulkCheck('container_link');
  1843. start('container_link');
  1844. }
  1845. return;
  1846. }
  1847.  
  1848. blockIdx = blocks.length;
  1849.  
  1850. if (Display_full_links_in_link_containers)
  1851. {
  1852. var ulElm = document.createElement('ul');
  1853. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1854.  
  1855. while(blockIdx--)
  1856. {
  1857. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1858. {
  1859. continue;
  1860. }
  1861.  
  1862. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1863.  
  1864. var linkIdx = innerLinks.length;
  1865. while (linkIdx--)
  1866. {
  1867. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1868.  
  1869. var liElm = document.createElement('li');
  1870.  
  1871. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1872. {
  1873. liElm.appendChild(document.createTextNode(innerLink));
  1874. }
  1875. else
  1876. {
  1877. var aElm = document.createElement('a');
  1878. aElm.innerHTML = innerLink;
  1879. aElm.href = innerLink;
  1880. aElm.className = 'container_link';
  1881.  
  1882. liElm.appendChild(aElm);
  1883. }
  1884.  
  1885. ulElm.appendChild(liElm);
  1886. cLinksTotal++;
  1887. }
  1888. }
  1889.  
  1890. mlLink.parentNode.appendChild(ulElm);
  1891. }
  1892. else //compact view
  1893. {
  1894. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1895.  
  1896. while(blockIdx--)
  1897. {
  1898. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1899. {
  1900. continue;
  1901. }
  1902.  
  1903. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1904.  
  1905. var linkIdx = innerLinks.length;
  1906. while (linkIdx--)
  1907. {
  1908. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1909.  
  1910. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1911. {
  1912. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1913. }
  1914. else
  1915. {
  1916. var aElm = document.createElement('a');
  1917.  
  1918. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1919.  
  1920. //abbreviate host name
  1921. switch(hostName + ""){
  1922.  
  1923. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1924. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1925. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1926. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1927. case 'multishare': aElm.innerHTML = 'MS'; break;
  1928. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1929. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1930. case 'czshare': aElm.innerHTML = 'CS'; break;
  1931. default: aElm.innerHTML = 'xx';
  1932.  
  1933. }
  1934.  
  1935. aElm.href = innerLink;
  1936. aElm.className = 'container_link';
  1937.  
  1938. mlLink.parentNode.appendChild(aElm);
  1939. cLinksTotal++;
  1940. }
  1941. }
  1942.  
  1943. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1944.  
  1945. }
  1946. }
  1947.  
  1948. cMultiloadProcessed++;
  1949. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1950. {
  1951. if (Do_not_linkify_DL_links)
  1952. {
  1953. delinkifySnapshot(mlSnapshot);
  1954. }
  1955. startBulkCheck('container_link');
  1956. start('container_link');
  1957. }
  1958. }
  1959. });
  1960. }
  1961.  
  1962.  
  1963. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1964. {
  1965. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1966. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1967. var mcShortHostNames =
  1968. '?? 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';
  1969. // 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
  1970. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1971. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1972. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1973. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1974.  
  1975. linkify(mcRegex);
  1976.  
  1977. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1978. var mcCount = mcSnapshot.snapshotLength;
  1979.  
  1980. cMirrorcreatorComTotal = mcCount;
  1981.  
  1982. if (mcCount > 0)
  1983. {
  1984. mcShortHostNames = mcShortHostNames.split(' ');
  1985. mcIdx = mcCount;
  1986. while(mcIdx--)
  1987. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1988. }
  1989.  
  1990. }
  1991. //MIRRORCREATOR.CZ END
  1992.  
  1993.  
  1994. //mirrorcreator.com checking works like this:
  1995. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1996. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1997. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1998. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1999. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2000. function processMirrorcreatorLink(mcLink)
  2001. {
  2002. var mcURL = mcLink.href.match(mcRegex);
  2003. if(!mcURL || !mcURL[1]) return;
  2004. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2005. GM_xmlhttpRequest({
  2006. method: 'GET',
  2007. url: mcURL,
  2008. headers: {
  2009. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2010. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2011. 'Referer': ""
  2012. },
  2013. onload: function(mcLinkResult) {
  2014. var mcLinkRes = mcLinkResult.responseText;
  2015.  
  2016. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2017. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2018.  
  2019. var mcRedirectors;
  2020. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2021. var m = mcLinkRes.match(mcLinkBlockRegex);
  2022. if (m)
  2023. mcHostsFound = m.length;
  2024. else
  2025. { //no files inside container
  2026. processMirrorcreatorFoundHosts(mcLink, []);
  2027. return;
  2028. }
  2029.  
  2030. var mcRedirectorURL, idx, timedOut = false;
  2031.  
  2032. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2033. GM_xmlhttpRequest({
  2034. method: 'GET',
  2035. url: mcRedirectorURL,
  2036. headers: {
  2037. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2038. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2039. 'Referer': ""
  2040. },
  2041. onload: function(mcHostResult) {
  2042. if (timedOut) return; //too late, the list is already displayed
  2043. var mcHostRes = mcHostResult.responseText;
  2044. var mcHost = mcHostRes.match(mcHostRegex);
  2045. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2046. if (mcHost && idx!=-1)
  2047. {
  2048. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2049. mcHostsRetrieved++;
  2050. mcHostsToProcess++;
  2051. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2052. {
  2053. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2054. mcHostsToProcess = 0;
  2055. }
  2056. }
  2057. } //end of onload: function
  2058. }); //end of GM_xmlhttpRequest call
  2059. };//end of var gmxhrFunc
  2060.  
  2061. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2062. { //load individual redirector pages
  2063. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2064. mcHostURLs.push(mcRedirectorURL);
  2065. mcRedirectorIDs.push(mcRedirectors[2]);
  2066. gmxhrFunc(mcRedirectorURL);
  2067. } //end of while block
  2068.  
  2069. setTimeout(function(){ //in case the last page fails to load and call the function
  2070. timedOut = true;
  2071. if (mcHostsToProcess)
  2072. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2073. }, 60000);
  2074.  
  2075. } //end of onload function
  2076. }); //end of GM_xmlhttpRequest call
  2077. } //end of function processMirrorcreatorLink
  2078.  
  2079.  
  2080. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2081. {
  2082. var aEl, liEl, docFrag;
  2083. var hostName, mcRedirectorID, trimFilename = false;
  2084. var i = mcHostURLs.length;
  2085. if (i == 0)
  2086. {
  2087. trimFilename = true;
  2088. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2089. }
  2090. else
  2091. {
  2092. if (Display_full_links_in_link_containers)
  2093. { //full view
  2094. var wrapperEl = document.createElement('span');
  2095. wrapperEl.style.display = 'block';
  2096. var ulistEl = document.createElement('ul');
  2097. ulistEl.className = 'container_list';
  2098. while (i--)
  2099. {
  2100. liEl = document.createElement('li');
  2101. aEl = document.createElement('a');
  2102. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2103. aEl.href = mcHostURLs[i];
  2104. aEl.className = 'container_link';
  2105. liEl.appendChild(aEl);
  2106. ulistEl.appendChild(liEl);
  2107. }
  2108. wrapperEl.appendChild(ulistEl);
  2109. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2110. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2111. }
  2112. else
  2113. { //compact view
  2114. trimFilename = true;
  2115. docFrag = document.createDocumentFragment();
  2116. docFrag.appendChild(document.createTextNode(' |'));
  2117. while (i--)
  2118. {
  2119. mcRedirectorID = mcRedirectorIDs[i];
  2120. hostName = mcHostURLs[i];
  2121. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2122. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2123. else
  2124. hostName = mcShortHostNames[mcRedirectorID];
  2125. aEl = document.createElement('a');
  2126. aEl.href = mcHostURLs[i];
  2127. aEl.className = 'container_link';
  2128. aEl.appendChild(document.createTextNode(hostName));
  2129. docFrag.appendChild(aEl);
  2130. docFrag.appendChild(document.createTextNode('|'));
  2131. }
  2132. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2133. } //end of else block
  2134. } //end of else block
  2135. mcLink.className = '';
  2136. if (trimFilename)
  2137. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2138. cMirrorcreatorComProcessed++;
  2139. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2140. {
  2141. if (Do_not_linkify_DL_links)
  2142. delinkifySnapshot(mcSnapshot);
  2143. startBulkCheck('container_link');
  2144. start('container_link');
  2145. }
  2146. } //end of function processMirrorcreatorFoundHosts
  2147.  
  2148. containers_processed = true;
  2149.  
  2150.  
  2151. function initRedirectors()
  2152. {
  2153. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2154. {
  2155. var redirector = new Object();
  2156. redirector.linkRegex = linkRegex;
  2157. redirector.xpath = xpathEx; //xpath expression
  2158. redirector.cProcessed = 0; //processed links count
  2159. redirector.cTotal = 0; //total links count
  2160. redirector.type = redirType; //redirectorTypes enum
  2161. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2162. redirectors.push(redirector);
  2163. }
  2164. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2165. {
  2166. addRedirector(
  2167. 'safelinking\\.net\/d\/\\w+',
  2168. "//a[contains(@href,'safelinking.net/d/')]",
  2169. redirectorTypes.HTTP_302,
  2170. null);
  2171. }
  2172. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2173. {
  2174. addRedirector(
  2175. 'linksafe\\.me\/d\/\\w+',
  2176. "//a[contains(@href,'linksafe.me/d/')]",
  2177. redirectorTypes.HTTP_302,
  2178. null);
  2179. }
  2180. if (GM_getValue("Check_linkto_dot_net_links", false))
  2181. {
  2182. addRedirector(
  2183. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2184. "//a[contains(@href,'linkto.net/?')]",
  2185. redirectorTypes.INNER_LINK,
  2186. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2187. }
  2188. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2189. {
  2190. addRedirector(
  2191. '(?:the)?loo\\.katt\\.it\/\\w+',
  2192. "//a[contains(@href,'loo.katt.it/')]",
  2193. redirectorTypes.THELOO_KATT_IT,
  2194. /Proceed to URL - <a href="(.+?)">/);
  2195. }
  2196. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2197. {
  2198. addRedirector(
  2199. 'madlink\\.sk\/\\w+',
  2200. "//a[contains(@href,'madlink.sk/')]",
  2201. redirectorTypes.INNER_LINK,
  2202. /name="url" value="(.+?)\s*"\/>/);
  2203. }
  2204. if (GM_getValue("Check_adf_dot_ly_links", false))
  2205. {
  2206. addRedirector(
  2207. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2208. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2209. redirectorTypes.ADF_LY,
  2210. null);
  2211. }
  2212. if (GM_getValue("Check_redi_dot_re_links", false))
  2213. {
  2214. addRedirector(
  2215. 'redi\\.re\/\\w+',
  2216. "//a[contains(@href,'redi.re/')]",
  2217. redirectorTypes.HTTP_302,
  2218. null);
  2219. }
  2220. if (GM_getValue("Check_bit_dot_ly_links", false))
  2221. {
  2222. addRedirector(
  2223. 'bit\\.ly\/\\w+',
  2224. "//a[contains(@href,'bit.ly/')]",
  2225. redirectorTypes.HTTP_302,
  2226. null);
  2227. }
  2228. }
  2229.  
  2230. }
  2231.  
  2232. var bulkHosts = new Array();
  2233. var bulkHostNames = new Array();
  2234. function initBulkCheck()
  2235. {
  2236. /////////////////////////////
  2237. // Inits filehost object
  2238. /////////////////////////////
  2239. // params :
  2240. // hostName -- [string] host name (multiple domains separated with coma)
  2241. // linkRegex -- [string] link regex
  2242. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2243. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2244. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2245. // corrReplWhat -- [regex] link correction regex (replace)
  2246. // corrReplWith -- [string]
  2247. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2248. //
  2249. // apiUrl -- [string] web linkchecker or API URL
  2250. // postData -- [string] POSTDATA of xmlhttprequest
  2251. // resLinkRegex -- [regex]
  2252. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2253. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2254. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2255. // func -- [function] bulkcheck handler, genBulkCheck if null
  2256. //
  2257. //////////////////////////////
  2258. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2259. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2260. {
  2261. var fileHost = new Object();
  2262.  
  2263. fileHost.linkRegex = linkRegex;
  2264. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2265. fileHost.xpath = xpath;
  2266. fileHost.cFound = 0; //found links counter
  2267. fileHost.links = new Array(); //found links
  2268. if (blockSize == null)
  2269. {
  2270. fileHost.blockSize = 50;
  2271. }
  2272. else
  2273. {
  2274. fileHost.blockSize = blockSize;
  2275. }
  2276. fileHost.corrMatch = corrMatch;
  2277. fileHost.corrReplWhat = corrReplWhat;
  2278. fileHost.corrReplWith = corrReplWith;
  2279. if (splitSeparator == null)
  2280. {
  2281. fileHost.splitSeparator = "\r\n";
  2282. }
  2283. else
  2284. {
  2285. fileHost.splitSeparator = splitSeparator;
  2286. }
  2287. fileHost.apiUrl = apiUrl;
  2288. fileHost.postData = postData;
  2289. fileHost.resLinkRegex = resLinkRegex;
  2290. fileHost.resLiveRegex = resLiveRegex;
  2291. fileHost.resDeadRegex = resDeadRegex;
  2292. fileHost.resUnavaRegex = resUnavaRegex;
  2293. if (func == null)
  2294. {
  2295. fileHost.func = genBulkCheck;
  2296. }
  2297. else
  2298. {
  2299. fileHost.func = func;
  2300. }
  2301. bulkHosts.push(fileHost);
  2302. var names = hostName.split(',');
  2303. var i = names.length;
  2304. while(i--)
  2305. {
  2306. bulkHostNames[names[i]] = fileHost;
  2307. }
  2308. }
  2309. var genType1 = [
  2310. "rodfile.com", "downloadani.me", //"migahost.com",
  2311. "rarefile.net",
  2312. "filesabc.com",
  2313. "verzend.be",
  2314. // "movreel.com",
  2315. "4up.me",
  2316. "file4safe.com", "filemac.com", "4upfiles.com",
  2317. "idup.in", "novafile.com", "longfiles.com",
  2318. "bitupload.com",
  2319. "uploadbaz.com"
  2320. ];
  2321. var genType2 = [ "queenshare.com",
  2322. "hulkload.com",
  2323. "amonshare.com", //"edoc.com",
  2324. ];
  2325. //xfilesharing 1.0
  2326. function addGenericType1()
  2327. {
  2328. var i = genType1.length;
  2329. while(i--)
  2330. {
  2331. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2332. {
  2333. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2334. addHost(
  2335. genType1[i].match(/[\w-]+/)[0], //hostname
  2336. regexSafe + "\/\\w+", //linkregex
  2337. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2338. null, //blocksize
  2339. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2340. null, //corrreplwhat
  2341. null, //corrreplwith
  2342. null, //separator
  2343. "http://" + genType1[i] + "/checkfiles.html", //api url
  2344. "op=checkfiles&process=Check+URLs&list=", //postdata
  2345. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2346. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2347. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2348. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2349. null //function delegate
  2350. )
  2351. }
  2352. }
  2353. }
  2354. //xfilesharing 2.0
  2355. function addGenericType2()
  2356. {
  2357. var i = genType2.length;
  2358. while(i--)
  2359. {
  2360. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2361. {
  2362. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2363. addHost(
  2364. genType2[i].match(/[\w-]+/)[0], //hostname
  2365. regexSafe + "\/\\w+", //linkregex
  2366. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2367. null, //blocksize
  2368. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2369. null, //corrreplwhat
  2370. null, //corrreplwith
  2371. null, //separator
  2372. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2373. "op=checkfiles&process=Check+URLs&list=", //postdata
  2374. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2375. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2376. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2377. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2378. null //function delegate
  2379. )
  2380. }
  2381. }
  2382. }
  2383. // TEMPLATE
  2384. // if (GM_getValue("Check__dot_com_links", false))
  2385. // {
  2386. // addHost(
  2387. // "", //hostname
  2388. // "", //linkregex
  2389. // "//a[contains(@href,'.com/')]", //xpath
  2390. // null, //blocksize
  2391. // null, //corrmatch
  2392. // null, //corrreplwhat
  2393. // null, //corrreplwith
  2394. // null, //separator
  2395. // "", //api url
  2396. // "", //postdata
  2397. // /()/, //linkregex
  2398. // //liveregex
  2399. // //deadregex
  2400. // //unavaregex
  2401. // null //function delegate
  2402. // )
  2403. // }
  2404. addGenericType1();
  2405. addGenericType2();
  2406.  
  2407. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2408. {
  2409. addHost(
  2410. "myvdrive,fileserving", //hostname
  2411. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2412. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2413. null, //blocksize
  2414. null, //corrmatch
  2415. null, //corrreplwhat
  2416. null, //corrreplwith
  2417. null, //separator
  2418. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2419. "links=", //postdata
  2420. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2421. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2422. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2423. null, //unavaregex
  2424. null //function delegate
  2425. )
  2426. }
  2427. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2428. {
  2429. addHost(
  2430. "hackerbox", //hostname
  2431. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2432. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2433. null, //blocksize
  2434. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2435. null, //corrreplwhat
  2436. null, //corrreplwith
  2437. null, //separator
  2438. "http://host.hackerbox.org/checkfiles.html", //api url
  2439. "op=checkfiles&process=Check+URLs&list=", //postdata
  2440. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2441. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2442. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2443. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2444. null //function delegate
  2445. )
  2446. }
  2447. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2448. {
  2449. addHost(
  2450. "hellshare", //hostname
  2451. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2452. "//a[contains(@href,'hellshare.')]", //xpath
  2453. 48, //blocksize
  2454. null, //corrmatch
  2455. null, //corrreplwhat
  2456. null, //corrreplwith
  2457. null, //separator
  2458. null, //api url
  2459. null, //postdata
  2460. null, //linkregex
  2461. null, //liveregex
  2462. null, //deadregex
  2463. null, //unavaregex
  2464. hellshareBulkCheck //function delegate
  2465. )
  2466. }
  2467. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2468. {
  2469. addHost(
  2470. "ncrypt", //hostname
  2471. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2472. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2473. 100000, //blocksize
  2474. null, //corrmatch
  2475. null, //corrreplwhat
  2476. null, //corrreplwith
  2477. null, //separator
  2478. null,
  2479. null,
  2480. null,
  2481. null,
  2482. null,
  2483. null,
  2484. ncryptBulkCheck //function delegate
  2485. )
  2486. }
  2487. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2488. {
  2489. addHost(
  2490. "uploadrocket", //hostname
  2491. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2492. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2493. null, //blocksize
  2494. null, //corrmatch
  2495. null, //corrreplwhat
  2496. null, //corrreplwith
  2497. "\n", //separator
  2498. 'http://uploadrocket.net/?op=checkfiles',
  2499. 'op=checkfiles&process=Check+URLs&list=',
  2500. /uploadrocket.net\/(\w+)/,
  2501. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2502. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2503. null,
  2504. null //function delegate
  2505. )
  2506. }
  2507. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2508. {
  2509. addHost(
  2510. "k2s,keep2s,keep2share",
  2511. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2512. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2513. 100000, //blocksize
  2514. null, //corrmatch
  2515. null, //corrreplwhat
  2516. null, //corrreplwith
  2517. null, //separator
  2518. null,
  2519. null,
  2520. null,
  2521. null,
  2522. null,
  2523. null,
  2524. k2sBulkCheck //function delegate
  2525. )
  2526. }
  2527. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2528. {
  2529. addHost(
  2530. "tezfiles",
  2531. "(?:tezfiles\\.com)\/\\w+",
  2532. "//a[contains(@href,'tezfiles.com')]",
  2533. 100000, //blocksize
  2534. null, //corrmatch
  2535. null, //corrreplwhat
  2536. null, //corrreplwith
  2537. null, //separator
  2538. null,
  2539. null,
  2540. null,
  2541. null,
  2542. null,
  2543. null,
  2544. k2sBulkCheck //function delegate
  2545. )
  2546. }
  2547. if (GM_getValue("Check_fboom_dot_me_links", false))
  2548. {
  2549. addHost(
  2550. "fboom,fileboom",
  2551. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2552. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2553. 100000, //blocksize
  2554. null, //corrmatch
  2555. null, //corrreplwhat
  2556. null, //corrreplwith
  2557. null, //separator
  2558. null,
  2559. null,
  2560. null,
  2561. null,
  2562. null,
  2563. null,
  2564. fboomBulkCheck //function delegate
  2565. )
  2566. }
  2567. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2568. {
  2569. addHost(
  2570. "1fichier,dl4free",
  2571. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2572. "//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/?')]",
  2573. 100000, //blocksize
  2574. null, //corrmatch
  2575. null, //corrreplwhat
  2576. null, //corrreplwith
  2577. null, //separator
  2578. null,
  2579. null,
  2580. null,
  2581. null,
  2582. null,
  2583. null,
  2584. dl4free_1fichier_BulkCheck //function delegate
  2585. )
  2586. }
  2587. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2588. {
  2589. addHost(
  2590. "nitroflare",
  2591. "nitroflare\\.com\/\\w+",
  2592. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2593. 100000, //blocksize
  2594. null, //corrmatch
  2595. null, //corrreplwhat
  2596. null, //corrreplwith
  2597. null, //separator
  2598. null,
  2599. null,
  2600. null,
  2601. null,
  2602. null,
  2603. null,
  2604. nitroflareBulkCheck //function delegate
  2605. )
  2606. }
  2607. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2608. {
  2609. addHost(
  2610. "depositfiles,dfiles",
  2611. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|(?:en|es|de|ru)/files\/\\w+",
  2612. "//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/')]",
  2613. 100000, //blocksize
  2614. null, //corrmatch
  2615. null, //corrreplwhat
  2616. null, //corrreplwith
  2617. null, //separator
  2618. null,
  2619. null,
  2620. null,
  2621. null,
  2622. null,
  2623. null,
  2624. depositfilesBulkCheck //function delegate
  2625. )
  2626. }
  2627. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2628. {
  2629. addHost(
  2630. "filesflash", //hostname
  2631. "filesflash\\.com\/\\w+", //linkregex
  2632. "//a[contains(@href,'filesflash.com')]", //xpath
  2633. null, //blocksize
  2634. null, //corrmatch
  2635. /http:\/\//, //corrreplwhat
  2636. '', //corrreplwith
  2637. null, //separator
  2638. 'http://filesflash.com/checklinks.php',
  2639. 'submit=Go&links=',
  2640. /filesflash\.com\/(\w+)/,
  2641. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2642. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2643. null,
  2644. null //function delegate
  2645. )
  2646. }
  2647. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2648. {
  2649. addHost(
  2650. "jumbofiles", //hostname
  2651. "jumbofiles\\.com\/\\w+", //linkregex
  2652. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2653. null, //blocksize
  2654. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2655. null, //corrreplwhat
  2656. null, //corrreplwith
  2657. null, //separator
  2658. "http://jumbofiles.com/checkfiles.html", //api url
  2659. "op=checkfiles&process=Check+URLs&list=", //postdata
  2660. /(jumbofiles\.com\/\w+)/, //linkregex
  2661. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2662. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2663. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2664. null //function delegate
  2665. )
  2666. }
  2667. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2668. {
  2669. addHost(
  2670. "edisk", //hostname
  2671. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2672. "//a[contains(@href,'edisk.')]", //xpath
  2673. null, //blocksize
  2674. null, //corrmatch
  2675. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2676. 'edisk.cz/stahni', //corrreplwith
  2677. null, //separator
  2678. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2679. 'submitBtn=Zkontrolovat&checkFiles=',
  2680. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2681. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2682. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2683. null,
  2684. null //function delegate
  2685. )
  2686. }
  2687. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2688. {
  2689. GM_xmlhttpRequest( //age check skip
  2690. {
  2691. method: 'POST',
  2692. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2693. headers: {
  2694. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2695. 'Content-type': 'application/x-www-form-urlencoded',
  2696. 'Referer': ""
  2697. }
  2698. });
  2699. addHost(
  2700. "bezvadata", //hostname
  2701. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2702. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2703. null, //blocksize
  2704. null, //corrmatch
  2705. null, //corrreplwhat
  2706. null, //corrreplwith
  2707. null, //separator
  2708. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2709. 'zkontrolovat=Zkontrolovat&odkazy=',
  2710. /(bezvadata\.cz\/stahnout\/\d+)/,
  2711. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2712. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2713. null,
  2714. null //function delegate
  2715. )
  2716. }
  2717. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2718. {
  2719. addHost(
  2720. "linkcrypt", //hostname
  2721. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2722. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2723. 100000, //blocksize
  2724. null, //corrmatch
  2725. null, //corrreplwhat
  2726. null, //corrreplwith
  2727. null, //separator
  2728. null,
  2729. null,
  2730. null,
  2731. null,
  2732. null,
  2733. null,
  2734. linkcryptBulkCheck //function delegate
  2735. )
  2736. }
  2737. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2738. {
  2739. addHost(
  2740. "linksave", //hostname
  2741. "linksave\\.in\/\\w+", //linkregex
  2742. "//a[contains(@href,'linksave.in')]", //xpath
  2743. 100000, //blocksize
  2744. null, //corrmatch
  2745. null, //corrreplwhat
  2746. null, //corrreplwith
  2747. null, //separator
  2748. null,
  2749. null,
  2750. null,
  2751. null,
  2752. null,
  2753. null,
  2754. linksaveBulkCheck //function delegate
  2755. )
  2756. } */
  2757. if (GM_getValue("Check_videobb_dot_com_links", false))
  2758. {
  2759. addHost(
  2760. "videobb", //hostname
  2761. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2762. "//a[contains(@href,'videobb.com')]", //xpath
  2763. null, //blocksize
  2764. null, //corrmatch
  2765. /watch_video\.php\?v=/, //corrreplwhat
  2766. 'video/', //corrreplwith
  2767. null, //separator
  2768. 'http://www.videobb.com/link_checker.php',
  2769. 'links=',
  2770. /videobb\.com\/video\/(\w+)/,
  2771. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2772. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2773. null,
  2774. null //function delegate
  2775. )
  2776. }
  2777. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2778. {
  2779. addHost(
  2780. "cramit,cramitin", //hostname
  2781. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2782. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2783. null, //blocksize
  2784. null, //corrmatch
  2785. null, //corrreplwhat
  2786. null, //corrreplwith
  2787. null, //separator
  2788. 'http://cramit.in/checkfiles.html',
  2789. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2790. /(cramit(?:\.in|in\.net)\/\w+)/,
  2791. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2792. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2793. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2794. null //function delegate
  2795. )
  2796. }
  2797. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2798. {
  2799. addHost(
  2800. "turbobit", //hostname
  2801. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2802. "//a[contains(@href,'turbobit.')]", //xpath
  2803. null, //blocksize
  2804. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2805. null, //corrreplwhat
  2806. null, //corrreplwith
  2807. "\n", //separator
  2808. 'http://turbobit.net/linkchecker/csv',
  2809. 'links_to_check=',
  2810. /(turbobit\.(?:net|pl)\/\w+)/,
  2811. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2812. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2813. null,
  2814. null //function delegate
  2815. )
  2816. } */
  2817. if (GM_getValue("Check_filerio_dot_com_links", false))
  2818. {
  2819. addHost(
  2820. "filekeen,filerio", //hostname
  2821. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2822. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2823. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2824. null, //blocksize
  2825. null, //corrmatch
  2826. null, //corrreplwhat
  2827. null, //corrreplwith
  2828. null, //separator
  2829. 'http://filerio.in/checkfiles.html',
  2830. 'op=checkfiles&process=Check+URLs&list=',
  2831. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2832. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2833. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2834. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2835. null //function delegate
  2836. )
  2837. }
  2838. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2839. {
  2840. addHost(
  2841. "share-online,egoshare", //hostname
  2842. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2843. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2844. null, //blocksize
  2845. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2846. null, //corrreplwhat
  2847. null, //corrreplwith
  2848. "\n", //separator
  2849. 'http://api.share-online.biz/linkcheck.php',
  2850. 'links=',
  2851. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2852. /\w+;OK/g,
  2853. /\w+;(?:NOTFOUND|DELETED)/g,
  2854. null,
  2855. null //function delegate
  2856. )
  2857. }
  2858. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2859. {
  2860. addHost(
  2861. "quickshare", //hostname
  2862. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2863. "//a[contains(@href,'quickshare.cz')]", //xpath
  2864. null, //blocksize
  2865. null, //corrmatch
  2866. null, //corrreplwhat
  2867. null, //corrreplwith
  2868. null, //separator
  2869. 'http://www.quickshare.cz/nastroje/link-checker',
  2870. 'linky=',
  2871. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2872. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2873. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2874. null,
  2875. null //function delegate
  2876. )
  2877. } */
  2878. if (GM_getValue("Check_oboom_dot_com_links", false))
  2879. {
  2880. addHost(
  2881. "oboom", //hostname
  2882. "oboom\\.com\/#?\\w{8}", //linkregex
  2883. "//a[contains(@href,'oboom.com/')]", //xpath
  2884. null, //blocksize
  2885. /oboom\.com\/#?(\w{8})/, //corrmatch
  2886. null, //corrreplwhat
  2887. null, //corrreplwith
  2888. null, //separator
  2889. null,
  2890. null,
  2891. null,
  2892. null, //liveregex
  2893. null, //deadregex
  2894. null,
  2895. oboomBulk //function delegate
  2896. )
  2897. }
  2898. if (GM_getValue("Check_mega_dot_nz_links", false))
  2899. {
  2900. addHost(
  2901. "mega",
  2902. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2903. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2904. 100000, //blocksize
  2905. null, //corrmatch
  2906. null, //corrreplwhat
  2907. null, //corrreplwith
  2908. null, //separator
  2909. null,
  2910. null,
  2911. null,
  2912. null,
  2913. null,
  2914. null,
  2915. megaBulkCheck //function delegate
  2916. )
  2917. }
  2918.  
  2919. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2920.  
  2921. if (GM_getValue("Check_extabit_dot_com_links", false))
  2922. {
  2923. addHost(
  2924. "extabit", //hostname
  2925. "extabit\\.com\/file\/\\w+", //linkregex
  2926. "//a[contains(@href,'extabit.com')]", //xpath
  2927. null, //blocksize
  2928. null, //corrmatch
  2929. null, //corrreplwhat
  2930. null, //corrreplwith
  2931. "\n", //separator
  2932. "http://extabit.com/linkchecker.jsp", //api url
  2933. "url=", //postdata
  2934. /extabit\.com\/(file\/\w+)/, //linkregex
  2935. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2936. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2937. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2938. extabitBulkCheck //function delegate
  2939. )
  2940. }
  2941. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2942. {
  2943. addHost(
  2944. "junocloud", //hostname
  2945. "junocloud\\.me\/\\w+", //linkregex
  2946. "//a[contains(@href,'junocloud.me')]", //xpath
  2947. null, //blocksize
  2948. null, //corrmatch
  2949. null, //corrreplwhat
  2950. null, //corrreplwith
  2951. "\n", //separator
  2952. "http://junocloud.me/checkfiles.html", //api url
  2953. "op=checkfiles&process=Check+URLs&list=", //postdata
  2954. /(junocloud\.me\/\w+)/, //linkregex
  2955. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2956. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2957. null, //unavaregex
  2958. null //function delegate
  2959. )
  2960. }
  2961. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2962. {
  2963. addHost(
  2964. "webshare", //hostname
  2965. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2966. "//a[contains(@href,'webshare.cz')]", //xpath
  2967. 100000, //blocksize
  2968. null, //corrmatch
  2969. null, //corrreplwhat
  2970. null, //corrreplwith
  2971. null, //separator
  2972. null, //api url
  2973. null, //postdata
  2974. null, //linkregex
  2975. null, //liveregex
  2976. null, //deadregex
  2977. null, //unavaregex
  2978. webshareBulkCheck //function delegate
  2979. )
  2980. }
  2981. /////////////////////////////
  2982. // Common function delegate to send links to get checked by host linkchecker
  2983. /////////////////////////////
  2984. // If you define a new delegate, you may use following properties
  2985. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2986. // this.apiUrl [string] API or web linkchecker URL
  2987. // this.postData [string] POSTDATA for POST request
  2988. // this.resLiveRegex [regex] matches live substrings in the request response
  2989. // this.resDeadRegex [regex] matches dead substrings in the request response
  2990. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2991. //
  2992. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2993. //
  2994. // See the code below for standard bulkcheck handling reference.
  2995. //////////////////////////////
  2996. function genBulkCheck()
  2997. {
  2998. var blockIdx = this.links.length;
  2999. while (blockIdx--)
  3000. {
  3001. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3002. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3003. }
  3004. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3005. {
  3006. GM_xmlhttpRequest(
  3007. {
  3008. method: 'POST',
  3009. url: api,
  3010. headers: {
  3011. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3012. 'Content-type': 'application/x-www-form-urlencoded',
  3013. 'Referer': api,
  3014. 'X-Requested-With': 'XMLHttpRequest'
  3015. },
  3016. data: postData + encodeURIComponent(links),
  3017. onload: function (result)
  3018. {
  3019. var res = result.responseText;
  3020. // GM_log(res);
  3021. var i;
  3022.  
  3023. var livelinks = res.match(liveRegex);
  3024. var deadlinks = res.match(deadRegex);
  3025. // GM_log(livelinks);
  3026. // GM_log(deadlinks);
  3027. if (livelinks != null)
  3028. {
  3029. i = livelinks.length - 1;
  3030. do
  3031. {
  3032. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3033. }
  3034. while (i--);
  3035. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3036. }
  3037.  
  3038. if (deadlinks != null)
  3039. {
  3040. i = deadlinks.length - 1;
  3041. do
  3042. {
  3043. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3044. }
  3045. while (i--);
  3046. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3047. }
  3048.  
  3049. if (unavaRegex != null)
  3050. {
  3051. var unavalinks = res.match(unavaRegex);
  3052. if (unavalinks)
  3053. {
  3054. i = unavalinks.length - 1;
  3055. do
  3056. {
  3057. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3058. }
  3059. while (i--);
  3060. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3061. }
  3062. }
  3063. }
  3064. });
  3065. }
  3066. }
  3067. //specialized bulkchecking handlers follow
  3068. function webshareBulkCheck()
  3069. {
  3070. var arr = this.links[0].split("\r\n");
  3071. var i = arr.length;
  3072. while(i--)
  3073. {
  3074. postRequest(arr[i]);
  3075. }
  3076. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3077. function postRequest(wsLink)
  3078. {
  3079. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3080. GM_xmlhttpRequest(
  3081. {
  3082. method: 'POST',
  3083. url: "http://webshare.cz/api/file_info/",
  3084. headers: {
  3085. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3086. 'Content-type': 'application/x-www-form-urlencoded',
  3087. 'Referer': "",
  3088. },
  3089. data: "wst=&ident=" + id,
  3090. onload: function (result)
  3091. {
  3092. var res = result.responseText;
  3093. if (res.match(/<name>.+?<\/name>/))
  3094. {
  3095. DisplayTheCheckedLinks([id], 'alive_link');
  3096. }
  3097. else
  3098. {
  3099. DisplayTheCheckedLinks([id], 'adead_link');
  3100. }
  3101. }
  3102. });
  3103. }
  3104. }
  3105. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3106. //extabit also doesn't like requests in fast succession, so some delays are added.
  3107. function extabitBulkCheck()
  3108. {
  3109. var timeoutDelay = 0;
  3110. var blockIdx = this.links.length;
  3111. while (blockIdx--)
  3112. {
  3113. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3114. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3115. }
  3116. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3117. {
  3118. GM_xmlhttpRequest(
  3119. {
  3120. method: 'POST',
  3121. url: api,
  3122. headers: {
  3123. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3124. 'Content-type': 'application/x-www-form-urlencoded',
  3125. 'Referer': api,
  3126. 'X-Requested-With': 'XMLHttpRequest'
  3127. },
  3128. data: postData + encodeURIComponent(links),
  3129. onload: function (result)
  3130. {
  3131. var res = result.responseText;
  3132. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3133. {
  3134. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3135. {
  3136. //GM_log(tryID + ': ' + link);
  3137. GM_xmlhttpRequest(
  3138. {
  3139. method: 'GET',
  3140. url: link,
  3141. 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': ""},
  3142. onload: function(result2)
  3143. {
  3144. var res2 = result2.responseText;
  3145. var res2Status = result.status;
  3146. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3147. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3148. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3149. {
  3150. if (tryID < 7)
  3151. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3152. else
  3153. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3154. }
  3155. }
  3156. });
  3157. }
  3158. //split the hrefs and check them one by one
  3159. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3160. links = links.split('\n');
  3161. var i = links.length;
  3162. while (i--)
  3163. {
  3164. if (links[i])
  3165. {
  3166. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3167. timeoutDelay += 500;
  3168. }
  3169. }
  3170. return;
  3171. }
  3172. var i;
  3173.  
  3174. var livelinks = res.match(liveRegex);
  3175. var deadlinks = res.match(deadRegex);
  3176. if (livelinks != null)
  3177. {
  3178. i = livelinks.length - 1;
  3179. do
  3180. {
  3181. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3182. }
  3183. while (i--);
  3184. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3185. }
  3186.  
  3187. if (deadlinks != null)
  3188. {
  3189. i = deadlinks.length - 1;
  3190. do
  3191. {
  3192. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3193. }
  3194. while (i--);
  3195. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3196. }
  3197.  
  3198. if (unavaRegex != null)
  3199. {
  3200. var unavalinks = res.match(unavaRegex);
  3201. if (unavalinks)
  3202. {
  3203. i = unavalinks.length - 1;
  3204. do
  3205. {
  3206. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3207. }
  3208. while (i--);
  3209. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3210. }
  3211. }
  3212. }
  3213. });
  3214. }
  3215. }
  3216. function k2sBulkCheck()
  3217. {
  3218. var arr = this.links[0].split("\r\n");
  3219. var i = arr.length;
  3220. c=0;
  3221. arrIDs=[];
  3222. while(i--)
  3223. {
  3224. id = arr[i].match(/\/file\/(\w+)/)[1];
  3225. if (id=='info')
  3226. {
  3227. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3228. continue;
  3229. }
  3230. k2salreadyexist=false;
  3231. for (j=0;j<arrIDs.length;j++)
  3232. {
  3233. if (arrIDs[j]==id)
  3234. {
  3235. k2salreadyexist=true;
  3236. break;
  3237. }
  3238. }
  3239. if (k2salreadyexist) continue;
  3240. arrIDs.push(id);
  3241. c++;
  3242. setTimeout(k2sRequest,c*500,arr[i]);
  3243. }
  3244. }
  3245. function k2sRequest(K2SLink)
  3246. {
  3247. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3248. GM_xmlhttpRequest(
  3249. {
  3250. method: 'GET',
  3251. url: K2SLink,
  3252. headers: {
  3253. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3254. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3255. 'Referer': ''
  3256. },
  3257. onload: function (result)
  3258. {
  3259. var res = result.responseText;
  3260. K2Dom='k2s.cc';
  3261. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3262. K2SLink2='http://'+K2Dom+'/file/'+id;
  3263.  
  3264. 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'))
  3265. {
  3266. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3267. return;
  3268. }
  3269. if (res.match('method="post">Displaying'))
  3270. {
  3271. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3272. return;
  3273. }
  3274. if (res.match('Premium only'))
  3275. {
  3276. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3277. return;
  3278. }
  3279. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3280. {
  3281. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3282. slID=slow_id.exec(res)[1];
  3283. GM_xmlhttpRequest(
  3284. {
  3285. method: 'POST',
  3286. url: K2SLink2,
  3287. headers: {
  3288. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3289. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3290. 'Content-Type': 'application/x-www-form-urlencoded',
  3291. 'Referer': K2SLink
  3292. },
  3293. data: 'slow_id='+slID+'&yt0=',
  3294. onload: function (result)
  3295. {
  3296. var newres = result.responseText;
  3297. newoversizedtest=new RegExp("Free user can't download large files.");
  3298. if (newoversizedtest.test(newres))
  3299. {
  3300. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3301. return;
  3302. }
  3303. else
  3304. {
  3305. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3306. return;
  3307. }
  3308. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3309. return;
  3310. }
  3311. });
  3312. /////////////////////end additional check for oversized links
  3313. return;
  3314. }
  3315. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3316. return;
  3317. },
  3318. onerror: function ()
  3319. {
  3320. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3321. return;
  3322. }
  3323. });
  3324. }
  3325. function fboomBulkCheck()
  3326. {
  3327. var arr = this.links[0].split("\r\n");
  3328. var i = arr.length;
  3329. c=0;
  3330. arrIDs=[];
  3331. while(i--)
  3332. {
  3333. id = arr[i].match(/\/file\/(\w+)/)[1];
  3334. if (id=='info')
  3335. {
  3336. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3337. continue;
  3338. }
  3339. fbalreadyexist=false;
  3340. for (j=0;j<arrIDs.length;j++)
  3341. {
  3342. if (arrIDs[j]==id)
  3343. {
  3344. fbalreadyexist=true;
  3345. break;
  3346. }
  3347. }
  3348. if (fbalreadyexist) continue;
  3349. arrIDs.push(id);
  3350. c++;
  3351. setTimeout(fboomRequest,c*500,arr[i]);
  3352. }
  3353. }
  3354. function fboomRequest(FBoomLink)
  3355. {
  3356. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3357. FBoomLink2='http://fboom.me/file/'+id;
  3358. GM_xmlhttpRequest(
  3359. {
  3360. method: 'GET',
  3361. url: FBoomLink,
  3362. headers: {
  3363. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3364. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3365. 'Referer': ''
  3366. },
  3367. onload: function (result)
  3368. {
  3369. var res = result.responseText;
  3370. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3371. {
  3372. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3373. return;
  3374. }
  3375. if (res.match('method="post">Displaying'))
  3376. {
  3377. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3378. return;
  3379. }
  3380. if (res.match('only for premium members'))
  3381. {
  3382. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3383. return;
  3384. }
  3385. if (res.match('id="download-free" href="#"'))
  3386. {
  3387. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3388. slID=slow_id.exec(res)[1];
  3389. GM_xmlhttpRequest(
  3390. {
  3391. method: 'POST',
  3392. url: FBoomLink2,
  3393. headers: {
  3394. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3395. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3396. 'Content-Type': 'application/x-www-form-urlencoded',
  3397. 'Referer': FBoomLink
  3398. },
  3399. data: 'slow_id='+slID,
  3400. onload: function (result)
  3401. {
  3402. var newres = result.responseText;
  3403. newoversizedtest=new RegExp("Downloading is not possible");
  3404. if (newoversizedtest.test(newres))
  3405. {
  3406. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3407. return;
  3408. }
  3409. else
  3410. {
  3411. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3412. return;
  3413. }
  3414. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3415. return;
  3416. }
  3417. });
  3418. /////////////////////end additional check for oversized links
  3419. return;
  3420. }
  3421. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3422. return;
  3423. },
  3424. onerror: function ()
  3425. {
  3426. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3427. return;
  3428. }
  3429. });
  3430. }
  3431. function dl4free_1fichier_BulkCheck()
  3432. {
  3433. var arr = this.links[0].split("\r\n");
  3434. var i = arr.length;
  3435. while(i--)
  3436. {
  3437. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3438. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3439. gethead_dl4free_1fichier(arr[i]);
  3440. }
  3441. }
  3442. function gethead_dl4free_1fichier(link)
  3443. {
  3444. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3445. GM_xmlhttpRequest(
  3446. {
  3447. method: 'HEAD',
  3448. url: link,
  3449. headers: {
  3450. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3451. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3452. 'Referer': ''
  3453. },
  3454. onload: function (result)
  3455. {
  3456. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3457. {
  3458. DisplayTheCheckedLinks([id], 'alive_link');
  3459. return;
  3460. }
  3461. else
  3462. {
  3463. getlink_dl4free_1fichier(link);
  3464. }
  3465. return;
  3466. },
  3467. onerror: function ()
  3468. {
  3469. DisplayTheCheckedLinks([id], 'unava_link');
  3470. }
  3471. });
  3472. }
  3473. function getlink_dl4free_1fichier(link)
  3474. {
  3475. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3476. GM_xmlhttpRequest(
  3477. {
  3478. method: 'GET',
  3479. url: link,
  3480. headers: {
  3481. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3482. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3483. 'Referer': ''
  3484. },
  3485. onload: function (result)
  3486. {
  3487. var res = result.responseText;
  3488. 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');
  3489. if (deadRegex.test(res))
  3490. {
  3491. DisplayTheCheckedLinks([id], 'adead_link');
  3492. return;
  3493. }
  3494. premiumRegex=new RegExp('only for premium users');
  3495. if (premiumRegex.test(res))
  3496. {
  3497. DisplayTheCheckedLinks([id], 'prem_link');
  3498. return;
  3499. }
  3500. 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="');
  3501. if (liveRegex.test(res))
  3502. {
  3503. DisplayTheCheckedLinks([id], 'alive_link');
  3504. return;
  3505. }
  3506. DisplayTheCheckedLinks([id], 'unava_link');
  3507. },
  3508. onerror: function ()
  3509. {
  3510. DisplayTheCheckedLinks([id], 'unava_link');
  3511. }
  3512. });
  3513. }
  3514. function nitroflareBulkCheck()
  3515. {
  3516. var arr = this.links[0].split("\r\n");
  3517. var i = arr.length;
  3518. while(i--)
  3519. {
  3520. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3521. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3522. NitroFlareRequest(arr[i]);
  3523. }
  3524. }
  3525. function NitroFlareRequest(NFLink)
  3526. {
  3527. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3528. GM_xmlhttpRequest(
  3529. {
  3530. method: "GET",
  3531. url: NFLink,
  3532. headers: {
  3533. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3534. 'Content-Type': 'application/x-www-form-urlencoded',
  3535. 'Referer': ""
  3536. },
  3537. onload: function (result)
  3538. {
  3539. var res = result.responseText;
  3540. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3541. {
  3542. DisplayTheCheckedLinks([NFID], 'adead_link');
  3543. return;
  3544. }
  3545. if (res.match('Report this file<\/a>'))
  3546. {
  3547. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3548. sizearr=measureRegex.exec(res);
  3549. if (sizearr[2]=='GB')
  3550. {
  3551. if (parseFloat(sizearr[1])>1)
  3552. {
  3553. DisplayTheCheckedLinks([NFID], 'prem_link');
  3554. }
  3555. else
  3556. {
  3557. DisplayTheCheckedLinks([NFID], 'alive_link');
  3558. }
  3559. }
  3560. else
  3561. {
  3562. DisplayTheCheckedLinks([NFID], 'alive_link');
  3563. }
  3564. return;
  3565. }
  3566. DisplayTheCheckedLinks([NFID], 'unava_link');
  3567. }
  3568. });
  3569. }
  3570. function depositfilesBulkCheck()
  3571. {
  3572. var arr = this.links[0].split("\r\n");
  3573. var i = arr.length;
  3574. var seqno = Math.floor(Math.random()*1000000000);
  3575. while(i--)
  3576. {
  3577. DFpostRequest(arr[i]);
  3578. }
  3579. }
  3580. function DFpostRequest(DFLink)
  3581. {
  3582. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3583. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3584. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3585. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3586. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3587. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3588. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3589. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3590. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3591. GM_xmlhttpRequest(
  3592. {
  3593. method: "GET",
  3594. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3595. headers: {
  3596. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3597. 'Content-Type': 'application/x-www-form-urlencoded',
  3598. 'Referer': ""
  3599. },
  3600. onload: function (result)
  3601. {
  3602. var res = result.responseText;
  3603. if (res.match('(?:no_file|file_ban)'))
  3604. {
  3605. DisplayTheCheckedLinks([id], 'adead_link');
  3606. return;
  3607. }
  3608. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3609. {
  3610. DisplayTheCheckedLinks([id], 'alive_link');
  3611. return;
  3612. }
  3613. DisplayTheCheckedLinks([id], 'unava_link');
  3614. }
  3615. });
  3616. }
  3617.  
  3618. function megaBulkCheck()
  3619. {
  3620. var arr = this.links[0].split("\r\n");
  3621. var i = arr.length;
  3622. var seqno = Math.floor(Math.random()*1000000000);
  3623. while(i--)
  3624. {
  3625. postRequest(arr[i]);
  3626. }
  3627. function postRequest(megaLink)
  3628. {
  3629. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3630. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3631. GM_xmlhttpRequest(
  3632. {
  3633. method: "POST",
  3634. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3635. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3636. headers: {
  3637. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3638. 'Content-Type': 'application/xml',
  3639. 'Referer': "https://mega.co.nz/"
  3640. },
  3641. onload: function (result)
  3642. {
  3643. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3644. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3645. {
  3646.  
  3647. DisplayTheCheckedLinks([id], 'adead_link');
  3648. }
  3649. if (res.at)
  3650. {
  3651. DisplayTheCheckedLinks([id], 'alive_link');
  3652. }
  3653. if (res.e == "ETEMPUNAVAIL")
  3654. {
  3655. DisplayTheCheckedLinks([id], 'unava_link');
  3656. }
  3657. }
  3658. });
  3659. }
  3660.  
  3661. }
  3662.  
  3663. function oboomBulk() {
  3664. var a = [], b = [], c = [];
  3665. var array = this.links;
  3666.  
  3667. GM_xmlhttpRequest({
  3668. method: 'GET',
  3669. url: 'https://www.oboom.com/1/guestsession',
  3670. headers: {
  3671. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3672. 'Content-type': 'application/x-www-form-urlencoded',
  3673. 'Referer': 'https://www.oboom.com',
  3674. 'X-Requested-With': 'XMLHttpRequest'
  3675. },
  3676. onload: function(result) {
  3677. var blockIdx = array.length;
  3678. var token = JSON.parse(result.responseText)[1];
  3679. while (blockIdx--) {
  3680. startCheck(array[blockIdx].split('\r\n'), token);
  3681. }
  3682. }
  3683. });
  3684.  
  3685. function startCheck(links, token) {
  3686. GM_xmlhttpRequest({
  3687. method: 'POST',
  3688. url: "https://api.oboom.com/1/info",
  3689. headers: {
  3690. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3691. 'Content-type': 'application/x-www-form-urlencoded',
  3692. 'Referer': 'https://www.oboom.com/',
  3693. 'X-Requested-With': 'XMLHttpRequest'
  3694. },
  3695. data: "token=" + token + "&items=" + links.join(","),
  3696. onload: function(result) {
  3697. var res = JSON.parse(result.responseText)[1];
  3698. var i = res.length, s;
  3699.  
  3700. while (i--) {
  3701. s = res[i].state;
  3702. if (s == 'online') a.push(res[i].id);
  3703. 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);
  3704. else c.push(res[i].id);
  3705. }
  3706.  
  3707. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3708. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3709. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3710. }
  3711. });
  3712. }
  3713. }
  3714. /* function linksaveBulkCheck()
  3715. {
  3716. var arr = this.links[0].split("\r\n");
  3717. var i = arr.length;
  3718. while(i--)
  3719. {
  3720. postRequest(arr[i]);
  3721. }
  3722. function postRequest(lsLink)
  3723. {
  3724. GM_xmlhttpRequest(
  3725. {
  3726. method: "GET",
  3727. url: lsLink + '-t.jpg',
  3728. headers: {
  3729. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3730. 'Accept': 'text/xml',
  3731. 'Referer': ""
  3732. },
  3733. onload: function (result)
  3734. {
  3735. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3736. if (imgLen == 965) //online
  3737. {
  3738. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3739. }
  3740.  
  3741. if (imgLen == 972) //offline
  3742. {
  3743. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3744. }
  3745. if (imgLen == 978) //unava
  3746. {
  3747. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3748. }
  3749. }
  3750. });
  3751. }
  3752.  
  3753. } */
  3754. function linkcryptBulkCheck()
  3755. {
  3756. var arr = this.links[0].split("\r\n");
  3757. var i = arr.length;
  3758. while(i--)
  3759. {
  3760. postRequest(arr[i]);
  3761. }
  3762. function postRequest(lcLink)
  3763. {
  3764. GM_xmlhttpRequest(
  3765. {
  3766. method: "GET",
  3767. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3768. headers: {
  3769. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3770. 'Accept': 'text/xml',
  3771. 'Referer': ""
  3772. },
  3773. onload: function (result)
  3774. {
  3775. var res = result.responseText;
  3776. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3777. {
  3778. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3779. return;
  3780. }
  3781. if (res.match(/folderStatus>1/)) //Online status
  3782. {
  3783. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3784. }
  3785. else
  3786. {
  3787. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3788. }
  3789. }
  3790. });
  3791. }
  3792. }
  3793.  
  3794. function megashareBulkCheck()
  3795. {
  3796. var arr = this.links[0].split("\r\n");
  3797. var i = arr.length;
  3798. while(i--)
  3799. {
  3800. postRequest(arr[i]);
  3801. }
  3802. function postRequest(msLink)
  3803. {
  3804. GM_xmlhttpRequest(
  3805. {
  3806. method: "GET",
  3807. url: msLink,
  3808. headers: {
  3809. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3810. 'Content-Type': 'application/x-www-form-urlencoded',
  3811. 'Referer': ""
  3812. },
  3813. onload: function (result)
  3814. {
  3815. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3816. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3817. if ((prZVal == null) || (btn3Name == null))
  3818. {
  3819. return;
  3820. }
  3821. GM_xmlhttpRequest(
  3822. {
  3823. method: "POST",
  3824. url: msLink,
  3825. headers: {
  3826. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3827. 'Content-Type': 'application/x-www-form-urlencoded',
  3828. 'Referer': ""
  3829. },
  3830. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3831. onload: function (result)
  3832. {
  3833. var res = result.responseText;
  3834. if (res.match(/<div id="err">/))
  3835. {
  3836. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3837. }
  3838. else
  3839. {
  3840. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3841. }
  3842. }
  3843. });
  3844. }
  3845. });
  3846. }
  3847. }
  3848. function ncryptBulkCheck()
  3849. {
  3850. var arr = this.links[0].split("\r\n");
  3851. var i = arr.length;
  3852. while(i--)
  3853. {
  3854. postRequest(arr[i]);
  3855. }
  3856. function postRequest(ncryptLink)
  3857. {
  3858. GM_xmlhttpRequest(
  3859. {
  3860. method: "POST",
  3861. url: 'http://ncrypt.in/api_status.php',
  3862. headers: {
  3863. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3864. 'Content-Type': 'application/x-www-form-urlencoded',
  3865. 'Referer': ""
  3866. },
  3867. data: 'link=' + encodeURI(ncryptLink),
  3868. onload: function (result)
  3869. {
  3870. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3871. switch(foldStatus + ""){
  3872. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3873. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3874. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3875. }
  3876. }
  3877. });
  3878. }
  3879. }
  3880. function hellshareBulkCheck()
  3881. {
  3882. var links = this.links;
  3883. GM_xmlhttpRequest(
  3884. {
  3885. method: "GET",
  3886. url: 'http://www.hellshare.com',
  3887. headers: {
  3888. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3889. 'Accept': 'text/xml',
  3890. 'Referer': ""
  3891. },
  3892. onload: function (result)
  3893. {
  3894. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3895.  
  3896. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3897. if (domain == 'sk')
  3898. loc = 'check=Skontrolova%C5%A5&links=';
  3899. if (domain == 'com')
  3900. loc = 'check=Check+availability&links=';
  3901. if (domain == 'hu')
  3902. loc = 'check=Kontrol%C3%A1lj&links=';
  3903. if (domain == 'pl')
  3904. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3905.  
  3906. genBulkCheck.call({ links: links,
  3907. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3908. postData: loc,
  3909. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3910. 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,
  3911. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3912. resUnavaRegex: null
  3913. });
  3914. }
  3915. });
  3916. }
  3917. /**
  3918. * Displays check result
  3919. * @param {Array} Array of links or link fragments.
  3920. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3921. */
  3922. function DisplayTheCheckedLinks(links, resultStatus)
  3923. {
  3924. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3925. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3926. if (Do_not_linkify_DL_links)
  3927. { //TODO into separate jQuery function
  3928. $links.replaceWith(function(){
  3929. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3930. });
  3931. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3932. }
  3933. $links.removeClass().addClass(resultStatus);
  3934. $links.each(function() {
  3935. this.href = Ref_anonymize_service + $(this).attr("href");
  3936. });
  3937. switch(resultStatus)
  3938. {
  3939. case "alive_link": cLinksAlive += $links.length;
  3940. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3941. break;
  3942. case "adead_link": cLinksDead += $links.length;
  3943. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3944. break;
  3945. case "prem_link": cLinksprem += $links.length;
  3946. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3947. break;
  3948. case "unava_link": cLinksUnava += $links.length; break;
  3949. default:
  3950. }
  3951. cLinksProcessed += $links.length;
  3952. }
  3953. }
  3954. // starts bulkchecking
  3955. //
  3956. // params
  3957. // filterId [string] restricts link detection with passed id attribute
  3958. function startBulkCheck(filterId)
  3959. {
  3960. var cHosts = bulkHosts.length;
  3961. if (cHosts == 0) //no filehostings selected
  3962. return;
  3963. // STEP 1 linkify the links
  3964. var linkifyRegex = '';
  3965. var hostIdx = cHosts;
  3966. while(hostIdx--)
  3967. {
  3968. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3969. }
  3970. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3971. linkify(linkifyRegex);
  3972. //
  3973. //STEP 2 detect link objects
  3974. var xpathAll = '';
  3975. var hostIdx = cHosts;
  3976. while(hostIdx--)
  3977. {
  3978. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3979. }
  3980. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3981. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3982. if (filterId != null) //insert id restriction in the xpath
  3983. {
  3984. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3985. }
  3986. else
  3987. {
  3988. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3989. }
  3990. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3991. if (filterId == null)
  3992. {
  3993. cLinksTotal += links.snapshotLength;
  3994. }
  3995. //
  3996. //STEP 3 bind links with hostings
  3997. var linkIdx = links.snapshotLength;
  3998. var href = null;
  3999. if (linkIdx == 0) // no links found
  4000. return;
  4001. var name;
  4002. while (linkIdx--)
  4003. {
  4004. href = links.snapshotItem(linkIdx).href;
  4005. try // DO NOT REMOVE, filters crap that went through xpath detection
  4006. {
  4007. name = gimmeHostName(href);
  4008. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4009. bulkHostNames[name].links.push(href);
  4010. }
  4011. catch(e)
  4012. {
  4013.  
  4014. }
  4015. }
  4016. //
  4017. //STEP 4 process the links for each filehosting
  4018. var hostIdx = cHosts;
  4019. var host;
  4020. var m,n;
  4021. var arr;
  4022. while (hostIdx--)
  4023. {
  4024. host = bulkHosts[hostIdx];
  4025. arr = host.links;
  4026. if (arr.length == 0) //no links for this hosting, skip
  4027. {
  4028. continue;
  4029. }
  4030. //links match corrections
  4031. if (host.corrMatch != null)
  4032. {
  4033. var idx = arr.length;
  4034. while (idx--)
  4035. {
  4036. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4037. }
  4038. }
  4039. //links replace corrections
  4040. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4041. {
  4042. var idx = arr.length;
  4043. while (idx--)
  4044. {
  4045. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4046. }
  4047. }
  4048. m = arr.length;
  4049. n = host.blockSize;
  4050. if (m > n)
  4051. {
  4052. //insert block separators (RAND_STRING) into the array
  4053. for(var i = n; i < m; i += n + 1)
  4054. {
  4055. arr.splice(i, 0, RAND_STRING);
  4056. }
  4057. }
  4058.  
  4059. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4060. apiUrl: host.apiUrl,
  4061. postData: host.postData,
  4062. resLinkRegex: host.resLinkRegex,
  4063. resLiveRegex: host.resLiveRegex,
  4064. resDeadRegex: host.resDeadRegex,
  4065. resUnavaRegex: host.resUnavaRegex
  4066. });
  4067. //clean up
  4068. arr.length = 0;
  4069. }
  4070. //
  4071.  
  4072. function gimmeHostName(link)
  4073. {
  4074. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4075. }
  4076. }
  4077. function checkLinks(filterId)
  4078. {
  4079. startBulkCheck(filterId);
  4080. start(filterId);
  4081. }
  4082.  
  4083. /**
  4084. * Initialises progress box including event binding and CSS
  4085. */
  4086. function initProgressBox()
  4087. {
  4088. if ($("#warlc-progressbox").length > 0)
  4089. return;
  4090. //progressbox css change size and color of progress box
  4091. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4092. "; opacity:" + (Progress_box_opacity / 100) +
  4093. "; bottom:" + Progress_box_pos_bottom +
  4094. "px; right:" + Progress_box_pos_right +
  4095. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4096. \
  4097. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4098. \
  4099. .warlc-progressitem {}\
  4100. \
  4101. .alive {color:#00FF7F; " + Live_links_color +
  4102. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4103. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4104. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4105. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4106. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4107. );
  4108. //
  4109. $('body').append(' <div id="warlc-progressbox">\
  4110. <div class="warlc-progressbar"></div>\
  4111. <span class="warlc-progressitem alive"></span> - \
  4112. <span class="warlc-progressitem dead"></span> - \
  4113. <span class="warlc-progressitem unava"></span> - \
  4114. <span class="warlc-progressitem prem"></span> - \
  4115. <span class="warlc-progressitem processing"></span>\
  4116. </div>');
  4117. $('#warlc-progressbox').hide().click(function(){
  4118. clearInterval(intervalId);
  4119. $(this).hide();
  4120. return false;
  4121. });
  4122. $(".warlc-progressbar").progressbar({complete: function(){
  4123. $(this).fadeOut();
  4124. clearInterval(intervalId); //stop refreshing the stats
  4125. }
  4126. })
  4127. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4128. }
  4129. /**
  4130. * Updates progress data in progress box
  4131. */
  4132. function updateProgress()
  4133. {
  4134. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4135. if (cLinksTotal) // some links were detected on page
  4136. {
  4137. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4138. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4139. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4140. if ((cLinksTotal - cLinksProcessed) == 0)
  4141. {
  4142. $progressItems.first().text(cLinksAlive)
  4143. .next().text(cLinksDead)
  4144. .next().text(cLinksUnava)
  4145. .next().text(cLinksprem)
  4146. .next().remove();
  4147. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4148. $('#warlc-progressbox div:first-child').remove();
  4149. }
  4150. else
  4151. {
  4152. $progressItems.first().text(cLinksAlive)
  4153. .next().text(cLinksDead)
  4154. .next().text(cLinksUnava)
  4155. .next().text(cLinksprem)
  4156. .next().text(cLinksTotal - cLinksProcessed);
  4157. }
  4158. }
  4159. }
  4160.  
  4161. function check_all_links()
  4162. {
  4163. add_WARLC_style();
  4164.  
  4165. if (Show_progress_stats)
  4166. {
  4167. initProgressBox();
  4168. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4169. }
  4170.  
  4171. startBulkCheck(null);
  4172. start(null);
  4173.  
  4174. if (!containers_processed)
  4175. {
  4176. processContainers();
  4177. }
  4178. }
  4179.  
  4180. //Copies all found dead links to clipboard - right now for Scriptish only
  4181. function copy_dead_to_clipboard()
  4182. {
  4183. initClipBoardTools();
  4184.  
  4185. var deadlinksxpath = "//.[@class='adead_link']";
  4186.  
  4187. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4188. var foundlinkstext = '';
  4189.  
  4190. var foundlinkIdx = foundlinks.snapshotLength;
  4191.  
  4192. while(foundlinkIdx--)
  4193. {
  4194. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4195. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4196. }
  4197.  
  4198. GM_setClipboard(foundlinkstext);
  4199. }
  4200. //Copies all found live links to clipboard
  4201. function copy_live_to_clipboard()
  4202. {
  4203. initClipBoardTools();
  4204.  
  4205. var livelinksxpath = "//.[@class='alive_link']";
  4206.  
  4207. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4208. var foundlinks2text = '';
  4209.  
  4210. var foundlink2Idx = foundlinks2.snapshotLength;
  4211.  
  4212. while(foundlink2Idx--)
  4213. {
  4214. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4215. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4216. }
  4217.  
  4218. GM_setClipboard(foundlinks2text);
  4219. }
  4220.  
  4221. function toggle_autocheck()
  4222. {
  4223. var currentState = GM_getValue("Autocheck", false);
  4224. GM_setValue("Autocheck", !currentState);
  4225.  
  4226. if (currentState == true)
  4227. {
  4228. sendMessage('Autocheck disabled', 'red');
  4229. }
  4230. else
  4231. {
  4232. sendMessage('Autocheck enabled', 'SpringGreen');
  4233. }
  4234. }
  4235. function toggle_Enable_Anonymizer()
  4236. {
  4237. var currentState = GM_getValue("Enable_Anonymizer", false);
  4238. GM_setValue("Enable_Anonymizer", !currentState);
  4239.  
  4240. if (currentState == true)
  4241. {
  4242. GM_setValue("Ref_anonymize_service", "");
  4243. sendMessage('Anonymizer Disabled', 'red');
  4244. }
  4245. else
  4246. {
  4247. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4248. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4249. }
  4250. }
  4251.  
  4252. function KeyDownHandler(event)
  4253. {
  4254. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4255. if (event.ctrlKey && event.altKey)
  4256. {
  4257. switch(kcode)
  4258. {
  4259. case 65 : check_all_links(); break;
  4260. case 67 : configuration(); break;
  4261. case 68 : copy_dead_to_clipboard(); break;
  4262. case 76 : copy_live_to_clipboard(); break;
  4263. case 87 : toggle_autocheck(); break;
  4264. case 90 : toggle_Enable_Anonymizer(); break;
  4265. }
  4266. }
  4267. }
  4268.  
  4269. //
  4270. //
  4271. // SCRIPT EXECUTION START POINT
  4272. //
  4273. //
  4274. // Safari specific GM_getResourceText override
  4275. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4276. {
  4277. GM_getResourceText = function(res) {
  4278. var $cssText = GM_getValue("jquery_css", "");
  4279. if ($cssText == "")
  4280. {
  4281. GM_xmlhttpRequest(
  4282. {
  4283. method: 'GET',
  4284. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4285. onload: function (result)
  4286. {
  4287. GM_setValue("jquery_css", result.responseText);
  4288. window.location.reload();
  4289. }
  4290. });
  4291. }
  4292. else
  4293. {
  4294. return $cssText;
  4295. }
  4296. }
  4297. }
  4298. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4299. GM_addStyle(jQueryUICSS);
  4300. //init the stuff
  4301. setVariables();
  4302. initBulkCheck();
  4303. //init info boxes
  4304. messageBox.style.position = 'fixed';
  4305. messageBox.style.top = '20px';
  4306. messageBox.style.left = '10px';
  4307. messageBox.style.opacity = '0.85';
  4308. messageBox.style.background = 'DimGray';
  4309. messageBox.style.fontSize = '36px';
  4310. document.body.appendChild(messageBox);
  4311.  
  4312. //register GM menu commands & keyboard shortcut event handler
  4313. if (Keyboard_functions)
  4314. {
  4315. $(document).keydown(KeyDownHandler);
  4316. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4317. 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);
  4318. }
  4319. else
  4320. {
  4321. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4322. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4323. }
  4324.  
  4325. //start linkchecking
  4326. if (Autocheck)
  4327. {
  4328. $(document).ready(check_all_links);
  4329. }
  4330.  
  4331. //
  4332. //
  4333. // SCRIPT EXECUTION END POINT
  4334. //
  4335. //
  4336.  
  4337. //shows configuration box
  4338. function configuration()
  4339. {
  4340.  
  4341. //prevent multiple creating of config window
  4342. if ($("#hideshow").length)
  4343. {
  4344. $("#hideshow").show();
  4345. return;
  4346. }
  4347.  
  4348. var configcss = '\
  4349. .popup_block .popup fieldset{\
  4350. padding: 1%;\
  4351. border-style: solid;\
  4352. border-width: 1px;\
  4353. border-color: gray;\
  4354. margin-bottom: 1px;\
  4355. }\
  4356. #h3hideshowtitle{\
  4357. font-size: 2em;\
  4358. }\
  4359. #h3hideshow{\
  4360. font-size: 1.5em;\
  4361. }\
  4362. #imghideshow {\
  4363. border: none;\
  4364. }\
  4365. #plusimage{\
  4366. display:inline;\
  4367. }\
  4368. #hideshow {\
  4369. position: fixed;\
  4370. width: 100%;\
  4371. height: 100%;\
  4372. top: 0;\
  4373. left: 0;\
  4374. font-size:12px;\
  4375. z-index:2147483645;\
  4376. text-align:left;\
  4377. }\
  4378. #fade {\
  4379. background: #000;\
  4380. position: fixed;\
  4381. width: 100%;\
  4382. height: 100%;\
  4383. opacity: .80;\
  4384. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4385. left: 0;\
  4386. z-index: 10;\
  4387. }\
  4388. .popup_block {\
  4389. font-family:verdana;\
  4390. color:black;\
  4391. background: #ddd;\
  4392. padding: 10px 20px;\
  4393. border: 2px solid DarkOrange;\
  4394. float: left;\
  4395. width: 700px;\
  4396. position: absolute;\
  4397. top: 7%;\
  4398. left: 50%;\
  4399. bottom: 7%;\
  4400. margin: 0 0 0 -350px;\
  4401. -moz-border-radius:10px;\
  4402. z-index: 100;\
  4403. \
  4404. }\
  4405. .popup_block .popup {\
  4406. float: left;\
  4407. width: 100%;\
  4408. background: #fff;\
  4409. margin: 10px 0;\
  4410. padding: 0px 0 0px;\
  4411. border-left: 1px solid #bbb;\
  4412. border-top: 1px solid #bbb;\
  4413. border-right: 1px solid #bbb;\
  4414. }\
  4415. #h3hideshow{\
  4416. margin: 1px 0 0px;\
  4417. padding: 1px 10px;\
  4418. border-bottom: 1px solid #bbb;\
  4419. font-size: 1.5em;\
  4420. font-weight: normal;\
  4421. cursor:pointer;\
  4422. background:#DDDDDD none repeat scroll 0 0;\
  4423. }\
  4424. #h3hideshow:hover{\
  4425. background:#C0BEBE none repeat scroll 0 0;\
  4426. }\
  4427. #h3hideshowtitle{\
  4428. margin: 2px 0 0px;\
  4429. padding: 7px 10px;\
  4430. border-bottom: 1px solid #bbb;\
  4431. font-size: 1.5em;\
  4432. font-weight: normal;\
  4433. }\
  4434. .popup_block .popup a {\
  4435. color:DarkSkyBlue;\
  4436. text-decoration:none;\
  4437. }\
  4438. .popup p {\
  4439. padding: 1px 10px;\
  4440. margin: 0px 0;\
  4441. -x-system-font:none;\
  4442. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4443. font-size:10pt;\
  4444. font-size-adjust:none;\
  4445. font-stretch:normal;\
  4446. font-style:normal;\
  4447. font-variant:normal;\
  4448. font-weight:normal;\
  4449. line-height:normal;\
  4450. }\
  4451. #sites {\
  4452. padding: 1px 10px;\
  4453. margin: 0px 0;display:inline-block;width:16em;\
  4454. }\
  4455. #dev_ver {\
  4456. color: #00FF00;\
  4457. background: Black;\
  4458. text-align: right;\
  4459. }\
  4460. #sites_suspended {\
  4461. padding: 1px 10px;\
  4462. margin: 0px 0;display:inline-block;width:16em;\
  4463. text-decoration: line-through;\
  4464. }\
  4465. .popup img.cntrl {\
  4466. position: absolute;\
  4467. right: -15px;\
  4468. top: -15px;\
  4469. }\
  4470. #bulk {\
  4471. font-size:8pt;\
  4472. color:orange;\
  4473. padding: 1px 10px;\
  4474. margin: 0px 0;\
  4475. display:inline-block;\
  4476. width:100px;\
  4477. }\
  4478. #note {\
  4479. font-size:7pt;\
  4480. color:gray;\
  4481. padding: 1px 10px;\
  4482. margin: 0px 0;display:inline-block;\
  4483. min-width:100px;\
  4484. }\
  4485. #rednote {\
  4486. font-size:7pt;\
  4487. color:red;\
  4488. padding: 1px 10px;\
  4489. margin: 0px 0;display:inline-block;\
  4490. }\
  4491. #configinfo {\
  4492. font-size:8pt;\
  4493. color:gray;\
  4494. padding: 1px 10px;\
  4495. margin: 0px 0;display:inline-block;width:60em;\
  4496. }\
  4497. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4498. color:black;\
  4499. border-style: solid;\
  4500. border-width: 1px;\
  4501. border-color: gray;\
  4502. }\
  4503. #h3hideshowcontent {\
  4504. min-height:220px;\
  4505. max-height:220px;\
  4506. overflow:auto;\
  4507. display: none;\
  4508. padding: 10px 10px;\
  4509. }\
  4510. #specinfo{\
  4511. font-size:14px;\
  4512. }\
  4513. .warlc-ui-tab {\
  4514. height:300px;\
  4515. overflow:auto;\
  4516. }\
  4517. #warlcsitelist2, #warlcsitelist1 {\
  4518. height:220px;\
  4519. border-top: 1px solid #ddd;\
  4520. padding-top: 5px;\
  4521. overflow:auto;\
  4522. }\
  4523. input:hover+label {\
  4524. background:#F1F77C;\
  4525. font-size:110%;\
  4526. }\
  4527. ';
  4528.  
  4529. GM_addStyle(configcss);
  4530.  
  4531. var customRulesRefHTML =
  4532. '\
  4533. <br>\
  4534. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4535. <b>@keyword</b> <i>parameter</i>\
  4536. <br><br>\
  4537. 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. \
  4538. <br><br>\
  4539. 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.\
  4540. 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.\
  4541. 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.\
  4542. 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,\
  4543. but all commands until the next valid @customrule are ignored.<br><br>\
  4544. Available forms and types:\
  4545. <ul>\
  4546. <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.\
  4547. <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.\
  4548. <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.\
  4549. <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.\
  4550. </ul>\
  4551. Other available commands:<br>\
  4552. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4553. <ul>\
  4554. <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.\
  4555. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4556. <ul>examples:<br>\
  4557. <li>good: <i>filehost.com/download/</i><br>\
  4558. <li>good: <i>download.filehost.net/?d=</i><br>\
  4559. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4560. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4561. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4562. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4563. <li>bad: <i>filehost.com</i> - no slash<br>\
  4564. </ul>\
  4565. \
  4566. <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.\
  4567. 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 \
  4568. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4569. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4570. 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.)\
  4571. Two spaces again match any whitespace.\
  4572. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4573. Two spaces again match any whitespace.\
  4574. <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. \
  4575. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4576. </ul>\
  4577. \
  4578. ';
  4579.  
  4580. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4581. var configurationinnerHTML =
  4582. '<div id="fade"></div>\
  4583. <div class="popup_block">\
  4584. <div class="popup">\
  4585. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9B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t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4587. <div id="warlc-conf-tabs">\
  4588. <ul>\
  4589. <li><a href="#tabs-1">Filehostings</a></li>\
  4590. <li><a href="#tabs-2">Containers</a></li>\
  4591. <li><a href="#tabs-5">Custom rules</a></li>\
  4592. <li><a href="#tabs-3">Settings</a></li>\
  4593. <li><a href="#tabs-4">About</a></li>\
  4594. </ul>\
  4595. <div id="tabs-1" class="warlc-ui-tab">\
  4596. <div class="warlc-ui-buttonset">\
  4597. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4598. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4599. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4600. </div><br>\
  4601. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4602. <div id="warlcsitelist1"><span>Empty</span></div>\
  4603. </div>\
  4604. <div id="tabs-2" class="warlc-ui-tab">\
  4605. <div class="warlc-ui-buttonset">\
  4606. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4607. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4608. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4609. </div><br>\
  4610. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4611. <div id="warlcsitelist2"><span>Empty</span></div>\
  4612. </div>\
  4613. <div id="tabs-5" class="warlc-ui-tab">\
  4614. <div class="warlcsettings">\
  4615. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4616. <br>\
  4617. <div>Edit custom rules: \
  4618. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4619. <div id="customRulesReference" style="display:none;">'
  4620. + customRulesRefHTML + '\
  4621. </div>\
  4622. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4623. </div>\
  4624. </div>\
  4625. </div>\
  4626. <div id="tabs-3" class="warlc-ui-tab">\
  4627. <div class="warlcsettings">\
  4628. <fieldset>\
  4629. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4630. <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>\
  4631. </fieldset>\
  4632. <fieldset>\
  4633. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4634. <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>\
  4635. <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>\
  4636. <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>\
  4637. <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>\
  4638. <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>\
  4639. <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>\
  4640. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4641. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4642. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4643. <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>\
  4644. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4645. <fieldset>\
  4646. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4647. <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>\
  4648. <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>\
  4649. <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>\
  4650. </fieldset>\
  4651. </fieldset>\
  4652. <fieldset>\
  4653. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4654. </fieldset>\
  4655. <fieldset>\
  4656. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4657. </fieldset>\
  4658. <fieldset>\
  4659. <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>\
  4660. </fieldset>\
  4661. <fieldset>\
  4662. <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>\
  4663. </fieldset>\
  4664. </div>\
  4665. </div>\
  4666. <div id="tabs-4" class="warlc-ui-tab">\
  4667. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4668. <br />\
  4669. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4670. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4671. <br />\
  4672. <p><b>Currently supported:</b><br>\
  4673. Filehostings: ' + allHostNames.length + '<br />\
  4674. Containers: ' + allContainerNames.length + '<br />\
  4675. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4676. <br />\
  4677. <p><b>Based on:</b><br>\
  4678. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4679. <br />\
  4680. <p><b>Uses:</b></p>\
  4681. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4682. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4683. <br />\
  4684. <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>\
  4685. </div>\
  4686. </div>\
  4687. </div>\
  4688. </div>';
  4689. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4690. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4691. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4692. var elmHostList = document.getElementById("warlcsitelist1");
  4693. var elmContainerList = document.getElementById("warlcsitelist2");
  4694. buildSettings();
  4695. buildSitelist("", allHostNames, elmHostList);
  4696. buildSitelist("", allContainerNames, elmContainerList);
  4697. if (DEBUG_MODE)
  4698. {
  4699. //log all sites availability status
  4700. diagSites();
  4701. }
  4702. //handler for checkbox state change
  4703. function changeConfiguration(e)
  4704. {
  4705. var element = e.target;
  4706.  
  4707. if (element.type == 'checkbox')
  4708. {
  4709. if (element.checked == 1)
  4710. {
  4711. GM_setValue(element.id, true);
  4712. }
  4713. else
  4714. {
  4715. GM_setValue(element.id, false);
  4716. }
  4717.  
  4718. }
  4719. setVariables();
  4720. }
  4721.  
  4722. //Selects all filehosting checkboxes
  4723. function selectAll()
  4724. {
  4725. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4726. .each(function(index, element){GM_setValue(this.id, true)});
  4727. }
  4728.  
  4729. //Deselects all filehosting checkboxes
  4730. function selectNone()
  4731. {
  4732. $(":checkbox:visible:checked").prop("checked",false)
  4733. .each(function(index, element){GM_setValue(this.id, false)});
  4734. }
  4735.  
  4736. //Inverts filehosting checkboxes selection
  4737. function selectInvert()
  4738. {
  4739. var $checked = $(":checkbox:visible:checked");
  4740. var $unchecked = $(":checkbox:visible:not(:checked)");
  4741. $unchecked.prop("checked",true)
  4742. .each(function(index, element){GM_setValue(this.id, true)});
  4743. $checked.prop("checked",false)
  4744. .each(function(index, element){GM_setValue(this.id, false)});
  4745. }
  4746. //toggles anonymizer on off
  4747. function Enable_Anonymizer()
  4748. {
  4749. var $checked = $(":checkbox:visible:checked");
  4750. var $unchecked = $(":checkbox:visible:not(:checked)");
  4751. $unchecked.prop("checked",true)
  4752. .each(function(index, element){GM_setValue(this.id, true)});
  4753. $checked.prop("checked",false)
  4754. .each(function(index, element){GM_setValue(this.id, false)});
  4755. }
  4756.  
  4757. function changeRefAnonymizer(){
  4758. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4759. }
  4760.  
  4761. //Sets live links color
  4762. function changeColorLive()
  4763. {
  4764. var inColorLive = document.getElementById("inputColorLive");
  4765. inColorLive.style.background = inColorLive.value;
  4766. GM_setValue("Live_links_color", inColorLive.value);
  4767. }
  4768.  
  4769. //Sets dead links color
  4770. function changeColorDead()
  4771. {
  4772. var inColorDead = document.getElementById("inputColorDead");
  4773. inColorDead.style.background = inColorDead.value;
  4774. GM_setValue("Dead_links_color", inColorDead.value);
  4775. }
  4776.  
  4777. //Sets temp. unavailable links color
  4778. function changeColorTemp()
  4779. {
  4780. var inColorTemp = document.getElementById("inputColorTemp");
  4781. inColorTemp.style.background = inColorTemp.value;
  4782. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4783. }
  4784.  
  4785. //Sets temp. unavailable links color
  4786. function changeColorCont()
  4787. {
  4788. var inColorCont = document.getElementById("inputColorCont");
  4789. inColorCont.style.background = inColorCont.value;
  4790. GM_setValue("Container_links_color", inColorCont.value);
  4791. }
  4792. //Sets premium. links color
  4793. function changeColorprem()
  4794. {
  4795. var inColorprem = document.getElementById("inputColorprem");
  4796. inColorprem.style.background = inColorprem.value;
  4797. GM_setValue("Premium_links_color", inColorprem.value);
  4798. }
  4799.  
  4800. //Diagnose sites for availability
  4801. function diagSites()
  4802. {
  4803. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4804.  
  4805. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4806. {
  4807. if (boxes[i].type == "checkbox")
  4808. {
  4809. checkAvailability(boxes[i]);
  4810. }
  4811. }
  4812.  
  4813. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4814.  
  4815. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4816. {
  4817. if (boxes[i].type == "checkbox")
  4818. {
  4819. checkAvailability(boxes[i]);
  4820. }
  4821. }
  4822.  
  4823. function checkAvailability(cbElm)
  4824. {
  4825. var cb = cbElm;
  4826. GM_xmlhttpRequest(
  4827. {
  4828. method: 'HEAD',
  4829. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4830. headers: {
  4831. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4832. 'Accept': 'text/xml',
  4833. 'Referer': ""
  4834. },
  4835. onload: function (result)
  4836. {
  4837. if (result.status != 200)
  4838. {
  4839. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4840. }
  4841. },
  4842. onerror: function (result)
  4843. {
  4844. if (result.status != 200)
  4845. {
  4846. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4847. }
  4848. }
  4849. });
  4850. }
  4851. }
  4852. function buildSettings()
  4853. {
  4854. $(".warlcsettings :checkbox").each(function(){
  4855. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4856. .click(function(e){
  4857. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4858. setVariables();
  4859. });
  4860. })
  4861. }
  4862. //Dynamic build of host list
  4863. //param search [string] searches for hostnames matching search substring
  4864. //param siteNames [array] array of site names
  4865. //param targetNode [DOM Node] where the list should be built
  4866. // first child node is replaced
  4867. function buildSitelist(search, siteNames, targetNode)
  4868. {
  4869. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4870. var $targetNode = $(targetNode).empty();
  4871. var searchedSite = "";
  4872. $.each(siteNames, function(i, site){
  4873. if (searchedSite = site.match(searchRegex))
  4874. {
  4875. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4876. //ensuring backward compatibility with the rest of code, to be refactored later
  4877. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4878. //
  4879. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4880. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4881. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4882. );
  4883. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4884. .change(changeConfiguration);
  4885. $targetNode.append('<br />');
  4886. }
  4887. });
  4888. $targetNode.append("<hr>");
  4889. //obsolete hosts checkbox
  4890. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4891. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4892. .change(changeConfiguration);
  4893. $targetNode.append('<br />');
  4894. var foundName = "";
  4895. $.each(allObsoleteNames, function(i, site){
  4896. if (foundName = allObsoleteNames[i].match(searchRegex))
  4897. {
  4898. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4899. }
  4900. })
  4901. }
  4902. var hostSearchBox = document.getElementById("hostSearchBox");
  4903. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4904. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4905. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4906. $(".warlc-ui-select-all").click(selectAll).button();
  4907. $(".warlc-ui-select-none").click(selectNone).button();
  4908. $(".warlc-ui-select-invert").click(selectInvert).button();
  4909. $(".warlc-ui-buttonset").buttonset();
  4910. var inColorLive = document.getElementById("inputColorLive");
  4911. inColorLive.addEventListener('keyup', changeColorLive, false);
  4912.  
  4913. var inColorDead = document.getElementById("inputColorDead");
  4914. inColorDead.addEventListener('keyup', changeColorDead, false);
  4915.  
  4916. var inColorTemp = document.getElementById("inputColorTemp");
  4917. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4918.  
  4919. var inColorCont = document.getElementById("inputColorCont");
  4920. inColorCont.addEventListener('keyup', changeColorCont, false);
  4921. var inColorprem = document.getElementById("inputColorprem");
  4922. inColorprem.addEventListener('keyup', changeColorprem, false);
  4923. $("#refAnonymizer").change(changeRefAnonymizer);
  4924. //buttons and edit boxes init end
  4925.  
  4926. //icon sets radio buttons
  4927. var radioButtons = document.getElementsByName("warlciconset");
  4928. radioButtons[Icon_set].checked = "checked";
  4929.  
  4930. radioButtons[0].addEventListener("change", updateIconSet);
  4931. radioButtons[1].addEventListener("change", updateIconSet);
  4932. radioButtons[2].addEventListener("change", updateIconSet);
  4933. radioButtons[3].addEventListener("change", updateIconSet);
  4934. function updateIconSet()
  4935. {
  4936. GM_setValue("Icon_set", this.value * 1);
  4937. }
  4938. //
  4939. $('#showCustomRulesReference').click(function(e){
  4940. e.preventDefault();
  4941. $('#customRulesReference').toggle();
  4942. });
  4943. $('#Custom_rules_text')
  4944. .val(Custom_rules_text)
  4945. .change(saveCustomRules);
  4946. function saveCustomRules(e)
  4947. {
  4948. var cr = parseCustomRules(this.value);
  4949. if (cr.info.length)
  4950. 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, ' '));
  4951. GM_setValue('Custom_rules_text', this.value);
  4952. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4953. }
  4954. }
  4955.  
  4956. //begin standard link checking algorithm
  4957. function start(filterId)
  4958. {
  4959. var doNotLinkify = Do_not_linkify_DL_links;
  4960.  
  4961. // USER SELECTED FILE HOSTS INITIALIZATION START
  4962. var http_file_hosts = new Array(); //standard hostings
  4963. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4964. var http_file_hosts_obsolete = new Array(); //dead hostings
  4965. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4966.  
  4967. initFileHosts();
  4968. initFileHostsHeadersOnly();
  4969. initFileHostsCustom(); //CustomRules
  4970. // USER SELECTED FILE HOSTS INITIALIZATION END
  4971.  
  4972. // LINKIFICATION START
  4973. var totalxpath = '';
  4974. var totalxpathcoded = '';
  4975. var totalxpathobsolete = '';
  4976. var totalxpathheadersonly = '';
  4977. var totalourls = '';
  4978.  
  4979. var filehostLen = http_file_hosts.length;
  4980. var filehostCodedLen = http_file_hosts_coded.length;
  4981. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4982. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4983.  
  4984. var filehostIdx = filehostLen;
  4985. var filehostCodedIdx = filehostCodedLen;
  4986. var filehostObsoleteIdx = filehostObsoleteLen;
  4987. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4988.  
  4989. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4990. return;
  4991.  
  4992. while (filehostIdx--)
  4993. {
  4994. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4995. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4996. }
  4997.  
  4998. while (filehostCodedIdx--)
  4999. {
  5000. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5001. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5002. }
  5003.  
  5004. while (filehostObsoleteIdx--)
  5005. {
  5006. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5007. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5008. }
  5009.  
  5010. while (filehostHeadersOnlyIdx--)
  5011. {
  5012. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5013. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5014. }
  5015.  
  5016. totalourls = totalourls.replace(/\|$/g, "");
  5017. //TODO: further refactoring needed
  5018. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5019. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5020. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5021. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5022. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5023. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5024. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5025. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5026. if (filterId != null) //insert id restriction in the xpath
  5027. {
  5028. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5029. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5030. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5031. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5032. }
  5033. else
  5034. {
  5035. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5036. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5037. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5038. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5039. }
  5040. linkify(totalourls);
  5041. //LINKIFICATION END
  5042. //ENCRYPTED LINKS PROCESSING START
  5043. if (http_file_hosts_coded.length > 0)
  5044. {
  5045. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5046.  
  5047. // decrypt coded links (redirects, link protectors etc.)
  5048. if (linksCoded.snapshotLength > 0)
  5049. {
  5050. var link;
  5051. var reallinkreg;
  5052. var reallinkcorrection;
  5053.  
  5054. if (filterId == null)
  5055. {
  5056. cLinksTotal += linksCoded.snapshotLength;
  5057. }
  5058.  
  5059. var y = linksCoded.snapshotLength - 1;
  5060. do
  5061. {
  5062. // linksCoded.snapshotItem(y).id = 'processing_link';
  5063. link = linksCoded.snapshotItem(y);
  5064. filehostIdx = filehostCodedLen;
  5065. while (filehostIdx--)
  5066. {
  5067. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5068. {
  5069. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5070. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5071. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5072.  
  5073. decurl(link, reallinkreg, reallinkcorrection);
  5074. break;
  5075. }
  5076. }
  5077. }
  5078. while (y--);
  5079. }
  5080. }
  5081. //ENCRYPTED LINKS PROCESSING END
  5082.  
  5083. //STANDARD LINKCHECKING START
  5084. if (http_file_hosts.length > 0)
  5085. {
  5086. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5087.  
  5088. if (filterId == null)
  5089. {
  5090. cLinksTotal += lianks.snapshotLength;
  5091. }
  5092.  
  5093. if (lianks.snapshotLength > 0)
  5094. {
  5095. var link;
  5096.  
  5097. var URL = "";
  5098. var name = "";
  5099. var isAliveRegex = "";
  5100. var isDeadRegex = "";
  5101. var isUnavaRegex = "";
  5102. var ispremRegex = "";
  5103. var tryLoop = false;
  5104.  
  5105. var y = lianks.snapshotLength;
  5106.  
  5107. while (y--)
  5108. {
  5109. link = lianks.snapshotItem(y);
  5110.  
  5111. filehostIdx = filehostLen;
  5112. while (filehostIdx--)
  5113. {
  5114. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5115. {
  5116. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5117. isAliveRegex = http_file_hosts[filehostIdx][1];
  5118. isDeadRegex = http_file_hosts[filehostIdx][2];
  5119. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5120. ispremRegex = http_file_hosts[filehostIdx][6];
  5121. tryLoop = http_file_hosts[filehostIdx][5];
  5122.  
  5123. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5124.  
  5125. break;
  5126. }
  5127. }
  5128. }
  5129. }
  5130. }
  5131. //STANDARD LINKCHECKING END
  5132. //OBSOLETE FILE HOSTS PROCESSING START
  5133. if (filehostObsoleteLen > 0)
  5134. {
  5135. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5136.  
  5137. var obsoleteLink;
  5138.  
  5139. //check links
  5140. if (obsoletelinks.snapshotLength > 0)
  5141. {
  5142. var y = obsoletelinks.snapshotLength;
  5143.  
  5144. if (filterId == null)
  5145. {
  5146. cLinksTotal += y;
  5147. }
  5148.  
  5149. while (y--)
  5150. {
  5151. obsoleteLink = obsoletelinks.snapshotItem(y);
  5152.  
  5153. if (Display_tooltip_info)
  5154. {
  5155. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5156. }
  5157. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5158. }
  5159. }
  5160. }
  5161. //OBSOLETE FILE HOSTS PROCESSING END
  5162.  
  5163. //DIRECT LINKCHECKING START
  5164. if (http_file_hosts_headers_only.length > 0)
  5165. {
  5166. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5167.  
  5168. //check links
  5169. if (links.snapshotLength > 0)
  5170. {
  5171. var link;
  5172. var isAliveRegex;
  5173. var isDeadRegex;
  5174. var ispremRegex;
  5175.  
  5176. var y = links.snapshotLength;
  5177.  
  5178.  
  5179. if (filterId == null)
  5180. {
  5181. cLinksTotal += y;
  5182. }
  5183.  
  5184. while (y--)
  5185. {
  5186. // links.snapshotItem(y).id = 'processing_link';
  5187. link = links.snapshotItem(y);
  5188. filehostIdx = filehostHeadersOnlyLen;
  5189. while (filehostIdx--)
  5190. {
  5191. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5192. {
  5193. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5194. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5195. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5196. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5197.  
  5198. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5199.  
  5200. break;
  5201. }
  5202. }
  5203. }
  5204.  
  5205. }
  5206. }
  5207. //DIRECT LINKCHECKING END
  5208.  
  5209.  
  5210. //finds the real url on the page, replaces link.href with it and calls geturl
  5211. function decurl(link, reallinkreg, reallinkcorrection)
  5212. {
  5213.  
  5214. GM_xmlhttpRequest(
  5215. {
  5216. method: 'GET',
  5217. url: link.href,
  5218. headers: {
  5219. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5220. 'Accept': 'text/xml',
  5221. 'Referer': ""
  5222. },
  5223. onload: function (result)
  5224. {
  5225. // cLinksProcessed++;
  5226.  
  5227. var reallink = result.responseText.match(reallinkreg)[0];
  5228. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5229.  
  5230. link.href = reallink;
  5231.  
  5232. var i = http_file_hosts.length - 1;
  5233. do
  5234. {
  5235. if ((reallink.match(http_file_hosts[i][0])))
  5236. {
  5237. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5238. var isAliveRegex = http_file_hosts[i][1];
  5239. var isDeadRegex = http_file_hosts[i][2];
  5240. var isUnavaRegex = http_file_hosts[i][3];
  5241. var ispremRegex = http_file_hosts[i][4];
  5242.  
  5243. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5244.  
  5245. break;
  5246. }
  5247. }
  5248. while (i--);
  5249. }
  5250. });
  5251. }
  5252.  
  5253. function randUA()
  5254. {
  5255. //TODO
  5256. }
  5257. //Processes link
  5258. //
  5259. // [string] link link URL
  5260. // [string] isAliveRegex alive link regex
  5261. // [string] isDeadRegex dead link regex
  5262. // [string] isUnavaRegex unavailable link regex
  5263. // [string] ispremRegex premium link regex
  5264. // [boolean] tryLoop repeats request until succeeded
  5265. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5266. {
  5267. GM_xmlhttpRequest(
  5268. {
  5269. method: 'GET',
  5270. url: link.href,
  5271. headers: {
  5272. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5273. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5274. 'Referer': ""
  5275. },
  5276. onload: function (result)
  5277. {
  5278. var res = result.responseText;
  5279. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5280. {
  5281. displayTheCheckedLink(link, 'alive_link');
  5282. return;
  5283. }
  5284.  
  5285. if (res.match(isAliveRegex))
  5286. {
  5287. displayTheCheckedLink(link, 'alive_link');
  5288. return;
  5289. }
  5290.  
  5291. if (res.match(isDeadRegex))
  5292. {
  5293. displayTheCheckedLink(link, 'adead_link');
  5294. return;
  5295. }
  5296.  
  5297. if (isUnavaRegex && res.match(isUnavaRegex))
  5298. {
  5299. displayTheCheckedLink(link, 'unava_link');
  5300. return;
  5301. }
  5302. if (res.match(ispremRegex))
  5303. {
  5304. displayTheCheckedLink(link, 'prem_link');
  5305. return;
  5306. }
  5307.  
  5308. var resStatus = result.status;
  5309.  
  5310. if (resStatus == 404)
  5311. {
  5312. displayTheCheckedLink(link, 'adead_link');
  5313. }
  5314. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5315. {
  5316. if (tryLoop)
  5317. {
  5318. //wait 1-5 seconds and repeat the request
  5319. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5320. }
  5321. else
  5322. {
  5323. displayTheCheckedLink(link, 'unava_link');
  5324. }
  5325.  
  5326. return;
  5327. }
  5328. },
  5329. onerror: function ()
  5330. {
  5331. displayTheCheckedLink(link, 'unava_link');
  5332. }
  5333. });
  5334. }
  5335.  
  5336. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5337. {
  5338. GM_xmlhttpRequest(
  5339. {
  5340. method: 'HEAD',
  5341. url: link.href,
  5342. headers: {
  5343. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5344. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5345. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5346. 'Referer': ""
  5347. },
  5348. onload: function (result)
  5349. {
  5350. var resStatus = result.status;
  5351. var resHeaders = "";
  5352. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5353. {
  5354. displayTheCheckedLink(link, 'adead_link');
  5355. return;
  5356. }
  5357.  
  5358. resHeaders = result.responseHeaders;
  5359.  
  5360. if (resHeaders.match(isDeadRegex))
  5361. {
  5362. displayTheCheckedLink(link, 'adead_link');
  5363. return;
  5364. }
  5365.  
  5366. if (resHeaders.match(isAliveRegex))
  5367. {
  5368. displayTheCheckedLink(link, 'alive_link');
  5369. return;
  5370. }
  5371. if (resHeaders.match(ispremRegex))
  5372. {
  5373. displayTheCheckedLink(link, 'prem_link');
  5374. return;
  5375. }
  5376. },
  5377. onerror: function ()
  5378. {
  5379. displayTheCheckedLink(link, 'unava_link');
  5380. }
  5381. });
  5382. }
  5383.  
  5384. //Delinkfifies the <a> element object
  5385. function delinkifyLink(link)
  5386. {
  5387. var spanElm = document.createElement("span");
  5388. spanElm.className = link.className;
  5389. spanElm.innerHTML = link.innerHTML;
  5390.  
  5391. if (Display_tooltip_info)
  5392. {
  5393. spanElm.href = link.href;
  5394. spanElm.warlc_error = link.warlc_error;
  5395. switch (link.className){
  5396. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5397. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5398. case "unava_link": //reserved
  5399. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5400. default:
  5401. }
  5402. }
  5403. link.parentNode.replaceChild(spanElm, link);
  5404. }
  5405.  
  5406. //Assigns result status to the <a> element object and calls delinkifying eventually
  5407. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5408. function displayTheCheckedLink(link, resultStatus)
  5409. {
  5410. link.className = resultStatus;
  5411. link.href = Ref_anonymize_service + link.href;
  5412. if (Display_tooltip_info)
  5413. {
  5414. switch (resultStatus){
  5415. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5416. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5417. case "unava_link": //reserved
  5418. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5419. default:
  5420. }
  5421. }
  5422. if (doNotLinkify)
  5423. {
  5424. delinkifyLink(link);
  5425. }
  5426. cLinksProcessed++;
  5427.  
  5428. if (resultStatus == "alive_link")
  5429. {
  5430. cLinksAlive++;
  5431. return;
  5432. }
  5433.  
  5434. if (resultStatus == "adead_link")
  5435. {
  5436. cLinksDead++;
  5437. return;
  5438. }
  5439.  
  5440. if (resultStatus == "unava_link")
  5441. {
  5442. cLinksUnava++;
  5443. }
  5444. if (resultStatus == "prem_link")
  5445. {
  5446. cLinksprem++;
  5447. return;
  5448. }
  5449. }
  5450.  
  5451.  
  5452. function initFileHosts()
  5453. {
  5454.  
  5455. function addObsoleteHost(linkRegex, xpathEx)
  5456. {
  5457. var host = new Array(2);
  5458. host[0] = linkRegex;
  5459. host[1] = xpathEx;
  5460. http_file_hosts_obsolete.push(host);
  5461. }
  5462.  
  5463. //obsolete file hosts init start
  5464. if (Obsolete_file_hosts)
  5465. {
  5466. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5467. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5468. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5469. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5470. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5471. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5472. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5473. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5474. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5475. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5476. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5477. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5478. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5479. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5480. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5481. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5482. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5483. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5484. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5485. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5486. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5487. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5488. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5489. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5490. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5491. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5492. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5493. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5494. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5495. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5496. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5497. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5498. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5499. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5500. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5501. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5502. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5503. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5504. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5505. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5506. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5507. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5508. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5509. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5510. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5511. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5512. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5513. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5514. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5515. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5516. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5517. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5518. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5519. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5520. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5521. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5522. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5523. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5524. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5525. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5526. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5527. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5528. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5529. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5530. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5531. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5532. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5533. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5534. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5535. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5536. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5537. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5538. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5539. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5540. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5541. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5542. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5543. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5544. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5545. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5546. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5547. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5548. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5549. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5550. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5551. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5552. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5553. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5554. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5555. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5556. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5557. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5558. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5559. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5560. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5561. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5562. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5563. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5564. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5565. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5566. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5567. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5568. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5569. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5570. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5571. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5572. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5573. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5574. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5575. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5576. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5577. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5578. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5579. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5580. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5581. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5582. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5583. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5584. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5585. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5586. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5587. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5588. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5589. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5590. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5591. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5592. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5593. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5594. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5595. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5596. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5597. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5598. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5599. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5600. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5601. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5602. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5603. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5604. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5605. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5606. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5607. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5608. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5609. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5610. 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')]");
  5611. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5612. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5613. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5614. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5615. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5616. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5617. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5618. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5619. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5620. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5621. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5622. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5623. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5624. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5625. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5626. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5627. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5628. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5629. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5630. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5631. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5632. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5633. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5634. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5635. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5636. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5637. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5638. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5639. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5640. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5641. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5642. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5643. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5644. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5645. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5646. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5647. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5648. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5649. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5650. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5651. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5652. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5653. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5654. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5655. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5656. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5657. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5658. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5659. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5660. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5661. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5662. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5663. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5664. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5665. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5666. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5667. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5668. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5669. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5670. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5671. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5672. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5673. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5674. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5675. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5676. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5677. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5678. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5679. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5680. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5681. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5682. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5683. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5684. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5685. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5686. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5687. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5688. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5689. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5690. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5691. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5692. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5693. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5694. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5695. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5696. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5697. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5698. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5699. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5700. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5701. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5702. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5703. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5704. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5705. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5706. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5707. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5708. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5709. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5710. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5711. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5712. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5713. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5714. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5715. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5716. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5717. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5718. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5719. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5720. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5721. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5722. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5723. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5724. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5725. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5726. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5727. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5728. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5729. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5730. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5731. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5732. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5733. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5734. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5735. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5736. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5737. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5738. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5739. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5740. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5741. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5742. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5743. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5744. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5745. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5746. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5747. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5748. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5749. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5750. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5751. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5752. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5753. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5754. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5755. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5756. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5757. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5758. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5759. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5760. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5761. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5762. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5763. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5764. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5765. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5766. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5767. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5768. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5769. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5770. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5771. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5772. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5773. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5774. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5775. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5776. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5777. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5778. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5779. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5780. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5781. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5782. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5783. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5784. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5785. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5786. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5787. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5788. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5789. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5790. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5791. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5792. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5793. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5794. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5795. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5796. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5797. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5798. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5799. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5800. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5801. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5802. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5803. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5804. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5805. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5806. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5807. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5808. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5809. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5810. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5811. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5812. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5813. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5814. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5815. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5816. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5817. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5818. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5819. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5820. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5821. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5822. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5823. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5824. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5825. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5826. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5827. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5828. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5829. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5830. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5831. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5832. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5833. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5834. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5835. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5836. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5837. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5838. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5839. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5840. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5841. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5842. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5843. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5844. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5845. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5846. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5847. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5848. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5849. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5850. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5851. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5852. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5853. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5854. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5855. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5856. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5857. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5858. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5859. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5860. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5861. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5862. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5863. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5864. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5865. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5866. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5867. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5868. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5869. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5870. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5871. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5872. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5873. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5874. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5875. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5876. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5877. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5878. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5879. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5880. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5881. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5882. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5883. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5884. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5885. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5886. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5887. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5888. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5889. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5890. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5891. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5892. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5893. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5894. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5895. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5896. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5897. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5898. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5899. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5900. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5901. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5902. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5903. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5904. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5905. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5906. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5907. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5908. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5909. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5910. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5911. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5912. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5913. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5914. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5915. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5916. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5917. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5918. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5919. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5920. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5921. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5922. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5923. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5924. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5925. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5926. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5927. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5928. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5929. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5930. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5931. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5932. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5933. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5934. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5935. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5936. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5937. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5938. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5939. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5940. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5941. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5942. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5943. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5944. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5945. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5946. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5947. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5948. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5949. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5950. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5951. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5952. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5953. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5954. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm​.to/')]");
  5955. // addObsoleteHost("kingfiles\\.net\/\\w+","//a[contains(@href,'kingfiles.net/')]");
  5956. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  5957. // obsolete start
  5958. }
  5959. //obsolete file hosts init end
  5960. //Add Host Example
  5961. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5962. {
  5963. addFileHost(
  5964. "datafile\.com\/\\w+",
  5965. 'var captchaPanel|<link href="/css/files_download.css"',
  5966. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5967. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5968. '<style type="text/css">',
  5969. "//a[contains(@href,'datafile.com')]",
  5970. true);
  5971. } */
  5972.  
  5973. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5974. {
  5975. var host = new Array(7);
  5976. host[0] = linkRegex;
  5977. host[1] = isAliveRegex;
  5978. host[2] = isDeadRegex;
  5979. host[3] = isUnavaRegex;
  5980. host[6] = ispremRegex;
  5981. host[4] = xpathEx;
  5982. tryLoop ? host[5] = true : host[5] = false;
  5983. http_file_hosts.push(host);
  5984. }
  5985. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5986. {
  5987. addFileHost(
  5988. "megafileupload\.com\/..\/file\/",
  5989. 'downloadbtn',
  5990. 'is not found',
  5991. 'optional--',
  5992. 'optional2--',
  5993. "//a[contains(@href,'megafileupload.com')]");
  5994. }
  5995. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5996. {
  5997. addFileHost(
  5998. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5999. 'download\\.gif"',
  6000. 'p_point">',
  6001. 'optional--',
  6002. 'optional2--',
  6003. "//a[contains(@href,'demo.ovh.eu')]");
  6004. }
  6005. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  6006. {
  6007. addFileHost(
  6008. "xkeepfile\.com\/\\w+",
  6009. 'File has been found|Click here to download',
  6010. 'File cannot be found|class="error">',
  6011. 'optional--',
  6012. 'optional2--',
  6013. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  6014. }
  6015. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6016. {
  6017. addFileHost(
  6018. "safelinking\\.net\/p\/\\w+",
  6019. 'color:green;"',
  6020. 'color:(?:red|orange);"',
  6021. 'color:(?:grey|brown);"',
  6022. 'optional2--',
  6023. "//a[contains(@href,'safelinking.net/p/')]",
  6024. true);
  6025. }
  6026. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6027. {
  6028. addFileHost(
  6029. "fastshare\\.cz\/\\d+\/\\w*",
  6030. 'dwntable">|speed-low',
  6031. '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',
  6032. 'optional--',
  6033. 'optional2--',
  6034. "//a[contains(@href,'fastshare.cz')]");
  6035. }
  6036. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6037. {
  6038. addFileHost(
  6039. "[fF]ast[sS]hare\\.org\/download",
  6040. 'Download ">',
  6041. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6042. 'optional--',
  6043. 'optional2--',
  6044. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6045. }
  6046. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  6047. {
  6048. addFileHost(
  6049. "partage-facile\.com\/\\w+",
  6050. 'class="title"><strong>|colspan="2"',
  6051. 'Page introuvable|class="alert-message',
  6052. 'optional--',
  6053. 'optional2--',
  6054. "//a[contains(@href,'partage-facile.com')]");
  6055. }
  6056. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6057. {
  6058. addFileHost(
  6059. "rapidgator\\.net\/file\/\\w+",
  6060. '/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',
  6061. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  6062. 'optional--',
  6063. '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',
  6064. "//a[contains(@href,'rapidgator.net/file')]",
  6065. true
  6066. );
  6067. }
  6068. if (GM_getValue("Check_rg_dot_to_links", false))
  6069. {
  6070. addFileHost(
  6071. "rg\.to\/\\w+",
  6072. '/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',
  6073. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6074. 'optional--',
  6075. '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',
  6076. "//a[contains(@href,'rg.to')]");
  6077. }
  6078. if (GM_getValue("Check_relink_dot_us_links", false))
  6079. {
  6080. addFileHost(
  6081. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6082. 'online_detail\\.png" alt="Status',
  6083. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6084. 'unknown_detail\\.png" alt="Status',
  6085. 'optional2--',
  6086. "//a[contains(@href,'relink.us/')]"
  6087. );
  6088. }
  6089. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6090. {
  6091. addFileHost(
  6092. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6093. 'div id="dl"',
  6094. 'Sie haben den Link falsch',
  6095. 'optional--',
  6096. 'optional2--',
  6097. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6098. );
  6099. }
  6100. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6101. {
  6102. addFileHost(
  6103. "flyfiles\\.net\/\\w+",
  6104. 'download_button"|"Download file"',
  6105. 'File not found!|Файл не найден',
  6106. 'optional--',
  6107. 'optional2--',
  6108. "//a[contains(@href,'flyfiles.net/')]"
  6109. );
  6110. }
  6111. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6112. {
  6113. addFileHost(
  6114. "wikiupload\\.com\/\\w+",
  6115. 'download-button">',
  6116. 'Sorry, File not found',
  6117. 'optional--',
  6118. 'optional2--',
  6119. "//a[contains(@href,'wikiupload.com/')]"
  6120. );
  6121. }
  6122. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6123. {
  6124. addFileHost(
  6125. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6126. 'file\\.php">|Pobierz Plik',
  6127. 'Podany plik nie zosta',
  6128. 'optional--',
  6129. 'optional2--',
  6130. "//a[contains(@href,'hostuje.net/file')]"
  6131. );
  6132. }
  6133. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6134. {
  6135. addFileHost(
  6136. "gettyfile\\.ru\/\\d+",
  6137. 'download\\.gif border',
  6138. '<center><font size="3">',
  6139. 'optional--',
  6140. 'optional2--',
  6141. "//a[contains(@href,'gettyfile.ru/')]"
  6142. );
  6143. }
  6144. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6145. {
  6146. addFileHost(
  6147. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6148. 'download\\-file">',
  6149. 'col-1">\\s*<h1>',
  6150. 'optional--',
  6151. 'optional2--',
  6152. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6153. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6154. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6155. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6156. );
  6157. }
  6158. if (GM_getValue("Check_data_dot_hu_links", false))
  6159. {
  6160. addFileHost(
  6161. "data\\.hu\/get\/\\d+\/",
  6162. 'download_box_button',
  6163. 'missing\\.php',
  6164. 'optional--',
  6165. 'optional2--',
  6166. "//a[contains(@href,'data.hu/get')]",
  6167. true
  6168. );
  6169. }
  6170. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6171. {
  6172. addFileHost(
  6173. "filesmelt\\.com\/dl\/\\w+",
  6174. '(Your download is ready|Download File)',
  6175. 'Sorry, but your',
  6176. 'optional--',
  6177. 'optional2--',
  6178. "//a[contains(@href,'filesmelt.com/dl')]"
  6179. );
  6180. }
  6181. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6182. {
  6183. addFileHost(
  6184. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6185. 'premiumBtn"',
  6186. 'errorMessage"',
  6187. 'optional--',
  6188. 'optional2--',
  6189. "//a[contains(@href,'indowebster.com/download')]"
  6190. );
  6191. }
  6192. if (GM_getValue("Check_superload_dot_cz_links", false))
  6193. {
  6194. addFileHost(
  6195. "superload\\.cz\/dl\/\\w+",
  6196. 'icon-download">',
  6197. 'soubor nebyl nalezen',
  6198. 'optional--',
  6199. 'optional2--',
  6200. "//a[contains(@href,'superload.cz/dl')]"
  6201. );
  6202. }
  6203. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6204. {
  6205. addFileHost(
  6206. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6207. 'op" value="download',
  6208. 'class="err">|width:500px;text-align:left;">',
  6209. 'optional--',
  6210. 'optional2--',
  6211. "//a[contains(@href,'hulkfile.')]"
  6212. );
  6213. }
  6214. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6215. {
  6216. addFileHost(
  6217. "easybytez\\.com\/\\w+",
  6218. 'op" value="download',
  6219. 'stop_error\\.gif',
  6220. 'optional--',
  6221. 'optional2--',
  6222. "//a[contains(@href,'easybytez.com/')]"
  6223. );
  6224. }
  6225. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6226. {
  6227. addFileHost(
  6228. "filestore\\.com\\.ua\/\\?d=\\w+",
  6229. 'tdrow1>',
  6230. 'class=warn',
  6231. 'optional--',
  6232. 'optional2--',
  6233. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6234. );
  6235. }
  6236. if (GM_getValue("Check_netkups_dot_com_links", false))
  6237. {
  6238. addFileHost(
  6239. "netkups\\.com\/\\?d=\\w+",
  6240. 'submit">Continue',
  6241. 'page">File not found|deleted due to inactivity',
  6242. 'optional--',
  6243. 'optional2--',
  6244. "//a[contains(@href,'netkups.com/?d=')]"
  6245. );
  6246. }
  6247. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6248. {
  6249. addFileHost(
  6250. "openfile\\.ru\/(?:video\/|)\\d+",
  6251. 'videobox_left">',
  6252. 'blog_title">|not found on this server',
  6253. 'optional--',
  6254. 'optional2--',
  6255. "//a[contains(@href,'openfile.ru/')]"
  6256. );
  6257. }
  6258. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6259. {
  6260. addFileHost(
  6261. "extmatrix\\.com\/files\/\\w+",
  6262. 'div class="success"',
  6263. 'div class="error"',
  6264. 'optional--',
  6265. 'optional2--',
  6266. "//a[contains(@href,'extmatrix.com/files')]"
  6267. );
  6268. }
  6269. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6270. {
  6271. addFileHost(
  6272. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6273. 'content_lnkDownload',
  6274. 'error\\.aspx\\?',
  6275. 'optional--',
  6276. 'optional2--',
  6277. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6278. );
  6279. }
  6280. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6281. {
  6282. addFileHost(
  6283. "yourfilestore\\.com\/download\/\\d+\/",
  6284. 'download_data">',
  6285. 'may have been deleted|<h1>Sorry!<\/h1>',
  6286. 'optional--',
  6287. 'optional2--',
  6288. "//a[contains(@href,'yourfilestore.com/download')]"
  6289. );
  6290. }
  6291. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6292. {
  6293. addFileHost(
  6294. "nekaka\\.com\/d\/[\\w-]+",
  6295. 'downloadForm">',
  6296. 'invalid file link',
  6297. 'optional--',
  6298. 'optional2--',
  6299. "//a[contains(@href,'nekaka.com/d')]"
  6300. );
  6301. }
  6302. if (GM_getValue("Check_filebig_dot_net_links", false))
  6303. {
  6304. addFileHost(
  6305. "filebig\\.net\/files\/\\w+",
  6306. 'downloadFile">',
  6307. '<p>File not found<\/p>',
  6308. 'optional--',
  6309. 'optional2--',
  6310. "//a[contains(@href,'filebig.net/files')]"
  6311. );
  6312. }
  6313. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6314. {
  6315. addFileHost(
  6316. "files\\.filefront\\.com\/\/;\\d+;;",
  6317. 'downloadLink">',
  6318. 'File not found, you',
  6319. 'optional--',
  6320. 'optional2--',
  6321. "//a[contains(@href,'files.filefront.com')]"
  6322. );
  6323.  
  6324. addFileHost(
  6325. "gamefront\\.com\/files\/\\d+",
  6326. 'downloadLink">',
  6327. 'File not found, you',
  6328. 'optional--',
  6329. 'optional2--',
  6330. "//a[contains(@href,'gamefront.com/files')]"
  6331. );
  6332. }
  6333. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6334. {
  6335. addFileHost(
  6336. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6337. 'dnlLnk"',
  6338. 'already been deleted',
  6339. 'optional--',
  6340. 'optional2--',
  6341. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6342. );
  6343. }
  6344. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6345. {
  6346. addFileHost(
  6347. "hellupload\\.com\/\\w+",
  6348. '<h3>Download File<br',
  6349. 'id="podstrona">|AVOID_IE_BUG',
  6350. 'optional--',
  6351. 'optional2--',
  6352. "//a[contains(@href,'hellupload.com/')]"
  6353. );
  6354. }
  6355. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6356. {
  6357. addFileHost(
  6358. "free\\-uploading\\.com\/\\w+",
  6359. 'op" value="download',
  6360. 'class="err">|width:500px;text-align:left;">',
  6361. 'optional--',
  6362. 'optional2--',
  6363. "//a[contains(@href,'free-uploading.com/')]"
  6364. );
  6365. }
  6366. if (GM_getValue("Check_fileape_dot_com_links", false))
  6367. {
  6368. addFileHost(
  6369. "fileape\\.com\/download\\-",
  6370. 'button_dl\\.png',
  6371. 'does not exist\\.',
  6372. 'optional--',
  6373. 'optional2--',
  6374. "//a[contains(@href,'fileape.com/')]"
  6375. );
  6376. }
  6377. if (GM_getValue("Check_uppit_dot_com_links", false))
  6378. {
  6379. addFileHost(
  6380. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6381. 'op" value="download',
  6382. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6383. 'optional--',
  6384. 'optional2--',
  6385. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6386. true
  6387. );
  6388. }
  6389. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6390. {
  6391. addFileHost(
  6392. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6393. 'op" value="download',
  6394. '>File Not Found<',
  6395. 'optional--',
  6396. 'optional2--',
  6397. "//a[contains(@href,'nosupload.com')]",
  6398. true
  6399. );
  6400. }
  6401. if (GM_getValue("Check_filesin_dot_com_links", false))
  6402. {
  6403. addFileHost(
  6404. "filesin\\.com\/\\w+\/download\\.html",
  6405. 'download_area">',
  6406. 'error_note">',
  6407. 'optional--',
  6408. 'optional2--',
  6409. "//a[contains(@href,'filesin.com/')]",
  6410. true
  6411. );
  6412. }
  6413. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6414. {
  6415. addFileHost(
  6416. "nowdownload\\.ch\/dl\/\\w+",
  6417. 'alert-success"',
  6418. 'This file does not exist!',
  6419. 'The file is being transfered',
  6420. 'optional2--',
  6421. "//a[contains(@href,'nowdownload.ch/dl')]"
  6422. );
  6423. }
  6424. if (GM_getValue("Check_axifile_dot_com_links", false))
  6425. {
  6426. addFileHost(
  6427. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6428. 'Dbutton_big"',
  6429. 'download\\-error\\.php',
  6430. 'optional--',
  6431. 'optional2--',
  6432. "//a[contains(@href,'axifile.com/')]"
  6433. );
  6434. }
  6435. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6436. {
  6437. addFileHost(
  6438. "hulkshare\.com\/\\w+",
  6439. 'download\.sam\.png|This is a private file|id="filename',
  6440. 'File does not exist|fingerprint protected copyright',
  6441. 'optional--',
  6442. 'optional2--',
  6443. "//a[contains(@href,'hulkshare.com')]"
  6444. );
  6445. }
  6446. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6447. {
  6448. addFileHost(
  6449. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6450. 'col-1">\\s*<s',
  6451. 'col-1">\\s*<h',
  6452. 'optional--',
  6453. 'optional2--',
  6454. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6455. );
  6456. }
  6457. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6458. {
  6459. addFileHost(
  6460. "turbobit\\.(?:net|pl)",
  6461. 'id="download-gate-info|id="file-list',
  6462. 'afterWait()|no files in this folder',
  6463. 'optional--',
  6464. 'optional2--',
  6465. "//a[contains(@href,'turbobit.net')]"
  6466. );
  6467. }
  6468. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6469. {
  6470. addFileHost(
  6471. "hitfile\\.net\/download\/folder\/\\d+",
  6472. 'content">\\s*<s',
  6473. 'content">\\s*<h',
  6474. 'optional--',
  6475. 'optional2--',
  6476. "//a[contains(@href,'hitfile.net/download/folder')]"
  6477. );
  6478. }
  6479. if (GM_getValue("Check_movshare_dot_net_links", false))
  6480. {
  6481. addFileHost(
  6482. "movshare\\.net\\/video\\/\\w+",
  6483. 'optional--"',
  6484. 'no longer exists',
  6485. 'optional--',
  6486. 'optional2--',
  6487. "//a[contains(@href,'movshare.net/video')]"
  6488. );
  6489. }
  6490. if (GM_getValue("Check_plunder_dot_com_links", false))
  6491. {
  6492. addFileHost(
  6493. "plunder\.com\/\\w+",
  6494. 'x\/download\\.gif',
  6495. '404 - File or directory not found.',
  6496. 'optional--',
  6497. 'optional2--',
  6498. "//a[contains(@href,'plunder.com')]"
  6499. );
  6500. }
  6501. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6502. {
  6503. addFileHost(
  6504. "mafiastorage\\.com\/\\w+",
  6505. 'op" value="download',
  6506. 'class="err">|style="width:500px;text-align:left;"',
  6507. 'optional--',
  6508. 'optional2--',
  6509. "//a[contains(@href,'mafiastorage.com/')]"
  6510. );
  6511. }
  6512. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6513. {
  6514. addFileHost(
  6515. "uploadspace\.pl\/plik\\w+",
  6516. 'Downloading .+? \\|',
  6517. 'Downloading a file',
  6518. 'optional--',
  6519. 'optional2--',
  6520. "//a[contains(@href,'uploadspace.pl/plik')]"
  6521. );
  6522. }
  6523. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6524. {
  6525. addFileHost(
  6526. "uploadingit\\.com\/file\/\\w+",
  6527. 'downloadTitle">',
  6528. 'deleteContent">',
  6529. 'optional--',
  6530. 'optional2--',
  6531. "//a[contains(@href,'uploadingit.com/file')]"
  6532. );
  6533. }
  6534. if (GM_getValue("Check_rghost_dot_net_links", false))
  6535. {
  6536. addFileHost(
  6537. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6538. 'download_link|btn large download',
  6539. 'file is restricted|File is deleted|503 Service Unavailable',
  6540. 'optional--',
  6541. 'optional2--',
  6542. "//a[contains(@href,'rghost.')]"
  6543. );
  6544. }
  6545. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6546. {
  6547. addFileHost(
  6548. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6549. '">Staženo:\\s*<\/span>',
  6550. 'Soubor, který hledáte nenalezen',
  6551. 'optional--',
  6552. 'optional2--',
  6553. "//a[contains(@href,'xdisk.cz/')]"
  6554. );
  6555. }
  6556. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6557. {
  6558. addFileHost(
  6559. "2downloadz\.com\/\\w+",
  6560. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6561. 'color="#006DCC|File error',
  6562. 'optional--',
  6563. 'optional2--',
  6564. "//a[contains(@href,'2downloadz.com')]");
  6565. }
  6566. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6567. {
  6568. addFileHost(
  6569. "mightyupload\.com\/\\w+",
  6570. 'background:#ccc;text-align|CONTENT="Download File"',
  6571. 'style="background:#eee|var rr =|File Not Found',
  6572. 'error-code">1010',
  6573. 'optional2--',
  6574. "//a[contains(@href,'mightyupload.com')]");
  6575. }
  6576. if (GM_getValue("Check_anysend_dot_com_links", false))
  6577. {
  6578. addFileHost(
  6579. "anysend\.com\/\\w+",
  6580. 'var openCalled=false;|content="noindex"',
  6581. '_trackPageview',
  6582. 'optional--',
  6583. 'optional2--',
  6584. "//a[contains(@href,'anysend.com')]");
  6585. }
  6586. if (GM_getValue("Check_datafile_dot_com_links", false))
  6587. {
  6588. addFileHost(
  6589. "datafile\.com\/\\w+",
  6590. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6591. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6592. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6593. '; 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">
  6594. "//a[contains(@href,'datafile.com')]",
  6595. true);
  6596. }
  6597. if (GM_getValue("Check_upstore_dot_net_links", false))
  6598. {
  6599. addFileHost(
  6600. "upstore\.net\/\\w+",
  6601. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6602. 'File not found|onload="redirect|class="error">',
  6603. 'optional--',
  6604. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6605. "//a[contains(@href,'upstore.net')]");
  6606. }
  6607. if (GM_getValue("Check_upsto_dot_re_links", false))
  6608. {
  6609. addFileHost(
  6610. "upsto\.re\/\\w+",
  6611. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6612. 'File not found|onload="redirect|class="error">',
  6613. 'optional--',
  6614. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6615. "//a[contains(@href,'upsto.re')]");
  6616. }
  6617. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6618. {
  6619. addFileHost(
  6620. "speedy\.sh\/\\w+",
  6621. 'bgcolor=#eeeeee|class="addthis',
  6622. 'File not found|downloadfilenamenotfound>',
  6623. 'optional--',
  6624. 'optional2--',
  6625. "//a[contains(@href,'speedy.sh')]");
  6626. }
  6627. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6628. {
  6629. addFileHost(
  6630. "sanshare\.com\/\\w+",
  6631. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6632. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6633. 'optional--',
  6634. 'optional2--',
  6635. "//a[contains(@href,'sanshare.com')]");
  6636. }
  6637. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6638. {
  6639. addFileHost(
  6640. "kingfiles\.net\/\\w+",
  6641. 'method_free|images/loading_small.gif"',
  6642. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6643. 'optional--',
  6644. 'optional2--',
  6645. "//a[contains(@href,'kingfiles.net')]");
  6646. }
  6647. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6648. {
  6649. addFileHost(
  6650. "uploadhero\\.co\/dl\/\\w+",
  6651. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6652. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6653. 'optional--',
  6654. 'optional2--',
  6655. "//a[contains(@href,'uploadhero.co/dl')]"
  6656. );
  6657. } */
  6658. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6659. {
  6660. addFileHost(
  6661. "secureupload\\.eu\/\\w+",
  6662. 'Downloading',
  6663. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6664. 'optional--',
  6665. 'optional2--',
  6666. "//a[contains(@href,'secureupload.eu')]"
  6667. );
  6668. }
  6669. if (GM_getValue("Check_ge_dot_tt_links", false))
  6670. {
  6671. addFileHost(
  6672. "ge\.tt\/\\w+",
  6673. 'downloads pic',
  6674. 'is NOT the same as',
  6675. 'optional--',
  6676. 'optional2--',
  6677. "//a[contains(@href,'ge.tt')]");
  6678. }
  6679. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6680. {
  6681. addFileHost(
  6682. "filefactory\.com\/\\w+",
  6683. 'div id="file_holder"|download.css',
  6684. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6685. 'Server Maintenance|temporarily overloaded',
  6686. 'Premium Account Required',
  6687. "//a[contains(@href,'filefactory.com')]");
  6688. }
  6689. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6690. {
  6691. addFileHost(
  6692. "filesflash\.net\/\\w+",
  6693. 'align:right">Filename:',
  6694. 'class="msg">',
  6695. 'optional--',
  6696. 'optional2--',
  6697. "//a[contains(@href,'filesflash.net')]");
  6698. }
  6699. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6700. {
  6701. addFileHost(
  6702. "rapidgator\\.net\/folder\/\\w+",
  6703. 'href="/folder/',
  6704. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6705. 'optional--',
  6706. 'optional2--',
  6707. "//a[contains(@href,'rapidgator.net/folder')]",
  6708. true
  6709. );
  6710. }
  6711. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6712. {
  6713. addFileHost(
  6714. "salefiles\.com\/\\w+",
  6715. 'name="method_free',
  6716. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6717. 'optional--',
  6718. 'optional2--',
  6719. "//a[contains(@href,'salefiles.com')]");
  6720. }
  6721. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6722. {
  6723. addFileHost(
  6724. "megairon\.net\/\\w+",
  6725. 'border: 5px #ffeb90 solid;',
  6726. 'CONTENT="Download File ">|var rr =',
  6727. 'error-code">523',
  6728. 'optional2--',
  6729. "//a[contains(@href,'megairon.net')]",
  6730. true);
  6731. } */
  6732. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6733. {
  6734. addFileHost(
  6735. "datoid\.cz\/\\w+",
  6736. 'btn-download|class="icon-download-large"',
  6737. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6738. 'optional--',
  6739. 'optional2--',
  6740. "//a[contains(@href,'datoid.cz')]");
  6741. }
  6742. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6743. {
  6744. addFileHost(
  6745. "stiahni\.si\/\\w+",
  6746. 'report_icon.png"|slow-download-button',
  6747. 'none.png|deleted|<h2>Error 500</h2>',
  6748. 'optional--',
  6749. 'optional2--',
  6750. "//a[contains(@href,'stiahni.si')]");
  6751. }
  6752. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6753. {
  6754. addFileHost(
  6755. "cloudstor\.es\/\\w+",
  6756. '"btn_download"',
  6757. '404: Page Not Found',
  6758. 'optional--',
  6759. 'optional2--',
  6760. "//a[contains(@href,'cloudstor.es')]");
  6761. }
  6762. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6763. {
  6764. addFileHost(
  6765. "streamfile\.com\/\\w+",
  6766. 'class="btn',
  6767. 'class="green-btn',
  6768. 'optional--',
  6769. 'optional2--',
  6770. "//a[contains(@href,'streamfile.com')]");
  6771. }
  6772. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6773. {
  6774. addFileHost(
  6775. "eyesfile\.ca\/\\w+",
  6776. 'value="Get Link',
  6777. 'var rr =',
  6778. 'optional--',
  6779. 'optional2--',
  6780. "//a[contains(@href,'eyesfile.ca')]");
  6781. }
  6782. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6783. {
  6784. addFileHost(
  6785. "filemoney\.com\/\\w+",
  6786. 'og:title',
  6787. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6788. 'error-code">1010',
  6789. 'optional2--',
  6790. "//a[contains(@href,'filemoney.com')]");
  6791. }
  6792. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6793. {
  6794. addFileHost(
  6795. "uploadboy\.com\/\\w+",
  6796. 'width="740">|method_free',
  6797. 'var rr =|background:#ffffff|not be found|file was removed',
  6798. 'optional--',
  6799. 'optional2--',
  6800. "//a[contains(@href,'uploadboy.com')]");
  6801. }
  6802. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6803. {
  6804. addFileHost(
  6805. "uploadboy\.com\/\\w+",
  6806. 'width="740">|method_free',
  6807. 'var rr =|background:#ffffff|not be found|file was removed',
  6808. 'optional--',
  6809. 'optional2--',
  6810. "//a[contains(@href,'uploadboy.me')]");
  6811. }
  6812. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6813. {
  6814. addFileHost(
  6815. "speedshare\.eu\/\\w+",
  6816. 'favicon.png|color:#3d87c0|cross.png"',
  6817. 'var rr =|File Not Found|style="background:#eee',
  6818. 'optional--',
  6819. 'optional2--',
  6820. "//a[contains(@href,'speedshare.eu')]");
  6821. }
  6822. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6823. {
  6824. addFileHost(
  6825. "unlimitzone\.com\/\\w+",
  6826. 'name="method_free',
  6827. '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',
  6828. 'optional--',
  6829. 'optional2--',
  6830. "//a[contains(@href,'unlimitzone.com')]");
  6831. }
  6832. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6833. {
  6834. addFileHost(
  6835. "rioupload\.com\/\\w+",
  6836. 'sell.jpg',
  6837. 'var rr =',
  6838. 'optional--',
  6839. 'optional2--',
  6840. "//a[contains(@href,'rioupload.com')]");
  6841. }
  6842. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6843. {
  6844. addFileHost(
  6845. "jumbofiles\.org\/\\w+",
  6846. 'H71C5.png|class="downloadtitle">',
  6847. 'var swfu|ViewSourceBIN.png',
  6848. 'optional--',
  6849. 'optional2--',
  6850. "//a[contains(@href,'jumbofiles.org')]");
  6851. }
  6852. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6853. {
  6854. addFileHost(
  6855. "fshare\\.vn\/file\/\\w+",
  6856. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6857. 'không tồn tại|class="color_red m_t_50"',
  6858. 'optional--',
  6859. 'optional2--',
  6860. "//a[contains(@href,'fshare.vn/file')]",
  6861. true
  6862. );
  6863. }
  6864. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6865. {
  6866. addFileHost(
  6867. "spaceforfiles\.com\/\\w+",
  6868. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6869. 'var rr =|AVOID_IE_BUG',
  6870. 'optional--',
  6871. 'optional2--',
  6872. "//a[contains(@href,'spaceforfiles.com')]");
  6873. }
  6874. if (GM_getValue("Check_google_dot_com_links", false))
  6875. {
  6876. addFileHost(
  6877. "google\\.com\/file\/\\w+",
  6878. 'content="!">|color:#2d2d2d',
  6879. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6880. 'optional--',
  6881. 'optional2--',
  6882. "//a[contains(@href,'google.com/file')]",
  6883. true
  6884. );
  6885. }
  6886. if (GM_getValue("Check_google_dot_com_links", false))
  6887. {
  6888. addFileHost(
  6889. "docs.google.com\/\\w+",
  6890. 'content="!">|color:#2d2d2d',
  6891. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6892. 'optional--',
  6893. 'optional2--',
  6894. "//a[contains(@href,'docs.google.com')]",
  6895. true
  6896. );
  6897. }
  6898. if (GM_getValue("Check_google_dot_com_links", false))
  6899. {
  6900. addFileHost(
  6901. "drive.google.com\/\\w+",
  6902. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6903. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6904. 'optional--',
  6905. 'optional2--',
  6906. "//a[contains(@href,'drive.google.com')]",
  6907. true
  6908. );
  6909. }
  6910. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6911. {
  6912. addFileHost(
  6913. "up.media1fire\.com\/\\w+",
  6914. 'class="addthis_|value="download',
  6915. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6916. 'optional--',
  6917. 'optional2--',
  6918. "//a[contains(@href,'up.media1fire.com')]");
  6919. }
  6920. if (GM_getValue("Check_depfile_dot_com_links", false))
  6921. {
  6922. addFileHost(
  6923. "depfile\.com\/\\w+",
  6924. 'logo_0.png|downloads.gif"|verifycode',
  6925. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6926. 'optional--',
  6927. 'available only for Premium users',
  6928. "//a[contains(@href,'depfile.com')]");
  6929. }
  6930. if (GM_getValue("Check_go4up_dot_com_links", false))
  6931. {
  6932. addFileHost(
  6933. "go4up\.com\/\\w+",
  6934. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6935. '<title>GO4UP|dmca',
  6936. 'optional--',
  6937. 'optional2--',
  6938. "//a[contains(@href,'go4up.com')]");
  6939. }
  6940. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6941. {
  6942. addFileHost(
  6943. "redbunker\.net\/\\w+",
  6944. 'name="method_free"',
  6945. 'color="red">Unknow / Bilinmiyor<',
  6946. 'optional--',
  6947. '2.3 GB',
  6948. "//a[contains(@href,'redbunker.net')]");
  6949. }
  6950. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6951. {
  6952. addFileHost(
  6953. "divxpress\.com\/\\w+",
  6954. 'btn_download|logo.png"',
  6955. 'AVOID_IE_BUG|var rr =',
  6956. 'optional--',
  6957. 'optional2--',
  6958. "//a[contains(@href,'divxpress.com')]");
  6959. }
  6960. if (GM_getValue("Check_anafile_dot_com_links", false))
  6961. {
  6962. addFileHost(
  6963. "anafile\.com\/\\w+",
  6964. 'width="881" valign="top|color="#800080"|name="go"',
  6965. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6966. 'optional--',
  6967. 'optional2--',
  6968. "//a[contains(@href,'anafile.com')]");
  6969. }
  6970. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6971. {
  6972. addFileHost(
  6973. "uploadable\\.ch\/file\/\\w+",
  6974. 'captcha.js"|payment.js"|class="btn_download"',
  6975. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6976. 'optional--',
  6977. 'optional2--',
  6978. "//a[contains(@href,'uploadable.ch/file')]",
  6979. true
  6980. );
  6981. }
  6982. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6983. {
  6984. addFileHost(
  6985. "bigfile\\.to\/file\/\\w+",
  6986. 'captcha.js"|payment.js"|class="btn_download"',
  6987. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6988. 'optional--',
  6989. 'optional2--',
  6990. "//a[contains(@href,'bigfile.to/file')]",
  6991. true
  6992. );
  6993. }
  6994. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6995. {
  6996. addFileHost(
  6997. "arabloads\.net\/\\w+",
  6998. 'name="method_free"|name="method_premium"',
  6999. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7000. 'optional--',
  7001. 'optional2--',
  7002. "//a[contains(@href,'arabloads.net')]");
  7003. }
  7004. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7005. {
  7006. addFileHost(
  7007. "sharerepo\.com\/\\w+",
  7008. 'name="method_free"',
  7009. 'var public_on=|The file you were looking for could not be found',
  7010. 'optional--',
  7011. 'optional2--',
  7012. "//a[contains(@href,'sharerepo.com')]");
  7013. }
  7014. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7015. {
  7016. addFileHost(
  7017. "sfshare\.se\/\\w+",
  7018. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7019. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7020. 'optional--',
  7021. 'optional2--',
  7022. "//a[contains(@href,'sfshare.se')]");
  7023. }
  7024. if (GM_getValue("Check_files_dot_fm_links", false))
  7025. {
  7026. addFileHost(
  7027. "files\.fm\/\\w+",
  7028. 'dl.png"|background-color: transparent',
  7029. 'margin: 40px 40px|background: none;',
  7030. 'optional--',
  7031. 'optional2--',
  7032. "//a[contains(@href,'files.fm')]");
  7033. }
  7034. if (GM_getValue("Check_koofile_dot_com_links", false))
  7035. {
  7036. addFileHost(
  7037. "koofile\.com\/\\w+",
  7038. 'value="download1">|name="method_free"',
  7039. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7040. 'optional--',
  7041. 'optional2--',
  7042. "//a[contains(@href,'koofile.com')]");
  7043. }
  7044. if (GM_getValue("Check_vidxden_dot_com_links", false))
  7045. {
  7046. addFileHost(
  7047. "vidxden\\.com\/\\w+",
  7048. 'Continue to Video"',
  7049. 'No such file',
  7050. 'optional--',
  7051. 'optional2--',
  7052. "//a[contains(@href,'vidxden.com')]"
  7053. );
  7054. }
  7055. if (GM_getValue("Check_muchshare_dot_net_links", false))
  7056. {
  7057. addFileHost(
  7058. "muchshare\\.net\/\\w+",
  7059. 'id="btn_download"',
  7060. 'File Not Found|width: 500px; text-align: left;',
  7061. 'optional--',
  7062. 'optional2--',
  7063. "//a[contains(@href,'muchshare.net')]"
  7064. );
  7065. }
  7066. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7067. {
  7068. addFileHost(
  7069. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7070. 'Details zur Datei|Details page',
  7071. 'Jetzt hochladen|upload now',
  7072. 'optional--',
  7073. 'optional2--',
  7074. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7075. );
  7076. }
  7077. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7078. {
  7079. addFileHost(
  7080. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7081. 'downloadbtn"',
  7082. 'DL_FileNotFound',
  7083. 'optional--',
  7084. 'optional2--',
  7085. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7086. );
  7087. }
  7088. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7089. {
  7090. addFileHost(
  7091. "fileflyer\.com\/view\/\\w+",
  7092. '(?:dwl|locked)btn"',
  7093. 'error.gif"|link">Removed|removedlink">',
  7094. 'optional--',
  7095. 'optional2--',
  7096. "//a[contains(@href,'fileflyer.com')]"
  7097. );
  7098. }
  7099. if (GM_getValue("Check_filestore_dot_to_links", false))
  7100. {
  7101. addFileHost(
  7102. "filestore\.to\/\\?d=\\w+",
  7103. '"downloading"',
  7104. 'Datei wurde nicht gefunden',
  7105. 'optional--',
  7106. 'optional2--',
  7107. "//a[contains(@href,'filestore.to')]"
  7108. );
  7109. }
  7110. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7111. {
  7112. addFileHost(
  7113. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7114. 'fz24">Download|class="pl15">',
  7115. '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',
  7116. 'optional--',
  7117. 'optional2--',
  7118. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7119. );
  7120. }
  7121. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  7122. {
  7123. addFileHost(
  7124. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7125. 'File size:',
  7126. 'file is not found',
  7127. 'optional--',
  7128. 'optional2--',
  7129. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7130. );
  7131. } */
  7132. if (GM_getValue("Check_datei_dot_to_links", false))
  7133. {
  7134. addFileHost(
  7135. "datei\\.to\/\\??\\w+",
  7136. 'icon_downloaden\\.png|>Download starten<',
  7137. 'Datei wurde nicht gefunden|icon_deleted.png',
  7138. 'optional--',
  7139. 'optional2--',
  7140. "//a[contains(@href,'datei.to')]"
  7141. );
  7142. }
  7143. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7144. {
  7145. addFileHost(
  7146. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7147. '<body class="body" id="body">|value="Slow Download"',
  7148. '<body class="body" >',
  7149. 'optional--',
  7150. 'optional2--',
  7151. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7152. );
  7153. }
  7154. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7155. {
  7156. addFileHost(
  7157. "uploadhero\\.com\/dl\/\\w+",
  7158. 'content-dl">',
  7159. 'men_file_lost\\.jpg"',
  7160. 'optional--',
  7161. 'optional2--',
  7162. "//a[contains(@href,'uploadhero.com/dl')]"
  7163. );
  7164. } */
  7165. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7166. {
  7167. addFileHost(
  7168. "unibytes\\.com\/[\\w\.]+",
  7169. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7170. 'File not found|Файл не найден|',
  7171. 'optional--',
  7172. 'optional2--',
  7173. "//a[contains(@href,'unibytes.com')]"
  7174. );
  7175. }
  7176. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7177. {
  7178. addFileHost(
  7179. "www\\.hellshare\\.com\/\\d+",
  7180. 'tab\\-details"',
  7181. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7182. 'optional--',
  7183. 'optional2--',
  7184. "//a[contains(@href,'www.hellshare.com')]"
  7185. );
  7186. }
  7187. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7188. {
  7189. addFileHost(
  7190. "www\\.download.cz.hellshare\\.com\/\\w+",
  7191. 'tab\\-details"',
  7192. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7193. 'optional--',
  7194. 'optional2--',
  7195. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7196. );
  7197. }
  7198. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7199. {
  7200. addFileHost(
  7201. "quickshare\\.cz\/slozka-\\d+",
  7202. 'Počet souborů: <strong>[1-9]',
  7203. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7204. 'optional--',
  7205. 'optional2--',
  7206. "//a[contains(@href,'quickshare.cz/slozka')]"
  7207. );
  7208. } */
  7209. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7210. {
  7211. addFileHost(
  7212. "filefactory\\.com\/f\/\\w+",
  7213. 'folderFileList">',
  7214. 'table class="items"|Pointer" class="red">',
  7215. 'optional--',
  7216. 'optional2--',
  7217. "//a[contains(@href,'filefactory.com/f/')]"
  7218. );
  7219. }
  7220. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7221. {
  7222. addFileHost(
  7223. "netfolder\\.in\/\\w+",
  7224. 'list" value="http',
  7225. 'InPage_Error">|list" value=""',
  7226. 'optional--',
  7227. 'optional2--',
  7228. "//a[contains(@href,'netfolder.in')]"
  7229. );
  7230. } */
  7231. if (GM_getValue("Check_load_dot_to_links", false))
  7232. {
  7233. addFileHost(
  7234. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7235. '"download_table_left">Size',
  7236. 'Can\'t find file',
  7237. 'optional--',
  7238. 'optional2--',
  7239. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7240. );
  7241. }
  7242. if (GM_getValue("Check_divshare_dot_com_links", false))
  7243. {
  7244. addFileHost(
  7245. "divshare\\.com\/download\/",
  7246. 'download_new\.png',
  7247. 'have been removed',
  7248. 'optional--',
  7249. 'optional2--',
  7250. "//a[contains(@href,'divshare.com')]"
  7251. );
  7252. }
  7253. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7254. {
  7255. addFileHost(
  7256. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7257. 'class="nazev-souboru',
  7258. '<div class="background margin-top vlevo" style="width: 600px;">',
  7259. 'optional--',
  7260. 'optional2--',
  7261. "//a[contains(@href,'euroshare.eu/file')]"
  7262. );
  7263. }
  7264. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7265. {
  7266. addFileHost(
  7267. 'files\\.mail\\.ru/(?:\\w*)',
  7268. 'fileList',
  7269. 'errorMessage',
  7270. 'optional--',
  7271. 'optional2--',
  7272. "//a[contains(@href,'files.mail.ru')]"
  7273. );
  7274. }
  7275. if (GM_getValue("Check_megashares_dot_com_links", false))
  7276. {
  7277. addFileHost(
  7278. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7279. 'Filesize',
  7280. 'Invalid|deleted|Could not download file',
  7281. 'slots|scheduled maintenance',
  7282. 'optional2--',
  7283. "//a[contains(@href,'megashares.com/')]"
  7284. );
  7285. }
  7286. if (GM_getValue("Check_narod_dot_ru_links", false))
  7287. {
  7288. addFileHost(
  7289. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7290. 'b-submit|action="resource.download"',
  7291. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7292. 'Внутренняя ошибка сервиса',
  7293. 'optional2--',
  7294. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7295. );
  7296. }
  7297. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7298. {
  7299. addFileHost(
  7300. "rayfile\\.com\/",
  7301. 'FILEtitleTXT',
  7302. 'blueRow',
  7303. 'optional--',
  7304. 'optional2--',
  7305. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7306. );
  7307. }
  7308. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7309. {
  7310. addFileHost(
  7311. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7312. 'button_green_body"',
  7313. 'error">',
  7314. 'optional--',
  7315. 'optional2--',
  7316. "//a[contains(@href,'filesmonster.com/download')]"
  7317. );
  7318. }
  7319. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7320. {
  7321. addFileHost(
  7322. 'usaupload\\.net\/d\/(?:\w*)',
  7323. '<strong>File size:</strong>',
  7324. 'is not available',
  7325. 'optional--',
  7326. 'optional2--',
  7327. "//a[contains(@href,'usaupload.net/d/')]"
  7328. );
  7329. }
  7330. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7331. {
  7332. addFileHost(
  7333. 'sendspace\\.com\/file\/\\w+',
  7334. 'file_description',
  7335. 'msg error"',
  7336. 'optional--',
  7337. 'optional2--',
  7338. "//a[contains(@href,'sendspace.com/file')]"
  7339. );
  7340. }
  7341. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7342. {
  7343. addFileHost(
  7344. 'sendspace\\.pl\/file\/\\w+',
  7345. 'download_file"',
  7346. 'Podany plik nie',
  7347. 'optional--',
  7348. 'optional2--',
  7349. "//a[contains(@href,'sendspace.pl/file')]"
  7350. );
  7351. }
  7352. if (GM_getValue("Check_uploading_dot_com_links", false))
  7353. {
  7354. addFileHost(
  7355. 'uploading\\.com\/(?:files\/)?\\w+',
  7356. 'free_method">',
  7357. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7358. 'optional--',
  7359. 'optional2--',
  7360. "//a[contains(@href,'uploading.com')]"
  7361. );
  7362. }
  7363. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7364. {
  7365. addFileHost(
  7366. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7367. 'fileId"',
  7368. 'error">',
  7369. 'optional--',
  7370. 'optional2--',
  7371. "//a[contains(@href,'gigasize.com/get')]"
  7372. );
  7373. }
  7374. if (GM_getValue("Check_good_dot_com_links", false))
  7375. {
  7376. addFileHost(
  7377. 'good\\.net\/(?:_|dl)',
  7378. 'Free Download',
  7379. 'Not Found',
  7380. 'Forbidden',
  7381. 'optional2--',
  7382. "//a[contains(@href,'good.net')]"
  7383. );
  7384. }
  7385. if (GM_getValue("Check_2shared_dot_com_links", false))
  7386. {
  7387. addFileHost(
  7388. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7389. 'File size',
  7390. 'File not found|is not valid|/images/important.gif',
  7391. 'optional--',
  7392. 'optional2--',
  7393. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7394. );
  7395. }
  7396. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7397. {
  7398. addFileHost(
  7399. 'turboupload\\.com\/\\w*',
  7400. 'You have requested',
  7401. 'File Not Found',
  7402. 'optional--',
  7403. 'optional2--',
  7404. "//a[contains(@href,'turboupload.com')]"
  7405. );
  7406. }
  7407. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7408. {
  7409. addFileHost(
  7410. 'gigapeta\\.com\/dl\/',
  7411. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7412. '404|page_error',
  7413. 'optional--',
  7414. 'optional2--',
  7415. "//a[contains(@href,'gigapeta.com/dl')]"
  7416. );
  7417. }
  7418. if (GM_getValue("Check_veehd_dot_com_links", false))
  7419. {
  7420. addFileHost(
  7421. 'veehd\.com\/video\/.*?',
  7422. 'No sound|Download video',
  7423. 'Featured Videos',
  7424. 'optional--',
  7425. 'optional2--',
  7426. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7427. );
  7428. }
  7429. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7430. {
  7431. addFileHost(
  7432. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7433. 'fast_download_form">|submit_sms_download',
  7434. '<p style="text-align:center">',
  7435. 'optional--',
  7436. 'optional2--',
  7437. "//a[contains(@href,'vip-file.com/download')]"
  7438. );
  7439. }
  7440. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7441. {
  7442. addFileHost(
  7443. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7444. 'download\\-pnl ',
  7445. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7446. 'optional--',
  7447. 'optional2--',
  7448. "//a[contains(@href,'letitbit.net/download')]"
  7449. );
  7450. }
  7451. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7452. {
  7453. addFileHost(
  7454. 'ifolder\.ru\/\\d+',
  7455. 'file-info',
  7456. 'ui-state-error',
  7457. 'optional--',
  7458. 'optional2--',
  7459. "//a[contains(@href,'ifolder.ru')]"
  7460. );
  7461. }
  7462. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7463. {
  7464. addFileHost(
  7465. 'fileswap\\.com\/dl\/\\w+',
  7466. 'bttnDownloadLink"',
  7467. 'rounded_block_error"',
  7468. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7469. 'optional2--',
  7470. "//a[contains(@href,'fileswap.com/dl')]"
  7471. );
  7472. }
  7473. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7474. {
  7475. addFileHost(
  7476. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7477. 'var __error = 0|id="recaptchaPanel">',
  7478. 'FILES__DOESNT_EXIST|removed or did not exist',
  7479. 'optional--',
  7480. 'optional2--',
  7481. "//a[contains(@href,'filecloud.io/')]"
  7482. );
  7483. addFileHost(
  7484. 'ifile\\.it\/\\w+',
  7485. 'var __error = 0',
  7486. 'FILES__DOESNT_EXIST',
  7487. 'optional--',
  7488. 'optional2--',
  7489. "//a[contains(@href,'ifile.it/')]"
  7490. );
  7491. }
  7492. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7493. {
  7494. addFileHost(
  7495. 'solidfiles\\.com\/\\w+',
  7496. 'id="download"|content="Download',
  7497. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7498. 'optional--',
  7499. 'optional2--',
  7500. "//a[contains(@href,'solidfiles.com/')]"
  7501. );
  7502. }
  7503. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7504. {
  7505. addFileHost(
  7506. "(?:.\\.|)shareflare\\.net",
  7507. 'download-pnl|<div class="premium-block">',
  7508. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7509. 'optional--',
  7510. 'optional2--',
  7511. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7512. );
  7513. }
  7514. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7515. {
  7516. addFileHost(
  7517. "u18116681.shareflare\\.net",
  7518. 'download-pnl|<div class="premium-block">',
  7519. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7520. 'optional--',
  7521. 'optional2--',
  7522. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7523. );
  7524. }
  7525. if (GM_getValue("Check_uloz_dot_to_links", false))
  7526. {
  7527. addFileHost(
  7528. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7529. 'fileDownload"|fileSize">',
  7530. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7531. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7532. 'optional2--',
  7533. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7534. true
  7535. );
  7536. }
  7537. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7538. {
  7539. addFileHost(
  7540. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7541. 'file\\-list-orderby|section-filedetail">',
  7542. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7543. 'optional--',
  7544. 'optional2--',
  7545. "//a[contains(@href,'hellspy.')]"
  7546. );
  7547. }
  7548. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7549. {
  7550. addFileHost(
  7551. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7552. '<body onload="">',
  7553. 'neexistuje|not exist',
  7554. 'optional--',
  7555. 'optional2--',
  7556. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7557. );
  7558. }
  7559. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7560. {
  7561. addFileHost(
  7562. "stahovanizasms\\.cz\/\\w+",
  7563. 'download\\.png>|font-size:11px><tr>',
  7564. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7565. 'optional--',
  7566. 'optional2--',
  7567. "//a[contains(@href,'stahovanizasms.cz')]"
  7568. );
  7569. }
  7570. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7571. {
  7572. addFileHost(
  7573. "share-links\\.biz\/\\w*",
  7574. 'online\\.gif',
  7575. '(?:offline|parts)\\.gif',
  7576. 'optional--',
  7577. 'optional2--',
  7578. "//a[contains(@href,'share-links.biz')]"
  7579. );
  7580. }
  7581. if (GM_getValue("Check_4shared_dot_com_links", false))
  7582. {
  7583. addFileHost(
  7584. "4shared\\.com\/.+\/",
  7585. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7586. 'class="warn\"|big red"|GetDataBack',
  7587. 'Service Unavailable',
  7588. 'optional2--',
  7589. "//a[contains(@href,'4shared.com')]"
  7590. );
  7591. }
  7592. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7593. {
  7594. addFileHost(
  7595. "(?:www\\d+\.|)zippyshare\.com\/",
  7596. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7597. 'not exist|Status 404',
  7598. 'optional--',
  7599. 'optional2--',
  7600. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7601. );
  7602. }
  7603. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7604. {
  7605. addFileHost(
  7606. "mediafire\.com\/",
  7607. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7608. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7609. 'set to private',
  7610. 'optional2--',
  7611. "//a[contains(@href,'mediafire.com')]"
  7612. );
  7613. }
  7614. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7615. {
  7616. addFileHost(
  7617. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7618. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7619. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7620. 'optional--',
  7621. 'GB</small>',
  7622. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7623. );
  7624. }
  7625. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7626. {
  7627. addFileHost(
  7628. "ulozisko\.sk\/",
  7629. 'Detaily',
  7630. 'neexistuje',
  7631. 'optional--',
  7632. 'optional2--',
  7633. "//a[contains(@href,'ulozisko.sk')]"
  7634. );
  7635. }
  7636. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7637. {
  7638. addFileHost(
  7639. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7640. 'download.php',
  7641. 'notfound|upload\\-suborov\\.php"',
  7642. 'optional--',
  7643. 'optional2--',
  7644. "//a[contains(@href,'upnito.sk')]"
  7645. );
  7646. }
  7647. if (GM_getValue("Check_box_dot_com_links", false))
  7648. {
  7649. addFileHost(
  7650. "box\.com\/\\w+",
  7651. 'download-file-btn|id="download_button|preview-download',
  7652. 'BIyMin.png| <div class="error_message|link has been removed',
  7653. 'optional--',
  7654. 'optional2--',
  7655. "//a[contains(@href,'app.box.com')]");
  7656. }
  7657. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7658. {
  7659. addFileHost(
  7660. "uptobox\\.com\/\\w+",
  7661. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7662. '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|لا يوجد أي ملف',
  7663. 'Maintenance',
  7664. 'optional2--',
  7665. "//a[contains(@href,'uptobox.com')]"
  7666. );
  7667. }
  7668. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7669. {
  7670. addFileHost(
  7671. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7672. 'FILE DOWNLOAD<',
  7673. 'File Does Not Exist',
  7674. 'optional--',
  7675. 'optional2--',
  7676. "//a[contains(@href,'sharecash.org/download.php')]"
  7677. );
  7678. }
  7679. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7680. {
  7681. addFileHost(
  7682. "depositfiles\\.com\/folders\/\\w+",
  7683. '<div class="progressContainer">',
  7684. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7685. 'optional--',
  7686. 'optional2--',
  7687. "//a[contains(@href,'depositfiles.com/folders')]"
  7688. );
  7689. }
  7690. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7691. {
  7692. addFileHost(
  7693. "rapidfileshare\\.net/\\w+",
  7694. '<div id="upload-header-bg">',
  7695. '<div style="width:500px;text-align:left;">',
  7696. 'optional--',
  7697. 'optional2--',
  7698. "//a[contains(@href,'rapidfileshare.net/')]"
  7699. );
  7700. }
  7701. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7702. {
  7703. addFileHost(
  7704. "stiahnito\\.sk/",
  7705. '<span class="filesize right">',
  7706. '<ol class="list-purp-2">',
  7707. 'optional--',
  7708. 'optional2--',
  7709. "//a[contains(@href,'stiahnito.sk/')]"
  7710. );
  7711. }
  7712. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7713. {
  7714. addFileHost(
  7715. "rusfolder\\.(?:com|net)",
  7716. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7717. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7718. 'optional--',
  7719. 'optional2--',
  7720. "//a[contains(@href,'rusfolder')]"
  7721. );
  7722. }
  7723. /* if (GM_getValue("Check_fileover_dot_net_links", false))
  7724. {
  7725. addFileHost(
  7726. "fileover\\.net/\\d+",
  7727. 'id="filesize"',
  7728. 'Not found or deleted|The following file is unavailable',
  7729. 'optional--',
  7730. 'optional2--',
  7731. "//a[contains(@href,'fileover.net/')]"
  7732. );
  7733. } */
  7734. if (GM_getValue("Check_catshare_dot_net_links", false))
  7735. {
  7736. addFileHost(
  7737. "catshare\\.net/\\w+",
  7738. '"icon-share',
  7739. 'alert alert-error',
  7740. 'optional--',
  7741. 'optional2--',
  7742. "//a[contains(@href,'catshare.net/')]"
  7743. );
  7744. }
  7745. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7746. {
  7747. addFileHost(
  7748. "anonfiles\\.com/\\w+",
  7749. '"download_button"',
  7750. '<legend><b>404</b>',
  7751. 'optional--',
  7752. 'optional2--',
  7753. "//a[contains(@href,'anonfiles.com')]"
  7754. );
  7755. }
  7756. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7757. {
  7758. addFileHost(
  7759. "mixturecloud\\.com/media/\\w+",
  7760. '"btn icon i_globe gray share_150',
  7761. '"s_cross_close"></span> 404:',
  7762. 'optional--',
  7763. 'optional2--',
  7764. "//a[contains(@href,'mixturecloud.com/media/')]"
  7765. );
  7766. }
  7767. if (GM_getValue("Check_akafile_dot_com_links", false))
  7768. {
  7769. addFileHost(
  7770. "akafile\\.com\/\\w+",
  7771. 'download1',
  7772. 'File Not Found',
  7773. 'optional--',
  7774. 'optional2--',
  7775. "//a[contains(@href,'akafile.com/')]"
  7776. );
  7777. }
  7778. if (GM_getValue("Check_creafile_dot_net_links", false))
  7779. {
  7780. addFileHost(
  7781. "creafile\\.net\/\\w+",
  7782. 'downloadblock',
  7783. 'errtitle',
  7784. 'optional--',
  7785. 'optional2--',
  7786. "//a[contains(@href,'creafile.net/')]"
  7787. );
  7788. }
  7789. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7790. {
  7791. addFileHost(
  7792. "hugefiles\\.net\/\\w+",
  7793. 'download1|class="btn-create-download" value="Create Download Link">',
  7794. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7795. 'optional--',
  7796. 'optional2--',
  7797. "//a[contains(@href,'hugefiles.net/')]"
  7798. );
  7799. }
  7800. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7801. {
  7802. addFileHost(
  7803. "sendmyway\\.com\/\\w+",
  7804. 'id="btn_download"',
  7805. '500px;text-align:left;"|<center><h3>',
  7806. 'optional--',
  7807. 'optional2--',
  7808. "//a[contains(@href,'sendmyway.com/')]"
  7809. );
  7810. }
  7811. if (GM_getValue("Check_upload_dot_ee_links", false))
  7812. {
  7813. addFileHost(
  7814. "upload\\.ee\/\\w+",
  7815. 'onmouseout="document.dllink.src',
  7816. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7817. 'optional--',
  7818. 'optional2--',
  7819. "//a[contains(@href,'upload.ee/')]"
  7820. );
  7821. }
  7822. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7823. {
  7824. addFileHost(
  7825. "shareplace\\.org\/\\?\\w+",
  7826. 'Download-Link',
  7827. 'Your requested file is not found|Select file to send',
  7828. 'optional--',
  7829. 'optional2--',
  7830. "//a[contains(@href,'shareplace.org/?')]"
  7831. );
  7832. }
  7833. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7834. {
  7835. addFileHost(
  7836. "uploadc\\.com\/\\w+",
  7837. 'id="prebut"',
  7838. 'File Not Found|This file has been removed due',
  7839. 'optional--',
  7840. 'optional2--',
  7841. "//a[contains(@href,'uploadc.com/')]"
  7842. );
  7843. }
  7844. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7845. {
  7846. addFileHost(
  7847. "remixshare\\.com\/\\w+",
  7848. 'id="dl2"',
  7849. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7850. 'optional--',
  7851. 'optional2--',
  7852. "//a[contains(@href,'remixshare.com/')]"
  7853. );
  7854. }
  7855. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7856. {
  7857. addFileHost(
  7858. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7859. 'Last Download :',
  7860. 'img src="\\/404.jpg"',
  7861. 'optional--',
  7862. 'optional2--',
  7863. "//a[contains(@href,'exoshare.com/download.php')]"
  7864. );
  7865. }
  7866. if (GM_getValue("Check_borncash_dot_org_links", false))
  7867. {
  7868. addFileHost(
  7869. "borncash\\.org\/download\/\\?a=\\w+",
  7870. 'class="knop_1"',
  7871. '\/error\/er00',
  7872. 'optional--',
  7873. 'optional2--',
  7874. "//a[contains(@href,'borncash.org/download/')]"
  7875. );
  7876. }
  7877. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7878. {
  7879. addFileHost(
  7880. "vidplay\.net\/\\w+",
  7881. 'solvemedia puzzle widget',
  7882. 'File not found|AVOID_IE_BUG',
  7883. 'optional--',
  7884. 'optional2--',
  7885. "//a[contains(@href,'vidplay.net')]");
  7886. }
  7887. if (GM_getValue("Check_storagon_dot_com_links", false))
  7888. {
  7889. addFileHost(
  7890. "storagon\.com\/\\w+",
  7891. 'class="icon-cloud-download"></i>|content="Download Options',
  7892. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7893. 'optional--',
  7894. 'optional2--',
  7895. "//a[contains(@href,'storagon.com')]");
  7896. }
  7897. if (GM_getValue("Check_filedais_dot_com_links", false))
  7898. {
  7899. addFileHost(
  7900. "filedais\.com\/\\w+",
  7901. 'class="btn btn-info"|name="method_free"',
  7902. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7903. 'optional--',
  7904. 'optional2--',
  7905. "//a[contains(@href,'filedais.com')]");
  7906. }
  7907. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7908. {
  7909. addFileHost(
  7910. "up.4share\.vn\/\\w+",
  7911. '<font size="2" face="Verdana">',
  7912. 'font: 13px Tahoma; color: Brown',
  7913. 'optional--',
  7914. 'optional2--',
  7915. "//a[contains(@href,'up.4share.vn')]");
  7916. }
  7917. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7918. {
  7919. addFileHost(
  7920. "share.vnn\.vn\/\\w+",
  7921. '"index,follow"|<div class="main" id="download-box">',
  7922. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7923. 'optional--',
  7924. 'optional2--',
  7925. "//a[contains(@href,'share.vnn.vn')]");
  7926. }
  7927. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7928. {
  7929. addFileHost(
  7930. "upfile\.vn\/\\w+",
  7931. 'download-timer',
  7932. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7933. 'optional--',
  7934. 'optional2--',
  7935. "//a[contains(@href,'upfile.vn')]");
  7936. }
  7937. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7938. {
  7939. addFileHost(
  7940. "aisfile\.com\/\\w+",
  7941. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7942. '<div style="width:500px;text-align:left;">|File Not Found',
  7943. 'optional--',
  7944. 'optional2--',
  7945. "//a[contains(@href,'aisfile.com')]");
  7946. }
  7947. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7948. {
  7949. addFileHost(
  7950. "usersfiles\.com\/\\w+",
  7951. 'class="btn btn-success|id="btn_download" class="btn"',
  7952. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7953. 'optional--',
  7954. 'optional2--',
  7955. "//a[contains(@href,'usersfiles.com')]");
  7956. }
  7957. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7958. {
  7959. addFileHost(
  7960. "pan.baidu\.com\/\\w+",
  7961. 'target="_blank" title=|share-personal-info',
  7962. 'share_notfound.png|background:#f9f9f9',
  7963. 'optional--',
  7964. 'optional2--',
  7965. "//a[contains(@href,'pan.baidu.com')]");
  7966. }
  7967. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7968. {
  7969. addFileHost(
  7970. "yunpan\.cn\/\\w+",
  7971. 'class="icon icon-download',
  7972. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7973. 'optional--',
  7974. 'optional2--',
  7975. "//a[contains(@href,'yunpan.cn')]");
  7976. }
  7977. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7978. {
  7979. addFileHost(
  7980. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7981. 'getElementById("downbild")|style.display',
  7982. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7983. 'optional--',
  7984. 'optional2--',
  7985. "//a[contains(@href,'file-upload.net')]");
  7986. }
  7987. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7988. {
  7989. addFileHost(
  7990. "gulfup\.com\/",
  7991. '<!-- Downlod template -->|download.gif',
  7992. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7993. 'optional--',
  7994. 'optional2--',
  7995. "//a[contains(@href,'gulfup.com')]");
  7996. }
  7997. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7998. {
  7999. addFileHost(
  8000. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  8001. 'dldtable">',
  8002. 'does not exist\\.',
  8003. 'optional--',
  8004. 'optional2--',
  8005. "//a[contains(@href,'datafilehost.com')]");
  8006. }
  8007. if (GM_getValue("Check_dropbox_dot_com_links", false))
  8008. {
  8009. addFileHost(
  8010. "dropbox\.com\/s\/\\w+",
  8011. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  8012. '>Nothing Here<|>Error (404)<',
  8013. 'title>Dropbox - 509|Error (403)|Error: 429',
  8014. 'optional2--',
  8015. "//a[contains(@href,'dropbox.com')]");
  8016. }
  8017. if (GM_getValue("Check_box_dot_net_links", false))
  8018. {
  8019. addFileHost(
  8020. "box\.net\/\\w+",
  8021. 'download-file-btn|id="download_button',
  8022. 'BIyMin.png| <div class="error_message',
  8023. 'optional--',
  8024. 'optional2--',
  8025. "//a[contains(@href,'box.net')]");
  8026. }
  8027. if (GM_getValue("Check_fileband_dot_com_links", false))
  8028. {
  8029. addFileHost(
  8030. "fileband\.com\/\\w+",
  8031. 'value="download1">|name="id" value=',
  8032. '<div style="width:500px;text-align:left;">|not be found',
  8033. 'optional--',
  8034. 'optional2--',
  8035. "//a[contains(@href,'fileband.com')]");
  8036. }
  8037. if (GM_getValue("Check_filedropper_dot_com_links", false))
  8038. {
  8039. addFileHost(
  8040. "filedropper\.com\/\\w+",
  8041. 'background:#ddd;|width:985px; ',
  8042. 'background-color:#FFFFFF;|margin-left: -400px;',
  8043. 'optional--',
  8044. 'optional2--',
  8045. "//a[contains(@href,'filedropper.com')]");
  8046. }
  8047. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  8048. {
  8049. addFileHost(
  8050. "tropicshare\\.com\/files\/\\d+",
  8051. 'MB</span>|GB</span>|KB</span>',
  8052. '>FNF<|size: </span>',
  8053. 'optional--',
  8054. 'optional2--',
  8055. "//a[contains(@href,'tropicshare.com')]");
  8056. }
  8057. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  8058. {
  8059. addFileHost(
  8060. "goldbytez\.com\/\\w+",
  8061. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  8062. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  8063. 'optional--',
  8064. 'optional2--',
  8065. "//a[contains(@href,'goldbytez.com')]");
  8066. }
  8067. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8068. {
  8069. addFileHost(
  8070. "worldbytez\.com\/\\w+",
  8071. '<div class="download_type">',
  8072. '<div style="width:500px;text-align:left;">',
  8073. 'optional--',
  8074. 'optional2--',
  8075. "//a[contains(@href,'worldbytez.com')]");
  8076. }
  8077. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8078. {
  8079. addFileHost(
  8080. "freefilehosting\.net\/\\w+",
  8081. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8082. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8083. 'optional--',
  8084. 'optional2--',
  8085. "//a[contains(@href,'freefilehosting.net')]");
  8086. }
  8087. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8088. {
  8089. addFileHost(
  8090. "ziddu\.com\/\\w+",
  8091. 'downloads.ziddu.com|downloadfilelinkicon',
  8092. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8093. 'optional--',
  8094. 'optional2--',
  8095. "//a[contains(@href,'ziddu.com')]");
  8096. }
  8097. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8098. {
  8099. addFileHost(
  8100. "exclusiveloader\.com\/\\w+",
  8101. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8102. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8103. 'optional--',
  8104. 'optional2--',
  8105. "//a[contains(@href,'exclusiveloader.com')]");
  8106. }
  8107. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8108. {
  8109. addFileHost(
  8110. "sharerapid\.cz\/\\w+",
  8111. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8112. 'error_div">|404 - Not Found',
  8113. 'optional--',
  8114. 'optional2--',
  8115. "//a[contains(@href,'sharerapid.cz')]");
  8116. }
  8117. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8118. {
  8119. addFileHost(
  8120. "sdilej\.cz\/\\w+",
  8121. 'class="page-download"',
  8122. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8123. 'optional--',
  8124. 'optional2--',
  8125. "//a[contains(@href,'sdilej.cz')]");
  8126. }
  8127. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8128. {
  8129. addFileHost(
  8130. "lafiles\.com\/\\w+",
  8131. '<div id="pay_modes">',
  8132. '<b class="err"></b>',
  8133. 'optional--',
  8134. 'optional2--',
  8135. "//a[contains(@href,'lafiles.com')]");
  8136. }
  8137. if (GM_getValue("Check_acefile_dot_net_links", false))
  8138. {
  8139. addFileHost(
  8140. "acefile\.net\/\\w+",
  8141. 'align=right nowrap><b>',
  8142. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8143. 'optional--',
  8144. 'optional2--',
  8145. "//a[contains(@href,'acefile.net')]");
  8146. }
  8147. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8148. {
  8149. addFileHost(
  8150. "megarapid\.cz\/\\w+",
  8151. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8152. 'error_div">|404 - Not Found',
  8153. 'optional--',
  8154. 'optional2--',
  8155. "//a[contains(@href,'megarapid.cz')]");
  8156. }
  8157. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8158. {
  8159. addFileHost(
  8160. "yadi\.sk\/\\w+",
  8161. 'nb-button _nb-small-button',
  8162. 'error code|Nothing found',
  8163. 'optional--',
  8164. 'optional2--',
  8165. "//a[contains(@href,'yadi.sk')]");
  8166. }
  8167. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8168. {
  8169. addFileHost(
  8170. "imdb\.com\/\\w+",
  8171. 'imdb.com',
  8172. '404 Error',
  8173. 'optional--',
  8174. 'optional2--',
  8175. "//a[contains(@href,'imdb.com')]");
  8176. } */
  8177. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8178. {
  8179. addFileHost(
  8180. "hitfile\.net\/\\w+",
  8181. 'class="download-file',
  8182. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8183. 'optional--',
  8184. 'optional2--',
  8185. "//a[contains(@href,'hitfile.net')]");
  8186. }
  8187. /* if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8188. {
  8189. addFileHost(
  8190. "nitroflare\.com\/\\w+",
  8191. 'Report this file</a>|KB</span>',
  8192. 'file has been removed|id="error" style="display|Probably deleted',
  8193. 'optional--',
  8194. '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',
  8195. "//a[contains(@href,'nitroflare.com')]");
  8196. } */
  8197. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8198. {
  8199. addFileHost(
  8200. "up.top4top\.net\/\\w+",
  8201. 'start Downlod template',
  8202. 'start err template',
  8203. 'optional--',
  8204. 'optional2--',
  8205. "//a[contains(@href,'up.top4top.net')]");
  8206. }
  8207. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8208. {
  8209. addFileHost(
  8210. "filejoker\.net\/\\w+",
  8211. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8212. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8213. 'optional--',
  8214. 'id="download" class="premium-only">',
  8215. "//a[contains(@href,'filejoker.net')]");
  8216. }
  8217. if (GM_getValue("Check_free_dot_fr_links", false))
  8218. {
  8219. addFileHost(
  8220. "(?:dl.\\.|)free\\.fr",
  8221. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8222. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8223. 'optional--',
  8224. 'optional2--',
  8225. "//a[contains(@href,'dl.free.fr')]");
  8226. }
  8227. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8228. {
  8229. addFileHost(
  8230. "gboxes\.com\/\\w+",
  8231. 'You have requested|color="red">http://www.gboxes.com',
  8232. 'File Not Found|<div style="width:500px;text-align:left;">',
  8233. 'optional--',
  8234. 'optional2--',
  8235. "//a[contains(@href,'gboxes.com')]");
  8236. }
  8237. if (GM_getValue("Check_led_dot_wf_links", false))
  8238. {
  8239. addFileHost(
  8240. "led\.wf\/\\w+",
  8241. 'logo_0.png|downloads.gif"|verifycode',
  8242. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8243. 'optional--',
  8244. 'available only for Premium users',
  8245. "//a[contains(@href,'led.wf')]");
  8246. }
  8247. if (GM_getValue("Check_lan_dot_wf_links", false))
  8248. {
  8249. addFileHost(
  8250. "lan\.wf\/\\w+",
  8251. 'logo_0.png|downloads.gif"|verifycode',
  8252. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8253. 'optional--',
  8254. 'available only for Premium users',
  8255. "//a[contains(@href,'lan.wf')]");
  8256. }
  8257. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8258. {
  8259. addFileHost(
  8260. "adlink\.wf\/\\w+",
  8261. 'logo_0.png|downloads.gif"|verifycode',
  8262. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8263. 'optional--',
  8264. 'available only for Premium users',
  8265. "//a[contains(@href,'adlink.wf')]");
  8266. }
  8267. if (GM_getValue("Check_click_dot_tf_links", false))
  8268. {
  8269. addFileHost(
  8270. "click\.tf\/\\w+",
  8271. 'logo_0.png|downloads.gif"|verifycode',
  8272. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8273. 'optional--',
  8274. 'available only for Premium users',
  8275. "//a[contains(@href,'click.tf')]");
  8276. }
  8277. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8278. {
  8279. addFileHost(
  8280. "ssh\.tf\/\\w+",
  8281. 'logo_0.png|downloads.gif"|verifycode',
  8282. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8283. 'optional--',
  8284. 'available only for Premium users',
  8285. "//a[contains(@href,'ssh.tf')]");
  8286. }
  8287. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8288. {
  8289. addFileHost(
  8290. "ssh\.yt\/\\w+",
  8291. 'logo_0.png|downloads.gif"|verifycode',
  8292. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8293. 'optional--',
  8294. 'available only for Premium users',
  8295. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8296. }
  8297. if (GM_getValue("Check_yep_dot_pm_links", false))
  8298. {
  8299. addFileHost(
  8300. "yep\.pm\/\\w+",
  8301. 'logo_0.png|downloads.gif"|verifycode',
  8302. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8303. 'optional--',
  8304. 'available only for Premium users',
  8305. "//a[contains(@href,'yep.pm')]");
  8306. }
  8307. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8308. {
  8309. addFileHost(
  8310. "kyc\.pm\/\\w+",
  8311. 'logo_0.png|downloads.gif"|verifycode',
  8312. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8313. 'optional--',
  8314. 'available only for Premium users',
  8315. "//a[contains(@href,'kyc.pm')]");
  8316. }
  8317. if (GM_getValue("Check_brupload_dot_net_links", false))
  8318. {
  8319. addFileHost(
  8320. "brupload\.net\/\\w+",
  8321. 'Download Gratuito',
  8322. '<div style="width:500px;text-align:left;">',
  8323. 'optional--',
  8324. 'optional2--',
  8325. "//a[contains(@href,'brupload.net')]");
  8326. }
  8327. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8328. {
  8329. addFileHost(
  8330. "cloudzilla\.to\/\\w+",
  8331. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8332. 'File not found|/imgs/broken.png',
  8333. 'optional--',
  8334. 'optional2--',
  8335. "//a[contains(@href,'cloudzilla.to')]");
  8336. }
  8337. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8338. {
  8339. addFileHost(
  8340. "fileparadox\.in\/\\w+",
  8341. 'CONTENT="Download File|method_free_file',
  8342. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8343. 'optional--',
  8344. 'optional2--',
  8345. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8346. } */
  8347. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8348. {
  8349. addFileHost(
  8350. "clicknupload\.com\/\\w+",
  8351. 'name="method_free',
  8352. 'File Not Found',
  8353. 'optional--',
  8354. 'optional2--',
  8355. "//a[contains(@href,'clicknupload.com')]");
  8356. }
  8357. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8358. {
  8359. addFileHost(
  8360. "clicknupload\.me\/\\w+",
  8361. 'name="method_free',
  8362. 'File Not Found',
  8363. 'optional--',
  8364. 'optional2--',
  8365. "//a[contains(@href,'clicknupload.me')]");
  8366. }
  8367. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8368. {
  8369. addFileHost(
  8370. "clicknupload\.link\/\\w+",
  8371. 'name="method_free',
  8372. 'File Not Found',
  8373. 'optional--',
  8374. 'optional2--',
  8375. "//a[contains(@href,'clicknupload.link')]");
  8376. }
  8377. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8378. {
  8379. addFileHost(
  8380. "ex-load\.com\/\\w+",
  8381. 'name="method_free|<p>Download File:</p>',
  8382. 'Folder Not Found|File Not Found|Error 404',
  8383. 'optional--',
  8384. 'class="downprem wow bounceInLeft',
  8385. "//a[contains(@href,'ex-load.com')]");
  8386. }
  8387. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8388. {
  8389. addFileHost(
  8390. "hexupload\.com\/\\w+",
  8391. 'button" value="Free|type="submit" value=""',
  8392. 'File Not Found|<div style="width:500px;text-align:left;">',
  8393. 'optional--',
  8394. 'optional2--',
  8395. "//a[contains(@href,'hexupload.com')]");
  8396. }
  8397. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8398. {
  8399. addFileHost(
  8400. "wizupload\.com\/\\w+",
  8401. 'btn_download|class="downloadbtn"',
  8402. '>File Not Found<',
  8403. 'optional--',
  8404. 'optional2--',
  8405. "//a[contains(@href,'wizupload.com')]");
  8406. }
  8407. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8408. {
  8409. addFileHost(
  8410. "filecloud\.cc\/\\w+",
  8411. 'align="center"><input type="submit" name=',
  8412. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8413. 'optional--',
  8414. 'optional2--',
  8415. "//a[contains(@href,'filecloud.cc')]");
  8416. }
  8417. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8418. {
  8419. addFileHost(
  8420. "inclouddrive\.com\/\\w+",
  8421. 'initfreedownload',
  8422. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8423. 'optional--',
  8424. 'optional2--',
  8425. "//a[contains(@href,'inclouddrive.com')]");
  8426. }
  8427. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8428. {
  8429. addFileHost(
  8430. "radicalshare\.com\/\\w+",
  8431. 'value="download1|name="method_free"',
  8432. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8433. 'optional--',
  8434. 'optional2--',
  8435. "//a[contains(@href,'radicalshare.com')]");
  8436. }
  8437. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8438. {
  8439. addFileHost(
  8440. "sharemods\.com\/\\w+",
  8441. 'name="method_free"',
  8442. 'File Not Found<',
  8443. 'optional--',
  8444. 'optional2--',
  8445. "//a[contains(@href,'sharemods.com')]");
  8446. }
  8447. if (GM_getValue("Check_hostr_dot_co_links", false))
  8448. {
  8449. addFileHost(
  8450. "hostr\.co\/\\w+",
  8451. 'method="get"',
  8452. 'File not found<|error-page',
  8453. 'optional--',
  8454. 'optional2--',
  8455. "//a[contains(@href,'hostr.co')]");
  8456. }
  8457. if (GM_getValue("Check_filepi_dot_com_links", false))
  8458. {
  8459. addFileHost(
  8460. "filepi\.com\/\\w+",
  8461. 'id="button_start">',
  8462. 'File not found',
  8463. 'optional--',
  8464. 'optional2--',
  8465. "//a[contains(@href,'filepi.com')]");
  8466. }
  8467. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8468. {
  8469. addFileHost(
  8470. "tikfile\.com\/\\w+",
  8471. 'btn_download',
  8472. 'File Not Found|file was removed|Reason for deletion',
  8473. 'optional--',
  8474. 'optional2--',
  8475. "//a[contains(@href,'tikfile.com')]");
  8476. }
  8477. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8478. {
  8479. addFileHost(
  8480. "cloudsix\.me\/\\w+",
  8481. 'name="method_free"',
  8482. 'File Not Found|width:500px;text-align:left;">',
  8483. 'optional--',
  8484. 'optional2--',
  8485. "//a[contains(@href,'cloudsix.me')]");
  8486. }
  8487. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8488. {
  8489. addFileHost(
  8490. "neodrive\.co\/\\w+",
  8491. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8492. 'File not found|/imgs/broken.png',
  8493. 'optional--',
  8494. 'optional2--',
  8495. "//a[contains(@href,'neodrive.co')]");
  8496. }
  8497. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8498. {
  8499. addFileHost(
  8500. "chayfile\.com\/\\w+",
  8501. 'name="method_free"',
  8502. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8503. 'optional--',
  8504. 'optional2--',
  8505. "//a[contains(@href,'chayfile.com')]");
  8506. }
  8507. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8508. {
  8509. addFileHost(
  8510. "xfileload\.com\/\\w+",
  8511. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8512. '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..|הקובץ שחיפשת לא נמצא.',
  8513. 'optional--',
  8514. 'optional2--',
  8515. "//a[contains(@href,'xfileload.com')]");
  8516. }
  8517. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8518. {
  8519. addFileHost(
  8520. "rockfile\.eu\/\\w+",
  8521. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8522. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8523. 'optional--',
  8524. 'optional2--',
  8525. "//a[contains(@href,'rockfile.eu')]");
  8526. }
  8527. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8528. {
  8529. addFileHost(
  8530. "24uploading\.com\/\\w+",
  8531. 'File:|Download Speed:',
  8532. '<b>File Not Found</b>|file was removed',
  8533. 'optional--',
  8534. 'optional2--',
  8535. "//a[contains(@href,'24uploading.com')]");
  8536. }
  8537. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8538. {
  8539. addFileHost(
  8540. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8541. 'i/icon/dll.png"|>Start download<br',
  8542. 'no longer available<|i/ino.png"',
  8543. 'optional--',
  8544. 'optional2--',
  8545. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8546. }
  8547. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8548. {
  8549. addFileHost(
  8550. "jumbofile\.net\/\\w+",
  8551. 'button" class="" value="Free',
  8552. 'This File Was Deleted',
  8553. 'optional--',
  8554. 'optional2--',
  8555. "//a[contains(@href,'jumbofile.net')]");
  8556. } */
  8557. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8558. {
  8559. addFileHost(
  8560. "ozofiles\.com\/\\w+",
  8561. 'button" value="Free|name="method_free',
  8562. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8563. 'optional--',
  8564. 'optional2--',
  8565. "//a[contains(@href,'ozofiles.com')]");
  8566. }
  8567. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8568. {
  8569. addFileHost(
  8570. "loudupload\.net\/\\w+",
  8571. 'value="Get Links',
  8572. 'File Not Found',
  8573. 'optional--',
  8574. 'optional2--',
  8575. "//a[contains(@href,'loudupload.net')]");
  8576. }
  8577. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8578. {
  8579. addFileHost(
  8580. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8581. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8582. '>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">',
  8583. 'optional--',
  8584. 'optional2--',
  8585. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8586. }
  8587. if (GM_getValue("Check_krotix_dot_net_links", false))
  8588. {
  8589. addFileHost(
  8590. "krotix\.net\/\\w+",
  8591. 'btn btn-warning|btn-free',
  8592. 'pageErrors|This File has been removed',
  8593. 'content="Scheduled Maintenance',
  8594. 'optional2--',
  8595. "//a[contains(@href,'krotix.net')]");
  8596. } */
  8597. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8598. {
  8599. addFileHost(
  8600. "userscloud\.com\/\\w+",
  8601. 'btn_download|class="label label-success">',
  8602. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8603. 'optional--',
  8604. 'optional2--',
  8605. "//a[contains(@href,'userscloud.com')]");
  8606. }
  8607. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8608. {
  8609. addFileHost(
  8610. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8611. 'class="button download',
  8612. 'internal server error',
  8613. 'optional--',
  8614. 'optional2--',
  8615. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8616. }
  8617. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8618. {
  8619. addFileHost(
  8620. "kb.simple-aja\.info\/\\w+",
  8621. 'class="button download',
  8622. 'internal server error|<p>404</p>',
  8623. 'optional--',
  8624. 'optional2--',
  8625. "//a[contains(@href,'kb.simple')]");
  8626. }
  8627. if (GM_getValue("Check_faststore_dot_org_links", false))
  8628. {
  8629. addFileHost(
  8630. "faststore\.org\/\\w+",
  8631. 'name="method_free',
  8632. 'File Not Found',
  8633. 'optional--',
  8634. 'optional2--',
  8635. "//a[contains(@href,'faststore.org')]");
  8636. }
  8637. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8638. {
  8639. addFileHost(
  8640. "prefiles\.com\/\\w+",
  8641. 'id="method_free',
  8642. 'File not Found',
  8643. 'optional--',
  8644. 'optional2--',
  8645. "//a[contains(@href,'prefiles.com')]");
  8646. }
  8647. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8648. {
  8649. addFileHost(
  8650. "doraupload\.com\/\\w+",
  8651. 'btn_download|name="method_free',
  8652. 'class="error-code|Could Not Be Found',
  8653. 'optional--',
  8654. 'optional2--',
  8655. "//a[contains(@href,'doraupload.com')]");
  8656. }
  8657. if (GM_getValue("Check_openload_dot_io_links", false))
  8658. {
  8659. addFileHost(
  8660. "openload\.io\/\\w+",
  8661. 'btn btn-primary|class="count">|secondsleftouter',
  8662. 'class="jumbotron">|We are sorry',
  8663. 'optional--',
  8664. 'optional2--',
  8665. "//a[contains(@href,'openload.io')]");
  8666. }
  8667. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8668. {
  8669. addFileHost(
  8670. "uploads\.xxx\/\\w+",
  8671. 'downoadForFree',
  8672. 'File not found',
  8673. 'optional--',
  8674. 'optional2--',
  8675. "//a[contains(@href,'uploads.xxx')]");
  8676. }
  8677. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8678. {
  8679. addFileHost(
  8680. "zxcfiles\.com\/\\w+",
  8681. 'class="downloadbtn',
  8682. 'File Not Found',
  8683. 'optional--',
  8684. 'optional2--',
  8685. "//a[contains(@href,'zxcfiles.com')]");
  8686. }
  8687. if (GM_getValue("Check_up07_dot_net_links", false))
  8688. {
  8689. addFileHost(
  8690. "up07\.net\/\\w+",
  8691. 'name="method_free',
  8692. 'File Not Found',
  8693. 'optional--',
  8694. 'optional2--',
  8695. "//a[contains(@href,'up07.net')]");
  8696. }
  8697. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8698. {
  8699. addFileHost(
  8700. "fileupload\.pw\/\\w+",
  8701. 'value="Free"',
  8702. 'File Not Found',
  8703. 'optional--',
  8704. 'optional2--',
  8705. "//a[contains(@href,'fileupload.pw')]");
  8706. }
  8707. if (GM_getValue("Check_4upld_dot_com_links", false))
  8708. {
  8709. addFileHost(
  8710. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8711. 'alt="Download Now"|content="Download file">|btn-free-element',
  8712. '<title>Error|content="error|File not found',
  8713. 'optional--',
  8714. 'optional2--',
  8715. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8716. }
  8717. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8718. {
  8719. addFileHost(
  8720. "newfileland\.com\/\\w+",
  8721. 'name="method_free',
  8722. 'File Not Found',
  8723. 'optional--',
  8724. 'optional2--',
  8725. "//a[contains(@href,'newfileland.com')]");
  8726. } */
  8727. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8728. {
  8729. addFileHost(
  8730. "(?:.swoopshare)\\.com\/\\w+",
  8731. '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',
  8732. '<input type="file" name="f"',
  8733. 'optional--',
  8734. 'optional2--',
  8735. "//a[contains(@href,'swoopshare.com')]"
  8736. );
  8737. }
  8738. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8739. {
  8740. addFileHost(
  8741. "cloudshares\.net\/\\w+",
  8742. '"method_free|"Low Speed Download|submit" name="go',
  8743. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8744. 'optional--',
  8745. 'optional2--',
  8746. "//a[contains(@href,'cloudshares.net')]"
  8747. );
  8748. }
  8749. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8750. {
  8751. addFileHost(
  8752. "allmyvideos\.net\/\\w+",
  8753. 'Continue to Video',
  8754. 'File Not Found|class="err">Removed for',
  8755. 'optional--',
  8756. 'optional2--',
  8757. "//a[contains(@href,'allmyvideos.net')]"
  8758. );
  8759. }
  8760. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8761. {
  8762. addFileHost(
  8763. "vodlocker\.com\/\\w+",
  8764. 'Proceed to video',
  8765. 'Not Found',
  8766. 'optional--',
  8767. 'optional2--',
  8768. "//a[contains(@href,'vodlocker.com')]"
  8769. );
  8770. }
  8771. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8772. {
  8773. addFileHost(
  8774. "vidbull\.com\/\\w+",
  8775. 'Verifying Video Request',
  8776. 'File Not Found',
  8777. 'optional--',
  8778. 'optional2--',
  8779. "//a[contains(@href,'vidbull.com')]");
  8780. }
  8781. if (GM_getValue("Check_novamov_dot_com_links", false))
  8782. {
  8783. addFileHost(
  8784. "novamov\.com\/\\w+",
  8785. 'For version detection',
  8786. 'file no longer exists',
  8787. 'optional--',
  8788. 'optional2--',
  8789. "//a[contains(@href,'novamov.com')]"
  8790. );
  8791. }
  8792. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8793. {
  8794. addFileHost(
  8795. "filehoot\.com\/\\w+",
  8796. 'Continue to watch',
  8797. 'File Not Found',
  8798. 'optional--',
  8799. 'optional2--',
  8800. "//a[contains(@href,'filehoot.com')]"
  8801. );
  8802. }
  8803. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8804. {
  8805. addFileHost(
  8806. "stagevu\.com\/\\w+",
  8807. 'Video Info',
  8808. 'No video with the provided',
  8809. 'optional--',
  8810. 'optional2--',
  8811. "//a[contains(@href,'stagevu.com')]"
  8812. );
  8813. }
  8814. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8815. {
  8816. addFileHost(
  8817. "cloudtime\.to\/\\w+",
  8818. 'Download the video',
  8819. 'no longer exists',
  8820. 'optional--',
  8821. 'optional2--',
  8822. "//a[contains(@href,'cloudtime.to')]"
  8823. );
  8824. }
  8825. if (GM_getValue("Check_streamin_dot_to_links", false))
  8826. {
  8827. addFileHost(
  8828. "streamin\.to\/\\w+",
  8829. 'id="btn_download',
  8830. 'Not Found|Copyright Infringement|File Deleted',
  8831. 'optional--',
  8832. 'optional2--',
  8833. "//a[contains(@href,'streamin.to')]"
  8834. );
  8835. }
  8836. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8837. {
  8838. addFileHost(
  8839. "videoweed\.es\/\\w+",
  8840. 'version detection',
  8841. 'no longer exists',
  8842. 'optional--',
  8843. 'optional2--',
  8844. "//a[contains(@href,'videoweed.es')]"
  8845. );
  8846. }
  8847. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8848. {
  8849. addFileHost(
  8850. "nowvideo\.sx\/\\w+",
  8851. 'Download this video|value="submit">Continue',
  8852. 'no longer exists',
  8853. 'optional--',
  8854. 'optional2--',
  8855. "//a[contains(@href,'nowvideo.sx')]"
  8856. );
  8857. }
  8858. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8859. {
  8860. addFileHost(
  8861. "thevideo\.me\/\\w+",
  8862. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8863. 'File Not Found',
  8864. 'optional--',
  8865. 'optional2--',
  8866. "//a[contains(@href,'thevideo.me')]"
  8867. );
  8868. }
  8869. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8870. {
  8871. addFileHost(
  8872. "gorillavid\.in\/\\w+",
  8873. 'Wait 5 seconds',
  8874. 'File Not Found',
  8875. 'optional--',
  8876. 'optional2--',
  8877. "//a[contains(@href,'gorillavid.in')]"
  8878. );
  8879. }
  8880. if (GM_getValue("Check_thefile_dot_me_links", false))
  8881. {
  8882. addFileHost(
  8883. "thefile\.me\/\\w+",
  8884. 'Choose free or',
  8885. '',
  8886. 'optional--',
  8887. 'optional2--',
  8888. "//a[contains(@href,'thefile.me')]"
  8889. );
  8890. }
  8891. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8892. {
  8893. addFileHost(
  8894. "vidzi\.tv\/\\w+",
  8895. 'video-embed-modal row',
  8896. 'File Not Found|file was deleted',
  8897. 'optional--',
  8898. 'optional2--',
  8899. "//a[contains(@href,'vidzi.tv')]"
  8900. );
  8901. }
  8902. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8903. {
  8904. addFileHost(
  8905. "filenuke\.com\/\\w+",
  8906. 'Download File',
  8907. 'Earn with us',
  8908. 'optional--',
  8909. 'optional2--',
  8910. "//a[contains(@href,'filenuke.com')]"
  8911. );
  8912. }
  8913. if (GM_getValue("Check_vidto_dot_me_links", false))
  8914. {
  8915. addFileHost(
  8916. "vidto\.me\/\\w+",
  8917. 'Proceed to video',
  8918. 'Not Found',
  8919. 'optional--',
  8920. 'optional2--',
  8921. "//a[contains(@href,'vidto.me')]"
  8922. );
  8923. }
  8924. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8925. {
  8926. addFileHost(
  8927. "vidspot\.net\/\\w+",
  8928. 'Duration',
  8929. 'Removed for',
  8930. 'optional--',
  8931. 'optional2--',
  8932. "//a[contains(@href,'vidspot.net')]"
  8933. );
  8934. }
  8935. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8936. {
  8937. addFileHost(
  8938. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8939. 'Download File',
  8940. 'File Not Found',
  8941. 'optional--',
  8942. 'optional2--',
  8943. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8944. );
  8945. }
  8946. if (GM_getValue("Check_movpod_dot_in_links", false))
  8947. {
  8948. addFileHost(
  8949. "movpod\.in\/\\w+",
  8950. 'Continue',
  8951. 'File Not Found',
  8952. 'optional--',
  8953. 'optional2--',
  8954. "//a[contains(@href,'movpod.in')]"
  8955. );
  8956. }
  8957. if (GM_getValue("Check_down4files_dot_com_links", false))
  8958. {
  8959. addFileHost(
  8960. "down4files\.com\/\\w+",
  8961. 'down_table.png',
  8962. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8963. 'optional--',
  8964. 'optional2--',
  8965. "//a[contains(@href,'down4files.com')]"
  8966. );
  8967. }
  8968. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8969. {
  8970. addFileHost(
  8971. "storefiles\.co\/\\w+",
  8972. 'btn_download',
  8973. 'No such file|>Error<|mqmaintitle">',
  8974. 'optional--',
  8975. 'optional2--',
  8976. "//a[contains(@href,'storefiles.co')]"
  8977. );
  8978. }
  8979. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8980. {
  8981. addFileHost(
  8982. "filehost\.pw\/\\w+",
  8983. 'name="method_free',
  8984. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8985. 'optional--',
  8986. 'optional2--',
  8987. "//a[contains(@href,'filehost.pw')]"
  8988. );
  8989. }
  8990. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8991. {
  8992. addFileHost(
  8993. "inafile\.com\/\\w+",
  8994. 'value="download1">|<h2>File: <font style="color:darkred">',
  8995. '<div style="width:500px;text-align:left;">|File Not Found',
  8996. 'optional--',
  8997. 'optional2--',
  8998. "//a[contains(@href,'inafile.com')]"
  8999. );
  9000. } */
  9001. if (GM_getValue("Check_uplea_dot_com_links", false))
  9002. {
  9003. addFileHost(
  9004. "uplea\.com\/\\w+",
  9005. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  9006. 'expired link|ou est invalide',
  9007. 'optional--',
  9008. 'optional2--',
  9009. "//a[contains(@href,'uplea.com/dl')]",
  9010. true);
  9011. }
  9012. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  9013. {
  9014. addFileHost(
  9015. "toutbox\.fr\/\\w+",
  9016. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  9017. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  9018. 'Serviço temporariamente indisponível',
  9019. 'optional2--',
  9020. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  9021. );
  9022. }
  9023. if (GM_getValue("Check_openload_dot_co_links", false))
  9024. {
  9025. addFileHost(
  9026. "openload\.co\/\\w+",
  9027. 'id="downloadTimer">|button dlbutton',
  9028. 'jumbotron{color|got deleted|center !important',
  9029. 'optional--',
  9030. 'optional2--',
  9031. "//a[contains(@href,'openload.co')]"
  9032. );
  9033. }
  9034. if (GM_getValue("Check_lolabits_dot_es_links", false))
  9035. {
  9036. addFileHost(
  9037. "lolabits\.es\/\\w+",
  9038. 'Descargar:',
  9039. '<title>Archivos de usuario',
  9040. 'Service Unavailable',
  9041. 'optional2--',
  9042. "//a[contains(@href,'lolabits.es')]"
  9043. );
  9044. }
  9045. if (GM_getValue("Check_alfafile_dot_net_links", false))
  9046. {
  9047. addFileHost(
  9048. "alfafile\.net\/\\w+",
  9049. 'id="slow_download_btn',
  9050. 'class="error-box">',
  9051. 'optional--',
  9052. 'optional2--',
  9053. "//a[contains(@href,'alfafile.net')]"
  9054. );
  9055. }
  9056. if (GM_getValue("Check_multiup_dot_org_links", false))
  9057. {
  9058. addFileHost(
  9059. "multiup\.org\/\\w+",
  9060. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  9061. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  9062. 'optional--',
  9063. 'optional2--',
  9064. "//a[contains(@href,'multiup.org')]"
  9065. );
  9066. }
  9067. if (GM_getValue("Check_file_dot_al_links", false))
  9068. {
  9069. addFileHost(
  9070. "file\.al\/\\w+",
  9071. 'method_free',
  9072. 'style="width:500px;text-align:left;">',
  9073. 'optional--',
  9074. 'optional2--',
  9075. "//a[contains(@href,'file.al')]"
  9076. );
  9077. }
  9078. if (GM_getValue("Check_devilshare_dot_net_links", false))
  9079. {
  9080. addFileHost(
  9081. "devilshare\.net\/\\w+",
  9082. '<div class="large-12" id="download">',
  9083. '(Link: 0 Invalid)|File Not Found',
  9084. 'optional--',
  9085. 'optional2--',
  9086. "//a[contains(@href,'devilshare.net')]"
  9087. );
  9088. }
  9089. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  9090. {
  9091. addFileHost(
  9092. "dailyuploads\.net\/\\w+",
  9093. 'id="downloadBtnClickOrignal',
  9094. '<div style="width:500px;text-align:left;">',
  9095. 'optional--',
  9096. 'optional2--',
  9097. "//a[contains(@href,'dailyuploads.net')]"
  9098. );
  9099. }
  9100. if (GM_getValue("Check_datoteke_dot_com_links", false))
  9101. {
  9102. addFileHost(
  9103. "datoteke\.com\/\\w+",
  9104. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  9105. '&nbsp;File has been removed',
  9106. 'optional--',
  9107. '<title>Error - Datoteke',
  9108. "//a[contains(@href,'datoteke.com')]"
  9109. );
  9110. }
  9111. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  9112. {
  9113. addFileHost(
  9114. "tezfiles\.com\/\\w+",
  9115. 'virtual/low-speed-download',
  9116. 'class="alert alert-block|file is no longer available',
  9117. 'optional--',
  9118. 'This file is available<br>only for premium members',
  9119. "//a[contains(@href,'tezfiles.com')]"
  9120. );
  9121. } */
  9122. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  9123. {
  9124. addFileHost(
  9125. "sharehost\.eu\/\\w+",
  9126. '/?v=download_free&',
  9127. 'Errors occured|Wystąpiły błędy',
  9128. 'optional--',
  9129. 'optional2--',
  9130. "//a[contains(@href,'sharehost.eu')]"
  9131. );
  9132. }
  9133. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9134. {
  9135. addFileHost(
  9136. "pornfile\.cz\/\\w+",
  9137. 'Stáhnout soubor',
  9138. 'Soubor byl smazán',
  9139. 'optional--',
  9140. 'optional2--',
  9141. "//a[contains(@href,'pornfile.cz')]"
  9142. );
  9143. }
  9144. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9145. {
  9146. addFileHost(
  9147. "pornoid\.cz\/\\w+",
  9148. 'class="btn btn-large btn-download',
  9149. 'Soubor byl smazán',
  9150. 'optional--',
  9151. 'optional2--',
  9152. "//a[contains(@href,'pornoid.cz')]"
  9153. );
  9154. }
  9155. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9156. {
  9157. addFileHost(
  9158. "file-share\.top\/\\w+",
  9159. 'btn-success btn-lg download',
  9160. 'Stránka neexistuje|404 Not Found',
  9161. 'optional--',
  9162. 'optional2--',
  9163. "//a[contains(@href,'file-share.top')]"
  9164. );
  9165. }
  9166. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9167. {
  9168. addFileHost(
  9169. "bitster\.cz\/\\w+",
  9170. 'section" content="VIDEO"',
  9171. 'section" content=""',
  9172. 'optional--',
  9173. 'optional2--',
  9174. "//a[contains(@href,'bitster.cz')]"
  9175. );
  9176. }
  9177. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9178. {
  9179. addFileHost(
  9180. "rapidu\.net\/\\w+",
  9181. 'onclick="downloadFreeFile',
  9182. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9183. 'optional--',
  9184. 'optional2--',
  9185. "//a[contains(@href,'rapidu.net')]"
  9186. );
  9187. }
  9188. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9189. {
  9190. addFileHost(
  9191. "dinoshare\.cz\/\\w+",
  9192. 'class="download-button"',
  9193. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9194. 'optional--',
  9195. 'optional2--',
  9196. "//a[contains(@href,'dinoshare.cz')]"
  9197. );
  9198. }
  9199. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9200. {
  9201. addFileHost(
  9202. "bytewhale\.com\/\\w+",
  9203. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9204. 'var rawest = "0 MB',
  9205. 'optional--',
  9206. 'optional--',
  9207. "//a[contains(@href,'bytewhale.com')]"
  9208. );
  9209. }
  9210. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9211. {
  9212. addFileHost(
  9213. "rapidrar\.com\/\\w+",
  9214. 'value="Free Download',
  9215. '<div style="width:500px;text-align:left;">',
  9216. 'optional--',
  9217. 'optional--',
  9218. "//a[contains(@href,'rapidrar.com')]"
  9219. );
  9220. }
  9221. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9222. {
  9223. addFileHost(
  9224. "gigasize\.com\/\\w+",
  9225. 'class="estimate">',
  9226. 'class="error">',
  9227. 'optional--',
  9228. 'optional--',
  9229. "//a[contains(@href,'gigasize.com')]"
  9230. );
  9231. }
  9232. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9233. {
  9234. addFileHost(
  9235. "filesupload\.org\/\\w+",
  9236. '<a href="/download-or-watch/',
  9237. 'File not found',
  9238. 'optional--',
  9239. 'optional--',
  9240. "//a[contains(@href,'filesupload.org')]"
  9241. );
  9242. }
  9243. if (GM_getValue("Check_filecad_dot_com_links", false))
  9244. {
  9245. addFileHost(
  9246. "filecad\.com\/\\w+",
  9247. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9248. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9249. 'optional--',
  9250. 'optional--',
  9251. "//a[contains(@href,'filecad.com')]"
  9252. );
  9253. }
  9254. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9255. {
  9256. addFileHost(
  9257. "file.up09\.com\/\\w+",
  9258. 'name="method_free',
  9259. 'style="width:500px;text-align:left;">',
  9260. 'optional--',
  9261. 'optional--',
  9262. "//a[contains(@href,'file.up09.com')]"
  9263. );
  9264. }
  9265. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9266. {
  9267. addFileHost(
  9268. "lunaticfiles\.com\/\\w+",
  9269. 'name="method_free"',
  9270. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9271. 'optional--',
  9272. 'optional--',
  9273. "//a[contains(@href,'lunaticfiles.com')]"
  9274. );
  9275. }
  9276. if (GM_getValue("Check_upload_dot_af_links", false))
  9277. {
  9278. addFileHost(
  9279. "upload\.af\/\\w+",
  9280. 'id="method_free"',
  9281. '<h1>File Not Found</',
  9282. 'optional--',
  9283. 'optional--',
  9284. "//a[contains(@href,'upload.af')]"
  9285. );
  9286. }
  9287. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9288. {
  9289. addFileHost(
  9290. "filedwon\.info\/\\w+",
  9291. 'name="method_free"',
  9292. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9293. 'optional--',
  9294. 'optional--',
  9295. "//a[contains(@href,'filedwon.info')]"
  9296. );
  9297. }
  9298. if (GM_getValue("Check_uplod_dot_it_links", false))
  9299. {
  9300. addFileHost(
  9301. "uplod\.it\/\\w+",
  9302. 'value="download2">|name="method_free',
  9303. '<Title>Download </Title>',
  9304. 'optional--',
  9305. 'optional--',
  9306. "//a[contains(@href,'uplod.it')]"
  9307. );
  9308. }
  9309. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9310. {
  9311. addFileHost(
  9312. "abelhas\.pt\/\\w+",
  9313. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9314. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9315. 'optional--',
  9316. 'optional--',
  9317. "//a[contains(@href,'abelhas.pt')]"
  9318. );
  9319. }
  9320. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9321. {
  9322. addFileHost(
  9323. "disk.yandex\.com\/\\w+",
  9324. 'nb-button _nb-small-button',
  9325. 'error code|Nothing found',
  9326. 'optional--',
  9327. 'optional2--',
  9328. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9329. }
  9330. /* if (GM_getValue("Check_k2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9331. {
  9332. addFileHost(
  9333. "k2s\.cc\/\\w+",
  9334. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9335. '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',
  9336. 'method="post">Displaying',
  9337. 'optional2--',
  9338. "//a[contains(@href,'k2s.cc')]");
  9339. }
  9340. if (GM_getValue("Check_keep2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9341. {
  9342. addFileHost(
  9343. "keep2s\.cc\/\\w+",
  9344. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9345. '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',
  9346. 'method="post">Displaying',
  9347. 'optional2--',
  9348. "//a[contains(@href,'keep2s.cc')]");
  9349. }
  9350. if (GM_getValue("Check_keep2share_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9351. {
  9352. addFileHost(
  9353. "keep2share\.cc\/\\w+",
  9354. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9355. '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',
  9356. 'method="post">Displaying',
  9357. 'optional2--',
  9358. "//a[contains(@href,'keep2share.cc')]");
  9359. }
  9360. if (GM_getValue("Check_keep2share_dot_com_links", false)) //this is here so host will work past redirect service antiref.com
  9361. {
  9362. addFileHost(
  9363. "keep2share\.com\/\\w+",
  9364. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9365. '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',
  9366. 'method="post">Displaying',
  9367. 'optional2--',
  9368. "//a[contains(@href,'keep2share.com')]");
  9369. } */
  9370. if (GM_getValue("Check_filespace_dot_com_links", false))
  9371. {
  9372. addFileHost(
  9373. "filespace\.com\/\\w+",
  9374. 'name="method_free',
  9375. '<div style="text-align:left;"><ul>|>File not found.<',
  9376. 'optional1--',
  9377. 'optional2--',
  9378. "//a[contains(@href,'filespace.com')]");
  9379. }
  9380. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9381. {
  9382. addFileHost(
  9383. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9384. 'name="downloadFile|id="downloadFile|value="Wait',
  9385. '<title>File not found</title>|>Error:<',
  9386. 'optional1--',
  9387. 'optional2--',
  9388. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9389. }
  9390.  
  9391. }
  9392. //start here
  9393.  
  9394. //hosts with direct download, so they must be requested for headers only
  9395. function initFileHostsHeadersOnly()
  9396. {
  9397. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9398. {
  9399. var host = new Array(5);
  9400. host[0] = linkRegex;
  9401. host[1] = isAliveRegex;
  9402. host[2] = isDeadRegex;
  9403. host[3] = xpathEx;
  9404. host[4] = ispremRegex;
  9405. http_file_hosts_headers_only.push(host);
  9406. }
  9407. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9408. {
  9409. addFileHostHeadersOnly(
  9410. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9411. 'Connection: Keep-Alive',
  9412. 'Content-Length: 3857',
  9413. "//a[contains(@href,'uloziste.com')]"
  9414. )
  9415. }
  9416. if (GM_getValue("Check_adrive_dot_com_links", false))
  9417. {
  9418. addFileHostHeadersOnly(
  9419. "adrive\\.com\/public\/\\w+",
  9420. 'Connection: keep-alive',
  9421. 'orig_ref=deleted',
  9422. "//a[contains(@href,'adrive.com')]"
  9423. )
  9424. }
  9425. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9426. {
  9427. addFileHostHeadersOnly(
  9428. "myupload\\.dk\/showfile\/\\w+",
  9429. 'Expires:',
  9430. 'squeeze1\\s+Vary',
  9431. "//a[contains(@href,'myupload.dk/showfile')]"
  9432. )
  9433. }
  9434. }
  9435. //CustomRules
  9436. //functions add...Host copied here
  9437. function addObsoleteHost(linkRegex, xpathEx)
  9438. {
  9439. var host = new Array(2);
  9440. host[0] = linkRegex;
  9441. host[1] = xpathEx;
  9442. http_file_hosts_obsolete.push(host);
  9443. }
  9444. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9445. {
  9446. var host = new Array(7);
  9447. host[0] = linkRegex;
  9448. host[1] = isAliveRegex;
  9449. host[2] = isDeadRegex;
  9450. host[3] = isUnavaRegex;
  9451. host[4] = xpathEx;
  9452. tryLoop ? host[5] = true : host[5] = false;
  9453. host[6] = ispremRegex;
  9454. http_file_hosts.push(host);
  9455. }
  9456. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9457. {
  9458. var host = new Array(5);
  9459. host[0] = linkRegex;
  9460. host[1] = isAliveRegex;
  9461. host[2] = isDeadRegex;
  9462. host[3] = xpathEx;
  9463. host[4] = ispremRegex;
  9464. http_file_hosts_headers_only.push(host);
  9465. }
  9466. //takes a fully built rules array and adds the rules to WARLC
  9467. function applyCustomRules(customRules)
  9468. {
  9469. if (!customRules) return;
  9470. var rules, r, i;
  9471. rules = customRules.rules;
  9472. for (i = 0 ; i < rules.length ; i++)
  9473. {
  9474. r = rules[i];
  9475. if (r.enabled)
  9476. {
  9477. switch (r.type)
  9478. {
  9479. case 'single':
  9480. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9481. break;
  9482. case 'headers':
  9483. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9484. break;
  9485. case 'obsolete':
  9486. addObsoleteHost(r.urlregex, r.xpath)
  9487. break;
  9488. }
  9489. }
  9490. }
  9491. }
  9492.  
  9493.  
  9494. function initFileHostsCustom()
  9495. {
  9496. if (Custom_rules && Custom_rules_text)
  9497. {
  9498. var msg = '';
  9499. if (newVersion)
  9500. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9501. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9502. msg = '60 or more days have passed since this notification.\n\n';
  9503. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9504. {
  9505. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9506. msg +=
  9507. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9508. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9509. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9510. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9511. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9512. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9513. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9514. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9515. setTimeout(function(){alert(msg)},0);
  9516. }
  9517. var customRules = parseCustomRules(Custom_rules_text);
  9518. if (customRules.warning || customRules.error)
  9519. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9520. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9521. JSON.stringify(customRules.info, null, ' '));
  9522. applyCustomRules(customRules);
  9523. }
  9524. }
  9525. //end of CustomRules processing
  9526.  
  9527.  
  9528.  
  9529. } //end of function start
  9530.  
  9531.  
  9532.  
  9533. function initClipBoardTools()
  9534. {
  9535. unsafeWindow.copyToClipboard = function(text)
  9536. {
  9537. try
  9538. {
  9539. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9540.  
  9541. var str = Components.classes["@mozilla.org/supports-string;1"].
  9542. createInstance(Components.interfaces.nsISupportsString);
  9543. if (!str) return false;
  9544.  
  9545. str.data = text;
  9546.  
  9547. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9548. createInstance(Components.interfaces.nsITransferable);
  9549. if (!trans) return false;
  9550.  
  9551. trans.addDataFlavor("text/unicode");
  9552. trans.setTransferData("text/unicode", str, text.length * 2);
  9553.  
  9554. var clipid = Components.interfaces.nsIClipboard;
  9555. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9556. if (!clip) return false;
  9557.  
  9558. clip.setData(trans, null, clipid.kGlobalClipboard);
  9559. } catch (e) {
  9560. GM_log("Error copyToClipboard : " + e);
  9561. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9562. }
  9563. }
  9564. }
  9565.  
  9566.  
  9567.  
  9568. //CustomRules
  9569.  
  9570. function escapeRegex(str)
  9571. {
  9572. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9573. }
  9574.  
  9575.  
  9576. //called internally from parseCustomRules.
  9577. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9578. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9579. function makeCustomRule(rule)
  9580. {
  9581. function makeMatchRegex(arrmatch)
  9582. {
  9583. return escapeRegex(arrmatch.join('\n'))
  9584. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9585. .replace(/\n/g,'|'); //join together
  9586. }
  9587. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9588. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9589. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9590. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9591. if (rule.baseurl)
  9592. {
  9593. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9594. for (i = 0 ; i < len ; i++)
  9595. {
  9596. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9597. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9598. {
  9599. 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'])
  9600. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9601. }
  9602. else //baseurl in the form: example.com/xxx
  9603. {
  9604. xpath.push(m[0]);
  9605. urlregex.push(escapeRegex(m[0]) + '.');
  9606. }
  9607. }
  9608. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9609. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9610. }
  9611. return rule;
  9612. } //function makeCustomRule
  9613.  
  9614.  
  9615. /*
  9616. Takes a string containing custom link checking rules.
  9617. Returns an object with fields:
  9618. info - contains notes, warnings and errors found during parsing
  9619. rules - the array of custom rules
  9620. note, warning, error - number of each of them found during parsing
  9621. Format of the input string:
  9622. One command per line. Command format: @keyword parameter
  9623. Keywords:
  9624. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9625. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9626. These keywords can be multiple (any of them will work):
  9627. @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...)
  9628. @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+
  9629. @alivelink, @deadlink - example links
  9630. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9631. Lines starting with // and empty lines are ignored.
  9632. Invalid parameters generate errors and those lines are skipped.
  9633. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9634. Example:
  9635. @customrule filehost
  9636. @baseurl filehost.com/download/
  9637. @baseurl filehost2. com net /d?=
  9638. @alivematch id="download">
  9639. @deadmatch File not found
  9640. @deadmatch File deleted
  9641. */
  9642. function parseCustomRules(rulesStr)
  9643. {
  9644. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9645. function addInfo(type, msg, ln){
  9646. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9647. customRules[type]++;
  9648. }
  9649. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9650. if (!lines) return null;
  9651. lines.push('@#customrule _'); //to save the last rule
  9652. var m, linecount = lines.length;
  9653. var keyword, param, constr, rule, err;
  9654. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9655. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9656. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9657. var constraints = {
  9658. 'baseurl': {
  9659. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9660. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9661. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9662. 'alivematch': {
  9663. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9664. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9665. 'deadmatch': {
  9666. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9667. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9668. 'unavamatch': {
  9669. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9670. 'alivelink': {
  9671. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9672. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9673. 'deadlink': {
  9674. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9675. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9676. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9677. };
  9678. for (linenum = 0 ; linenum < linecount ; linenum++)
  9679. {
  9680. //capturing groups: 1 23 4 5 6
  9681. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9682. if (m)
  9683. {
  9684. if (m[1] || !m[2])
  9685. continue; // ignore empty lines and lines starting with //
  9686. keyword = (m[4] || m[2]).toLowerCase();
  9687. param = m[6];
  9688. if (keyword == 'customrule')
  9689. {
  9690. //save the current rule if all required fields are provided
  9691. if (rule)
  9692. {
  9693. err = false;
  9694. $.each(constraints, function(kw, constraint){
  9695. var l, constr = constraint[rule.type];
  9696. if (constr)
  9697. {
  9698. l = rule[kw] ? rule[kw].length : 0;
  9699. if (l < constr.min || l > constr.max)
  9700. {
  9701. 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);
  9702. err = true;
  9703. }
  9704. }
  9705. });
  9706. if (!err)
  9707. customRules.rules.push(makeCustomRule(rule));
  9708. }
  9709. //start a new rule
  9710. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9711. {
  9712. rule = {
  9713. 'enabled': !m[3],
  9714. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9715. 'name': param
  9716. };
  9717. }
  9718. else
  9719. {
  9720. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9721. rule = null;
  9722. }
  9723. }
  9724. else //good line format, but keyword other than customrule
  9725. {
  9726. if (!rule)
  9727. {
  9728. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9729. continue;
  9730. }
  9731. if (constraints[keyword])
  9732. {
  9733. constr = constraints[keyword][rule.type];
  9734. if (constr)
  9735. {
  9736. if (constr.paramRE && !constr.paramRE.test(param))
  9737. {
  9738. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9739. continue;
  9740. }
  9741. }
  9742. else
  9743. {
  9744. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9745. continue;
  9746. }
  9747. }
  9748. //line OK, save
  9749. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9750. }
  9751. } //if (m)
  9752. else
  9753. addInfo('warning', 'Unknown line format. Line skipped.');
  9754. } //for loop
  9755. return customRules;
  9756. } //function parseCustomRules
  9757.  
  9758.  
  9759. /* ********************UPDATES********************
  9760.  
  9761. april 03, 2016
  9762. Version 1.2.6.5
  9763. updates to configuration page
  9764.  
  9765. March 31, 2016
  9766. Version 1.2.6.4
  9767. added code for tampermonkey 4.0 compatibility
  9768.  
  9769. March 31, 2016
  9770. Version 1.2.6.3
  9771. fixed uloz.to
  9772. fixed copy dead links to clipboard feature
  9773. added copy live links to clipboard feature.
  9774.  
  9775. March 24, 2016
  9776. Version 1.2.6.2
  9777. changed made to nitroflare. (yurri)
  9778.  
  9779. March 20, 2016
  9780. Version 1.2.6.1
  9781. fixed rapidgator
  9782. fixed dfiles
  9783. fixed dl.free.fr
  9784. fixed nitroflare.com (Fixed by Yurii)
  9785.  
  9786. March 15, 2016
  9787. Version 1.2.6.0
  9788. fixed rapidgator.net
  9789. fixed uploaded.net
  9790.  
  9791. March 13, 2016
  9792. Version 1.2.5.9
  9793. added
  9794. uploads.ws
  9795. upl.me
  9796. clicknupload.link
  9797. added fileover.net to obsolete hosts
  9798. fixed kingfiles.net
  9799.  
  9800. March 09, 2016
  9801. Version 1.2.5.8
  9802. added kingfiles.net to obsolete hosts
  9803. fixed 4upld.com/expressleech.com
  9804.  
  9805. March 08, 2016
  9806. Version 1.2.5.7
  9807. fixed solidfiles.com
  9808.  
  9809. March 01, 2016
  9810. Version 1.2.5.6
  9811. added filespace.com
  9812. fixed depositfiles (by yurii)
  9813.  
  9814. February 29, 2016
  9815. Version 1.2.5.5
  9816. made change to keep2share
  9817.  
  9818. February 28, 2016
  9819. Version 1.2.5.4
  9820. removed down4files.com from obsolete hosts.
  9821.  
  9822. February 26, 2016
  9823. Version 1.2.5.3
  9824. fixed userscloud.com
  9825.  
  9826. February 24, 2016
  9827. Version 1.2.5.2
  9828. added yandex.com
  9829. fixed datafile.com
  9830.  
  9831. February 22, 2016
  9832. Version 1.2.5.1
  9833. added bigfile.to
  9834.  
  9835. February 20, 2016
  9836. Version 1.2.5.0
  9837. added abelhas.pt
  9838.  
  9839. February 18, 2016
  9840. Version 1.2.4.9
  9841. made change to uptobox
  9842.  
  9843. February 17, 2016
  9844. Version 1.2.4.8
  9845. fixed yadi.sk
  9846.  
  9847. February 16, 2016
  9848. Version 1.2.4.7
  9849. fixed datafile.com
  9850. fixed filecad.com
  9851. added filecore.co & filestorm.to to obsolete hosts
  9852. added upload.af, filedwon.in & uplod.it
  9853.  
  9854. February 15, 2016
  9855. Version 1.2.4.6
  9856. fixed kumpulbagi.id
  9857. added sangfile.com to obsolete hosts
  9858.  
  9859. February 14, 2016
  9860. Version 1.2.4.5
  9861. fixed yandex.ru
  9862.  
  9863. February 13, 2016
  9864. Version 1.2.4.4
  9865. added lunaticfiles.com.
  9866.  
  9867. February 09, 2016
  9868. Version 1.2.4.3
  9869. added file.up09.com.
  9870.  
  9871. February 09, 2016
  9872. Version 1.2.4.2
  9873. tezfiles.com premium links now detected.
  9874.  
  9875. February 09, 2016
  9876. Version 1.2.4.1
  9877. added seenupload.com to obsolete hosts
  9878. fixed 180upload.com to show obsolete
  9879.  
  9880. February 08, 2016
  9881. Version 1.2.4.0
  9882. added tusfiles.com
  9883. added filesupload.org
  9884. added gigasize.com
  9885. added filecad.com
  9886. fixed filecloud.io
  9887. added uploadnet.co to obsolete hosts
  9888.  
  9889. February 07,2016
  9890. Vession 1.2.3.9
  9891. fixed depositfiles.com folders
  9892. fixed turbobit.net folders
  9893.  
  9894. February 06, 2016
  9895. Version 1.2.3.8
  9896. fixed 1fichier false dead links
  9897.  
  9898. February 04, 2106
  9899. Version 1.2.3.7
  9900. added geupload and lenfile to obsolete hosts
  9901. fixed kyc.pm/depfile
  9902.  
  9903. February 03, 2016
  9904. Version 1.2.3.6
  9905. fixed some nitroflare.com dead links not being detected
  9906.  
  9907. February 01, 2016
  9908. Version 1.2.3.5
  9909. script moved to new site
  9910.  
  9911. January 20, 2016
  9912. Version 1.2.3.3
  9913. fixed some rapidgator premium link not being detected
  9914.  
  9915. January 17, 2016
  9916. Version 1.2.3.2
  9917. added bytewhale.com
  9918. added rapidrar.com
  9919.  
  9920. Version 1.2.3.1
  9921. added 180upload.com to obsolete hosts
  9922. fixed hellspy.com
  9923. added dinoshare.cz,
  9924.  
  9925. January 13, 2016
  9926. Version 1.2.3.0
  9927. added rapidu.net
  9928. added uploadboy.me
  9929. fixed euroshare.eu
  9930.  
  9931. January 12, 2016
  9932. Version 1.2.2.9
  9933. added kb.simple-aja.info
  9934.  
  9935. January 10, 2016
  9936. Version 1.2.2.8
  9937. made changes to fastshare.cz
  9938.  
  9939. January 10, 2016
  9940. Version 1.2.2.7
  9941. fixed uptobox.com
  9942.  
  9943. January 09, 2016
  9944. Version 1.2.2.6
  9945. datoteke.com now detects premium links
  9946. fixed turbobit.net
  9947. fixed uptobox.com
  9948. added pornfile.cz
  9949. added pornoid.cz
  9950. added file-share.top
  9951. added bitster.cz
  9952.  
  9953. January 05, 2016
  9954. Version 1.2.2.5
  9955. fixed salefiles.com
  9956. fixed ozofile.com
  9957.  
  9958. January 04, 2016
  9959. Version 1.2.2.4
  9960. added sharehost.eu
  9961.  
  9962. December 30, 2015
  9963. Version 1.2.2.3
  9964. added tezfiles.com
  9965.  
  9966. December 28, 2015
  9967. Version 1.2.2.2
  9968. fixed some k2s & fboom dead link not getting detected
  9969. fixed some k2s premium links not getting detected.
  9970. fixed ssh.yt not detecting some dead links
  9971. fixed ncrypt.in dead links showing yellow
  9972.  
  9973. December 20, 2015
  9974. Version 1.2.2.0
  9975. added datoteke.com
  9976.  
  9977. December 19, 2015
  9978. Version 1.2.1.9
  9979. added secured.in & linksave.in to obsolete hosts
  9980.  
  9981. December 17, 2015
  9982. Version 1.2.1.8
  9983. added german for dead links to secureupload.eu.
  9984.  
  9985. December 17, 2015
  9986. Version 1.2.1.7
  9987. added french for dead links to secureupload.eu.
  9988. fixed problem with tooltip display.
  9989.  
  9990. December 13, 2015
  9991. Version 1.2.1.6
  9992. added netload.me & fileparadox.in to obsolete hosts
  9993.  
  9994. December 09, 2015
  9995. Version 1.2.1.5
  9996. added rapidsonic.com & fileparadox.com to obsolete hosts
  9997.  
  9998. December 04, 2015
  9999. Version 1.2.1.4
  10000. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10001.  
  10002. December 03, 2015
  10003. Version 1.2.1.3
  10004. added dailyuploads.net
  10005.  
  10006. December 02, 2015
  10007. Version 1.2.1.2
  10008. fixed hitfile.net
  10009. fixed kingfiles.net
  10010.  
  10011. November 30, 2015
  10012. Version 1.2.1.1
  10013. added filepost.com to obsolete hosts
  10014. added devilshare.net
  10015.  
  10016. November 28, 2015
  10017. Version 1.2.1.0
  10018. fixed datafile.com not detecting some premium links.
  10019.  
  10020. November 25, 2015
  10021. Version 1.2.0.9
  10022. fixed filejoker.net
  10023. fixed toutbox.fr
  10024. fixed nowvideo.sx
  10025.  
  10026. November 24, 2015
  10027. Version 1.2.0.8
  10028. fixed openload.io
  10029.  
  10030. November 20, 2015
  10031. Version 1.2.0.7
  10032. //added file.al
  10033. //fixed nitroflare.com false live links
  10034. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10035.  
  10036. November 17, 2015
  10037. Version 1.2.0.6
  10038. added clicknupload.me
  10039.  
  10040. November 09, 2015
  10041. Version 1.2.0.5
  10042. fixed some depfile premium links not being detected
  10043.  
  10044. November 08, 2015
  10045. Version 1.2.0.4
  10046. fixed some rapidgator premium links not being detected
  10047. fixed doraupload.com
  10048.  
  10049. November 08, 2015
  10050. Version 1.2.0.3
  10051. fixed uploaded false premium
  10052.  
  10053. November 07, 2015
  10054. Version 1.2.0.2
  10055. fixed redbunker.net
  10056.  
  10057. November 05, 2015
  10058. Version 1.2.0.1
  10059. fixed app.box.com
  10060. added multiup.org (does not detect all dead links)
  10061.  
  10062. November 01, 2015
  10063. Version 1.2.0.0
  10064. added more languages to rockfile and 1fichier
  10065.  
  10066. November 01, 2015
  10067. Version 1.1.9.9
  10068. fixed rockfile.eu
  10069. changed 1fichier code (Thanks yurri)
  10070. added to obsolete hosts... (Thanks Love Buzz)
  10071. burnupload.com
  10072. cramit.in
  10073. cramitin.net
  10074. down4files.com
  10075. edoc.com
  10076. jumbofile.net
  10077. krotix.net
  10078. migahost.com
  10079. movreel.com
  10080. netload.in
  10081. newfileland.com
  10082. quickshare.cz
  10083.  
  10084. October 30, 2015
  10085. Version 1.1.9.8
  10086. added alfafile.net
  10087.  
  10088. October 26, 2015
  10089. Version 1.1.9.7
  10090. changed datafile.com and uplea.com
  10091. added lolabits.es
  10092.  
  10093. October 26, 2015
  10094. Version 1.1.9.6
  10095. added toutbox.fr
  10096.  
  10097. October 25, 2015
  10098. Version 1.1.9.5
  10099. fixed counter error
  10100.  
  10101. October 25, 2015
  10102. Version 1.1.9.4
  10103. changed uptobox.com code
  10104.  
  10105. October 21, 2015
  10106. Version 1.1.9.3
  10107. fixed uptobox.com
  10108.  
  10109. October 20, 2015
  10110. Version 1.1.9.2
  10111. bug fixes and new method of detecting premium links.
  10112.  
  10113. October 15, 2015
  10114. Version 1.1.9.1
  10115. fixed hugefiles.net false premium
  10116. changed uptobox.com code
  10117.  
  10118. October 06, 2015
  10119. Version 1.1.9.0
  10120. fixed filefactory
  10121. fixed rockfile false premium
  10122. keep2share & fileboom now detect premium links (fixed by yurii)
  10123.  
  10124. October 01, 2015
  10125. Version 1.1.8.9
  10126. fixed free.fr false premium
  10127. fixed thevideo.me false premium
  10128.  
  10129. September 28, 2015
  10130. Version 1.1.8.8
  10131. added uplea.com and openload.co
  10132.  
  10133. September 27, 2015
  10134. Version 1.1.8.7
  10135. fixed fileparadox.in false premium
  10136. added kingfiles.net to obsolete hosts
  10137. removed inafile.com from obsolete hosts
  10138.  
  10139. September 22, 2015
  10140. Version 1.1.8.6
  10141. fixed nitroflare false premium
  10142.  
  10143. September 22, 2015
  10144. Version 1.1.8.5
  10145. fixed userscloud.com false premium
  10146. fixed usersfiles.com false premium
  10147. changed arabloads.com to arabloads.net
  10148. changed nowdownloads.eu to nowdownloads.ch
  10149.  
  10150. September 21, 2015
  10151. Version 1.1.8.3
  10152. added ryushare.com to obsolete hosts.
  10153.  
  10154. September 20, 2015
  10155. Version 1.1.8.2
  10156. fixed nitroflare not showing premium links
  10157. added down4files.com,storfiles.co,filehost.pw
  10158.  
  10159. September 16, 2015
  10160. Version 1.1.8.1
  10161. added crisshare.com to obsolete hosts
  10162. fixed filemoney.com false premium
  10163. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10164.  
  10165. September 14, 2015
  10166. Version 1.1.8.0
  10167. added to obsolete hosts...
  10168. sharebeast.com
  10169. tufiles.ru
  10170.  
  10171. September 12, 2015
  10172. Version 1.1.7.9
  10173. fixed rghost.net false premium
  10174. fixed unlimitzone.com false premium
  10175. fixed turbobit.net false live link
  10176.  
  10177. September 11, 2015
  10178. Version 1.1.7.8
  10179. Fixed filefactory.com false premium.
  10180.  
  10181. September 07, 2015
  10182. Version 1.1.7.7
  10183. fixed "depositfiles.com/en/files" links not checking
  10184.  
  10185. September 06, 2015
  10186. Version 1.1.7.6
  10187. added French code for 1fichier
  10188.  
  10189. August 29, 2015
  10190. Version 1.1.7.5
  10191. fixed depositfiles
  10192. fixed mega.co.nz/mega.nz
  10193. (fixed by yurii)
  10194.  
  10195. August 23, 2015
  10196. Version 1.1.7.4
  10197. Fixed uploadrocket (by yurii)
  10198.  
  10199. August 20, 2015
  10200. Version 1.1.7.3
  10201. fixed depfile.com false premium
  10202. fixed 1fichier false premium
  10203. fixed rapidgator false premium
  10204.  
  10205. August 08, 2015
  10206. Version 1.1.7.1
  10207. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10208.  
  10209. August 07, 2015
  10210. Version 1.1.7.0
  10211. fixed...
  10212. streamin.to
  10213. thefile.me
  10214. vidzi.tv
  10215. added...
  10216. filenuke.com
  10217. vidto.me
  10218. vidspot.net
  10219. sharesix.com
  10220. sharesix.net
  10221. movpod.in,
  10222.  
  10223. August 07, 2015
  10224. Version 1.1.6.9 added...
  10225. thefile.me
  10226. vidzi.tv
  10227. videoweed.es
  10228. vodlocker.com
  10229. nowvideo.sx
  10230. cloudtime.to
  10231. thevideo.me
  10232. vidbull.com
  10233. allmyvideos.net
  10234. novamov.com
  10235. filehoot.com
  10236. stagevu.com
  10237. gorillavid.in
  10238. streamin.to
  10239.  
  10240. August 02, 2015
  10241. Version 1.1.6.8
  10242. added cloudshares.net
  10243.  
  10244. August 01, 2015
  10245. Version 1.1.6.7
  10246. fixed depfile redirectors false premium
  10247.  
  10248. July 31, 2015
  10249. Version 1.1.6.6
  10250. fixed depfile.com false premium
  10251. */

QingJ © 2025

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